/* ==========================================================
   DRIFT KING SCHOOL: COURSES MICROSITE
   Trilingual HE/EN/RU. Hebrew default. BMW-inspired luxury.
   ========================================================== */

:root {
    --red: #e30613;
    --red-dark: #b00510;
    --blue: #1c69d4;
    --cyan: #00AEEF;
    --gold: #c8a85a;
    --gold-light: #e4cf91;
    --gold-dark: #9b7f35;
    --black: #0a0a0a;
    --ink: #111418;
    --text: #2a2e33;
    --muted: #5f6670;
    --line: #e6e8ec;
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --bg-dark: #0f1115;
    --shadow-sm: 0 2px 12px rgba(10, 14, 20, 0.05);
    --shadow-md: 0 8px 28px rgba(10, 14, 20, 0.08);
    --shadow-lg: 0 24px 60px rgba(10, 14, 20, 0.14);
    --shadow-gold: 0 20px 50px rgba(200, 168, 90, 0.28);
    --radius: 14px;
    --radius-lg: 22px;
    --font-en: 'Inter', 'Heebo', system-ui, sans-serif;
    --font-he: 'Heebo', 'Inter', system-ui, sans-serif;
    --font-ru: 'Inter', 'Heebo', system-ui, sans-serif;
    --nav-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-he);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[data-lang="en"] body { font-family: var(--font-en); }
html[data-lang="ru"] body { font-family: var(--font-ru); }
html[data-lang="he"] body { font-family: var(--font-he); }

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

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }

a { color: inherit; }

/* ===== LOGO INTRO ===== */
.logo-intro {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    animation: introFade 1.6s ease forwards;
    animation-delay: 0.9s;
}
.logo-intro-img {
    width: 220px; max-width: 60vw;
    animation: introPulse 1.2s ease;
}
@keyframes introFade { to { opacity: 0; visibility: hidden; } }
@keyframes introPulse {
    0% { opacity: 0; transform: scale(0.6); }
    55% { opacity: 1; transform: scale(1.06); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
    color: var(--ink);
}
.nav-logo .logo-img { height: 48px; width: auto; }
.nav-tagline {
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--gold-dark);
    border-inline-start: 2px solid var(--gold);
    padding-inline-start: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}
.nav-links {
    display: flex; align-items: center; gap: 26px;
    margin-inline-start: auto;
}
.nav-links a:not(.nav-cta) {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 6px 2px;
}
.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
html[dir="rtl"] .nav-links a:not(.nav-cta)::after { transform-origin: right; }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.nav-cta:hover { background: #1fbd5a; transform: translateY(-1px); }

/* ===== LANG TOGGLE ===== */
.lang-toggle {
    display: inline-flex;
    background: #111418;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(200, 168, 90, 0.5);
}
.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, background 0.25s ease;
    font-family: inherit;
    line-height: 1;
}
.lang-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    box-shadow: 0 2px 10px rgba(200, 168, 90, 0.45);
}
.lang-btn:not(.active):hover { color: #fff; }

/* Floating language button (always visible) */
.lang-float {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    z-index: 999;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 32px rgba(200, 168, 90, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: inherit;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lang-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(200, 168, 90, 0.55), 0 6px 14px rgba(0, 0, 0, 0.2);
}
.lang-float .icon { width: 20px; height: 20px; }

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    width: 32px; height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px 32px 36px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}
.mobile-menu a.nav-cta {
    background: #25D366;
    color: #fff !important;
    text-align: center;
    border-radius: 999px;
    border: none;
    padding: 14px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    padding-top: var(--nav-h);
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55) contrast(1.08);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(227, 6, 19, 0.22), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 174, 239, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.7) 100%);
    z-index: 1;
}
.hero-particles {
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-particles span {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatUp 8s linear infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; transform: translateY(90vh) scale(1); }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 80px 24px 140px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 168, 90, 0.5);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 26px;
}
.hero-title {
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
}
.title-line { display: block; }
.title-line.accent { color: #fff; }
.highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.hero-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 36px;
    max-width: 720px;
    line-height: 1.65;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.4);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(227, 6, 19, 0.5);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
}
.btn-whatsapp:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-num {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat-plus { color: var(--gold-light); font-weight: 900; font-size: 20px; margin-inline-start: 2px; }
.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}
.stat-divider {
    width: 1px; height: 44px;
    background: rgba(255, 255, 255, 0.3);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 3;
}
.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7));
    animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; }
    50% { transform: scaleY(1); }
}

