/* ═══════════════════════════════════════════════════════════════════════════
   GoLoko — Design System 2026 „Aurora"
   Un singur fișier: tokens, bază, componente, pagini, responsive.
   Prefix clase: .gl-
   Performanță: doar animații transform/opacity, zero layout shift,
   totul respectă prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonturi self-hosted (variable, latin + latin-ext pentru diacritice) ────
   Display: Bricolage Grotesque. Revenire la Plus Jakarta Sans: schimbă
   'Bricolage' cu 'Jakarta' în --font-display (fișierele jakarta-* sunt pe disc). */
@font-face {
    font-family: 'Bricolage';
    src: url('../fonts/bricolage-var-latin-ext.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage';
    src: url('../fonts/bricolage-var-latin.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Jakarta';
    src: url('../fonts/jakarta-var-latin-ext.woff2') format('woff2');
    font-weight: 500 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Jakarta';
    src: url('../fonts/jakarta-var-latin.woff2') format('woff2');
    font-weight: 500 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'InterVar';
    src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'InterVar';
    src: url('../fonts/inter-var-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallback-uri cu metrici ajustate — minimizează CLS la font swap */
@font-face {
    font-family: 'Jakarta-fb';
    src: local('Arial'), local('Helvetica');
    ascent-override: 105%;
    descent-override: 27%;
    line-gap-override: 0%;
    size-adjust: 101%;
}
@font-face {
    font-family: 'Inter-fb';
    src: local('Arial'), local('Helvetica');
    ascent-override: 96.9%;
    descent-override: 24.2%;
    line-gap-override: 0%;
    size-adjust: 107%;
}

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
    /* Culori — brand */
    --ink:        #12122B;   /* navy profund — hero, footer, secțiuni dark */
    --ink-2:      #1A1A2E;   /* navy brand original */
    --ink-3:      #232343;   /* carduri pe dark */
    --ink-line:   #2E2E52;   /* borduri pe dark */
    --paper:      #FFFFFF;
    --paper-2:    #F7F7FC;   /* secțiuni alternative, gri-lavandă foarte pal */
    --paper-3:    #EFEFF8;
    --text:       #26263B;
    --text-2:     #5A5A74;   /* 6.67:1 pe alb */
    --text-inv:   #FFFFFF;
    --text-inv-2: #B8B8D0;   /* 9.4:1 pe ink */

    --accent:      #E94560;  /* brand crimson — gradiente, glow, dark bg */
    --accent-btn:  #D22C4E;  /* butoane solide — 4.99:1 cu alb */
    --accent-btn-h:#B92240;
    --accent-text: #C81E44;  /* text accent pe fundal deschis — 5.64:1 */
    --accent-soft: rgba(233, 69, 96, 0.09);
    --violet:      #A855F7;
    --green:       #0FA47A;
    --green-text:  #0B7D5C;  /* 5.12:1 pe alb */
    --gold:        #F5B841;

    --grad-ai: linear-gradient(120deg, #A855F7 0%, #E94560 100%);
    --grad-hero-text: linear-gradient(105deg, #FFB199 0%, #FF7A8F 45%, #C99CFF 100%);

    /* Tipografie */
    --font-display: 'Bricolage', 'Jakarta-fb', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'InterVar', 'Inter-fb', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1200px;
    --container-narrow: 940px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

    --radius-sm: 10px;
    --radius:    18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --space-section: clamp(4.5rem, 9vw, 8rem);

    /* Umbre */
    --shadow-sm: 0 1px 2px rgba(18, 18, 43, 0.05), 0 2px 8px rgba(18, 18, 43, 0.05);
    --shadow:    0 2px 6px rgba(18, 18, 43, 0.05), 0 12px 32px rgba(18, 18, 43, 0.09);
    --shadow-lg: 0 4px 12px rgba(18, 18, 43, 0.06), 0 24px 64px rgba(18, 18, 43, 0.14);
    --shadow-accent: 0 10px 32px rgba(210, 44, 78, 0.32);

    /* Mișcare */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --t-fast: 0.22s var(--ease-out);
    --t-med: 0.5s var(--ease-out);
}

/* ── Reset & bază ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.022em;
    color: var(--ink);
    margin: 0 0 0.6em;
    text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-btn-h); }

strong { font-weight: 650; color: inherit; }
em { font-style: italic; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip link (accesibilitate) */
.gl-skip {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 300;
    padding: 0.7em 1.2em;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--t-fast);
}
.gl-skip:focus-visible { top: 12px; color: #fff; }

/* ── Utilitare layout ─────────────────────────────────────────────────────── */
.gl-container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.gl-container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.gl-section { padding-block: var(--space-section); position: relative; }
.gl-section--alt { background: var(--paper-2); }
.gl-section--flush-top { padding-top: 0; }

/* Header de secțiune */
.gl-sechead { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gl-sechead--center { margin-inline: auto; text-align: center; }
.gl-sechead__title {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 750;
}
.gl-sechead__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-2);
    max-width: 62ch;
}
.gl-sechead--center .gl-sechead__lead { margin-inline: auto; }

/* Etichetă mică deasupra titlurilor */
.gl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1.1rem;
    padding: 0.42em 1em;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent-text);
    background: var(--accent-soft);
    border: 1px solid rgba(233, 69, 96, 0.16);
    border-radius: 999px;
}
.gl-kicker--ondark {
    color: #FFB6C4;
    background: rgba(233, 69, 96, 0.14);
    border-color: rgba(233, 69, 96, 0.35);
}
.gl-kicker--ai {
    background: linear-gradient(120deg, rgba(168, 85, 247, 0.1), rgba(233, 69, 96, 0.1));
    border-color: rgba(168, 85, 247, 0.25);
}

/* Highlight în titluri */
.gl-hl {
    background: var(--grad-ai);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gl-hl--dark { background-image: var(--grad-hero-text); }

/* ── Butoane ──────────────────────────────────────────────────────────────── */
.gl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: 0.95em 1.9em;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.gl-btn:active { transform: scale(0.97); }
.gl-btn svg { width: 1.15em; height: 1.15em; flex: none; }

.gl-btn--primary {
    position: relative;
    overflow: clip;
    color: #fff;
    background: var(--accent-btn);
    box-shadow: var(--shadow-accent);
}
.gl-btn--primary:hover {
    color: #fff;
    background: var(--accent-btn-h);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(210, 44, 78, 0.42);
}
/* Sclipire care traversează butonul la hover */
.gl-btn--primary::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -45%;
    width: 38%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg) translateX(0);
    transition: transform 0.55s ease;
    pointer-events: none;
}
.gl-btn--primary:hover::after { transform: skewX(-20deg) translateX(420%); }

.gl-btn--ghost {
    color: var(--ink);
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(18, 18, 43, 0.16);
}
.gl-btn--ghost:hover {
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
    transform: translateY(-2px);
}

.gl-btn--ghost-dark {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}
.gl-btn--ghost-dark:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.gl-btn--sm { padding: 0.62em 1.3em; font-size: 0.9rem; }
.gl-btn--lg { padding: 1.05em 2.3em; font-size: 1.07rem; }
.gl-btn--xl { padding: 1.15em 2.7em; font-size: 1.15rem; }

.gl-btn__arrow { transition: transform var(--t-fast); }
.gl-btn:hover .gl-btn__arrow { transform: translateX(4px); }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.gl-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    padding-block: 14px;
    transition: background-color var(--t-fast), box-shadow var(--t-fast), padding var(--t-fast);
}
.gl-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.gl-nav__logo-link { display: inline-flex; flex: none; }
.gl-nav__logo { height: 44px; width: auto; }

