/* ============================================================
   SCOUTPRO — style.css  (Redesign complet)
   ============================================================ */

:root {
    --primary:        #0056D2;
    --primary-hover:  #0043a8;
    --primary-light:  rgba(0, 86, 210, 0.08);
    --primary-glow:   rgba(0, 86, 210, 0.18);
    --bg-deep:        #f0f4f8;
    --bg-card:        #ffffff;
    --text-main:      #0d1117;
    --text-sec:       #4b5563;
    --text-muted:     #9ca3af;
    --border:         #e5e7eb;
    --border-strong:  #d1d5db;
    --glass-bg:       rgba(255, 255, 255, 0.85);
    --shadow-sm:      0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-md:      0 8px 30px rgba(0, 0, 0, 0.07);
    --shadow-lg:      0 20px 50px rgba(0, 0, 0, 0.09);
    --radius:         8px;
    --radius-lg:      16px;
    --nav-height:     80px;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; } /* JS handles smooth scroll */

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo span { color: var(--primary); }
.logo i { color: var(--primary); }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; gap: 14px; align-items: center; }

/* Live badge */
.live-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-sec);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 20px;
}
.live-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.93rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 6px; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 86, 210, 0.2);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 210, 0.3);
}
.btn-glass {
    background: #fff;
    color: var(--text-main);
    border: 1.5px solid var(--border);
}
.btn-glass:hover {
    border-color: var(--border-strong);
    background: #fafafa;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 800;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn-ghost-white {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-white:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.6rem; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1a3a 50%, #0a1628 100%);
    overflow: hidden;
}

/* Dot grid pattern */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

