body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9ff;
    --bg-tertiary: #f0f0f0;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-tertiary: #888888;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #f0f0f0;
    --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.12);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.15);
    --navbar-bg: rgba(255, 255, 255, 0.95);
}



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

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
    background: var(--accent-gradient);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.theme-toggle .icon {
    transition: transform 0.3s ease;
}

.theme-toggle.dark .icon {
    transform: rotate(180deg);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-menu li {
    list-style: none;
}

.nav-link, .nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover, .nav-menu a:hover {
    color: #667eea;
    background-color: var(--bg-secondary);
}

.cta-button {
    background: var(--accent-gradient) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-medium) !important;
    background-color: transparent !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    position: relative;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--navbar-bg);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    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="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 30px;
    padding: 10px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 20px;
    color: #333;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1px solid #333;
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 4px;
    background: #333;
    border-radius: 0 1px 1px 0;
}

.app-header h3 {
    margin-bottom: 20px;
    color: #667eea;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card.mini {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-card.mini i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Experts Section */
.experts {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.expert-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.expert-avatar {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.expert-avatar i {
    font-size: 2.5rem;
    color: white;
}

.expert-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expert-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.expert-features {
    list-style: none;
    text-align: left;
}

.expert-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.expert-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Beauty Analysis Section */
.beauty-analysis {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.mission-content {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.beauty-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.beauty-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.beauty-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.beauty-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.beauty-feature i {
    font-size: 1.5rem;
    color: #667eea;
    background: white;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beauty-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.beauty-feature p {
    color: #666;
    margin: 0;
}

/* Analysis Demo */
.analysis-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.camera-frame {
    width: 200px;
    height: 200px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,0.1);
}

.camera-frame i {
    font-size: 4rem;
    color: white;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: #667eea;
    position: absolute;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.analysis-results {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #333;
}

.result-value {
    color: #667eea;
    font-weight: 600;
}

/* Nutrition Camera Section */
.nutrition-camera {
    padding: 100px 0;
    background: #f8f9fa;
}

.nutrition-content {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.food-scanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.scanner-frame {
    width: 250px;
    height: 250px;
    border: 2px solid #667eea;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
}

.food-image i {
    font-size: 5rem;
    color: #667eea;
}

.scan-corners {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #667eea;
}

.corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.nutrition-info {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 250px;
}

.nutrition-info h4 {
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.macro-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.macro {
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.macro-name {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.macro-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
}

.nutrition-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.nutrition-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.nutrition-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.benefit i {
    font-size: 1.2rem;
    color: #667eea;
    background: white;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    margin-bottom: 2rem;
}

.app-store-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

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

.download-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section h3 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .theme-toggle {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .theme-toggle:hover {
        transform: scale(1.1);
    }

    .hamburger {
        display: flex !important;
        position: relative !important;
        z-index: 1002 !important;
        background: transparent !important;
        border: none !important;
        padding: 10px !important;
        cursor: pointer !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-light);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .nav-container {
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        margin-top: 2rem;
    }
    
    .features,
    .experts,
    .beauty-analysis,
    .nutrition-camera,
    .download {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .beauty-content,
    .nutrition-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .beauty-text,
    .nutrition-text {
        order: 2;
    }
    
    .beauty-visual,
    .nutrition-visual {
        order: 1;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .beauty-features {
        justify-content: center;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nutrition-benefits {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .download-content h2 {
        font-size: 2.2rem;
    }
    
    .download-features {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 90vh;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        padding: 1rem 15px;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .app-preview {
        padding: 15px;
    }
    
    .app-header h3 {
        font-size: 1rem;
    }
    
    .feature-card.mini {
        padding: 10px;
        gap: 8px;
    }
    
    .feature-card.mini span {
        font-size: 0.8rem;
    }
    
    .features,
    .experts,
    .beauty-analysis,
    .nutrition-camera,
    .download {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .features-grid,
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item,
    .expert-card {
        padding: 1.5rem;
    }
    
    .feature-icon,
    .expert-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i,
    .expert-avatar i {
        font-size: 1.5rem;
    }
    
    .feature-item h3,
    .expert-card h3 {
        font-size: 1.2rem;
    }
    
    .beauty-text h2,
    .nutrition-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .beauty-text p,
    .nutrition-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .beauty-features {
        gap: 1rem;
    }
    
    .beauty-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .beauty-feature i {
        margin-bottom: 0.5rem;
    }
    
    .camera-frame {
        width: 150px;
        height: 150px;
    }
    
    .camera-frame i {
        font-size: 3rem;
    }
    
    .analysis-results {
        padding: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .scanner-frame {
        width: 200px;
        height: 200px;
    }
    
    .food-image i {
        font-size: 4rem;
    }
    
    .nutrition-info {
        padding: 1rem;
        max-width: 200px;
    }
    
    .macro-breakdown {
        gap: 0.5rem;
    }
    
    .nutrition-benefits {
        gap: 0.8rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .benefit span {
        font-size: 0.9rem;
    }
    
    .download-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .download-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .app-store-btn img {
        height: 50px;
    }
    
    .download-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-feature {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Mobile Phones */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .camera-frame {
        width: 120px;
        height: 120px;
    }
    
    .scanner-frame {
        width: 150px;
        height: 150px;
    }
    
    .food-image i {
        font-size: 3rem;
    }
}

/* Landscape Mobile */
@media (max-width: 812px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .feature-item,
    .expert-card {
        transition: transform 0.2s ease;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .feature-item:active,
    .expert-card:active {
        transform: scale(0.98);
    }
    
    /* Increase touch targets */
    .nav-menu a,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 60px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.legal-dates {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.legal-intro {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--bg-primary);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Info Categories */
.info-category {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
}

.info-category h3 {
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

/* Usage Lists */
.usage-list, .security-list, .rights-list {
    list-style: none;
    margin-left: 0;
}

.usage-list li, .security-list li, .rights-list li {
    background: #f0f7ff;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    position: relative;
}

.usage-list li::before, .security-list li::before, .rights-list li::before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Sharing Info */
.sharing-info {
    display: grid;
    gap: 1rem;
}

.sharing-item {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.sharing-item.no-share {
    border-left-color: #e74c3c;
}

.sharing-item.no-share h3 {
    color: #e74c3c;
}

/* Retention Info */
.retention-info {
    display: grid;
    gap: 1rem;
}

.retention-item {
    background: #f0f7ff;
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Contact Info */
.contact-info {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Medical Disclaimer */
.medical-disclaimer {
    border: 3px solid #e74c3c;
    background: #fff5f5;
}

.disclaimer-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
}

.disclaimer-box h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.disclaimer-list {
    list-style: none;
    margin-left: 0;
}

.disclaimer-list li {
    background: white;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid #e74c3c;
}

/* Support Page Styles */
.support-page {
    padding: 120px 0 60px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.support-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.support-header p {
    font-size: 1.3rem;
    color: #555;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.response-time, .hours, .availability {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.faq-category {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.faq-items {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Guides Grid */
.guides-section {
    margin-bottom: 3rem;
}

.guides-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.guide-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.guide-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.guide-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-form-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-page {
    padding: 120px 0 60px;
    background: var(--bg-primary);
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-section, .story-section, .values-section, .team-section, .features-commitment {
    background: white;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mission-content {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-text h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.mission-visual {
    text-align: center;
}

.mission-visual i {
    font-size: 8rem;
    color: #667eea;
}

/* Story Timeline */
.story-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.story-timeline {
    display: grid;
    gap: 2rem;
}

.story-item {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.story-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
}

.story-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Values Grid */
.values-section h2, .team-section h2, .features-commitment h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

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

.value-item, .expertise-item {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover, .expertise-item:hover {
    transform: translateY(-5px);
}

.value-item i, .expertise-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.value-item h3, .expertise-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.value-item p, .expertise-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Commitment Items */
.commitment-items {
    display: grid;
    gap: 1.5rem;
}

.commitment-item {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.commitment-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.commitment-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Medical Disclaimer Section */
.medical-disclaimer-section {
    margin: 2rem 0;
}

.disclaimer-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.disclaimer-box h2 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background: white;
}

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

.step-item {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-item p {
    color: #666;
    font-size: 1rem;
}

/* Trust & Safety Section */
.trust-safety {
    padding: 60px 0;
    background: #f8f9ff;
}

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

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.trust-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid, .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        display: block;
        text-align: center;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .support-header h1, .about-header h1 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .about-intro {
        font-size: 1.1rem;
    }
}

/* Additional Dark Mode Enhancements */
.legal-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.legal-header h1 {
    color: var(--text-primary);
}

.legal-section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.legal-section h2, .legal-section h3 {
    color: var(--text-primary);
}

.legal-section p, .legal-section li {
    color: var(--text-secondary);
}

.disclaimer-box, .privacy-highlight, .privacy-commitment, .no-share-highlight, .retention-details, .security-measures {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.support-page, .about-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.contact-item:hover {
    box-shadow: var(--shadow-medium);
}

.contact-item h3 {
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
}

.guide-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.guide-item:hover {
    box-shadow: var(--shadow-medium);
}

.guide-item h3 {
    color: var(--text-primary);
}

.guide-item p {
    color: var(--text-secondary);
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 414px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        right: 8px;
        bottom: 15px;
    }

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

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

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

    .feature-item, .expert-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .legal-section {
        padding: 0 10px;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        right: 15px;
        bottom: 25px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.9fr;
        gap: 3rem;
    }

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

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

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

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-container {
        grid-template-columns: 1fr 0.8fr;
        gap: 2rem;
        align-items: center;
    }

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

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1440px) {
    .hero-content h1 {
        font-size: 4rem;
    }

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

    .feature-item, .expert-card {
        padding: 2.5rem;
    }

    .phone-mockup {
        width: 320px;
        height: 640px;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .feature-icon, .expert-avatar {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar, .theme-toggle, .hero, .footer {
        display: none !important;
    }

    .legal-page, .support-page, .about-page {
        background: white !important;
        color: black !important;
    }

    .legal-section, .contact-item, .guide-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

}

[data-theme="dark"] .camera-frame, [data-theme="dark"] .scanner-frame {
    border: 3px solid var(--border-color);
    background: var(--bg-secondary);
}

/* Improved Dark Mode Text Contrast */
[data-theme="dark"] .hero-content h1 {
    color: #f7fafc;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero-content p {
    color: #e2e8f0;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid #4a5568;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #4a5568;
    color: white;
    border-color: #667eea;
}

[data-theme="dark"] .stat-number {
    color: #f7fafc;
}

[data-theme="dark"] .stat-label {
    color: #a0aec0;
}

[data-theme="dark"] .phone-screen {
    background: #2d3748;
    border: 1px solid #4a5568;
}

[data-theme="dark"] .app-header h3 {
    color: #f7fafc;
}

/* Better Dark Mode Cards */
[data-theme="dark"] .feature-item {
    background: var(--bg-secondary);
    border: 1px solid #4a5568;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .expert-card {
    background: var(--bg-secondary);
    border: 1px solid #4a5568;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Enhanced Form Styles */
input, textarea, select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Critical Dark Mode Navigation Fixes */
[data-theme="dark"] .hamburger .bar,
[data-theme="dark"] .hamburger span {
    background: #f7fafc !important;
}

[data-theme="dark"] .nav-menu {
    background-color: var(--bg-primary) !important;
    border-top: 1px solid #4a5568 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

[data-theme="dark"] .nav-link {
    color: #f7fafc !important;
}

[data-theme="dark"] .nav-link:hover {
    color: #667eea !important;
    background-color: #2d3748 !important;
}

[data-theme="dark"] .nav-link.active {
    color: #667eea !important;
    background-color: #2d3748 !important;
}

[data-theme="dark"] .nav-logo h2 {
    color: #f7fafc !important;
}

[data-theme="dark"] .nav-logo span {
    color: #f7fafc !important;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 20, 25, 0.95) !important;
    border-bottom: 1px solid #2d3748 !important;
}

[data-theme="dark"] .cta-button {
    background: var(--accent-gradient) !important;
    color: white !important;
    border: none !important;
}

[data-theme="dark"] .theme-toggle {
    background: var(--accent-gradient) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

/* COMPREHENSIVE Dark Mode Fixes for ALL Elements */

/* Hamburger Menu - CRITICAL FIX */
[data-theme="dark"] .hamburger span,
[data-theme="dark"] .hamburger .bar {
    background: #f7fafc !important;
}

/* All Text Elements */
[data-theme="dark"] h1,
[data-theme="dark"] h2, 
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f7fafc !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: #e2e8f0 !important;
}

/* Navigation Links */
[data-theme="dark"] .nav-menu a {
    color: #f7fafc !important;
}

[data-theme="dark"] .nav-menu a:hover {
    color: #667eea !important;
}

/* Hero Section Text */
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero-content h1 {
    color: #f7fafc !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

[data-theme="dark"] .hero p,
[data-theme="dark"] .hero-content p {
    color: #e2e8f0 !important;
}

/* Company Hero */
[data-theme="dark"] .company-hero h1 {
    color: #f7fafc !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

[data-theme="dark"] .company-hero p {
    color: #e2e8f0 !important;
}

/* Section Titles and Text */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-header h2 {
    color: #f7fafc !important;
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .section-header p {
    color: #a0aec0 !important;
}

/* Cards */
[data-theme="dark"] .value-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .expert-card {
    background: #1a202c !important;
    border: 1px solid #4a5568 !important;
    color: #f7fafc !important;
}

[data-theme="dark"] .value-card h3,
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .feature-item h3,
[data-theme="dark"] .expert-card h3 {
    color: #f7fafc !important;
}

[data-theme="dark"] .value-card p,
[data-theme="dark"] .product-card p,
[data-theme="dark"] .feature-item p,
[data-theme="dark"] .expert-card p {
    color: #e2e8f0 !important;
}

/* Buttons */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .cta-btn {
    background: linear-gradient(135deg, #8b94e6 0%, #9d7fc4 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(139, 148, 230, 0.3) !important;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(71, 85, 105, 0.3) !important;
    color: #f7fafc !important;
    border: 2px solid #64748b !important;
    backdrop-filter: blur(10px) !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #4a5568 !important;
    color: white !important;
}

[data-theme="dark"] .btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    color: white !important;
}

[data-theme="dark"] .btn-outline {
    background: transparent !important;
    color: #f7fafc !important;
    border: 2px solid #4a5568 !important;
}

/* Stats */
[data-theme="dark"] .stat-number {
    color: #f7fafc !important;
}

[data-theme="dark"] .stat-label {
    color: #a0aec0 !important;
}

/* Footer */
[data-theme="dark"] .footer {
    background: #0f1419 !important;
    color: #f7fafc !important;
}

[data-theme="dark"] .footer h3,
[data-theme="dark"] .footer h4 {
    color: #f7fafc !important;
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .footer a:hover {
    color: #667eea !important;
}

/* Fix all blue text colors that are invisible in dark mode */
[data-theme="dark"] .nav-link:hover {
    color: #7dd3fc !important; /* Light blue instead of dark blue */
}

[data-theme="dark"] .nav-link.active {
    color: #7dd3fc !important; /* Light blue instead of dark blue */
}

[data-theme="dark"] .result-value {
    color: #7dd3fc !important;
}

[data-theme="dark"] .macro-value {
    color: #7dd3fc !important;
}

[data-theme="dark"] .benefit i {
    color: #7dd3fc !important;
}

[data-theme="dark"] .contact-item i {
    color: #7dd3fc !important;
}

[data-theme="dark"] .guide-item i {
    color: #7dd3fc !important;
}

[data-theme="dark"] .trust-item i {
    color: #7dd3fc !important;
}

[data-theme="dark"] .value-item i {
    color: #7dd3fc !important;
}

[data-theme="dark"] .expertise-item i {
    color: #7dd3fc !important;
}

/* Fix all blue text links and elements */
[data-theme="dark"] a[href*="#"] {
    color: #7dd3fc !important;
}

[data-theme="dark"] .legal-section a {
    color: #7dd3fc !important;
}

[data-theme="dark"] .legal-section a:hover {
    color: #38bdf8 !important;
}