/* Logo-ul are contur alb propriu — se vede bine și pe dark, și pe alb */
.gl-nav { --nav-ink: #fff; --nav-ink-2: rgba(255, 255, 255, 0.82); }
.gl-nav.is-scrolled,
.gl-nav.is-open {
    --nav-ink: var(--ink);
    --nav-ink-2: var(--text-2);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(18, 18, 43, 0.07), 0 8px 32px rgba(18, 18, 43, 0.07);
    padding-block: 9px;
}
.gl-nav__links { display: flex; align-items: center; gap: clamp(0.4rem, 1.6vw, 1.4rem); }
.gl-nav__link {
    padding: 0.5em 0.65em;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nav-ink-2);
    text-decoration: none;
    border-radius: 8px;
    transition: color var(--t-fast);
}
.gl-nav__link:hover, .gl-nav__link.is-active { color: var(--nav-ink); }
.gl-nav__link.is-active { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.gl-nav__cta { box-shadow: none; }
.gl-nav__cta:hover { box-shadow: var(--shadow-accent); }

.gl-nav__lang {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(127, 127, 160, 0.14);
}
.gl-nav__lang-item {
    padding: 0.28em 0.7em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--nav-ink-2);
    text-decoration: none;
    border-radius: 999px;
    transition: background-color var(--t-fast), color var(--t-fast);
}
.gl-nav__lang-item:hover { color: var(--nav-ink); }
.gl-nav__lang-item.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.gl-nav:not(.is-scrolled):not(.is-open) .gl-nav__lang-item.is-active { background: rgba(255,255,255,0.92); }

/* Burger */
.gl-nav__burger {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
}
.gl-nav__burger span {
    position: absolute;
    left: 11px;
    width: 24px;
    height: 2.4px;
    border-radius: 2px;
    background: var(--nav-ink);
    transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.gl-nav__burger span:nth-child(1) { top: 15px; }
.gl-nav__burger span:nth-child(2) { top: 22px; }
.gl-nav__burger span:nth-child(3) { top: 29px; }
.gl-nav__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.gl-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gl-nav__burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Meniu mobil */
.gl-nav__mobile {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0 1.4rem;
}
.gl-nav__mobile.is-open { display: flex; }
.gl-nav__mobile-link {
    padding: 0.85em 0.5em;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--paper-3);
}
.gl-nav__mobile .gl-btn { margin-top: 0.9rem; }
.gl-nav__mobile .gl-nav__lang { margin-top: 1rem; align-self: flex-start; }