/* Field lines overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 600px at 110% 50%, rgba(0,86,210,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at -10% 60%, rgba(0,150,255,0.10) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2;
    pointer-events: none;
}
.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.25), transparent 70%);
    top: -100px; right: -80px;
    animation: orb-float 10s ease-in-out infinite;
}
.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    bottom: -40px; left: 8%;
    animation: orb-float 14s ease-in-out infinite reverse;
}
@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-40px) scale(1.04); }
}

/* Football field circle — decorative */
.floating-shapes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.07);
}
.shape-1 {
    /* Centre circle like a football field */
    width: 320px; height: 320px;
    top: 50%; right: 8%;
    transform: translateY(-50%);
    border: 1.5px solid rgba(255,255,255,0.08);
    animation: spin-slow 40s linear infinite;
}
.shape-2 {
    width: 160px; height: 160px;
    top: 50%; right: 8%;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Football SVG ball — animated */
.hero-football {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    right: 14%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.18;
    animation: ball-spin 18s linear infinite, ball-float 8s ease-in-out infinite;
}
@keyframes ball-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes ball-float {
    0%, 100% { top: 48%; }
    50%       { top: 52%; }
}

/* Field arc lines */
.hero-field-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Hero text — now light on dark bg */
.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 4;
    padding: 60px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 86, 210, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(0, 86, 210, 0.4);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.tag-dot {
    width: 7px; height: 7px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse-blue 1.8s ease-in-out infinite;
}
@keyframes pulse-blue {
    0%, 100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(96, 165, 250, 0); }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #ffffff;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(130deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 500;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Trust row on dark bg */
.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
}
.trust-item i { color: #4ade80; }
.trust-sep { width: 4px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 50%; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.3);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 5;
}
.scroll-line {
    width: 1.5px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(96,165,250,0.8), transparent);
    transform-origin: top;
    animation: scroll-animate 2.2s ease-in-out infinite;
}
@keyframes scroll-animate {
    0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
    41%  { transform-origin: bottom; }
    80%  { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: top; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 5;
}
.scroll-line {
    width: 1.5px;
    height: 56px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    transform-origin: top;
    animation: scroll-animate 2.2s ease-in-out infinite;
}
@keyframes scroll-animate {
    0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
    41%  { transform-origin: bottom; }
    80%  { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: top; }
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-wrapper { position: relative; margin-top: -56px; z-index: 10; margin-bottom: 0; }

.search-glass {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.search-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}

.search-field-group { display: flex; flex: 1; gap: 20px; align-items: flex-end; }

.input-group { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.input-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.input-group label i { color: var(--primary); }
.input-group input,
.input-group select {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    color: var(--text-main);
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
    appearance: none;
}
.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
    background: #fff;
}
.search-btn { height: 50px; flex-shrink: 0; padding: 0 28px; }

/* ============================================================
   SECTIONS — general
   ============================================================ */
section { padding: 120px 0; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(0, 86, 210, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 14px;
}
.section-title p { color: var(--text-sec); font-size: 1.1rem; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-section { padding: 100px 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 86, 210, 0.25);
    box-shadow: var(--shadow-lg);
}
.feat-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 18px;
    transition: background 0.3s, color 0.3s;
}
.feature-card:hover .feat-icon { background: var(--primary); color: #fff; }
.feature-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-sec); line-height: 1.7; }

/* ============================================================
   FOR WHO — two column
   ============================================================ */
.for-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.for-who-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}
.for-who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.for-who-featured {
    background: #0d1117;
    border-color: rgba(0, 86, 210, 0.4);
}
.for-who-icon {
    width: 52px; height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.for-who-featured .for-who-icon { background: rgba(0, 86, 210, 0.2); color: #60a5fa; }
.for-who-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.for-who-featured h3 { color: #fff; }
.for-who-card > p { font-size: 0.93rem; color: var(--text-sec); line-height: 1.7; margin-bottom: 24px; }
.for-who-featured > p { color: #9ca3af; }
.for-who-list { list-style: none; margin-bottom: 28px; }
.for-who-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-sec);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.for-who-list li:last-child { border-bottom: none; }
.for-who-featured .for-who-list li { color: #d1d5db; border-color: rgba(255,255,255,0.07); }
.for-who-list i { color: #22c55e; font-size: 0.8rem; flex-shrink: 0; }

.talents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.player-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.asym-card { margin-top: 44px; }

.player-card:hover {
    transform: translateY(-14px);
    border-color: rgba(0, 86, 210, 0.25);
    box-shadow: 0 24px 50px rgba(0, 86, 210, 0.1);
}

.card-image {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.6s ease;
}
.player-card:hover .card-image { transform: scale(1.05); }

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.card-badges {
    position: absolute;
    top: 14px; left: 14px; right: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.pro-badge {
    background: var(--primary);
    color: #fff;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trending-badge {
    background: #ef4444;
    display: flex;
    align-items: center;
    gap: 5px;
}
.rating-badge {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.rating-badge i { color: #f59e0b; margin-right: 3px; }

.card-views {
    position: absolute;
    bottom: 60px;
    right: 14px;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-info {
    padding: 0 24px 24px;
    position: relative;
    z-index: 2;
    margin-top: -32px;
}

.card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.card-meta span {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-sec);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-meta span i { color: var(--primary); font-size: 0.7rem; }

.card-info h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 6px; }

.position {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #f8fafc;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 18px;
}
.stat-box { text-align: center; }
.stat-box span { display: block; color: var(--text-sec); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; font-weight: 600; }
.stat-box strong { font-size: 1.05rem; color: var(--text-main); font-weight: 800; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.scout-interest {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 6px;
}
.scout-interest i { color: var(--primary); }
.scout-interest.hot { color: #ef4444; }
.scout-interest.hot i { color: #ef4444; }

/* ============================================================
   STATS COUNTERS SECTION
   ============================================================ */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    padding: 72px 0;
}

.stats-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 86, 210, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.stats-orb {
    position: absolute;
    width: 500px; height: 500px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 86, 210, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stat-counter {
    text-align: center;
    flex: 1;
}
.stat-icon {
    width: 52px; height: 52px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 86, 210, 0.15);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: background 0.3s, transform 0.3s;
}
.stat-counter:hover .stat-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}
.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.counter-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.5px;
    line-height: 1;
}
.counter-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-counter p {
    font-size: 0.85rem;
    color: var(--text-sec);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-div {
    width: 1px;
    height: 64px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { padding: 120px 0; }

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.step-divider {
    width: 1px;
    background: var(--border);
    margin: 40px 0;
}

.step-column { padding: 48px; }
.staggered-column { background: #fafbfc; }

.step-col-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.step-col-icon {
    width: 46px; height: 46px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.step-col-header h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-main); }

.step-item {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
    position: relative;
    transition: transform 0.3s ease;
}
.step-item:last-child { margin-bottom: 0; }
.step-item:hover { transform: translateX(8px); }

.step-num {
    position: absolute;
    top: -8px; left: -8px;
    width: 22px; height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}
.step-item:hover .step-num { opacity: 1; }

.step-icon {
    width: 50px; height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}
.step-item:hover .step-icon { background: var(--primary); color: #fff; }

.step-text h4 { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.step-text p { color: var(--text-sec); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   MISSION
   ============================================================ */
.mission-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.mission-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.mission-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,86,210,0.07), transparent 70%);
    top: -150px; right: -100px;
}
.mission-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(56,189,248,0.06), transparent 70%);
    bottom: -100px; left: -80px;
}

.mission-content { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }

.mission-icon-wrap {
    width: 70px; height: 70px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 86, 210, 0.2);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 32px;
    font-size: 2rem;
    color: var(--primary);
}
.mission-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 24px;
}
.mission-content > p {
    font-size: 1.15rem;
    color: var(--text-sec);
    line-height: 1.9;
    margin-bottom: 56px;
}

.mission-values-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 56px;
}
.m-val {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 28px 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.m-val:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.m-val-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}
.m-val strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.m-val span { font-size: 0.85rem; color: var(--text-sec); line-height: 1.6; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { padding-top: 120px; }
.pricing-subtitle { color: var(--text-sec); font-size: 1.05rem; margin-top: 10px; }

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto 48px;
}
.toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--text-sec);
    transition: all 0.25s ease;
}
.toggle-btn.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.save-badge {
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

/* Price card — flex column so button anchors at bottom */
.price-card {
    display: flex;
    flex-direction: column;
}
.price-features { flex: 1; }

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 4px 0 8px;
    letter-spacing: -1.5px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}
.price-period { font-size: 1rem; color: var(--text-sec); font-weight: 500; letter-spacing: 0; }
.price-card.featured .price { color: #fff; }
.price-card.featured .price-period { color: #6b7280; }
.price-annual-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 18px;
}
.price-card.featured .price-annual-note { color: #6b7280; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.price-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.price-card.featured {
    background: #0d1117;
    border-color: var(--primary);
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(0, 86, 210, 0.2);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-10px); }

.featured-tag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-card-top { margin-bottom: 20px; }

.price-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.featured-icon { background: rgba(0, 86, 210, 0.2); color: #60a5fa; }
.price-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-sec); margin-bottom: 6px; }
.price-card.featured h3 { color: #93c5fd; }
.price-desc { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.price-card.featured .price-desc { color: #6b7280; }

.price-features { list-style: none; margin-bottom: 36px; }
.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-sec);
}
.price-card.featured .price-features li { border-color: rgba(255,255,255,0.07); color: #d1d5db; }
.price-features li:last-child { border-bottom: none; }
.price-features li.ok i { color: #22c55e; }
.price-features li.no { opacity: 0.4; }
.price-features li.no i { color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-wrap { padding-bottom: 120px; }

.cta-banner {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 80px 72px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px -10px rgba(0, 86, 210, 0.4);
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.cta-s1 { width: 400px; height: 400px; top: -200px; right: -100px; }
.cta-s2 { width: 250px; height: 250px; bottom: -120px; left: 10%; }
.cta-s3 { width: 120px; height: 120px; top: 30px; left: 40%; background: rgba(255,255,255,0.04); }

.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: 3.2rem; font-weight: 800; color: #fff; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-banner p { font-size: 1.15rem; color: rgba(255,255,255,0.8); font-weight: 500; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #0d1117;
    padding: 80px 0 32px;
    border-top: 1px solid #1f2937;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 56px;
}

.footer-logo { color: #fff; font-size: 1.4rem; display: block; margin-bottom: 20px; }
.footer-brand p { color: #6b7280; font-size: 0.92rem; line-height: 1.8; margin-bottom: 28px; }

.footer-col h4 { font-size: 0.85rem; color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul a:hover { color: #fff; transform: translateX(4px); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-4px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #4b5563;
    font-size: 0.88rem;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-delay="150"] { transition-delay: 0.15s; }
.reveal[data-delay="300"] { transition-delay: 0.30s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .for-who-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
    .price-card.featured { transform: scale(1); }
    .steps-container { grid-template-columns: 1fr; }
    .step-divider { display: none; }
    .stats-inner { flex-wrap: wrap; justify-content: center; gap: 32px; }
    .stat-div { display: none; }
}

/* ============================================================
   MOBILE — compact maxim, confortabil, minim scroll
   ============================================================ */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links, .nav-actions { display: none; }

    /* FIX CRITIC: Nu suprascrie padding stânga-dreapta al .container
       Folosim DOAR padding-top/padding-bottom pe secțiuni */
    .container { padding-left: 16px !important; padding-right: 16px !important; }

    section { padding-top: 32px; padding-bottom: 32px; }
    .features-section  { padding-top: 32px; padding-bottom: 32px; }
    .how-section       { padding-top: 32px; padding-bottom: 32px; }
    .pricing-section   { padding-top: 32px; padding-bottom: 32px; }
    .mission-section   { padding-top: 32px; padding-bottom: 32px; }
    .stats-section     { padding-top: 28px; padding-bottom: 28px; }
    .cta-wrap          { padding-top: 0; padding-bottom: 32px; }

    /* ---- Nav ---- */
    var(--nav-height): 64px;

    /* ---- Hero ---- */
    .hero { padding-top: 68px; min-height: auto; padding-bottom: 28px; }
    .hero-content { padding: 16px 0 0; }
    .hero-tag { font-size: 0.68rem; padding: 4px 10px; margin-bottom: 12px; }
    .hero h1 { font-size: 1.6rem; letter-spacing: -0.3px; line-height: 1.2; margin-bottom: 10px; }
    .hero p { font-size: 0.83rem; line-height: 1.6; margin-bottom: 16px; }
    .hero-buttons { flex-direction: column; gap: 7px; margin-bottom: 16px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 11px 16px; font-size: 0.83rem; }
    .hero-trust-row { gap: 6px; flex-wrap: wrap; }
    .trust-sep { display: none; }
    .trust-item { font-size: 0.72rem; }
    .scroll-indicator, .orb-1, .orb-2, .floating-shapes { display: none; }

    /* ---- Search — 2 câmpuri side by side, nu stacked ---- */
    .search-wrapper { margin-top: 10px; }
    .search-glass { flex-direction: column; padding: 12px; gap: 8px; border-radius: var(--radius); }
    .search-field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .search-field-group .input-group:nth-child(n+3) { display: none; }
    .input-group label { font-size: 0.63rem; gap: 4px; margin-bottom: 0; }
    .input-group input, .input-group select { padding: 9px 10px; font-size: 0.82rem; border-radius: 6px; }
    .search-btn { width: 100%; padding: 10px; font-size: 0.83rem; }

    /* ---- Section headers ---- */
    .section-header { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 16px; }
    .section-tag { font-size: 0.63rem; padding: 3px 9px; margin-bottom: 6px; }
    .section-title h2 { font-size: 1.3rem; letter-spacing: -0.2px; margin-bottom: 4px; }
    .section-title p { font-size: 0.8rem; }

    /* ---- Features grid — 2 col, fără descriere ---- */
    .features-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
    .feature-card { padding: 14px 12px; border-radius: var(--radius); }
    .feat-icon { width: 32px; height: 32px; font-size: 0.83rem; margin-bottom: 8px; border-radius: 6px; }
    .feature-card h3 { font-size: 0.8rem; font-weight: 800; margin-bottom: 0; line-height: 1.3; }
    .feature-card p { display: none; }

    /* ---- Stats — 2x2 grid, înălțimi perfect egale ---- */
    .stats-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: var(--border);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .stat-counter {
        background: var(--bg-card);
        padding: 20px 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 110px;
    }
    .stat-icon { width: 30px; height: 30px; font-size: 0.8rem; margin-bottom: 8px; border-radius: 6px; background: var(--primary-light); border-color: rgba(0,86,210,0.15); color: var(--primary); }
    .stat-number { margin-bottom: 4px; }
    .stat-number strong { font-size: 1.35rem; letter-spacing: -0.5px; color: var(--text-main); }
    .counter-plus { font-size: 1.1rem; color: var(--primary); }
    .stat-counter p { font-size: 0.63rem; text-align: center; padding: 0 4px; line-height: 1.4; color: var(--text-sec); }

    /* ---- How it works — padding interior corect ---- */
    .steps-container { border-radius: var(--radius); margin: 0; }
    .step-column { padding: 20px 18px; }
    .staggered-column { padding: 20px 18px; }
    .step-col-header { margin-bottom: 14px; padding-bottom: 10px; }
    .step-col-header h3 { font-size: 0.92rem; }
    .step-col-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .step-item { gap: 10px; margin-bottom: 14px; }
    .step-icon { width: 34px; height: 34px; font-size: 0.82rem; flex-shrink: 0; }
    .step-text h4 { font-size: 0.82rem; margin-bottom: 3px; }
    .step-text p { font-size: 0.73rem; line-height: 1.5;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ---- For who ---- */
    .for-who-grid { grid-template-columns: 1fr; gap: 10px; }
    .for-who-card { padding: 20px 16px; border-radius: var(--radius); }
    .for-who-icon { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: 12px; }
    .for-who-card h3 { font-size: 1rem; margin-bottom: 6px; }
    .for-who-card > p { font-size: 0.8rem; margin-bottom: 14px; }
    .for-who-list li { font-size: 0.77rem; padding: 5px 0; gap: 7px; }

    /* ---- Pricing — compact, nu toata latimea ecranului ---- */
    .pricing-grid { max-width: 100%; gap: 10px; }
    .price-card { padding: 18px 16px; border-radius: var(--radius); }
    .price-icon { display: none; }
    .price-desc { display: none; }
    .price-card h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 2px; }
    .price { font-size: 1.9rem; margin: 6px 0 4px; letter-spacing: -1px; }
    .price-period { font-size: 0.8rem; }
    .price-annual-note { font-size: 0.7rem; margin-bottom: 12px; }
    .price-features { margin-bottom: 14px; }
    .price-features li { font-size: 0.75rem; padding: 5px 0; gap: 6px; }
    .price-features li i { font-size: 0.7rem; flex-shrink: 0; }
    .billing-toggle { margin-bottom: 16px; }
    .toggle-btn { padding: 7px 14px; font-size: 0.8rem; }
    .save-badge { font-size: 0.63rem; padding: 1px 5px; }
    .featured-tag { font-size: 0.63rem; padding: 3px 12px; top: -11px; }
    .price-card .btn { padding: 10px 14px; font-size: 0.82rem; }

    /* ---- CTA ---- */
    .cta-banner { padding: 28px 16px; border-radius: var(--radius); }
    .cta-banner h2 { font-size: 1.4rem; letter-spacing: -0.2px; margin-bottom: 8px; }
    .cta-banner p { font-size: 0.82rem; margin-bottom: 16px; }
    .cta-btns { flex-direction: column; align-items: stretch; gap: 7px; }
    .cta-btns .btn { justify-content: center; padding: 11px 16px; font-size: 0.82rem; }

    /* ---- Footer ---- */
    footer { padding-top: 32px; padding-bottom: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { font-size: 0.78rem; line-height: 1.6; margin-bottom: 14px; }
    .footer-logo { font-size: 1.1rem; margin-bottom: 10px; }
    .footer-col h4 { font-size: 0.68rem; margin-bottom: 12px; }
    .footer-col ul a { font-size: 0.77rem; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-bottom { flex-direction: column; gap: 5px; text-align: center; font-size: 0.72rem; padding-top: 16px; }
    .social-links { gap: 7px; margin-top: 14px; }
    .social-links a { width: 33px; height: 33px; font-size: 0.8rem; }
}

/* ============================================================
   MOBILE DRAWER NAV
   ============================================================ */
.burger-line {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, width 0.3s ease;
    transform-origin: center;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--primary-light); }
.mobile-menu-btn.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open .burger-line:nth-child(2) { opacity: 0; width: 0; }
.mobile-menu-btn.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer panel */
.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #fff;
    z-index: 1100;
    padding: 88px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    border-left: 1px solid var(--border);
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.drawer-link {
    display: block;
    padding: 13px 16px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    transform: translateX(16px);
    opacity: 0;
    transition: background 0.2s, color 0.2s, transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.mobile-drawer.is-open .drawer-link { transform: translateX(0); opacity: 1; }
.mobile-drawer.is-open .drawer-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-drawer.is-open .drawer-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-drawer.is-open .drawer-link:nth-child(3) { transition-delay: 0.14s; }
.mobile-drawer.is-open .drawer-link:nth-child(4) { transition-delay: 0.18s; }
.mobile-drawer.is-open .drawer-link:nth-child(5) { transition-delay: 0.22s; }
.drawer-link:hover { background: var(--primary-light); color: var(--primary); transform: translateX(4px) !important; }
.drawer-link.active { color: var(--primary); background: var(--primary-light); }

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.28s, transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.28s;
}
.mobile-drawer.is-open .drawer-actions { opacity: 1; transform: translateY(0); }

/* Overlay */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO LAYOUT — two column with visual card
   ============================================================ */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.hero-card-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,86,210,0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: orb-float 8s ease-in-out infinite;
}
.hero-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 360px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: card-float 6s ease-in-out infinite;
}
@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.hc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.hc-avatar {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hc-info { flex: 1; }
.hc-info strong { display: block; font-size: 0.95rem; font-weight: 800; color: var(--text-main); }
.hc-info span { font-size: 0.75rem; color: var(--text-sec); }
.hc-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.hc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.hc-stat { text-align: center; }
.hc-stat strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--text-main); }
.hc-stat span { font-size: 0.65rem; color: var(--text-sec); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.hc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.hc-views { font-size: 0.78rem; color: var(--text-sec); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hc-views i { color: var(--primary); }
.hc-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s;
}
.hc-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* ============================================================
   PRICING CAROUSEL
   ============================================================ */
.pricing-carousel-wrap { position: relative; }

/* Rounded corners mai mari pe price cards */
.price-card { border-radius: 20px !important; }

.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.c-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-strong);
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    padding: 0;
}
.c-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ============================================================
   MOBILE OVERRIDES (adăugare la cel existent)
   ============================================================ */
@media (max-width: 768px) {
    /* Navbar */
    .mobile-menu-btn { display: flex !important; }

    /* Hero — stacked, compact */
    .hero-layout { grid-template-columns: 1fr; gap: 0; min-height: auto; }
    .hero-visual { display: none; } /* ascundem cardul pe mobil — prea mult spațiu */

    /* Search — 2x2 grid pe mobil (toate 4 câmpurile) */
    .search-field-group { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px; }
    .search-field-group .input-group { display: block !important; }

    /* Pricing carousel pe mobil */
    .pricing-carousel-wrap { overflow: hidden; }
    .pricing-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        padding: 8px 4px 16px;
        /* Lasăm să se vadă puțin din cardul următor */
        padding-right: 40px;
    }
    .pricing-grid::-webkit-scrollbar { display: none; }
    .price-card {
        scroll-snap-align: start;
        flex: 0 0 82vw;
        min-width: 0;
        max-width: 320px;
    }
    .price-card.featured { transform: scale(1) !important; }
    .carousel-dots { display: flex; }

    /* Price card mai compact pe mobil */
    .price-card { padding: 20px 18px !important; }
    .price-icon { display: none; }
    .price-desc { display: none; }
    .price-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 2px; }
    .price { font-size: 2rem; margin: 6px 0 4px; letter-spacing: -1px; }
    .price-period { font-size: 0.83rem; }
    .price-features li { font-size: 0.78rem; padding: 6px 0; }
    .price-features li i { font-size: 0.72rem; }
    .featured-tag { font-size: 0.65rem; padding: 3px 12px; top: -11px; }
}

/* ============================================================
   HERO FOOTBALL DECORATIONS
   ============================================================ */
.hero-field-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-football-svg {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.32;
    width: clamp(180px, 22vw, 340px);
    height: clamp(180px, 22vw, 340px);
    animation: ball-spin 28s linear infinite, ball-drift 9s ease-in-out infinite;
}
@keyframes ball-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}
@keyframes ball-drift {
    0%, 100% { top: 46%; }
    50%       { top: 54%; }
}

/* Glass button on dark hero */
.btn-hero-glass {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 700; font-size: 1rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    cursor: pointer;
    white-space: nowrap;
}
.btn-hero-glass:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}
.btn-hero-glass.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============================================================
   MOBILE HERO — jumatate de ecran, nu full
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding-top: 68px !important;
        padding-bottom: 0 !important;
    }
    .hero-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        min-height: auto !important;
        padding-bottom: 32px;
    }
    .hero-visual { display: none !important; }
    .hero-content {
        padding: 20px 0 0 !important;
        max-width: 100%;
    }

    /* Tighten all text */
    .hero-tag { font-size: 0.66rem; padding: 4px 10px; margin-bottom: 12px; }
    .hero h1 { font-size: 1.7rem !important; letter-spacing: -0.5px; line-height: 1.18; margin-bottom: 10px; }
    .hero p { font-size: 0.85rem !important; line-height: 1.6; margin-bottom: 18px; color: rgba(255,255,255,0.6); }
    .hero-buttons { flex-direction: column; gap: 8px; margin-bottom: 16px; }
    .hero-buttons .btn,
    .hero-buttons .btn-hero-glass { width: 100%; justify-content: center; padding: 12px 16px; font-size: 0.85rem; }
    .hero-trust-row { gap: 8px; }
    .trust-item { font-size: 0.73rem; }
    .trust-sep { display: none; }

    /* Scale down decorations on mobile */
    .hero-football-svg { opacity: 0.07; width: 180px; height: 180px; right: -30px; }
    .shape-1 { width: 200px; height: 200px; right: -60px; }
    .shape-2 { display: none; }
    .scroll-indicator { display: none; }
    .orb-1, .orb-2 { opacity: 0.5; }
}