/* ===== SECTION COMMON ===== */
section { padding: 110px 0; position: relative; }
.section-container { max-width: 1300px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
}
.section-title .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.section-desc {
    font-size: 17px;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ADVANTAGES ===== */
.advantages { background: #fff; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.adv-card {
    position: relative;
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background: #0f1115;
    color: #fff;
    overflow: hidden;
    min-height: 260px;
    cursor: default;
    isolation: isolate;
}
.adv-card.has-bg::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.45);
    transform: scale(1.08);
    z-index: -1;
}
.adv-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(140deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.78) 100%);
    z-index: -1;
}
.adv-content { position: relative; z-index: 1; }
.adv-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 22px rgba(200, 168, 90, 0.4);
}
.adv-icon svg { width: 26px; height: 26px; color: #0a0a0a; }
.adv-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.adv-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== COURSE SIGNATURE CARDS ===== */
.courses { background: var(--bg-alt); }
.course-block {
    max-width: 980px;
    margin: 0 auto;
}
.course-block + .course-block { margin-top: 80px; }

.signature-card {
    position: relative;
    background: #fff;
    border-radius: 26px;
    padding: 56px 48px 44px;
    box-shadow: var(--shadow-lg), 0 0 0 1.5px var(--gold-light);
    overflow: hidden;
    isolation: isolate;
}
.signature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 168, 90, 0.06), transparent 40%, rgba(200, 168, 90, 0.04));
    z-index: -1;
    pointer-events: none;
}
.signature-glow {
    position: absolute;
    top: -80px;
    inset-inline-start: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(200, 168, 90, 0.35), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}
.signature-glow.right {
    inset-inline-start: auto;
    inset-inline-end: -80px;
    top: auto;
    bottom: -80px;
}
.signature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    box-shadow: 0 6px 18px rgba(200, 168, 90, 0.4);
}
.signature-header { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.signature-name {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.signature-subtitle {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
    font-weight: 500;
}
.signature-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.signature-price .price-currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}
.signature-price .price-amount {
    font-size: clamp(34px, 4.2vw, 48px);
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -1.5px;
    font-variant-numeric: tabular-nums;
}
.signature-price .price-note {
    flex-basis: 100%;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 600;
}

.signature-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: 16px;
}
.signature-meta .meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: start;
}
.signature-meta .meta-icon {
    width: 22px; height: 22px;
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}
.signature-meta .meta-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 4px;
}
.signature-meta .meta-item span {
    font-size: 15px;
    color: var(--ink);
    font-weight: 600;
}

/* ===== TIMELINE (course stages) ===== */
.course-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--muted);
    margin: 36px 0 24px;
    text-align: center;
}
.timeline {
    position: relative;
    padding-inline-start: 12px;
    margin: 24px 0 36px;
}
.timeline::before {
    content: "";
    position: absolute;
    inset-inline-start: 24px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-light));
    border-radius: 2px;
}
.tl-stage {
    position: relative;
    padding-inline-start: 64px;
    padding-bottom: 28px;
}
.tl-stage:last-child { padding-bottom: 0; }
.tl-num {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(200, 168, 90, 0.4), 0 0 0 4px #fff;
    z-index: 1;
}
.tl-stage h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.tl-stage ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tl-stage li {
    position: relative;
    padding-inline-start: 18px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}
.tl-stage li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
}

/* ===== FLEX OPTIONS ===== */
.flex-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 24px;
}
.flex-option {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
}
.flex-option .opt-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.flex-option h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}
.flex-option p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.school-rec {
    background: linear-gradient(135deg, rgba(200, 168, 90, 0.1), rgba(200, 168, 90, 0.04));
    border: 1px solid rgba(200, 168, 90, 0.3);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 24px 0 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.school-rec .rec-icon {
    width: 26px; height: 26px;
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}
.school-rec .rec-text strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-dark);
    margin-bottom: 4px;
    font-weight: 800;
}
.school-rec .rec-text p {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.55;
}

