/* ========================================
   OBD-II AI Landing Page - Cyberpunk Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #FF6B35;
    --primary-light: #FF8A5C;
    --primary-dark: #E55A2B;
    --primary-glow: rgba(255, 107, 53, 0.4);
    
    /* Accent Colors */
    --accent: #7C4DFF;
    --accent-light: #B388FF;
    --accent-glow: rgba(124, 77, 255, 0.3);
    
    /* Status Colors */
    --success: #4CAF50;
    --warning: #FFA726;
    --error: #EF5350;
    
    /* Dark Theme */
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --surface: #12121A;
    --surface-light: #1A1A25;
    --surface-lighter: #252535;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B8;
    --text-muted: #6B6B75;
    
    /* Grid */
    --grid-color: rgba(255, 107, 53, 0.03);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --nav-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, var(--primary-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, var(--accent-glow) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo i {
    font-size: 1.6rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--text-primary) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--primary-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 60px) 24px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--primary);
    text-shadow: 0 0 40px var(--primary-glow);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-primary i {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-label {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-store {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-suffix {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease 0.5s both;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a25 0%, #0f0f15 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-notch {
    width: 120px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    margin: 0 auto 15px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, #121218 0%, #0a0a0f 100%);
    border-radius: 28px;
    overflow: hidden;
}

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 30px;
}

.health-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}

.health-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 107, 53, 0.1);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 37;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: ringProgress 2s ease-out 1s both;
}

@keyframes ringProgress {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 37; }
}

.health-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.health-score {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.health-unit {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.app-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
}

.app-metrics {
    display: flex;
    gap: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric i {
    color: var(--primary);
    font-size: 1.2rem;
}

.metric span {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    animation: phoneGlow 4s ease-in-out infinite;
}

@keyframes phoneGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.float-card i {
    font-size: 1.1rem;
}

.card-1 {
    top: 15%;
    right: -20px;
    animation-delay: 0s;
}

.card-1 i { color: var(--success); }

.card-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: 2s;
}

.card-2 i { color: var(--accent); }

.card-3 {
    bottom: 10%;
    right: 0;
    animation-delay: 4s;
}

.card-3 i { color: var(--warning); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections Common */
section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.02) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(18, 18, 26, 0.6) 100%);
    border-color: rgba(255, 107, 53, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.5;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 12px;
    background: rgba(124, 77, 255, 0.1);
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--accent-light);
}

/* How It Works */
.how-it-works {
    background: var(--bg-darker);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
    margin-bottom: -20px;
}

.step-content {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.step-icon i {
    font-size: 1.8rem;
    color: white;
}

.step h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-line {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.step:last-child .step-line {
    display: none;
}

/* Tech Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.tech-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.tech-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Adapters Section */
.adapters-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.adapters-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.adapter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 24px;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.adapter:hover {
    border-color: var(--success);
}

.adapter i {
    color: var(--success);
}

.adapters-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.adapters-note i {
    margin-right: 8px;
    color: var(--primary);
}

/* Download Section */
.download-section {
    padding: 120px 0;
}

.download-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(18, 18, 26, 0.8) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.download-content {
    flex: 1;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.download-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 16px 32px;
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px var(--primary-glow);
}

.btn-download i {
    font-size: 2rem;
}

.download-visual {
    flex-shrink: 0;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-code i {
    font-size: 4rem;
    color: var(--bg-dark);
}

.qr-code span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo .highlight {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tech i {
    color: var(--error);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.mobile-menu-content a:hover {
    color: var(--primary);
}

.mobile-menu-content .nav-cta {
    background: var(--primary);
    color: white !important;
    text-align: center;
    border-radius: 12px;
    border: none;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-column: span 2;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 40px);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .floating-cards {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step-line {
        display: none;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    
    .download-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .health-ring {
        width: 120px;
        height: 120px;
    }
    
    .health-score {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tech-card {
        padding: 20px 15px;
    }
    
    .adapters-list {
        flex-direction: column;
    }
    
    .adapter {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