/* ── Hero (homepage) ──────────────────────────────────────────────────────── */
.gl-hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding-top: clamp(7rem, 14vh, 10rem);
    padding-bottom: clamp(6rem, 10vw, 9rem);
    overflow: clip;
    isolation: isolate;
}

/* Aurora — orbe de gradient pre-blurate (fără filter: blur → ieftin pe GPU) */
.gl-aurora { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.gl-aurora i {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}
.gl-aurora i:nth-child(1) {
    width: 62vw; height: 62vw; min-width: 540px; min-height: 540px;
    left: -18vw; top: -28vw;
    background: radial-gradient(circle at center, rgba(233, 69, 96, 0.34) 0%, rgba(233, 69, 96, 0) 62%);
    animation: gl-drift-a 26s ease-in-out infinite alternate;
}
.gl-aurora i:nth-child(2) {
    width: 56vw; height: 56vw; min-width: 480px; min-height: 480px;
    right: -16vw; top: -10vw;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.30) 0%, rgba(168, 85, 247, 0) 62%);
    animation: gl-drift-b 32s ease-in-out infinite alternate;
}
.gl-aurora i:nth-child(3) {
    width: 44vw; height: 44vw; min-width: 380px; min-height: 380px;
    left: 28vw; bottom: -30vw;
    background: radial-gradient(circle at center, rgba(15, 164, 122, 0.16) 0%, rgba(15, 164, 122, 0) 62%);
    animation: gl-drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes gl-drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6vw, 4vw, 0) scale(1.12); }
}
@keyframes gl-drift-b {
    from { transform: translate3d(0, 0, 0) scale(1.06); }
    to   { transform: translate3d(-5vw, 5vw, 0) scale(0.96); }
}

/* Grain — textură fină de film peste secțiunile dark (gradientele devin bogate) */
.gl-hero::after,
.gl-ai::after,
.gl-cta::after,
.gl-pagehero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* Glow care urmărește cursorul în hero (poziționat din goloko.js) */
.gl-hero__glow {
    position: absolute;
    top: 0; left: 0;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.16) 0%, rgba(168, 85, 247, 0.08) 40%, transparent 68%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}
.gl-hero:hover .gl-hero__glow { opacity: 1; }

/* Plasă discretă de puncte peste aurora */
.gl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 90% 78% at 50% 32%, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 78% at 50% 32%, #000 30%, transparent 78%);
}

.gl-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
}

.gl-hero__title {
    margin: 0 0 1.1rem;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #fff;
}
.gl-hero__subtitle {
    max-width: 54ch;
    font-size: clamp(1.08rem, 1.7vw, 1.26rem);
    line-height: 1.6;
    color: var(--text-inv-2);
    margin-bottom: 1.9rem;
}
.gl-hero__subtitle strong { color: #fff; font-weight: 600; }

.gl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

/* Micro-trust sub CTA */
.gl-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.92rem;
    color: var(--text-inv-2);
}
.gl-hero__trust li { display: inline-flex; align-items: center; gap: 0.45em; }
.gl-hero__trust svg { width: 1.05em; height: 1.05em; color: #4ADE9C; flex: none; }

/* Vizual hero — screenshot-ul e deja un telefon complet, cu transparență */
.gl-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.gl-hero__phone {
    width: min(340px, 78vw);
    height: auto;
    filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 28px rgba(233, 69, 96, 0.16));
    animation: gl-float 7s ease-in-out infinite;
}
@keyframes gl-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-14px) rotate(0.6deg); }
}

/* Cipuri plutitoare lângă telefon — textul se rotește prin mesaje (goloko.js) */
.gl-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.62em 1em;
    font-family: var(--font-display);
    font-size: 0.83rem;
    font-weight: 650;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    animation: gl-float 8s ease-in-out infinite;
    /* float animă transform → swap-ul folosește doar opacity pe chip */
    transition: opacity 0.32s ease;
}
.gl-chip.is-swap { opacity: 0; }
.gl-chip__text { display: inline-block; }
.gl-chip__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex: none;
}
.gl-chip--order { top: 13%; left: -14%; animation-delay: -2.5s; }
.gl-chip--order .gl-chip__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(15, 164, 122, 0.22); }
.gl-chip--ai { bottom: 24%; right: -16%; animation-delay: -5s; }
.gl-chip--ai .gl-chip__dot { background: var(--violet); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.22); }
.gl-chip--rating { bottom: 6%; left: -8%; animation-delay: -3.8s; }
.gl-chip--rating .gl-chip__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 65, 0.25); }

/* Cusătura dintre hero dark și corpul alb */
.gl-hero__seam {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: clamp(40px, 7vw, 90px);
    color: var(--paper);
    z-index: 1;
    pointer-events: none;
}
.gl-hero__seam svg { width: 100%; height: 100%; display: block; }

/* ── Bara de progres la scroll ───────────────────────────────────────────── */
.gl-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 300;
    background: var(--grad-ai);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