/* CTA inside signature */
.signature-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 12px;
}
.signature-cta {
    flex: 0 1 auto;
    min-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 18px 34px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.38);
    transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.signature-cta:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}

.signature-footnote {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-style: italic;
}

/* ===== JOURNEY BRIDGE ===== */
.journey-bridge {
    text-align: center;
    padding: 70px 24px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.journey-bridge::before,
.journey-bridge::after {
    content: "";
    display: block;
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
    margin: 0 auto;
    opacity: 0.7;
}
.journey-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto;
    box-shadow: 0 12px 28px rgba(200, 168, 90, 0.4), 0 0 0 6px rgba(200, 168, 90, 0.12);
}
.journey-icon svg { width: 30px; height: 30px; color: #0a0a0a; }
.journey-bridge h3 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.journey-bridge p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== COMPETITION ENVELOPE ===== */
.competition {
    background: linear-gradient(135deg, #0a0a0a 0%, #14171d 60%, #0a0a0a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.competition::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(227, 6, 19, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 168, 90, 0.18), transparent 50%);
    pointer-events: none;
}
.competition .section-container { position: relative; z-index: 1; }
.competition .section-tag { color: var(--gold-light); }
.competition .section-title { color: #fff; }
.competition .section-title .highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.competition .section-desc { color: rgba(255, 255, 255, 0.78); }

.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 32px;
}
.comp-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 168, 90, 0.25);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.comp-item:hover {
    border-color: rgba(200, 168, 90, 0.6);
    transform: translateY(-4px);
}
.comp-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 18px rgba(200, 168, 90, 0.4);
}
.comp-icon svg { width: 24px; height: 24px; color: #0a0a0a; }
.comp-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.comp-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.comp-headline {
    text-align: center;
    margin-top: 36px;
    padding: 26px 32px;
    background: rgba(200, 168, 90, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(200, 168, 90, 0.3);
    color: var(--gold-light);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 820px;
    margin-inline: auto;
}

/* ===== OWN-CAR TEASER ===== */
.own-car-teaser { background: #fff; }
.teaser-card {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f1115 0%, #1a1d24 100%);
    color: #fff;
    border-radius: 24px;
    padding: 48px 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(200, 168, 90, 0.3);
}
.teaser-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 50%, rgba(200, 168, 90, 0.18), transparent 50%);
    z-index: -1;
}
.teaser-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-light);
    margin-bottom: 14px;
}
.teaser-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}
.teaser-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(200, 168, 90, 0.35);
    transition: transform 0.22s ease, box-shadow 0.25s ease;
}
.teaser-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(200, 168, 90, 0.5);
}
.teaser-price {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(200, 168, 90, 0.3);
}
.teaser-price .from {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.teaser-price .price {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.8px;
    line-height: 1;
}
.teaser-price .currency {
    font-size: 17px;
    color: var(--gold-light);
    font-weight: 700;
}
.teaser-price .desc {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 110px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #14171d 60%, #0a0a0a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-bg-effect {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(227, 6, 19, 0.25), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 168, 90, 0.22), transparent 50%);
    pointer-events: none;
}
.cta-banner .section-container { position: relative; z-index: 1; }
.cta-banner h2 {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 900;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-flame { color: var(--red); animation: flameFlicker 1.5s ease-in-out infinite; }
@keyframes flameFlicker {
    0%, 100% { transform: scale(1) rotate(-2deg); filter: brightness(1); }
    50% { transform: scale(1.1) rotate(2deg); filter: brightness(1.3); }
}
.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto; margin-right: auto;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    margin-top: 18px;
    line-height: 1.65;
    font-size: 15px;
}
.footer-logo img { height: 56px; width: auto; }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.footer-social a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}
.footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer a:not(.footer-social a) {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}
.footer a:not(.footer-social a):hover { color: var(--gold-light); }
.footer-contact p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===== OWN-CAR PAGE ===== */
.own-car-hero {
    padding: calc(var(--nav-h) + 80px) 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #14171d 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.own-car-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(200, 168, 90, 0.12), transparent 60%);
    pointer-events: none;
}
.own-car-hero .section-container { position: relative; z-index: 1; }
.own-car-hero .breadcrumb {
    margin-bottom: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.own-car-hero .breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}
