/*
 * hero.css — Hero-stiler for forside og anbefalte-verktøy
 * Inneholder INGEN @media-regler — se mobile.css
 */

/* ── Animasjoner ─────────────────────────────────────────────────────────── */
@keyframes ah-f1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(45px,-28px) scale(1.07); }
    66%      { transform: translate(-22px,38px) scale(0.95); }
}
@keyframes ah-f2 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-50px,22px) scale(1.08); }
}
@keyframes ah-f3 {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-38px) scale(1.05); }
}
@keyframes ah-gs {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes ah-blink {
    0%,100% { box-shadow: 0 0 8px var(--c-green-400), 0 0 18px rgba(74,222,128,0.5); }
    50%      { box-shadow: 0 0 4px var(--c-green-400), 0 0 8px rgba(74,222,128,0.3); }
}

/* ── Forsidehero ─────────────────────────────────────────────────────────── */
#altom-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    padding: calc(64px + 80px) 24px 72px;
    background: var(--surface-dark);
}

.ah-bg { position: absolute; inset: 0; pointer-events: none; }

.ah-a1 {
    position: absolute;
    width: 75%; height: 80%;
    top: -25%; left: -15%;
    background: radial-gradient(ellipse at center, rgba(194,97,63,0.75) 0%, rgba(194,97,63,0.45) 40%, transparent 70%);
    filter: blur(80px);
    animation: ah-f1 20s ease-in-out infinite;
}
.ah-a2 {
    position: absolute;
    width: 65%; height: 70%;
    top: -20%; right: -10%;
    background: radial-gradient(ellipse at center, rgba(236,72,153,0.6) 0%, rgba(226,161,130,0.35) 40%, transparent 70%);
    filter: blur(70px);
    animation: ah-f2 24s ease-in-out infinite;
    animation-delay: -10s;
}
.ah-a3 {
    position: absolute;
    width: 55%; height: 55%;
    bottom: -10%; left: 25%;
    background: radial-gradient(ellipse at center, rgba(194,97,63,0.5) 0%, rgba(194,97,63,0.28) 50%, transparent 70%);
    filter: blur(90px);
    animation: ah-f3 28s ease-in-out infinite;
    animation-delay: -6s;
}
.ah-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 90% at 50% 40%, transparent 35%, rgba(10,7,4,0.6) 100%);
}

.ah-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

/* Badge */
.ah-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 6px 16px 6px 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.2px;
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ah-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-green-400);
    box-shadow: 0 0 8px var(--c-green-400), 0 0 18px rgba(74,222,128,0.5);
    animation: ah-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Tittel */
.ah-title {
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin: 0 0 24px;
    text-shadow: 0 4px 40px rgba(var(--rgb-accent),0.35);
}
.ah-hl {
    background: linear-gradient(120deg, var(--violet-soft) 0%, #f0abfc 45%, #7dd3fc 80%, var(--violet-soft) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ah-gs 5s linear infinite;
}

/* Ingress */
.ah-lead {
    color: rgba(255,255,255,0.62);
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 40px;
}

/* CTA-knapper */
.ah-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.ah-btn-p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-white);
    color: var(--surface-dark) !important;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 4px 24px rgba(255,255,255,0.12);
    transition: transform 0.15s, box-shadow 0.15s;
}
.ah-btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(255,255,255,0.22);
    color: var(--surface-dark) !important;
    text-decoration: none !important;
}
.ah-btn-g {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.78) !important;
    font-size: 15px;
    text-decoration: none !important;
    padding: 13px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ah-btn-g:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.45);
    color: var(--c-white) !important;
    text-decoration: none !important;
}

/* Glasskort med kategorier */
.ah-glass {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 22px 24px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.ah-glass-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    text-align: left;
}
.ah-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.ah-gi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 13px 6px 10px;
    background: rgba(245,226,216,0.82);
    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.ah-gi:hover {
    background: rgba(245,226,216,0.96);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    text-decoration: none;
}
.ah-gi .ah-icon {
    width: 24px; height: 24px;
    display: block;
    flex-shrink: 0;
}
.ah-gi .ah-raven-icon {
    width: 28px; height: 28px;
    object-fit: contain;
    border-radius: 4px;
}
.ah-gi span:last-child {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-strong);
    line-height: 1.3;
    text-align: center;
}
.ah-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12) 25%, rgba(255,255,255,0.12) 75%, transparent);
}

/* ── Anbefalte verktøy hero (kompakt) ───────────────────────────────────── */
.apv-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    padding: calc(64px + 64px) 24px 56px;
    background: var(--surface-dark);
}
.apv-bg { position: absolute; inset: 0; pointer-events: none; }
.apv-blob {
    position: absolute;
    width: 70%; height: 180%;
    top: -40%; left: 15%;
    background: radial-gradient(ellipse at center, rgba(194,97,63,0.55) 0%, rgba(194,97,63,0.28) 45%, transparent 70%);
    filter: blur(80px);
    animation: ah-f1 20s ease-in-out infinite;
}
.apv-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 100% at 50% 30%, transparent 30%, rgba(10,7,4,0.55) 100%);
}
.apv-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.apv-title {
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 28px 0 18px;
    font-family: var(--altom-font-heading);
    text-shadow: 0 4px 32px rgba(var(--rgb-accent),0.3);
}
.apv-lead {
    color: rgba(255,255,255,0.58);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}
