/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Streaming Theme - Based on Demo */
    --bg: #0b0e20;
    --bg-elev: #121635;
    --text: #e9ecff;
    --muted: #a6add3;
    --brand: #6aa8ff;
    --brand-2: #9766ff;
    --accent: #00ffd1;
    --card: #0f1330;
    --border: rgba(255,255,255,.08);
    --shadow: 0 10px 30px rgba(9, 16, 54, .35);
    
    /* Legacy variables for compatibility */
    --primary-color: #6aa8ff;
    --secondary-color: #9766ff;
    --accent-color: #00ffd1;
    --text-primary: #e9ecff;
    --text-secondary: #a6add3;
    --text-light: #a6add3;
    --text-white: #ffffff;
    --text-contrast: #e9ecff;
    --bg-primary: #0b0e20;
    --bg-secondary: #121635;
    --bg-tertiary: #0f1330;
    --bg-gradient: radial-gradient(1200px 800px at 10% -10%, rgba(102, 153, 255, .10), transparent 60%), radial-gradient(900px 600px at 110% 10%, rgba(151, 102, 255, .12), transparent 60%), linear-gradient(180deg, #0b0e20, #0a0d1d 40%, #070a17);
    --border-color: rgba(255,255,255,.08);
    --shadow-light: 0 4px 12px rgba(9, 16, 54, .25);
    --shadow-medium: 0 8px 25px rgba(9, 16, 54, .35);
    --shadow-large: 0 15px 35px rgba(9, 16, 54, .45);
    --shadow-glow: 0 0 25px rgba(0, 255, 209, 0.3);
    --gradient-primary: linear-gradient(135deg, #6aa8ff 0%, #9766ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00ffd1 0%, #6aa8ff 100%);
    --gradient-accent: linear-gradient(135deg, #9766ff 0%, #6aa8ff 100%);
    --gradient-hero: radial-gradient(1200px 800px at 10% -10%, rgba(102, 153, 255, .10), transparent 60%), radial-gradient(900px 600px at 110% 10%, rgba(151, 102, 255, .12), transparent 60%), linear-gradient(180deg, #0b0e20, #0a0d1d 40%, #070a17);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text);
    padding-top: 70px;
    background: var(--bg-gradient);
    overflow-x: hidden;
    margin: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
    min-height: 70px;
}

.navbar.scrolled {
    background: var(--bg) !important;
    box-shadow: var(--shadow);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar:hover::before {
    transform: scaleX(1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text);
    white-space: nowrap;
    display: block !important;
    visibility: visible !important;
    text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    opacity: 0.8;
}

.nav-menu a:hover {
    color: var(--brand);
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-top: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.typing-text {
    color: var(--text-secondary);
    position: relative;
}

.typing-text::after {
    content: '|';
    color: var(--primary-color);
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 500px;
    font-weight: 500;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 10px 25px rgba(106, 168, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--brand);
    color: var(--bg);
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background: var(--brand);
    color: var(--bg);
    border-color: var(--brand);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}


.phone-mockup {
    position: relative;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow), 0 0 40px rgba(106, 168, 255, 0.3);
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--border);
}

.phone-mockup:hover img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow), var(--shadow-glow);
    border-color: var(--brand);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    animation: float 3s ease-in-out infinite;
}

.play-icon {
    top: 20%;
    right: -20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation-delay: 0s;
}

.hd-icon {
    top: 50%;
    left: -30px;
    background: var(--gradient-secondary);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    animation-delay: 1s;
}

.live-icon {
    bottom: 30%;
    right: -25px;
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    animation-delay: 2s;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: transparent;
}

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

.feature-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: var(--border-radius-large);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-large);
    border-color: var(--accent-color);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

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

/* Categories Section */
.categories {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%238b5cf6" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-glow), var(--shadow-large);
    border-color: var(--primary-color);
}

.category-card:hover::after {
    width: 200px;
    height: 200px;
    opacity: 0.1;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    animation: iconFloat 4s ease-in-out infinite;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotateY(180deg);
    box-shadow: var(--shadow-glow);
}

