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

:root {
    /* Yellow-Green Intuitix Theme */
    --primary-yellow: #f9c23c;
    --primary-yellow-hover: #e6af35;
    --primary-green: #4caf50;
    --primary-green-hover: #45a049;
    --accent-lime: #8bc34a;
    --accent-amber: #ffc107;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-disabled: #9aa0a6;
    --bg-white: #ffffff;
    --bg-light-yellow: #fffde7;
    --bg-light-green: #f1f8e9;
    --border-yellow: #fff176;
    --border-green: #a5d6a7;
    --success-green: #4caf50;
    --warning-yellow: #f9c23c;
    --error-red: #f44336;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(60,64,67,.08);
    --shadow-md: 0 1px 3px 0 rgba(60,64,67,.3);
    --shadow-lg: 0 2px 8px 0 rgba(60,64,67,.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header if any */
}

* {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Enhanced scrolling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Smooth transitions for all elements */
* {
    transition: all 0.2s ease-out;
}

/* Override transition for elements that shouldn't transition */
img, svg, video, iframe, canvas {
    transition: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    min-height: 100vh;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    will-change: scroll-position;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

/* Desktop and Mobile Navigation Control */
.desktop-nav {
    display: block;
    width: 100%;
}

.mobile-nav {
    display: none;
    width: 100%;
}

/* Mobile Menu Dropdown - Hidden by default */
#mobile-menu {
    display: none !important;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav {
        display: block !important;
        width: 100% !important;
    }
    
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    /* Ensure mobile menu dropdown is properly controlled */
    #mobile-menu {
        display: none !important;
    }
    
    #mobile-menu.show {
        display: block !important;
    }
}

/* Mobile Menu Alignment Fixes */
@media (max-width: 768px) {
    .mobile-nav > div:first-child {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
    }
    
    .mobile-nav img {
        height: 36px !important;
        width: auto !important;
        max-width: 140px !important;
    }
    
    .mobile-nav button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
        background: #f9fafb !important;
        border: 1px solid #d1d5db !important;
        border-radius: 6px !important;
        color: #374151 !important;
        cursor: pointer !important;
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .mobile-nav > div {
        padding: 0.5rem !important;
    }
    
    .mobile-nav img {
        height: 32px !important;
        max-width: 120px !important;
    }
    
    .mobile-nav button {
        width: 36px !important;
        height: 36px !important;
    }
    
    .mobile-nav button svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-green);
    background: var(--bg-light-green);
}

.btn-download {
    background: var(--primary-yellow);
    color: #1b1b1b;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--primary-yellow-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::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="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-family: 'Google Sans', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-yellow);
    color: #1b1b1b;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-yellow-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 1px solid var(--border-green);
}

.btn-secondary:hover {
    background: var(--bg-light-green);
    border-color: var(--border-green);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px auto 0 auto;
    position: relative;
}

.phone-mockup {
    width: 320px;
    max-width: 95vw;
    min-width: 220px;
    height: 640px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #F2F2F7;
    border-radius: 32px;
    overflow: hidden;
    padding: 0 0 0 0;
}

.app-header {
    padding: 24px 24px 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    margin-bottom: 8px;
}

.header-left .app-title {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 4px;
}

.header-left .app-subtitle {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.messages-container {
    flex: 1;
    padding: 0 16px 0 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-item {
    display: flex;
    margin-bottom: 16px;
}

.message-item.ai {
    justify-content: flex-start;
}

.message-item.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 90%;
    padding: 14px 18px;
    border-radius: 18px;
    position: relative;
    margin-bottom: 4px;
}

.message-item.ai .message-content {
    background: #FFFFFF;
    color: #000000;
    border-bottom-left-radius: 4px;
}

.message-item.user .message-content {
    background: var(--primary-green);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.message-item.user .message-text {
    color: #FFFFFF;
}

.message-item.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-item.user .transcription {
    color: rgba(255, 255, 255, 0.8);
}

.message-item.user .voice-duration {
    color: rgba(255, 255, 255, 0.8);
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.voice-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.voice-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-green);
}

.voice-icon svg {
    width: 100%;
    height: 100%;
}

.voice-waveform {
    display: flex;
    gap: 2px;
    align-items: center;
}

.wave-bar {
    width: 3px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 2px;
    animation: waveAnimation 1s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }

@keyframes waveAnimation {
    0%, 100% { height: 8px; }
    50% { height: 16px; }
}

.voice-duration {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}

.transcription {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

.feedback-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 168, 83, 0.1);
    color: var(--primary-green);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
}

