/* Landing Page Styles - B2C Consumer Subscription Design */
/* Car Tuning Gain Database - Premium Dark Theme */

:root {
    /* Primary Colors - Racing Theme */
    --racing-orange: #FF4500;
    --racing-orange-dark: #CC3700;
    --racing-orange-glow: rgba(255, 69, 0, 0.3);
    
    /* Accent Colors */
    --power-green: #00FF88;
    --power-green-dark: #00CC6A;
    --power-green-glow: rgba(0, 255, 136, 0.2);
    
    --cyan-accent: #00d4ff;
    --cyan-dark: #0099cc;
    --cyan-glow: rgba(0, 212, 255, 0.3);
    
    /* Background Colors */
    --carbon-dark: #0A0F1A;
    --steel-gray: #141B2D;
    --steel-light: #1E2642;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B8C8;
    --text-muted: #6B7280;
    
    /* Gradients */
    --gradient-orange: linear-gradient(135deg, var(--racing-orange) 0%, var(--racing-orange-dark) 100%);
    --gradient-green: linear-gradient(135deg, var(--power-green) 0%, var(--power-green-dark) 100%);
    --gradient-cyan: linear-gradient(135deg, var(--cyan-accent) 0%, var(--cyan-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--carbon-dark) 0%, var(--steel-gray) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--carbon-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--racing-orange);
}

.nav-cta {
    background: var(--gradient-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--racing-orange-glow);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, var(--racing-orange-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--cyan-glow) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    100% { opacity: 0.6; transform: scale(1.1) rotate(5deg); }
}

.hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--racing-orange);
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 69, 0, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--gradient-orange);
    color: white;
    box-shadow: 0 4px 20px var(--racing-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--racing-orange-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--racing-orange);
    background: rgba(255, 69, 0, 0.1);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   STATS BAR
============================================ */
.stats-bar {
    background: rgba(20, 27, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   STAGE CARDS SECTION
============================================ */
.stages-section {
    padding: 6rem 2rem;
    background: var(--carbon-dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.stages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stage-card {
    background: rgba(20, 27, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-card:hover {
    transform: translateY(-8px);
    border-color: var(--racing-orange);
    box-shadow: 0 20px 50px rgba(255, 69, 0, 0.15);
}

.stage-card:hover::before {
    opacity: 1;
}

.stage-card.featured {
    border-color: var(--racing-orange);
    background: rgba(255, 69, 0, 0.05);
}

.stage-card.featured::before {
    opacity: 1;
}

.stage-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-orange);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.stage-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.stage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.stage-card .gain-range {
    font-size: 1.1rem;
    color: var(--power-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.stage-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stage-features {
    list-style: none;
}

.stage-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stage-features li::before {
    content: '✓';
    color: var(--power-green);
    font-weight: bold;
}

/* ============================================
   FEATURES SECTION
============================================ */
.features-section {
    padding: 6rem 2rem;
    background: var(--steel-gray);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-accent);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--cyan-accent);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   DEMO SECTION
============================================ */
.demo-section {
    padding: 6rem 2rem;
    background: var(--carbon-dark);
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.demo-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    min-height: 550px;
    border-radius: 24px;
    background: var(--steel-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    transition: all 0.3s ease;
}

.demo-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* ============================================
   PRICING SECTION
============================================ */
.pricing-section {
    padding: 6rem 2rem;
    background: var(--steel-gray);
}

.pricing-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--racing-orange);
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 69, 0, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.plan-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.plan-billing {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--power-green);
    font-weight: bold;
}

.plan-features li.coming-soon {
    color: var(--text-muted);
}

.plan-features li.coming-soon::before {
    content: '◐';
    color: var(--racing-orange);
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--carbon-dark);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(20, 27, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   FAQ SECTION
============================================ */
.faq-section {
    padding: 6rem 2rem;
    background: var(--steel-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(10, 15, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(255, 69, 0, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--racing-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--carbon-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--racing-orange);
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .stages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
}