/* ══════════════════════════════════════════════════════════════
   HERO — Refined Tech (dark, mint accent)
   ══════════════════════════════════════════════════════════════
   Folosește exclusiv tokens.css pentru culori/spacing/typography.
   Design moves:
   - Dark bg cu o singură mint glow + grid sutil (NO rainbow)
   - Headline = Fraunces semibold + accent italic mint pe "10×"
   - CTAs: solid mint primary + ghost secondary
   - Mockup window cu chrome dark, păstrează .mockup-3d pentru JS tilt

   Memorable detail = contrastul typography (Geist body sharp + Fraunces italic accent).
*/

/* ── SECTION ────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: var(--color-bg);
    color: var(--color-text);
    padding: clamp(7rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: clip;
    border-bottom-left-radius: var(--radius-3xl);
    border-bottom-right-radius: var(--radius-3xl);
    z-index: 10;
    isolation: isolate;
}

/* Subtle grid pattern fading toward edges */
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black 30%, transparent 75%);
    pointer-events: none;
}

/* Single mint atmospheric glow — replaces the rainbow orbs */
.hero-glow {
    position: absolute;
    top: -8%; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 70%;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%);
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.55;
    z-index: -1;
}

/* ── CONTENT WRAPPER ────────────────────────────────────────── */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 var(--space-4);
    text-align: center;
}

/* ── PILL announcement ──────────────────────────────────────── */
.hero-pill {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: 5px 14px 5px 6px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--duration-base) var(--ease-snap);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
}
.hero-pill:hover {
    border-color: var(--color-accent-border);
    background: var(--color-surface-2);
    color: var(--color-text);
    transform: translateY(-1px);
}
.hero-pill-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: var(--radius-full);
    background: var(--color-accent-bg-strong);
    color: var(--color-accent);
    font-size: 0.65rem;
    flex-shrink: 0;
}
.hero-pill-arrow {
    color: var(--color-accent);
    font-weight: var(--weight-bold);
    margin-left: var(--space-1);
    transition: transform var(--duration-base) var(--ease-spring);
}
.hero-pill:hover .hero-pill-arrow { transform: translateX(3px); }

/* ── HEADLINE ───────────────────────────────────────────────── */
.hero-headline {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin: 0 auto var(--space-5);
    max-width: 18ch;
}
.hero-accent {
    font-style: italic;
    color: var(--color-accent);
    font-weight: var(--weight-regular);
    /* Subtle hand-drawn underline appears on load */
    background-image: linear-gradient(to right, var(--color-accent), var(--color-accent));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 1.2s var(--ease-snap) 0.8s;
    padding-bottom: 2px;
    display: inline-block;
}
.hero-section.hero-loaded .hero-accent { background-size: 100% 2px; }

/* ── SUBHEAD ────────────────────────────────────────────────── */
.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    max-width: 42rem;
    margin: 0 auto var(--space-7);
}
.hero-sub-highlight {
    display: block;
    margin-top: var(--space-2);
    color: var(--color-text);
    font-weight: var(--weight-semibold);
}

/* ── CTA BUTTONS ────────────────────────────────────────────── */
.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-7);
    padding: 0 var(--space-4);
}
@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; }
}

.hero-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-snug);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-snap);
    border: 1px solid transparent;
    text-decoration: none;
    width: 100%;
    max-width: 280px;
}
@media (min-width: 640px) {
    .hero-btn { width: auto; }
}

.hero-btn-primary {
    background: var(--color-accent);
    color: #0a0a0c;
    box-shadow:
        0 0 0 1px var(--color-accent-press),
        0 8px 30px var(--color-accent-glow);
}
.hero-btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px var(--color-accent-press),
        0 14px 40px var(--color-accent-glow);
}
.hero-btn-primary:active { transform: translateY(0); }

.hero-btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border-strong);
}
.hero-btn-secondary:hover {
    background: var(--color-surface-2);
    border-color: var(--color-text-subtle);
    transform: translateY(-2px);
}

/* ── SOCIAL PROOF ───────────────────────────────────────────── */
.hero-social {
    display: flex; align-items: center; justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.hero-avatars {
    display: flex;
    align-items: center;
}
.hero-avatars > img,
.hero-avatars-counter {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}
.hero-avatars > * + * { margin-left: -10px; }
.hero-avatars > img:hover {
    transform: scale(1.1) translateY(-2px);
    z-index: 50; position: relative;
    transition: transform var(--duration-base) var(--ease-spring);
}
.hero-avatars-counter {
    background: var(--color-surface-2);
    color: var(--color-text);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    display: inline-flex; align-items: center; justify-content: center;
    border-color: var(--color-bg);
}
.hero-social-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: left;
    line-height: var(--leading-snug);
    margin: 0;
}
.hero-social-text strong {
    color: var(--color-text);
    font-weight: var(--weight-bold);
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
}

/* ── MOCKUP WINDOW ──────────────────────────────────────────── */
.hero-mockup-wrapper {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: 0 var(--space-4);
    position: relative;
    z-index: 1;
    perspective: 1500px;
}
.hero-mockup {
    max-width: 64rem;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 8px;
    box-shadow:
        var(--shadow-xl),
        0 0 80px rgba(101, 214, 158, 0.07),
        0 0 0 1px var(--color-border-subtle);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-snap);
}
.hero-mockup-chrome {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px;
}
.hero-mockup-dot {
    width: 12px; height: 12px;
    border-radius: var(--radius-full);
}
.hero-mockup-dot--red    { background: #ff5f56; }
.hero-mockup-dot--yellow { background: #ffbd2e; }
.hero-mockup-dot--green  { background: #27c93f; }
.hero-mockup-url {
    flex: 1;
    margin-left: var(--space-3);
    height: 28px;
    display: flex; align-items: center;
    padding: 0 var(--space-3);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-border-subtle);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    gap: var(--space-2);
    letter-spacing: var(--tracking-wide);
}
.hero-mockup-url i { color: var(--color-text-faint); }
.hero-mockup-screen {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}
.hero-mockup-screen video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}