/* ============================================
   KITT.AI - Landing Page Styles
   Knight Rider Theme - Dark & Red
   ============================================ */

@font-face {
    font-family: 'OPTIEdgarBold-Extended';
    src: url('./OPTIEdgarBold-Extended.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Knight Rider Colors */
    --kitt-black: #0a0a0a;
    --kitt-dark: #1a1a1a;
    --kitt-darker: #050505;
    --kitt-red: #ff0000;
    --kitt-scanner: #ff0033;
    --kitt-gold: #d4af37;
    --kitt-silver: #c0c0c0;
    --kitt-blue-glow: #00d9ff;
    --kitt-gray: #333333;
    --kitt-light-gray: #666666;

    /* Typography */
    --font-primary: 'OPTIEdgarBold-Extended', 'Rajdhani', sans-serif;
    --font-display: 'OPTIEdgarBold-Extended', 'Orbitron', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-red: 0 0 20px rgba(255, 0, 51, 0.3);
    --shadow-red-strong: 0 0 40px rgba(255, 0, 51, 0.6);
    --shadow-blue: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--kitt-black);
    color: var(--kitt-silver);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ============================================
   Container
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 51, 0.2);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-red);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(255, 0, 51, 0.4));
}

.logo-scanner {
    width: 60px;
    height: 8px;
    background: var(--kitt-black);
    border: 1px solid var(--kitt-scanner);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        var(--kitt-scanner),
        transparent
    );
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { left: -30%; }
    100% { left: 100%; }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--kitt-red);
    text-shadow: var(--shadow-red);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kitt-silver);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kitt-red);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--kitt-red);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--kitt-silver);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--kitt-red);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--kitt-dark);
    border: 1px solid var(--kitt-red);
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-red);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--kitt-silver);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.lang-dropdown button:hover {
    background: rgba(255, 0, 51, 0.1);
    color: var(--kitt-red);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--kitt-silver);
    transition: var(--transition-fast);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--kitt-red);
    color: white;
    border: 2px solid var(--kitt-red);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-strong);
}

.btn-outline {
    background: transparent;
    color: var(--kitt-silver);
    border: 2px solid var(--kitt-silver);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--kitt-red);
    color: var(--kitt-red);
}

.btn-ghost {
    background: transparent;
    color: var(--kitt-silver);
    border: 2px solid var(--kitt-gold);
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.btn-ghost:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--kitt-gold);
    border-color: var(--kitt-gold);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-medium {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-small {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.nav-btn {
    min-width: auto;
    white-space: nowrap;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#scannerCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 0, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 51, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem var(--spacing-md);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 51, 0.1);
    border: 1px solid var(--kitt-red);
    border-radius: 20px;
    color: var(--kitt-red);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--kitt-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line-1 {
    display: block;
    background: linear-gradient(135deg, var(--kitt-red), var(--kitt-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.title-line-2 {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--kitt-light-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--kitt-red);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--kitt-light-gray);
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(255, 0, 51, 0.3))
            drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
}

/* iPhone frame image - base layer */
.iphone-frame-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
    pointer-events: none; /* Permite interactuar con el iframe debajo */
}

/* Contenedor de la pantalla del iPhone - posicionado sobre la imagen del frame */
.iphone-screen {
    position: absolute;
    /* Ajustar estas posiciones según el diseño exacto del mockup */
    top: 2.5%;
    left: 5.5%;
    width: 89%;
    height: 95%;
    z-index: 1;
    overflow: hidden;
    border-radius: 42px; /* Bordes redondeados para match con el mockup */
    background: #000;
}

/* Iframe de la app KITT */
.iphone-screen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    transform: scale(1);
    transform-origin: top left;
}

.phone-glow {
    position: absolute;
    inset: -5%;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.15), transparent 60%);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--kitt-light-gray);
    font-size: 0.875rem;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--kitt-red);
    border-radius: 12px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--kitt-red);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--kitt-light-gray);
}

.section-description {
    font-size: 0.95rem;
    color: var(--kitt-light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: linear-gradient(180deg, var(--kitt-black) 0%, var(--kitt-dark) 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--kitt-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-red);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 51, 0.1);
    border: 2px solid var(--kitt-red);
    border-radius: 12px;
    color: var(--kitt-red);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--kitt-light-gray);
    line-height: 1.6;
}

/* ============================================
   Tesla Section
   ============================================ */

.tesla-section {
    background: var(--kitt-darker);
    position: relative;
    overflow: hidden;
}

.tesla-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.1), transparent 70%);
    z-index: 0;
}

.tesla-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tesla-visual {
    position: relative;
}

.tesla-image {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tesla-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--kitt-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-red);
}

.tesla-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tesla-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tesla-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 51, 0.1);
    border: 2px solid var(--kitt-red);
    border-radius: 50%;
    color: var(--kitt-red);
    font-weight: 900;
    flex-shrink: 0;
}

.tesla-feature-content h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tesla-feature-content p {
    color: var(--kitt-light-gray);
    font-size: 0.875rem;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background: var(--kitt-black);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--kitt-silver);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: var(--kitt-red);
    color: white;
}

.badge-save {
    background: var(--kitt-gold);
    color: var(--kitt-black);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--kitt-red), #cc0000);
    border: 2px solid var(--kitt-red);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.5);
    animation: pulse-promo 2s ease-in-out infinite;
}