.own-car-hero .breadcrumb a:hover { color: var(--gold); }
.own-car-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.own-car-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.single-lesson-banner {
    max-width: 920px;
    margin: -40px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 22px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.single-lesson-banner .sl-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 4px;
}
.single-lesson-banner h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.single-lesson-banner .sl-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.3px;
}
.single-lesson-banner .sl-price .currency {
    font-size: 13px;
    color: var(--gold-dark);
    margin-inline-end: 2px;
}
.single-lesson-banner .sl-cta {
    background: #25D366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.single-lesson-banner .sl-cta:hover { background: #1fbd5a; transform: translateY(-1px); }

.car-courses { background: var(--bg-alt); padding-top: 80px; }
.car-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.car-course {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px 30px 32px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.car-course:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.car-course.popular {
    border-color: rgba(227, 6, 19, 0.4);
    box-shadow: 0 14px 36px rgba(227, 6, 19, 0.1);
}
.car-course.pro {
    border: 1.5px solid var(--gold-light);
    box-shadow: var(--shadow-md), 0 0 0 0.5px var(--gold);
}
.car-course .ribbon {
    position: absolute;
    top: 18px;
    inset-inline-end: -36px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(35deg);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.4);
}
.car-course.pro .ribbon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
}
.cc-tier {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--muted);
    margin-bottom: 8px;
}
.car-course.pro .cc-tier { color: var(--gold-dark); }
.cc-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}
.cc-meet {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 22px;
    font-weight: 500;
}
.cc-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
}
.cc-price .currency {
    font-size: 16px;
    color: var(--gold-dark);
    font-weight: 700;
}
.cc-price .amount {
    font-size: 30px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.8px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cc-per {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 22px;
}
.cc-per strong {
    color: var(--ink);
    font-weight: 700;
}
.cc-goals {
    list-style: none;
    margin-bottom: 22px;
    flex-grow: 1;
}
.cc-goals li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.cc-goals li:last-child { border-bottom: none; }
.cc-goals .check {
    width: 16px; height: 16px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
}
.cc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.34);
    transition: background 0.2s ease, transform 0.22s ease, box-shadow 0.25s ease;
}
.cc-cta:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav-tagline { display: none; }
    .nav-cta .nav-cta-text { display: none; }
}
@media (max-width: 960px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .lang-toggle { margin-inline-start: auto; }
    .nav-container { gap: 10px; padding: 0 16px; }
    .signature-card { padding: 40px 24px 32px; }
    .signature-meta { grid-template-columns: 1fr; gap: 14px; }
    .flex-options { grid-template-columns: 1fr; }
    .teaser-card { grid-template-columns: 1fr; padding: 36px 28px; }
    .teaser-price { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .car-courses-grid { grid-template-columns: 1fr; }
    .single-lesson-banner { grid-template-columns: 1fr; text-align: center; }
    .single-lesson-banner .sl-cta { margin: 0 auto; }
    section { padding: 80px 0; }
    .hero-stats { gap: 18px; }
    .stat-divider { display: none; }
    .timeline { padding-inline-start: 0; }
    .timeline::before { inset-inline-start: 18px; }
    .tl-stage { padding-inline-start: 56px; }
    .tl-num { width: 40px; height: 40px; font-size: 15px; }
}

@media (max-width: 600px) {
    .hero-actions .btn,
    .cta-actions .btn { width: 100%; justify-content: center; }
    .signature-price .price-amount { font-size: 36px; letter-spacing: -1px; }
    .lang-float { padding: 12px 16px; font-size: 13px; bottom: 16px; inset-inline-end: 16px; }
    .signature-card { padding: 32px 18px 28px; border-radius: 18px; }
    .tl-stage h4 { font-size: 17px; }
    .tl-stage li { font-size: 14px; }
    .nav-logo .logo-img { height: 38px; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RTL TWEAKS ===== */
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .signature-badge,
html[dir="rtl"] .teaser-tag,
html[dir="rtl"] .cc-tier,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .section-tag,
html[dir="rtl"] .course-section-title,
html[dir="rtl"] .signature-meta .meta-item strong,
html[dir="rtl"] .footer h4,
html[dir="rtl"] .price-note {
    letter-spacing: 1px;
}