/* ── Marquee (banda cu funcționalități) ──────────────────────────────────── */
.gl-marquee {
    overflow: clip;
    padding: 1.1rem 0;
    background: var(--ink);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gl-marquee__track {
    display: flex;
    width: max-content;
    animation: gl-marquee 30s linear infinite;
}
.gl-marquee:hover .gl-marquee__track { animation-play-state: paused; }
@keyframes gl-marquee {
    to { transform: translateX(-50%); }
}
.gl-marquee__list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gl-marquee__list li {
    display: inline-flex;
    align-items: center;
    gap: 2.2rem;
    padding-right: 2.2rem;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 750;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
}
.gl-marquee__list li::after {
    content: '✦';
    font-size: 0.7em;
    color: var(--accent);
    -webkit-text-stroke: 0;
}
/* Alternanță plin / conturat — ritm tipografic */
.gl-marquee__list li:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.7);
}
@media (prefers-reduced-motion: reduce) {
    .gl-marquee__track { animation: none; }
}

/* ── Bara de statistici (sub hero) ───────────────────────────────────────── */
.gl-stats {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * clamp(2rem, 4.5vw, 3.6rem));
}
.gl-stats__card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.8rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.gl-stat { text-align: center; }
.gl-stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 790;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.gl-stat__value .gl-hl { padding-inline: 0.02em; }
.gl-stat__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-2);
}

/* ── Cum funcționează (3 pași) ───────────────────────────────────────────── */
.gl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
    counter-reset: step;
}
.gl-step {
    position: relative;
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gl-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gl-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 790;
    color: #fff;
    background: var(--ink);
    border-radius: 14px;
}
.gl-step:nth-child(2) .gl-step__num { background: var(--accent-btn); }
.gl-step:nth-child(3) .gl-step__num { background: var(--green-text); }
.gl-step__title { font-size: 1.22rem; margin-bottom: 0.4em; }
.gl-step__text { color: var(--text-2); font-size: 0.99rem; margin: 0; }
.gl-step__img {
    margin-top: 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--paper-3);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.gl-step__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }

/* ── Bento features ──────────────────────────────────────────────────────── */
.gl-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.8vw, 1.4rem);
}
.gl-bcard {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
    padding: clamp(1.4rem, 2.4vw, 1.9rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: clip;
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.gl-bcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(233, 69, 96, 0.28);
}
.gl-bcard--6 { grid-column: span 6; }
.gl-bcard--8 { grid-column: span 8; }

.gl-bcard__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    margin-bottom: 1.1rem;
    color: var(--accent-text);
    background: var(--accent-soft);
    border-radius: 16px;
}
.gl-bcard__icon svg { width: 26px; height: 26px; }
.gl-bcard__icon, .gl-ai__icon, .gl-trust__icon, .gl-step__num { transition: transform 0.4s var(--ease-spring); }
.gl-bcard:hover .gl-bcard__icon { transform: rotate(-8deg) scale(1.12); }
.gl-ai__card:hover .gl-ai__icon { transform: rotate(8deg) scale(1.1); }
.gl-trust__item:hover .gl-trust__icon { transform: rotate(-8deg) scale(1.1); }
.gl-step:hover .gl-step__num { transform: rotate(-6deg) scale(1.12); }