@keyframes pulse-promo {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 0, 51, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 0, 51, 0.8);
    }
}

.promo-text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-subtext {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: var(--transition-normal);
}

.pricing-card:hover {
    border-color: var(--kitt-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-red);
}

.pricing-card-popular {
    border-color: var(--kitt-red);
    box-shadow: var(--shadow-red);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--kitt-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.pricing-card-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.pricing-card-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-original {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    opacity: 0.5;
}

.price-amount-old {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--kitt-light-gray);
    text-decoration: line-through;
}

.price-discounted {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--kitt-light-gray);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--kitt-red);
}

.price-period {
    font-size: 1rem;
    color: var(--kitt-light-gray);
}

.billing-note {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--kitt-silver);
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.pricing-card-description {
    color: var(--kitt-light-gray);
}

/* Animación para cambio de precio */
@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: var(--kitt-gold);
    }
    100% {
        transform: scale(1);
    }
}

.pricing-card-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--kitt-silver);
}

.feature-check {
    color: var(--kitt-red);
    flex-shrink: 0;
}

.lifetime-offer {
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.1), rgba(212, 175, 55, 0.1));
    border: 2px solid var(--kitt-gold);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.lifetime-badge {
    background: var(--kitt-gold);
    color: var(--kitt-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.lifetime-offer h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.lifetime-offer p {
    color: var(--kitt-light-gray);
    margin-bottom: 2rem;
}

.lifetime-price {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lifetime-amount-old {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--kitt-light-gray);
    text-decoration: line-through;
    opacity: 0.5;
}

.lifetime-currency {
    font-size: 0.7em;
}

.lifetime-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--kitt-gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.lifetime-label {
    display: block;
    color: var(--kitt-light-gray);
    margin-top: 0.5rem;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    background: var(--kitt-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--kitt-red);
    box-shadow: var(--shadow-red);
    transform: translateY(-5px);
}

.testimonial-rating {
    color: var(--kitt-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--kitt-red);
}

.testimonial-name {
    font-weight: 700;
    color: white;
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--kitt-light-gray);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    background: var(--kitt-black);
}

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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--kitt-red);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--kitt-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--kitt-light-gray);
    line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--kitt-dark), var(--kitt-black));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.1), transparent 70%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--kitt-light-gray);
    margin-bottom: 2rem;
}

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

.cta-note {
    color: var(--kitt-light-gray);
    font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--kitt-darker);
    border-top: 1px solid rgba(255, 0, 51, 0.2);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--kitt-light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--kitt-silver);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--kitt-red);
    border-color: var(--kitt-red);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--kitt-light-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--kitt-red);
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-badge img {
    width: 135px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.app-badge:hover img {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--kitt-light-gray);
    font-size: 0.875rem;
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-container,
    .tesla-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        max-width: 280px;
    }

    .iphone-screen {
        border-radius: 36px;
    }

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

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    section, .container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.5rem;
        width: 100%;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero Section */
    .hero {
        padding: 5rem 0 4rem;
        width: 100%;
        max-width: 100vw;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        max-width: 100%;
    }

    .title-line-2 {
        font-size: 1.5rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        max-width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .iphone-screen {
        border-radius: 32px;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    /* Pricing */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: min(400px, 90vw);
        margin: 0 auto;
        width: 100%;
    }

    .pricing-card {
        padding: 2rem;
        max-width: 100%;
    }

    .pricing-card-price {
        margin: 1.5rem 0;
    }

    /* Billing note on new line for mobile */
    .billing-note {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
        text-align: center;
    }

    /* Lifetime Offer */
    .lifetime-offer {
        padding: 2rem;
    }

    .lifetime-amount {
        font-size: 3rem;
    }

    .lifetime-amount-old {
        font-size: 1.75rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    /* Tesla Section */
    .tesla-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CTA */
    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* FAQ */
    .faq-item {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal overflow */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    section, .container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .title-line-2 {
        font-size: 1.25rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .phone-mockup {
        max-width: 200px;
    }

    /* Pricing adjustments for mobile */
    .pricing-card-price {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .price-period {
        font-size: 0.9rem;
    }

    /* Billing note on new line */
    .billing-note {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
        text-align: center;
        font-size: 0.7rem;
    }

    /* Lifetime pricing for mobile */
    .lifetime-amount-old {
        font-size: 1.5rem;
    }

    .lifetime-amount {
        font-size: 2.5rem;
    }

    .lifetime-label {
        font-size: 0.9rem;
    }

    /* Features */
    .feature-card {
        padding: 1.5rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Reduce decorative background elements on mobile */
    .tesla-section::before,
    .cta-section::before {
        width: 300px;
        height: 300px;
    }

    /* Ensure all sections fit within viewport */
    section {
        width: 100%;
        max-width: 100vw;
    }

    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile Landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .title-line-2 {
        font-size: 1.25rem;
    }

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

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .phone-mockup {
        max-width: 180px;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Pricing in landscape */
    .pricing-cards {
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .lifetime-amount {
        font-size: 2.5rem;
    }

    .lifetime-amount-old {
        font-size: 1.5rem;
    }
}

/* ============================================
   Animations & Effects
   ============================================ */

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

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

/* ============================================
   Utility Classes
   ============================================ */

.text-center { text-align: center; }
.text-red { color: var(--kitt-red); }
.text-gold { color: var(--kitt-gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
