/* ========================================
   CARJOB - MODERN DRIVER RECRUITMENT 2025
   دیزاین مدرن و جذاب برای استخدام راننده
======================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/iransans/css/iransans.css');
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn/Vazirmatn-font-face.css');

:root {
    --primary-color: #1e40af;
    --secondary-color: #0f766e;
    --accent-color: #f97316;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    font-size: 16px;
    direction: rtl;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
        filter: brightness(0.9);
    }
    50% { 
        transform: scale(1.12);
        opacity: 1;
        filter: brightness(1.1);
    }
}

@keyframes trackMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(600px);
    }
.auth-buttons { display:flex; gap:12px; align-items:center; }
@media (max-width: 480px) { .auth-buttons { flex-direction: column; width:100%; } .auth-buttons a { width:100%; } }
}

@keyframes smokeRise {
    0% {
        bottom: -50px;
        left: 50%;
        opacity: 0.8;
        transform: translateX(-50%) translateY(0) scale(0.5);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(-80px) scale(1);
    }
    100% {
        bottom: 150px;
        opacity: 0;
        transform: translateX(-50%) translateY(-200px) scale(1.5);
    }
}

@keyframes smokeDrift {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0) scale(0.6) translate(0, 0);
    }
    12% {
        opacity: 0.65;
        transform: translateX(-50%) translateY(-60px) scale(0.8) translate(75px, -50px);
    }
    25% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(-120px) scale(1) translate(90px, 0);
    }
    37% {
        opacity: 0.65;
        transform: translateX(-50%) translateY(-90px) scale(0.85) translate(75px, 60px);
    }
    50% {
        opacity: 0.55;
        transform: translateX(-50%) translateY(-150px) scale(0.7) translate(0, 80px);
    }
    62% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(-100px) scale(0.8) translate(-75px, 60px);
    }
    75% {
        opacity: 0.65;
        transform: translateX(-50%) translateY(-130px) scale(0.95) translate(-90px, 0);
    }
    87% {
        opacity: 0.68;
        transform: translateX(-50%) translateY(-80px) scale(0.8) translate(-75px, -50px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-200px) scale(1.2) translate(0, 0);
    }
}

@keyframes carDrift {
    0% { 
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg) scale(1);
    }
    12% { 
        transform: translate(-50%, -50%) translate(150px, -100px) rotate(-35deg) scale(1.05);
    }
    25% { 
        transform: translate(-50%, -50%) translate(180px, 0) rotate(-45deg) scale(1.08);
    }
    37% { 
        transform: translate(-50%, -50%) translate(150px, 120px) rotate(-25deg) scale(1.05);
    }
    50% { 
        transform: translate(-50%, -50%) translate(0, 160px) rotate(0deg) scale(1);
    }
    62% { 
        transform: translate(-50%, -50%) translate(-150px, 120px) rotate(25deg) scale(1.05);
    }
    75% { 
        transform: translate(-50%, -50%) translate(-180px, 0) rotate(45deg) scale(1.08);
    }
    87% { 
        transform: translate(-50%, -50%) translate(-150px, -100px) rotate(35deg) scale(1.05);
    }
    100% { 
        transform: translate(-50%, -50%) translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes spin {
    0%, 100% { 
        transform: scaleX(1) rotateZ(0deg);
    }
    25% {
        transform: scaleX(1) rotateZ(-15deg);
    }
    50% { 
        transform: scaleX(-1) rotateZ(180deg);
    }
    75% {
        transform: scaleX(-1) rotateZ(195deg);
    }
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::before {
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 70px;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg), #1e293b);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 5;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #cbd5e1;
}

.hero-animation {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 30px 80px rgba(30, 64, 175, 0.4));
}

/* RACE TRACK CANVAS */
.hero-animation-container {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#raceTrack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.car-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.car {
    position: absolute;
    width: 180px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff6b35 0%, #f97316 50%, #ff5722 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    line-height: 1;
    box-shadow: 
        0 30px 70px rgba(249, 115, 22, 1),
        0 0 60px rgba(249, 115, 22, 0.9),
        inset 0 2px 20px rgba(255, 255, 255, 0.7),
        inset 0 -3px 20px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 40px rgba(249, 115, 22, 1)) drop-shadow(0 8px 25px rgba(249, 115, 22, 0.6));
    animation: carRotate 8s linear infinite;
}