.gl-bcard__title { font-size: 1.16rem; margin-bottom: 0.45em; }
.gl-bcard__text { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.gl-bcard__text strong { color: var(--text); }

.gl-bcard__badge {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    padding: 0.3em 0.85em;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
}
.gl-bcard__badge--unlimited { color: #fff; background: var(--green-text); }
.gl-bcard__badge--legal { color: #274E77; background: rgba(116, 185, 255, 0.2); }
.gl-bcard__badge--new { color: #fff; background: var(--accent-btn); }
.gl-bcard__badge--best { color: #7A3E07; background: linear-gradient(135deg, #FDE68A, #FBBF24); }

/* Pastile ∞ în cardul „nelimitat" — umplu spațiul cu informație utilă */
.gl-bcard__pills {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.5rem;
    margin: 0;
    margin-top: auto;
    padding: 1.2rem 0 0;
    list-style: none;
}
.gl-bcard__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.45em 0.95em;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 650;
    color: var(--green-text);
    background: rgba(15, 164, 122, 0.09);
    border: 1px solid rgba(15, 164, 122, 0.18);
    border-radius: 999px;
}
.gl-bcard__pill b { font-weight: 800; font-size: 1.15em; line-height: 1; }

.gl-bcard__media {
    margin: 1.3rem calc(-1 * clamp(1.4rem, 2.4vw, 1.9rem)) calc(-1 * clamp(1.4rem, 2.4vw, 1.9rem));
    margin-top: auto;
    padding-top: 1.3rem;
    line-height: 0;
}
.gl-bcard__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border: 1px solid var(--paper-3);
    border-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 88%;
    box-shadow: 0 -8px 30px rgba(18, 18, 43, 0.10);
    transition: transform var(--t-med);
}
.gl-bcard:hover .gl-bcard__media img { transform: translateY(-5px); }

/* Card dark AI în bento */
.gl-bcard--dark {
    background: var(--ink);
    border-color: var(--ink-line);
}
.gl-bcard--dark .gl-bcard__title { color: #fff; }
.gl-bcard--dark .gl-bcard__text { color: var(--text-inv-2); }
.gl-bcard--dark .gl-bcard__text strong { color: #fff; }
.gl-bcard--dark .gl-bcard__icon {
    color: #fff;
    background: var(--grad-ai);
}
.gl-bcard--dark:hover { border-color: rgba(168, 85, 247, 0.5); }

/* ── Secțiune AI (dark) ──────────────────────────────────────────────────── */
.gl-ai {
    background: var(--ink);
    color: #fff;
    overflow: clip;
    isolation: isolate;
}
.gl-ai .gl-sechead__title { color: #fff; }
.gl-ai .gl-sechead__lead { color: var(--text-inv-2); }

.gl-ai__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}
.gl-ai__card {
    position: relative;
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    background: var(--ink-3);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    transition: transform var(--t-fast), border-color var(--t-fast);
}
.gl-ai__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(168, 85, 247, 0.55), rgba(233, 69, 96, 0.4) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--t-fast);
    pointer-events: none;
}
.gl-ai__card:hover { transform: translateY(-5px); }
.gl-ai__card:hover::before { opacity: 1; }

.gl-ai__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    margin-bottom: 1.2rem;
    color: #fff;
    background: var(--grad-ai);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35);
}
.gl-ai__icon svg { width: 27px; height: 27px; }
.gl-ai__title { color: #fff; font-size: 1.22rem; }
.gl-ai__text { color: var(--text-inv-2); font-size: 0.98rem; margin: 0; }
.gl-ai__text strong { color: #fff; }

.gl-ai__proof {
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: center;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-inv-2);
}
.gl-ai__proof strong { color: #fff; }

/* ── Prețuri / tier cards ────────────────────────────────────────────────── */
.gl-pricing-intro {
    display: flex;
    gap: 1.1rem;
    max-width: 860px;
    margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
    padding: clamp(1.3rem, 2.4vw, 1.8rem) clamp(1.3rem, 2.6vw, 2rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-size: 0.99rem;
    color: var(--text-2);
}
.gl-pricing-intro strong { color: var(--text); }
.gl-pricing-intro__icon { flex: none; width: 26px; height: 26px; color: var(--accent-text); margin-top: 0.15rem; }

.gl-tiers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
    align-items: stretch;
    max-width: 1000px;
    margin-inline: auto;
}
.gl-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.8rem, 3vw, 2.6rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gl-tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.gl-tier--pro {
    background: var(--ink);
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: var(--shadow-lg);
}
.gl-tier--pro::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: calc(var(--radius-xl) + 2px);
    background: var(--grad-ai);
}
.gl-tier__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.42em 1.3em;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: var(--grad-ai);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
    white-space: nowrap;
}

.gl-tier__label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-2);
}
.gl-tier--pro .gl-tier__label { color: var(--text-inv-2); }
.gl-tier__name { font-size: 1.6rem; margin: 0.2em 0 0.35em; }
.gl-tier--pro .gl-tier__name { color: #fff; }

.gl-tier__price-row { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.4rem; }
.gl-tier__price {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 3.4rem);
    font-weight: 790;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.gl-tier--pro .gl-tier__price { color: #fff; }
.gl-tier__period { font-size: 1.05rem; color: var(--text-2); font-weight: 500; }
.gl-tier--pro .gl-tier__period { color: var(--text-inv-2); }

.gl-tier__note {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 1.2rem;
}
.gl-tier--pro .gl-tier__note { color: var(--text-inv-2); }
.gl-tier__note strong { color: var(--green-text); }
.gl-tier--pro .gl-tier__note strong { color: #4ADE9C; }

.gl-tier__desc {
    font-size: 0.95rem;
    color: var(--text-2);
    margin-bottom: 1.4rem;
}
.gl-tier--pro .gl-tier__desc { color: var(--text-inv-2); }

.gl-tier__bullets {
    margin: 0 0 1.8rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.95rem;
}
.gl-tier__bullets li {
    position: relative;
    padding-left: 1.75em;
}
.gl-tier__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.18em;
    width: 1.15em; height: 1.15em;
    border-radius: 50%;
    background-color: var(--accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23C81E44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4.2 8.4 2.5 2.6 5.1-6'/%3E%3C/svg%3E");
    background-size: 68%;
    background-position: center;
    background-repeat: no-repeat;
}
.gl-tier--pro .gl-tier__bullets { color: var(--text-inv-2); }
.gl-tier--pro .gl-tier__bullets li::before {
    background-color: rgba(74, 222, 156, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234ADE9C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4.2 8.4 2.5 2.6 5.1-6'/%3E%3C/svg%3E");
}
.gl-tier__bullets li strong { font-weight: 700; }
.gl-tier--pro .gl-tier__bullets li strong { color: #fff; }
.gl-tier__bullets li em { color: var(--text-2); font-style: italic; }
.gl-tier--pro .gl-tier__bullets li em { color: var(--text-inv-2); }

.gl-tier__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.gl-tier__more {
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
}
.gl-tier--pro .gl-tier__more { color: #FFB6C4; }
.gl-tier--pro .gl-tier__more:hover { color: #fff; }

/* Toggle lunar/anual pe pagina Pro */
.gl-billing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
    max-width: 880px;
    margin-inline: auto;
}
.gl-billing__card {
    position: relative;
    padding: clamp(1.6rem, 2.8vw, 2.2rem);
    background: var(--paper);
    border: 1.5px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.gl-billing__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gl-billing__card--best { border-color: rgba(233, 69, 96, 0.4); box-shadow: var(--shadow); }
.gl-billing__badge {
    position: absolute;
    top: -13px; right: 1.4rem;
    padding: 0.35em 1em;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--grad-ai);
    border-radius: 999px;
}
.gl-billing__title { font-size: 1.1rem; color: var(--text-2); margin-bottom: 0.3em; font-weight: 650; }
.gl-billing__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 790; letter-spacing: -0.02em; color: var(--ink); line-height: 1.05; }
.gl-billing__period { font-size: 1rem; color: var(--text-2); font-weight: 500; }
.gl-billing__desc { margin-top: 0.8rem; font-size: 0.95rem; color: var(--text-2); }
.gl-billing__desc strong { color: var(--text); }

/* ── Carduri Da/Nu (pagini abonament) ────────────────────────────────────── */
.gl-yesno {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
    align-items: start;
}
.gl-yesno--single { grid-template-columns: minmax(0, 1fr); }
.gl-yesno__card {
    padding: clamp(1.7rem, 3vw, 2.5rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-top: 4px solid var(--green);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.gl-yesno__card--no { border-top-color: #C6C6DC; }
.gl-yesno__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}
.gl-yesno__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    color: var(--green-text);
    background: rgba(15, 164, 122, 0.1);
    border-radius: 14px;
}
.gl-yesno__card--no .gl-yesno__icon { color: var(--text-2); background: var(--paper-2); }
.gl-yesno__icon svg { width: 25px; height: 25px; }
.gl-yesno__title { font-size: 1.3rem; margin: 0; }
.gl-yesno__body { color: var(--text-2); font-size: 0.99rem; }
.gl-yesno__body strong { color: var(--text); }
.gl-yesno__lead {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink);
}
.gl-yesno__sublead { font-weight: 600; color: var(--text); }

/* ── Tabel comparativ ────────────────────────────────────────────────────── */
.gl-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: var(--paper);
    -webkit-overflow-scrolling: touch;
}
.gl-compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.gl-compare th, .gl-compare td {
    padding: 0.85rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--paper-3);
}
.gl-compare tbody tr:last-child th,
.gl-compare tbody tr:last-child td { border-bottom: 0; }
.gl-compare thead th {
    position: sticky;
    top: 0;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
}
.gl-compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
.gl-compare thead th:last-child { border-top-right-radius: var(--radius-lg); }
.gl-compare__price { font-size: 0.8rem; font-weight: 500; color: var(--text-inv-2); }
.gl-compare tbody th {
    text-align: left;
    font-weight: 500;
    color: var(--text);
    max-width: 380px;
}
.gl-compare tbody tr:nth-child(even) { background: var(--paper-2); }
.gl-compare tbody tr:hover { background: var(--accent-soft); }
.gl-compare .is-yes { color: var(--green-text); font-weight: 800; font-size: 1.05rem; }
.gl-compare .is-no { color: #6E6E88; font-weight: 600; }
.gl-compare .is-text { font-weight: 600; color: var(--text); font-size: 0.88rem; }
.gl-compare__procol { background: rgba(233, 69, 96, 0.05); }
.gl-compare-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ── Trust / conformitate ────────────────────────────────────────────────── */
.gl-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}
.gl-trust__item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: clamp(1.3rem, 2.2vw, 1.7rem);
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gl-trust__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gl-trust__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    color: var(--ink);
    background: var(--paper-2);
    border-radius: 13px;
}
.gl-trust__icon svg { width: 23px; height: 23px; }
.gl-trust__title { font-size: 1.05rem; margin: 0; }
.gl-trust__text { font-size: 0.92rem; color: var(--text-2); margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.gl-faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.gl-faq {
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: clip;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.gl-faq[open] { border-color: rgba(233, 69, 96, 0.3); box-shadow: var(--shadow); }
.gl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 650;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    transition: color var(--t-fast);
}
.gl-faq__q::-webkit-details-marker { display: none; }
.gl-faq__q:hover { color: var(--accent-text); }
.gl-faq__chevron {
    flex: none;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text);
    background: var(--accent-soft);
    border-radius: 50%;
    transition: transform 0.35s var(--ease-spring), background-color var(--t-fast), color var(--t-fast);
}
.gl-faq__chevron svg { width: 14px; height: 14px; }
.gl-faq[open] .gl-faq__chevron { transform: rotate(45deg); background: var(--accent-btn); color: #fff; }
.gl-faq__a {
    padding: 0 1.4rem 1.3rem;
    color: var(--text-2);
    font-size: 0.98rem;
}
.gl-faq__a strong { color: var(--text); }

/* FAQ pe pagina dedicată — grupuri */
.gl-faq-group { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.gl-faq-group__title {
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-soft);
}

/* ── CTA final ───────────────────────────────────────────────────────────── */
.gl-cta {
    position: relative;
    margin-top: 46px; /* loc pentru vulpea care trage cu ochiul */
    padding: clamp(3.4rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    background: var(--ink);
    border-radius: var(--radius-xl);
    text-align: center;
    color: #fff;
    isolation: isolate;
}
.gl-cta .gl-aurora { border-radius: inherit; }
.gl-cta .gl-aurora i:nth-child(1) { left: -20%; top: -60%; }
.gl-cta .gl-aurora i:nth-child(2) { right: -20%; top: -20%; }

/* Mascota — vulpea GoLoko trage cu ochiul peste marginea panoului */
.gl-cta__fox {
    position: absolute;
    top: -44px;
    left: 50%;
    width: 84px;
    height: auto;
    transform: translateX(-50%) rotate(-5deg);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
    animation: gl-fox-bob 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gl-fox-bob {
    0%, 100% { transform: translateX(-50%) rotate(-5deg) translateY(0); }
    50%      { transform: translateX(-50%) rotate(-2deg) translateY(-7px); }
}
.gl-cta__title {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 780;
    margin-bottom: 0.4em;
}
.gl-cta__subtitle {
    color: var(--text-inv-2);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    max-width: 56ch;
    margin: 0 auto 1.8rem;
}
.gl-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}
.gl-cta .gl-hero__trust { justify-content: center; }

/* ── Hero compact pentru pagini interioare ───────────────────────────────── */
.gl-pagehero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding-top: clamp(6.5rem, 12vh, 9rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    text-align: center;
    overflow: clip;
    isolation: isolate;
}
.gl-pagehero__title {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 780;
    margin-bottom: 0.35em;
}
.gl-pagehero__lead {
    max-width: 64ch;
    margin: 0 auto;
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    color: var(--text-inv-2);
}
.gl-pagehero__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin: 1.2rem 0 0.2rem;
}
.gl-pagehero__price-value {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.2rem);
    font-weight: 790;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--grad-hero-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gl-pagehero__price-period { font-size: 1.15rem; color: var(--text-inv-2); }
.gl-pagehero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

/* ── Bara CTA sticky (mobil jos / desktop sus după scroll) ───────────────── */
.gl-pagecta {
    position: fixed;
    z-index: 150;
    left: 0; right: 0;
    bottom: 0;
    padding: 0.7rem var(--gutter);
    padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -6px 32px rgba(18, 18, 43, 0.14);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease-out);
}
.gl-pagecta.is-visible { transform: translateY(0); }
.gl-pagecta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    max-width: var(--container);
    margin-inline: auto;
}
.gl-pagecta__msg {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 0.95rem;
    color: var(--ink);
}
.gl-pagecta .gl-btn { flex: none; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.gl-footer {
    background: var(--ink);
    color: var(--text-inv-2);
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
    font-size: 0.95rem;
}
.gl-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--ink-line);
}
.gl-footer__logo { height: 42px; width: auto; margin-bottom: 1rem; }
.gl-footer__about { max-width: 34ch; }
.gl-footer__company {
    margin-top: 1rem;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #8888A6;
}
.gl-footer__heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
}
.gl-footer__col { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.gl-footer a { color: var(--text-inv-2); text-decoration: none; transition: color var(--t-fast); }
.gl-footer a:hover { color: #fff; }
.gl-footer__link--accent { color: #FFB6C4 !important; }
.gl-footer__link--accent:hover { color: #fff !important; }
/* Watermark tipografic uriaș în footer */
.gl-footer__watermark {
    display: block;
    margin: clamp(1.5rem, 4vw, 3rem) 0 -0.5rem;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 13vw, 11rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    overflow: clip;
}

.gl-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 1.8rem;
    font-size: 0.85rem;
    color: #8888A6;
}
.gl-footer__flag {
    display: inline-flex;
    width: 22px; height: 15px;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: -2px;
}
.gl-footer__flag i { width: 33.4%; height: 100%; }
.gl-footer__flag i:nth-child(1) { background: #002B7F; }
.gl-footer__flag i:nth-child(2) { background: #FCD116; }
.gl-footer__flag i:nth-child(3) { background: #CE1126; }

/* ── Cookie banner ───────────────────────────────────────────────────────── */
.gl-cookies {
    position: fixed;
    z-index: 250;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(560px, calc(100vw - 2rem));
    padding: 1.1rem 1.3rem;
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.gl-cookies[hidden] { display: none; }
.gl-cookies__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.gl-cookies__text { flex: 1 1 260px; font-size: 0.88rem; color: var(--text-2); margin: 0; }
.gl-cookies__buttons { display: flex; gap: 0.5rem; }

/* ── Animații reveal ─────────────────────────────────────────────────────────
   Starea ascunsă se aplică DOAR când <html> are clasa .js (setată inline în
   head) — fără JavaScript, tot conținutul rămâne perfect vizibil. */
.js .gl-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}
.gl-reveal.is-visible { opacity: 1; transform: none; }

/* Stagger pentru copii direcți */
.js .gl-stagger > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.gl-stagger.is-visible > * { opacity: 1; transform: none; }
.gl-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.07s; }
.gl-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.14s; }
.gl-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.21s; }
.gl-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.28s; }
.gl-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.35s; }
.gl-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.42s; }
.gl-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.49s; }
.gl-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.56s; }
.gl-stagger.is-visible > *:nth-child(10) { transition-delay: 0.63s; }
.gl-stagger.is-visible > *:nth-child(n+11) { transition-delay: 0.7s; }