.category-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

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

/* Download Section */
.download {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 168, 255, 0.08) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.download-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.download-feature i {
    color: #059669;
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.download-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.qr-placeholder i {
    font-size: 4rem;
    color: var(--text-light);
}

.qr-placeholder span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-stat {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.about-stat h3 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-elev);
    color: var(--text);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border);
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

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

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

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

@keyframes heroGlow {
    0% {
        filter: brightness(1) saturate(1) hue-rotate(0deg);
    }
    50% {
        filter: brightness(1.05) saturate(1.1) hue-rotate(5deg);
    }
    100% {
        filter: brightness(1.1) saturate(1.2) hue-rotate(0deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: var(--shadow-medium);
    }
    50% {
        box-shadow: var(--shadow-glow), var(--shadow-medium);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(2deg);
    }
    75% {
        transform: translateY(5px) rotate(-2deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Mobile Navigation Fixes */
@media (max-width: 768px) {
    .navbar {
        min-height: 80px;
        padding: 0.5rem 0;
    }
    
    body {
        padding-top: 80px;
    }
    
    .nav-container {
        height: 80px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
}

/* Text Contrast Improvements */
.download-text h2 {
    color: var(--text);
    font-weight: 700;
}

.download-text p {
    color: var(--muted);
    font-weight: 500;
}

.about-text h2 {
    color: var(--text);
    font-weight: 700;
}

.about-text p {
    color: var(--muted);
    font-weight: 500;
}

.footer {
    background: var(--bg-elev);
    color: var(--text);
    border-top: 1px solid var(--border);
}

.footer h3 {
    color: var(--text);
}

.footer p, .footer a {
    color: var(--muted);
}

.footer a:hover {
    color: var(--text);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        background: var(--bg) !important;
        min-height: 80px;
    }
    
    .navbar.scrolled {
        background: var(--bg) !important;
    }
    
    body {
        padding-top: 80px;
    }
    
    .nav-container {
        height: 80px;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        color: var(--text) !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        visibility: visible !important;
        z-index: 1001 !important;
    }
    
    .nav-menu.mobile-active {
        display: flex !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        background: var(--bg-elev) !important;
        padding: 2rem !important;
        box-shadow: var(--shadow) !important;
        border-top: 1px solid var(--border) !important;
        z-index: 1000 !important;
        list-style: none !important;
        margin: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.mobile-active a {
        display: block !important;
        padding: 1rem !important;
        border-bottom: 1px solid var(--border) !important;
        text-align: center !important;
        color: var(--text) !important;
        opacity: 1 !important;
        text-decoration: none !important;
        transition: background-color 0.3s ease !important;
        font-size: 1.1rem !important;
    }
    
    .nav-menu.mobile-active a:hover {
        background-color: var(--border) !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 4rem;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 70px;
        background: var(--bg) !important;
    }
    
    .navbar.scrolled {
        background: var(--bg) !important;
    }
    
    body {
        padding-top: 70px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .feature-card, .category-card {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 3rem;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
    }
    
    .mobile-menu-toggle {
        color: var(--text) !important;
        background: transparent !important;
    }
}

/* Additional Fixes for All Devices */
.navbar, .navbar.scrolled {
    background: var(--bg) !important;
}

/* Ensure all text elements use proper colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
}

p {
    color: var(--muted);
}

/* Fix any remaining white backgrounds */
.features, .categories, .download, .about {
    background: transparent !important;
}

/* Ensure buttons work on all devices */
.btn:focus, .btn:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 168, 255, 0.3);
}

/* Mobile Menu JavaScript Toggle Class */
.mobile-menu-open .nav-menu,
.nav-menu.mobile-active {
    display: flex !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elev) !important;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
    z-index: 999;
    list-style: none;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-open .nav-menu a,
.nav-menu.mobile-active a {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
    color: var(--text) !important;
    opacity: 1 !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-menu-open .nav-menu a:hover,
.nav-menu.mobile-active a:hover {
    background-color: var(--border);
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