.feedback-icon {
    width: 14px;
    height: 14px;
}

.message-time {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

.voice-input-area {
    padding: 20px 24px 24px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    margin-top: 8px;
}

.voice-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
}

.voice-button.active {
    background: #FF6B6B;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.mic-icon {
    width: 20px;
    height: 20px;
    color: #E53E3E;
}

.voice-status {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    text-align: center;
    margin-top: 6px;
}

/* Message actions (copy, translate, analysis) */
.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    justify-content: flex-end;
}

.action-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.action-btn svg {
    width: 12px;
    height: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.audio-play-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-play-btn:hover {
    background: #1B5E20;
    transform: scale(1.1);
}

.audio-play-btn svg {
    width: 10px;
    height: 10px;
    color: white;
    margin-left: 1px;
}

/* Voice-centric container layout */
.voice-centric-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    width: 100%;
}

.voice-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.text-input-row {
    width: 100%;
    display: flex;
    align-items: center;
}

.text-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 8px 12px;
    gap: 8px;
}

.text-input {
    flex: 1;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
    outline: none;
}

.text-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.send-button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-button:hover {
    background: #2d7a2e;
    transform: scale(1.05);
}

.send-button svg {
    width: 16px;
    height: 16px;
    color: white;
}

/* Exact mobile app styles */
.menu-button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.menu-button:hover {
    background: rgba(26, 115, 232, 0.1);
}

.menu-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
}

.wave-bar:nth-child(5) { animation-delay: 0.4s; }