/* Intrare hero (o singură dată, la load) */
@keyframes gl-hero-in {
    from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}
.gl-hero__content > * { animation: gl-hero-in 0.85s var(--ease-out) backwards; }
.gl-hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.gl-hero__content > *:nth-child(2) { animation-delay: 0.14s; }
.gl-hero__content > *:nth-child(3) { animation-delay: 0.23s; }
.gl-hero__content > *:nth-child(4) { animation-delay: 0.32s; }
.gl-hero__content > *:nth-child(5) { animation-delay: 0.41s; }
/* Vizualul intră doar prin transform (fără opacity) — nu întârzie LCP */
@keyframes gl-hero-in-visual {
    from { transform: translateY(36px); }
    to   { transform: none; }
}
.gl-hero__visual { animation: gl-hero-in-visual 1s var(--ease-out) backwards; }

/* Sparkle */
.gl-sparkle {
    display: inline-block;
    animation: gl-twinkle 2.6s ease-in-out infinite;
}
@keyframes gl-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30%      { transform: scale(1.2) rotate(-10deg); }
    65%      { transform: scale(0.9) rotate(8deg); }
}

/* ── Tilt 3D pe carduri (setat din goloko.js, doar desktop + fine pointer) ── */
.js [data-tilt] {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) !important;
    transition: transform 0.25s var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast);
    will-change: transform;
}
.js [data-tilt]:hover { --lift: -5px; }