.car::before {
    content: '🏎️';
    display: block;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

@keyframes carRotate {
    0% {
        transform: translate(-50%, -50%) translate(200px, 0) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) translate(0, -200px) rotate(90deg);
    }
    50% {
        transform: translate(-50%, -50%) translate(-200px, 0) rotate(180deg);
    }
    75% {
        transform: translate(-50%, -50%) translate(0, 200px) rotate(270deg);
    }
    100% {
        transform: translate(-50%, -50%) translate(200px, 0) rotate(360deg);
    }
}

.track-circle {
    display: none;
}

.car {
    position: absolute;
    width: 160px;
    height: 90px;
    background: linear-gradient(135deg, #ff6b35 0%, #f97316 50%, #ff5722 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    line-height: 1;
    animation: carDrift 18s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    box-shadow: 
        0 25px 60px rgba(249, 115, 22, 1),
        0 0 50px rgba(249, 115, 22, 0.8),
        inset 0 2px 15px rgba(255, 255, 255, 0.6),
        inset 0 -2px 15px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.7);
    filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.8)) drop-shadow(0 5px 20px rgba(249, 115, 22, 0.5));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.car::before {
    content: '🏎️';
    display: block;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
    z-index: 4;
}

.btn {
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.btn { min-height: 44px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    border: 2px solid #0ea5e9;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
    z-index: 4;
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ========== INCOME SECTION ========== */
.income-section {
    padding: 120px 30px;
    background: linear-gradient(180deg, var(--light-bg), #f1f5f9);
    position: relative;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    animation: fadeInUp 0.6s ease;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.income-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.income-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.income-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.income-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.income-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.income-card .amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.income-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.income-details {
    background: linear-gradient(135deg, white, #f8fafc);
    padding: 70px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease;
}

.income-details h3 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 800;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.detail-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
}

.detail-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.detail-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-item p {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 120px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    background: white;
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-dark);
}

.feature-item p {
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
    padding: 120px 30px;
    background: linear-gradient(180deg, var(--light-bg), #f1f5f9);
}

.benefits-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.benefits-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 25px 0;
    padding-right: 50px;
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.benefits-list li:hover {
    border-bottom-color: var(--primary-color);
    transform: translateX(-15px);
}

.benefits-list li:before {
    content: '✓';
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin-left: 25px;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.benefits-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(249, 115, 22, 0.2));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    box-shadow: var(--shadow-lg);
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 100px 30px;
    background: linear-gradient(135deg, #1a1a1a, var(--dark-bg));
    color: white;
}

.stats-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    background: rgba(30, 64, 175, 0.1);
    padding: 45px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(30, 64, 175, 0.2);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-12px);
    background: rgba(30, 64, 175, 0.15);
    border-color: var(--accent-color);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 600;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 120px 30px;
    background: linear-gradient(180deg, var(--light-bg), #f1f5f9);
}

.testimonials-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    right: 20px;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-left-color: var(--primary-color);
}

.testimonial-stars {
    color: #ea580c;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 500;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 100px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, #0f172a, var(--dark-bg));
    color: white;
    padding: 70px 30px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-section p {
    opacity: 0.85;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 2px solid rgba(30, 64, 175, 0.3);
    padding-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ========== FORMS ========== */
.form-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-bg);
    font-weight: 500;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-input.ltr {
    direction: ltr;
    text-align: center;
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
}

.alert-error {
    background: #fee2e2;
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    border: 2px solid #6ee7b7;
    color: #065f46;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .header-container {
        padding: 12px 20px;
    }

    .logo {
        font-size: 1.7rem;
    }

    nav ul {
        gap: 25px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .subtitle {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .income-details {
        padding: 50px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.8rem;
    }

    .hero {
        margin-top: 65px;
        height: auto;
        min-height: 65vh;
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-animation {
        width: 380px !important;
        height: 380px !important;
        display: block !important;
    }

    .hero-animation-container {
        width: 420px !important;
        height: 420px !important;
    }

    #raceTrack {
        width: 100% !important;
        height: 100% !important;
    }

    .car {
        width: 130px !important;
        height: 75px !important;
        font-size: 3.5rem !important;
        border-radius: 25px !important;
    }

    .hero .subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-animation-container {
        width: 350px !important;
        height: 350px !important;
    }

    #raceTrack {
        width: 100% !important;
        height: 100% !important;
    }

    .car {
        width: 100px !important;
        height: 60px !important;
        font-size: 2.8rem !important;
        border-radius: 20px !important;
        border-width: 3px !important;
        box-shadow: 
            0 15px 40px rgba(249, 115, 22, 0.8),
            0 0 30px rgba(249, 115, 22, 0.6),
            inset 0 1px 8px rgba(255, 255, 255, 0.4) !important;
        filter: drop-shadow(0 0 25px rgba(249, 115, 22, 0.8)) drop-shadow(0 5px 15px rgba(249, 115, 22, 0.5)) !important;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .income-card {
        padding: 30px;
    }

    .income-card h3 {
        font-size: 1.3rem;
    }

    .income-card .amount {
        font-size: 2rem;
    }

    .income-card p {
        font-size: 0.9rem;
    }

    .income-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .income-details {
        padding: 30px;
        margin-top: 30px;
    }

    .income-details h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .detail-item {
        padding: 20px;
    }

    .detail-item h4 {
        font-size: 0.9rem;
    }

    .detail-item p {
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 25px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .benefits-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-content h2 {
        font-size: 1.8rem;
    }

    .benefits-image {
        height: 200px;
        font-size: 4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    footer {
        padding: 50px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========== DASHBOARD & PANELS ========== */
.dashboard {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 18px;
}
.panel {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}
.profile-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.profile-card { padding:18px; border-radius:12px; background:rgba(3,7,18,0.6); border: 1px solid rgba(255,255,255,0.04); }
.profile-label { color: #9ca3af; font-size: 0.85rem; }
.profile-value { color: #e2e8f0; font-weight:800; font-size:1rem; margin-top:6px; }

/* Job cards */
.job-card { display:block; padding:12px; border-radius:12px; transition:var(--transition); }
.job-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.6); }
.job-card .job-header { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.job-card .job-title { font-weight:800; font-size:1rem; color:#e6eef8; }
.job-card .job-meta { color:#94a3b8; font-weight:600; }
.job-actions { gap:10px; display:flex; align-items:center; }
.job-actions .btn { padding:9px 12px; border-radius:10px; font-size:0.95rem; }
.btn-accept { background: linear-gradient(135deg,#10b981,#06b6d4); color:#041124; }
.btn-map { background: rgba(255,255,255,0.04); color:#bfdbfe; border: 1px solid rgba(255,255,255,0.03); }

/* Small buttons that are clickable on mobile */
.map-trigger { padding:10px 12px; border-radius:10px; }

/* Map adjustments */
#driverMap { height: 420px; border-radius: 14px; }
.map-note { font-size:0.9rem; color:#94a3b8; }

/* Responsive: dashboard mobile */
@media (max-width: 768px) {
    .dashboard { margin: 80px 12px 30px; padding: 14px; }
    .panel { padding: 16px; }
    .profile-grid { grid-template-columns: 1fr; gap:12px; }
    .job-actions { flex-direction: column; align-items: stretch; }
    .job-actions .btn, .map-trigger { width:100%; display:block; }
    #driverMap { height: 260px; }
}

@media (max-width: 480px) {
    .dashboard { margin: 70px 8px 20px; padding: 10px; }
    .panel { padding: 12px; }
    .job-card { padding:10px; }
    .job-actions { gap: 8px; }
    .btn { padding: 10px 12px; font-size: 0.9rem; }
}

/* Dashboard topbar / quick actions */
.topbar { position: sticky; top: 70px; z-index: 50; display:flex; gap:16px; align-items:center; justify-content:space-between; padding:10px 14px; background: rgba(2,6,23,0.85); border-radius:12px; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.topbar .brand { color:#fff; font-weight:800; font-size:1.05rem; }
.topbar .brand span { display:block; color:#94a3b8; font-weight:400; font-size:0.9rem; }
.topbar .user-meta { text-align:right; color:#9ca3af; }
.topbar .top-actions { display:flex; gap:8px; align-items:center; }
.topbar .top-actions .btn { padding:8px 12px; border-radius:999px; font-size:0.93rem; }
.topbar .top-actions .btn-outline { background: transparent; border:1px solid rgba(255,255,255,0.06); color:#e2e8f0; }
.topbar .top-actions .btn-accept { background: linear-gradient(135deg,#10b981,#06b6d4); color:#071327; }

@media (max-width: 768px) {
    .topbar { flex-direction: column; align-items: stretch; gap:8px; padding:9px; top: 80px; }
    .topbar .top-actions { justify-content: flex-end; }
}

/* Buttons and swatches for dashboard interactions */
.btn-outline { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #e2e8f0; }
.btn-sm { padding:7px 10px; font-size:0.9rem; }
.btn-block { display:block; width:100%; }

/* job action buttons sizing */
.job-actions .btn { padding:9px 14px; border-radius:12px; }
.job-actions .btn-accept { font-weight:800; }

/* Dashboard panels tweaks */
.panel h2 { color: #e6eef8; }
.stat-card strong { color: #fff; }
.stat-card small { color: #93c5fd; }

/* Mobile: larger touch targets */
@media (max-width: 480px) {
    .topbar .top-actions .btn { padding: 10px 14px; }
    .job-actions .btn { padding: 12px 14px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    header {
        margin-top: 0;
    }

    .header-container {
        padding: 10px 12px;
    }

    .logo {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 8px;
        font-size: 0.7rem;
    }

    nav a {
        font-size: 0.65rem;
        padding: 5px 8px;
    }

    .hero {
        margin-top: 60px;
        height: auto;
        min-height: 50vh;
        padding: 20px 12px;
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero .subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .section-header h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .income-section {
        padding: 50px 12px;
    }

    .income-grid {
        gap: 15px;
    }

    .income-card {
        padding: 20px;
        border-radius: 12px;
    }

    .income-card h3 {
        font-size: 1.1rem;
    }

    .income-card .amount {
        font-size: 1.5rem;
        margin: 12px 0;
    }

    .income-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .income-details {
        padding: 20px;
        margin-top: 20px;
    }

    .income-details h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-item {
        padding: 15px;
    }

    .features-section {
        padding: 50px 12px;
    }

    .features-grid {
        gap: 15px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }

    .benefits-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefits-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .benefits-image {
        height: 150px;
        font-size: 3rem;
    }

    .benefits-list li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .stats-section {
        padding: 50px 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 25px;
        min-height: auto;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    .testimonials-section {
        padding: 50px 12px;
    }

    .testimonial-card {
        padding: 18px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 40px 12px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    footer {
        padding: 30px 12px;
    }

    .footer-container {
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-section h3 {
        margin-bottom: 12px;
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }
}

/* ===========================================================
   2025 REFRESHED THEME - LANDING & SHARED LAYOUT
   =========================================================== */

:root {
    --primary-color: #4f46e5;
    --secondary-color: #0ea5e9;
    --accent-color: #f97316;
    --dark-bg: #020617;
    --light-bg: #0b1220;
    --surface-color: rgba(15,23,42,0.98);
    --muted-color: #94a3b8;
    --text-on-dark: #e5e7eb;
    --border-soft: rgba(148,163,184,0.3);
    --shadow-soft: 0 18px 55px rgba(15,23,42,0.85);
    --radius-xl: 28px;
}

body {
    background: radial-gradient(circle at top, #1d253a 0%, #020617 60%);
    color: var(--text-on-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section.alt {
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.section-header {
    max-width: 640px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.section-header.align-right {
    text-align: right;
    margin-right: 0;
}

.section-header h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--muted-color);
    font-size: 0.95rem;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148,163,184,0.3);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--muted-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted-color);
    font-size: 0.85rem;
    padding: 4px 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #e5e7eb;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #f9fafb;
    box-shadow: 0 14px 35px rgba(79,70,229,0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #2563eb);
    color: #f9fafb;
}

.btn-outline,
.btn-ghost {
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(148,163,184,0.5);
}

.btn:hover {
    transform: translateY(-1px);
}

/* HERO */
.hero {
    padding: 40px 0 80px 0;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.hero-lead {
    color: var(--muted-color);
    font-size: 0.98rem;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted-color);
}

.hero-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.4);
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: linear-gradient(145deg, rgba(15,23,42,0.96), #020617);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px 18px;
    margin-bottom: 16px;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hero-chip {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37,99,235,0.15);
    color: #bfdbfe;
}

.hero-status {
    font-size: 0.75rem;
    color: #4ade80;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 12px;
}

.hero-stat {
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.2);
    background: radial-gradient(circle at top left, rgba(79,70,229,0.35), transparent 60%);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--muted-color);
}

.hero-stat strong {
    display: block;
    margin: 4px 0 2px 0;
    font-size: 1.2rem;
}

.hero-stat-sub {
    font-size: 0.75rem;
    color: var(--muted-color);
}

.hero-card-footer {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--muted-color);
}

.hero-animation-shell {
    position: absolute;
    inset: auto 0 -40px 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0.85;
}

.hero-animation-shell canvas {
    max-width: 260px;
    max-height: 260px;
    filter: drop-shadow(0 24px 60px rgba(37,99,235,0.6));
}

/* STEPS & FEATURES */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 18px;
}

.step-card {
    background: var(--surface-color);
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    padding: 18px 16px;
    box-shadow: var(--shadow-soft);
}

.step-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-bottom: 8px;
    background: rgba(79,70,229,0.2);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 32px;
    align-items: flex-start;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--muted-color);
}

.card-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 14px;
}

.card-matrix-alt .mini-card {
    background: radial-gradient(circle at top, rgba(14,165,233,0.4), rgba(15,23,42,0.95));
}

.mini-card {
    padding: 16px 14px;
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.25);
    background: radial-gradient(circle at top, rgba(79,70,229,0.4), rgba(15,23,42,0.95));
}

.mini-label {
    font-size: 0.8rem;
    color: var(--muted-color);
}

.mini-card strong {
    display: block;
    margin: 6px 0 2px;
    font-size: 1.1rem;
}

.mini-sub {
    font-size: 0.8rem;
    color: var(--muted-color);
}

.inline-cta {
    margin-top: 16px;
}

/* STATS */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 18px;
}

.stat-item {
    background: var(--surface-color);
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
}

.stat-item h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--muted-color);
}

/* CONTACT */
.contact-section {
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #000 100%);
}

.contact-shell {
    background: rgba(15,23,42,0.98);
    border-radius: var(--radius-xl);
    padding: 28px 24px 26px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 24px;
    margin-top: 12px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card li {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 6px;
}

.contact-card span {
    margin-left: 6px;
}

.contact-card a {
    color: #38bdf8;
    text-decoration: none;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(30,64,175,0.5);
    background: #020617;
    padding: 32px 0 20px;
}

.footer-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-bottom: 18px;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-col p,
.footer-col li {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(15,23,42,0.9);
    padding-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-color);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-shell,
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .header-shell {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-card {
        margin-bottom: 40px;
    }

    .hero-animation-shell {
        position: static;
        margin-top: -10px;
    }

    .hero-animation-shell canvas {
        max-width: 220px;
        max-height: 220px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .header-actions .btn {
        flex: 1;
    }
}

/* MOBILE ENHANCEMENTS */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
    }
    .header-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }
    .brand-title {
        font-size: 1.2rem;
    }
    .brand-subtitle {
        line-height: 1.6;
    }
    .main-nav ul {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }
    .main-nav li {
        flex: 1 1 45%;
    }
    .main-nav a {
        display: block;
        padding: 6px 0;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-meta,
    .auth-buttons {
        justify-content: center;
    }
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .auth-buttons a {
        width: 100%;
        text-align: center;
    }
    .hero-visual {
        width: 100%;
        display: grid;
        gap: 16px;
    }
    .hero-animation-shell {
        order: -1;
        justify-self: center;
        width: 100%;
    }
    .hero-card {
        width: 100%;
    }
    .steps-grid,
    .contact-grid,
    .two-column,
    .card-matrix,
    .footer-shell {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 6px;
    }
    .hero {
        padding-top: 130px;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-lead {
        font-size: 0.95rem;
    }
    .hero-card {
        padding: 14px;
    }
    .hero-animation-shell canvas {
        max-width: 200px;
        max-height: 200px;
    }
    .section-header {
        margin-bottom: 28px;
    }
}

/* ===========================================================
   HOME 2026 REWRITE - DARK NEON THEME (SCOPED)
   =========================================================== */
.home-page {
    --home-bg: #030712;
    --home-surface: #0c1425;
    --home-card: #0f1c33;
    --home-primary: #22d3ee;
    --home-secondary: #a3e635;
    --home-accent: #fbbf24;
    --home-text: #e2e8f0;
    --home-muted: #94a3b8;
    --home-border: rgba(148, 163, 184, 0.25);
    --home-radius: 18px;
    --home-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 30%), radial-gradient(circle at 80% 0%, rgba(163, 230, 53, 0.08), transparent 30%), #030712;
    color: var(--home-text);
}

.home-page .site-header {
    background: rgba(5, 10, 20, 0.9);
    border-bottom: 1px solid var(--home-border);
    backdrop-filter: blur(14px);
}

.home-page .header-shell {
    padding: 16px 20px;
}

.home-page .brand-title {
    color: #e8f3ff;
}

.home-page .brand-subtitle {
    color: var(--home-muted);
}

.home-page .main-nav a {
    color: var(--home-muted);
}

.home-page .main-nav a:hover {
    color: var(--home-text);
}

.home-page .header-actions .btn {
    min-height: 42px;
}

.home-hero {
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1), transparent 60%);
    filter: blur(30px);
    z-index: 0;
}

.home-hero::before { top: -120px; left: 10%; }
.home-hero::after { bottom: -120px; right: 5%; background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 60%); }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy h1 {
    font-size: 2.4rem;
    margin: 12px 0 14px;
}

.hero-lead {
    color: var(--home-muted);
    line-height: 1.8;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
    font-size: 0.9rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 10px;
}

.btn-ghost {
    border: 1px solid var(--home-border);
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.02);
}

.btn-quiet {
    background: rgba(255, 255, 255, 0.04);
    color: var(--home-muted);
    border: 1px dashed var(--home-border);
}

.hero-safety-note {
    margin-top: 6px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.hero-badges {
    margin: 18px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    font-size: 0.9rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.metric-card {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 14px 12px;
    box-shadow: var(--home-shadow);
}

.metric-card strong {
    display: block;
    font-size: 1.4rem;
    color: #e5f2ff;
    margin: 4px 0;
}

.metric-card small {
    color: var(--home-muted);
}

.metric-card.accent {
    border-color: rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(34, 211, 238, 0.12));
}

.hero-visual {
    display: grid;
    gap: 14px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(12, 20, 37, 0.95), rgba(20, 30, 54, 0.95));
    border: 1px solid var(--home-border);
    border-radius: calc(var(--home-radius) + 4px);
    padding: 16px;
    box-shadow: var(--home-shadow);
}

.glass-card.highlight {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 25px 70px rgba(34, 211, 238, 0.22);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    color: #a5f3fc;
    margin-bottom: 4px;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: var(--home-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
}

.card-footer {
    margin-top: 12px;
    color: var(--home-muted);
    font-size: 0.9rem;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    border: 1px solid rgba(34, 211, 238, 0.3);
    font-size: 0.8rem;
}

.pill-alt {
    background: rgba(163, 230, 53, 0.18);
    color: #d9f99d;
    border-color: rgba(163, 230, 53, 0.4);
}

.stacked {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.stack-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 14px;
    box-shadow: var(--home-shadow);
}

.stack-numbers {
    display: flex;
    gap: 18px;
    margin: 10px 0 8px;
}

.stack-numbers strong {
    font-size: 1.5rem;
}

.stack-title {
    color: #e2f3ff;
    font-weight: 700;
    margin: 6px 0;
}

.track-card {
    background: linear-gradient(160deg, rgba(9, 12, 24, 0.95), rgba(16, 24, 41, 0.98));
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: calc(var(--home-radius) + 6px);
    padding: 14px;
    box-shadow: var(--home-shadow);
}

.track-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dot-pulse {
    position: relative;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.16);
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.dot-pulse::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    background: #22d3ee;
    border-radius: 50%;
    animation: pulseDot 1.6s infinite;
}

.track-canvas-wrap {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--home-radius) + 4px);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1), rgba(9, 12, 24, 0.9));
    min-height: 320px;
}

.track-canvas-wrap canvas {
    width: 100%;
    height: auto;
    display: block;
}

.track-footnote {
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 0.9rem;
}

.home-section {
    padding: 80px 0;
}

.home-section .section-header h2 {
    font-size: 2rem;
}

.home-section .section-header p {
    color: var(--home-muted);
}

.home-reasons .reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.reason-card {
    background: var(--home-card);
    border-radius: var(--home-radius);
    border: 1px solid var(--home-border);
    padding: 16px;
    box-shadow: var(--home-shadow);
}

.reason-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.split {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(12, 18, 31, 0.95));
}

.split.alt {
    background: linear-gradient(120deg, rgba(12, 18, 31, 0.95), rgba(5, 10, 20, 0.9));
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.split-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 16px;
    box-shadow: var(--home-shadow);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    gap: 8px;
}

.feature-list li {
    position: relative;
    padding-right: 18px;
    color: var(--home-muted);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--home-primary);
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 10px 0 8px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.tag-grid span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    color: var(--home-text);
}

.card-list.compact {
    gap: 8px;
}

.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 10px 12px;
}

.flow {
    background: radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.12), transparent 40%), #050a14;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.flow-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 16px;
    box-shadow: var(--home-shadow);
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.16);
    color: #a5f3fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.stats {
    background: linear-gradient(135deg, rgba(12, 18, 31, 0.9), rgba(5, 10, 20, 0.95));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.stat-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 16px;
    text-align: right;
    box-shadow: var(--home-shadow);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin: 6px 0;
}

.stat-card.accent {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(140deg, rgba(251, 191, 36, 0.12), rgba(34, 211, 238, 0.08));
}

.cta {
    background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.12), transparent 40%), #050a14;
}

.cta-card {
    background: linear-gradient(140deg, rgba(15, 24, 42, 0.94), rgba(6, 12, 20, 0.9));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: calc(var(--home-radius) + 6px);
    padding: 20px;
    box-shadow: var(--home-shadow);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
    gap: 16px;
    align-items: center;
}

.cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-badges span {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.03);
}

.contact {
    background: #040915;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.contact-card {
    background: var(--home-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 16px;
    box-shadow: var(--home-shadow);
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.contact-card li {
    margin-bottom: 6px;
    color: var(--home-muted);
}

.contact-card.flat {
    background: rgba(255, 255, 255, 0.02);
}

.home-footer {
    background: #020711;
    border-top: 1px solid var(--home-border);
}

/* CAPTCHA MODAL */
.captcha-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.captcha-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

.captcha-dialog {
    width: min(460px, 100%);
    background: var(--home-card);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: calc(var(--home-radius) + 4px);
    padding: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.captcha-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.captcha-close {
    background: transparent;
    border: 1px solid var(--home-border);
    color: var(--home-text);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
}

.captcha-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.captcha-code {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.4);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-align: center;
}

.captcha-refresh {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed var(--home-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--home-text);
    cursor: pointer;
}

.captcha-label {
    display: block;
    margin-bottom: 6px;
}

#captchaInput {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--home-text);
    margin-bottom: 10px;
}

.captcha-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-muted);
    margin-bottom: 10px;
}

.captcha-status.error small,
#captchaInput.error {
    color: #fca5a5;
    border-color: #f87171;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.captcha-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--home-primary);
    animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.6; }
}

/* RESPONSIVE: HOME */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .cta-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding-top: 90px;
    }
    .home-chip {
        width: 100%;
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
    }
    .inline-actions {
        flex-direction: column;
    }
    .card-list li,
    .card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .captcha-dialog {
        padding: 14px;
    }
    .captcha-actions {
        flex-direction: column;
    }
}