.analysis-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.feedback-badge.grammar {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.feedback-badge.pronunciation {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.message-item.processing .message-content {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.thinking-animation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.thinking-dots {
    display: flex;
    gap: 4px;
}

.thinking-dots .dot {
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: thinkingPulse 1.4s ease-in-out infinite both;
}

.thinking-dots .dot:nth-child(1) { animation-delay: 0s; }
.thinking-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkingPulse {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

.thinking-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.input-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.interrupt-btn,
.text-input-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interrupt-btn svg,
.text-input-btn svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.interrupt-btn:hover,
.text-input-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.voice-button.recording {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.recording-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #E53E3E;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: recordingPulse 1.5s ease-out infinite;
    opacity: 0.3;
}

@keyframes recordingPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Theme Toggle Styles */
.theme-toggle-container {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.theme-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn svg {
    width: 16px;
    height: 16px;
}

.theme-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.theme-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Dark Theme Styles for Phone Mockup */
.phone-mockup[data-theme="dark"] {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
}

.phone-mockup[data-theme="dark"] .phone-screen {
    background: #1C1C1E;
}

.phone-mockup[data-theme="dark"] .app-interface {
    background: #1C1C1E;
}

.phone-mockup[data-theme="dark"] .app-header {
    background: #000000;
    border-bottom: 1px solid #38383A;
}

.phone-mockup[data-theme="dark"] .app-title {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .app-subtitle {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .status-indicator.connected {
    background: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.phone-mockup[data-theme="dark"] .status-text {
    color: #4CAF50;
}

.phone-mockup[data-theme="dark"] .messages-container {
    background: transparent;
}

.phone-mockup[data-theme="dark"] .message-item.ai .message-content {
    background: #2C2C2E;
    color: #FFFFFF;
    border: 1px solid #38383A;
}

.phone-mockup[data-theme="dark"] .message-item.user .message-content {
    background: #4CAF50;
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .message-item.user .message-text {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .message-item.user .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.phone-mockup[data-theme="dark"] .message-item.user .transcription {
    color: rgba(255, 255, 255, 0.9);
}

.phone-mockup[data-theme="dark"] .message-item.user .voice-duration {
    color: rgba(255, 255, 255, 0.9);
}

.phone-mockup[data-theme="dark"] .message-item.processing .message-content {
    background: #1C1C1E;
    color: #FFFFFF;
    border: 1px solid #38383A;
}

.phone-mockup[data-theme="dark"] .message-text {
    color: inherit;
}

.phone-mockup[data-theme="dark"] .message-item.ai .message-text {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .message-time {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .message-item.ai .message-time {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .voice-icon {
    color: #4CAF50;
}

.phone-mockup[data-theme="dark"] .wave-bar {
    background: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .voice-duration,
.phone-mockup[data-theme="dark"] .transcription {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .feedback-badge.grammar {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.phone-mockup[data-theme="dark"] .feedback-badge.pronunciation {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
}

.phone-mockup[data-theme="dark"] .thinking-dots .dot {
    background: #4CAF50;
}

.phone-mockup[data-theme="dark"] .thinking-text {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .voice-input-area {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid #38383A;
}

.phone-mockup[data-theme="dark"] .voice-button.recording {
    background: #FF453A;
}

.phone-mockup[data-theme="dark"] .recording-pulse {
    background: #FF453A;
}

.phone-mockup[data-theme="dark"] .interrupt-btn,
.phone-mockup[data-theme="dark"] .text-input-btn {
    background: rgba(255, 255, 255, 0.1);
}

.phone-mockup[data-theme="dark"] .interrupt-btn:hover,
.phone-mockup[data-theme="dark"] .text-input-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.phone-mockup[data-theme="dark"] .voice-status {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .voice-button {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15), 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Dark theme - message actions */
.phone-mockup[data-theme="dark"] .action-btn {
    background: rgba(255, 255, 255, 0.15);
}

.phone-mockup[data-theme="dark"] .action-btn svg {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.phone-mockup[data-theme="dark"] .audio-play-btn {
    background: #4CAF50;
}

.phone-mockup[data-theme="dark"] .audio-play-btn:hover {
    background: #2E7D32;
}

.phone-mockup[data-theme="dark"] .menu-icon {
    color: #4CAF50;
}

.phone-mockup[data-theme="dark"] .menu-button:hover {
    background: rgba(76, 175, 80, 0.1);
}

.phone-mockup[data-theme="dark"] .text-input-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

.phone-mockup[data-theme="dark"] .text-input {
    color: #FFFFFF;
}

.phone-mockup[data-theme="dark"] .text-input::placeholder {
    color: #8E8E93;
}

.phone-mockup[data-theme="dark"] .send-button {
    background: #4CAF50;
}

.phone-mockup[data-theme="dark"] .send-button:hover {
    background: #2E7D32;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-family: 'Google Sans', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    font-size: 48px;
}

.feature-icon i {
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.step-circle {
    background: var(--primary-green);
    color: var(--bg-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin: 0 auto 12px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 36px;
    color: var(--primary-green);
}

.step-icon i {
    line-height: 1;
    display: block;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
    position: relative;
}

.step-connector::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 12h8m0 0l-4-4m4 4l-4 4" stroke="%231a73e8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
    background-size: contain;
    position: absolute;
    right: -28px;
    top: -11px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--bg-light-yellow);
}

.benefits-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.tab-btn {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 20px;
    line-height: 1;
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--bg-white);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

.benefit-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-text h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.benefit-text ul {
    list-style: none;
    padding: 0;
}

.benefit-text li {
    padding: 12px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 32px;
    font-size: 1.1rem;
}

.benefit-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefit-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.student-illustration,
.professional-illustration,
.learner-illustration {
    width: 120px;
    height: 120px;
    color: var(--primary-green);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin: 0 auto;
}

.student-illustration i,
.professional-illustration i,
.learner-illustration i {
    line-height: 1;
}

/* Technical Section */
.technical {
    padding: 100px 0;
    background: var(--bg-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-card {
    background: var(--bg-light-green);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.tech-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light-yellow);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    color: var(--primary-green);
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: 'Google Sans', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 48px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 400;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.cta-feature .feature-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    font-size: 20px;
    margin-right: 12px;
    margin-bottom: 0;
}

.cta-feature span {
    line-height: 1.4;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.download-btn {
    background: white;
    border: none;
    padding: 20px 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.download-icon {
    width: 32px;
    height: 32px;
    color: var(--text-main);
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.download-platform {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--bg-white);
    padding: 80px 0 40px;
    margin-bottom: 0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    color: var(--primary-yellow);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
    }
    
    .step-connector::after {
        content: '↓';
        right: -8px;
        top: 30px;
    }
    
    .benefit-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .tech-card {
        padding: 24px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section Spacing & Dividers */
section {
    padding: 120px 0 120px 0;
    position: relative;
}

.section-divider {
    width: 100%;
    height: 48px;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="48" viewBox="0 0 1440 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0C360 48 1080 48 1440 0V48H0V0Z" fill="%23F9FAFB"/></svg>') no-repeat center center;
    background-size: cover;
    margin-top: -48px;
}

/* Card & Grid Enhancements */
.feature-card, .tech-card, .testimonial-content {
    box-shadow: 0 8px 32px rgba(37,99,235,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    border-radius: 24px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover, .tech-card:hover, .testimonial-content:hover {
    box-shadow: 0 16px 48px rgba(37,99,235,0.12), 0 3px 12px rgba(0,0,0,0.06);
    transform: translateY(-6px) scale(1.02);
}

.cta, .hero {
    border-radius: 0 0 48px 48px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.08);
}

/* Typography & Alignment */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.3rem;
    color: #374151;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #22223B;
}

/* Infographic Touches */
.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #FFD600 0%, #2563EB 100%);
    position: relative;
}
.step-connector::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 12h8m0 0l-4-4m4 4l-4 4" stroke="%23FFD600" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center center;
    background-size: contain;
    position: absolute;
    right: -28px;
    top: -11px;
}

.step-circle {
    background: linear-gradient(135deg, #FFD600 60%, #FFFBEA 100%);
    color: #222;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 0 auto 12px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Polish */
@media (max-width: 900px) {
    section {
        padding: 80px 0 80px 0;
    }
    .feature-card, .tech-card, .testimonial-content {
        border-radius: 18px;
        padding: 24px;
    }
    .cta, .hero {
        border-radius: 0 0 24px 24px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-left, .hero-right {
        align-items: center;
        justify-content: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-stats {
        justify-content: center;
        gap: 24px;
    }
    .features-grid, .tech-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .benefit-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .tab-buttons {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 600px) {
    section {
        padding: 36px 0 36px 0;
    }
    .container {
        padding: 0 8px;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .feature-card, .tech-card, .testimonial-content {
        border-radius: 10px;
        padding: 12px;
    }
    .cta, .hero {
        border-radius: 0 0 8px 8px;
        padding: 36px 0 36px 0;
    }
    .hero-title {
        font-size: 1.3rem;
    }
    .hero-description, .cta-description {
        font-size: 1rem;
    }
    .stat-number {
        font-size: 1.1rem;
    }
    .feature-icon, .student-illustration, .professional-illustration, .learner-illustration {
        width: 36px;
        height: 36px;
    }
    .feature-icon, .student-illustration, .professional-illustration, .learner-illustration {
        font-size: 32px;
    }
    .step-icon {
        font-size: 24px;
    }
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .tab-btn {
        font-size: 1rem;
        padding: 10px 8px;
        width: 100%;
        justify-content: center;
    }
    .download-btn {
        min-width: unset;
        width: 100%;
        padding: 14px 8px;
        font-size: 1rem;
    }
    .download-icon {
        width: 24px;
        height: 24px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-logo-img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100vw;
        padding: 0 8px;
    }
}
@media (max-width: 900px) {
    .nav-links {
        overflow-x: auto;
        max-width: 100vw;
        gap: 16px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 0 8px;
    }
    .phone-mockup {
        width: 90vw;
        max-width: 320px;
        min-width: 220px;
        height: auto;
    }
    .app-preview {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .features-grid, .tech-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .benefits-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
        min-width: 220px;
    }
    .tab-btn {
        width: 100%;
        min-width: 180px;
        font-size: 1rem;
        padding: 12px 8px;
    }
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .download-btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 14px 8px;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 0 4px;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .hero-title {
        font-size: 1.1rem;
    }
    .theme-toggle-container {
        margin-bottom: 12px;
    }
    .theme-toggle {
        padding: 2px;
        gap: 2px;
    }
    .theme-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        gap: 3px;
    }
    .theme-btn svg {
        width: 12px;
        height: 12px;
    }
    .hero-description, .cta-description {
        font-size: 0.95rem;
    }
    .feature-card, .tech-card, .testimonial-content {
        padding: 8px;
        border-radius: 8px;
    }
    .cta, .hero {
        border-radius: 0 0 6px 6px;
        padding: 24px 0 24px 0;
    }
    .phone-mockup {
        width: 98vw;
        min-width: 160px;
        max-width: 260px;
        border-radius: 24px;
        padding: 4px;
    }
    .phone-screen, .app-interface {
        border-radius: 20px;
    }
    .app-header, .voice-input-area {
        border-radius: 20px 20px 0 0;
        padding: 16px 8px 12px 8px;
    }
    .messages-container {
        padding: 0 6px 0 6px;
    }
    .message-content {
        padding: 10px 10px;
        border-radius: 12px;
    }
    .feature-icon, .student-illustration, .professional-illustration, .learner-illustration {
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .step-icon {
        font-size: 18px;
    }
    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-logo-img {
        width: 24px;
        height: 24px;
    }
    .stat-number {
        font-size: 0.95rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
}
@media (max-width: 400px) {
    .container {
        padding: 0 2px;
    }
    .section-title, .hero-title {
        font-size: 0.95rem;
    }
    .feature-card, .tech-card, .testimonial-content {
        padding: 4px;
        border-radius: 5px;
    }
    .cta, .hero {
        border-radius: 0 0 3px 3px;
        padding: 12px 0 12px 0;
    }
    .phone-mockup {
        width: 99vw;
        min-width: 120px;
        max-width: 180px;
    }
    .feature-icon, .student-illustration, .professional-illustration, .learner-illustration {
        width: 18px;
        height: 18px;
        font-size: 16px;
    }
    .step-icon {
        font-size: 12px;
    }
    .step-circle {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    .carousel-btn {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    .footer-logo-img {
        width: 16px;
        height: 16px;
    }
}

/* Prevent overflow and word-break issues */
body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
* {
    word-break: break-word;
}

/* --- Intuitix Navigation Fixes --- */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.nav-link.btn-primary {
  background: #F9C23C !important;
  color: #1b1b1b !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  padding: 10px 24px !important;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.08) !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s !important;
}

.nav-link.btn-primary:hover {
  background: var(--primary-yellow-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 10px;
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  border: none;
  background: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown-link:hover {
  background: var(--bg-light-green);
  color: var(--primary-green);
}

@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
  }
}

/* --- Product Card Mockup Styles --- */
.product-card-mockup {
  background: #fcfcfd !important;
  border: 1px solid #ececec !important;
  border-radius: 32px !important;
  box-shadow: 0 8px 32px rgba(60,64,67,0.10) !important;
  padding: 3.2rem 2.5rem 2.5rem 2.5rem !important;
  min-width: 340px !important;
  max-width: 400px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-bottom: 1.5rem !important;
}
.brand-row {
  display: flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
  margin-bottom: 1.7rem !important;
}
.brand-icon {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  background: none !important;
  margin-right: 0.2rem !important;
}
.brand-title {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  line-height: 1 !important;
}
.nisa-title {
  color: #2563eb !important;
}
.qivy-title {
  color: #7C3AED !important;
}
.subtitle {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #18181b !important;
  margin-bottom: 1.1rem !important;
  letter-spacing: -0.5px !important;
}
.desc {
  color: #444 !important;
  margin-bottom: 2.2rem !important;
  font-size: 1.13rem !important;
  line-height: 1.6 !important;
}
.brand-btn {
  display: block !important;
  width: 100% !important;
  font-weight: 900 !important;
  font-size: 1.25rem !important;
  border-radius: 16px !important;
  padding: 20px 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(60,64,67,0.10) !important;
  border: none !important;
  transition: background 0.2s, box-shadow 0.2s !important;
  margin-top: auto !important;
}
.nisa-btn {
  background: #F9C23C !important;
  color: #18181b !important;
}
.qivy-btn {
  background: #7C3AED !important;
  color: #fff !important;
}

/* --- GOOGLE FONTS --- */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.hero-headline-home,
.products-title,
.subtitle-home,
.nav-link,
.brand-btn-home,
.btn-explore-home,
.btn-start-home {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* --- HOME PAGE SPECIFIC STYLES --- */
.hero-home {
  background: #ffffff !important;
  padding: 5rem 1rem 3rem 1rem !important;
  text-align: center !important;
}

.hero-headline-home {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  line-height: 1.15 !important;
  letter-spacing: -1.5px !important;
  margin-bottom: 1.5rem !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-subtext {
  font-size: 1.3rem !important;
  color: #666666 !important;
  max-width: 650px !important;
  margin: 0 auto 3rem auto !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

.btn-explore-home, .btn-start-home {
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-radius: 12px !important;
  padding: 16px 40px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  display: inline-block !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-explore-home {
  border: 2px solid #2563eb !important;
  color: #2563eb !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.btn-explore-home:hover {
  background: #2563eb !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3) !important;
}

.btn-start-home {
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3) !important;
}

.btn-start-home:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(37,99,235,0.4) !important;
}

.products-home {
  background: #f8fafb !important;
  padding: 5rem 1rem 5rem 1rem !important;
}

.products-title {
  text-align: center !important;
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 4rem !important;
  color: #1a1a1a !important;
  letter-spacing: -0.8px !important;
}

.product-cards-container {
  display: flex !important;
  justify-content: center !important;
  gap: 4rem !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.product-card-home {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
  padding: 3rem 2.5rem 2.5rem 2.5rem !important;
  min-width: 350px !important;
  max-width: 400px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  cursor: pointer !important;
}

.product-card-home:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
}

.brand-row-home {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 2.5rem !important;
}

.brand-icon-home {
  width: 120px !important;
  height: 120px !important;
  object-fit: contain !important;
}

.brand-title-home {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px !important;
  line-height: 1 !important;
}

.nisa-title-home {
  color: #2563eb !important;
}

.qivy-title-home {
  color: #7C3AED !important;
}

.subtitle-home {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #333333 !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.2px !important;
}

.desc-home {
  color: #666666 !important;
  margin-bottom: 2.5rem !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  flex-grow: 1 !important;
}

.brand-btn-home {
  display: block !important;
  width: 100% !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  border-radius: 14px !important;
  padding: 18px 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
}

.nisa-btn-home {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25) !important;
}

.nisa-btn-home:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(37,99,235,0.4) !important;
}

.qivy-btn-home {
  background: #8B5CF6 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(139,92,246,0.25) !important;
}

.qivy-btn-home:hover {
  background: #7c3aed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(139,92,246,0.4) !important;
}

.why-intuitix {
  background: #ffffff !important;
  padding: 4rem 1rem 4rem 1rem !important;
}

.btn-link-home {
  color: #2563eb !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: color 0.2s !important;
}

.btn-link-home:hover {
  color: #1d4ed8 !important;
}

@media (max-width: 900px) {
  .product-cards {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .product-card-mockup {
    min-width: 0;
    width: 100%;
    max-width: 420px;
  }
  
  .hero-headline-home {
    font-size: 2.8rem !important;
  }
  
  .product-cards-container {
    flex-direction: column !important;
    gap: 2.5rem !important;
    align-items: center !important;
  }
  
  .product-card-home {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
  }
}

@media (max-width: 600px) {
  .hero-headline-home {
    font-size: 2.4rem !important;
    letter-spacing: -1px !important;
  }
  
  .hero-subtext {
    font-size: 1.1rem !important;
  }
  
  .btn-explore-home, .btn-start-home {
    font-size: 1rem !important;
    padding: 14px 32px !important;
  }
  
  .products-title {
    font-size: 2rem !important;
  }
}

/* Product Cards V2 - Enhanced Design */
.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 100px rgba(0,0,0,0.15) !important;
}

.nisa-card-v2:hover {
    border-color: rgba(110, 77, 186, 0.4) !important;
    box-shadow: 0 35px 120px rgba(110, 77, 186, 0.25) !important;
    transform: translateY(-12px) !important;
}

.qivy-card-v2:hover {
    border-color: rgba(255, 79, 85, 0.4) !important;
    box-shadow: 0 35px 120px rgba(255, 79, 85, 0.25) !important;
    transform: translateY(-12px) !important;
}

.logo-bg {
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.cta-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important;
}

.cta-btn-v2:hover .btn-glow {
    opacity: 1;
}

.feature-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

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

.product-card-v2 {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

/* Ensure logos maintain size during animations */
.product-card-v2 .brand-logo-v2 {
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure logo section containers have proper dimensions */
.logo-section-v2 {
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .logo-section-v2 {
        min-height: 100px !important;
    }
}

@media (max-width: 480px) {
    .logo-section-v2 {
        min-height: 80px !important;
    }
}

.nisa-card-v2 { animation-delay: 0.1s; }
.qivy-card-v2 { animation-delay: 0.2s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background decorations animation */
.bg-decoration {
    animation: float 8s ease-in-out infinite;
}

.bg-decoration:nth-child(1) { animation-delay: 0s; }
.bg-decoration:nth-child(2) { animation-delay: 4s; }

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

/* Responsive design improvements - moved to index.html to avoid conflicts */

/* Enhanced gradient text effect */
.products-title-v2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a5568 50%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Custom Store Badges Styling */
.app-store-custom:hover,
.google-play-custom:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.3)) !important;
    background: #1a1a1a !important;
}

.app-store-custom,
.google-play-custom {
    cursor: pointer;
    user-select: none;
}

/* Store badges responsive styles - moved to index.html to avoid conflicts */

/* Hardware acceleration for smooth animations */
.product-card-v2,
.store-badge,
.app-store-custom,
.google-play-custom,
.brand-logo-v2 {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* Ensure logos have proper size immediately on load */
.brand-logo-v2 {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain !important;
    display: block !important;
    max-width: 120px !important;
    max-height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
    /* Prevent layout shift during image load */
    background-color: transparent !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .brand-logo-v2 {
        width: 100px !important;
        height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
    }
}

@media (max-width: 480px) {
    .brand-logo-v2 {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
    }
}

/* Optimize scrolling sections */
.hero-home,
.products-home-v2,
.why-intuitix {
    contain: layout style paint;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced floating background animations */
.floating-bg {
    animation: float-gentle 6s ease-in-out infinite;
}

.floating-bg:nth-child(2) { animation-delay: 0s; }
.floating-bg:nth-child(3) { animation-delay: 3s; }

@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-15px) translateX(5px) rotate(2deg); 
        opacity: 1; 
    }
}

/* Enhanced button hover effects */
.nisa-btn-v2:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 50px rgba(110, 77, 186, 0.5) !important;
}

.qivy-btn-v2:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 50px rgba(255, 79, 85, 0.5) !important;
}

/* Feature item hover effects */
.feature-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(110, 77, 186, 0.08), rgba(139, 92, 246, 0.08)) !important;
}

.qivy-card-v2 .feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 79, 85, 0.08), rgba(255, 107, 112, 0.08)) !important;
}

/* Header logo CSS class removed - using inline styles like Intuitix logo for consistency */