/* ── Animații legate de scroll (progresive, fără JS) ─────────────────────── */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        /* Imaginile din carduri „urcă" ușor în timp ce intră în viewport */
        .gl-bcard__media,
        .gl-step__img {
            animation: gl-view-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 90%;
        }
        /* Cusătura dintre hero și corp respiră la scroll */
        .gl-cta {
            animation: gl-view-pop linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 70%;
        }
    }
}
@keyframes gl-view-rise {
    from { transform: translateY(34px); }
    to   { transform: none; }
}
@keyframes gl-view-pop {
    from { transform: scale(0.94); opacity: 0.4; }
    to   { transform: none; opacity: 1; }
}

/* ── Reduced motion — oprește tot ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .js .gl-reveal, .js .gl-stagger > * { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .gl-bcard { grid-column: span 6; }
    .gl-bcard--8 { grid-column: span 12; }
    .gl-chip--order { left: -6%; }
    .gl-chip--ai { right: -7%; }
}

@media (max-width: 920px) {
    .gl-nav__links { display: none; }
    .gl-nav__burger { display: block; }
    /* Meniul mobil deschis: fundal alb complet */
    .gl-nav.is-open { background: var(--paper); box-shadow: var(--shadow); }

    .gl-hero { padding-top: clamp(6rem, 12vh, 8rem); }
    .gl-hero__inner { grid-template-columns: 1fr; gap: 3.2rem; }
    .gl-hero__content { text-align: center; }
    .gl-hero__subtitle { margin-inline: auto; }
    .gl-hero__actions, .gl-hero__trust { justify-content: center; }

    .gl-stats__card { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
    .gl-steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .gl-ai__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .gl-tiers, .gl-billing { grid-template-columns: 1fr; max-width: 560px; }
    .gl-yesno { grid-template-columns: 1fr; }
    .gl-trust { grid-template-columns: repeat(2, 1fr); }
    .gl-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    /* Butoanele pot rupe textul pe ecrane înguste — fără overflow orizontal */
    .gl-btn { white-space: normal; }
    .gl-bcard, .gl-bcard--6, .gl-bcard--8 { grid-column: span 12; }
    .gl-trust { grid-template-columns: 1fr; }
    .gl-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .gl-footer__bottom { justify-content: center; text-align: center; }
    .gl-stats__card { grid-template-columns: repeat(2, 1fr); }
    .gl-pagecta__msg { display: none; }
    .gl-pagecta .gl-btn { flex: 1; }
    .gl-chip { font-size: 0.76rem; }
    .gl-chip--order { left: 0; top: 8%; }
    .gl-chip--ai { right: 0; bottom: 20%; }
    .gl-chip--rating { left: 4%; bottom: 2%; }
    .gl-compare-ctas .gl-btn { width: 100%; }
    .gl-hero__actions .gl-btn, .gl-cta__actions .gl-btn { width: 100%; max-width: 380px; }
    .gl-pagehero__actions .gl-btn { width: 100%; max-width: 380px; }
}
