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

:root {
    --primary-gradient: linear-gradient(135deg, #1e3a8a, #1e40af);
    --secondary-gradient: linear-gradient(135deg, #1e3a8a, #2563eb);
    --accent-gradient: linear-gradient(135deg, #0ea5e9, #06b6d4);
    --success: #10b981;
}

/* Light mode (default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark mode */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #374151;
    --surface: #1e293b;
    --surface-2: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: multiply;
    animation: blob 7s infinite;
}

[data-theme="dark"] .blob {
    mix-blend-mode: screen;
}

.blob-1 {
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    opacity: 0.1;
}

.blob-2 {
    top: 50%;
    right: 0;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    opacity: 0.1;
    animation-delay: 2s;
}

.blob-3 {
    bottom: 0;
    left: 50%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    opacity: 0.1;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--bg-primary);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    white-space: nowrap;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.3));
}

/* Dark mode: add slight brightness to logo */
[data-theme="dark"] .logo-img {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.5)) brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

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

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: rgba(30, 64, 175, 0.5);
    background: rgba(30, 64, 175, 0.1);
}

.theme-toggle {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--surface);
    color: var(--text-primary);
    transform: scale(1.05);
}

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

.mobile-nav-buttons {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.btn-mobile-login {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.btn-mobile-login i {
    font-size: 0.75rem;
}

.mobile-nav-buttons .theme-toggle {
    width: 36px;
    height: 36px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
}

/* Ensure mobile nav buttons have proper contrast in light mode */
.mobile-nav-links .btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #1e40af) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.3);
    border-radius: 50px;
    color: #1e40af;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

[data-theme="dark"] .hero-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 750px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    box-shadow: 0 4px 6px var(--shadow-color);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-align: center;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    position: relative;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.feature-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 64, 175, 0.3);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    color: white;
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--accent-gradient);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-demo {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.875rem;
}

.format-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.format-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.format-badge i {
    color: #1e40af;
}

[data-theme="dark"] .format-badge i {
    color: #60a5fa;
}

/* Dark mode: medium blue for better contrast (not too bright, not too dark) */
[data-theme="dark"] .hero-badge {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #60a5fa;
}

[data-theme="dark"] .feature-icon {
    filter: brightness(1.15);
}

/* Dark mode: Improve blue gradient text contrast with medium blues */
[data-theme="dark"] .hero-gradient-text,
[data-theme="dark"] .gradient-text,
[data-theme="dark"] .section-header .gradient-text {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode: Logo text with medium blue gradient */
[data-theme="dark"] .logo,
[data-theme="dark"] .footer-logo {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode: Stat numbers need better contrast */
[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode: Use case icons need brightness */
[data-theme="dark"] .use-case-icon {
    filter: brightness(1.1);
}

/* App Preview Section */
.app-preview {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(30, 64, 175, 0.05));
}

.app-preview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.preview-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-list {
    space-y: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.feature-item i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.feature-item div h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item div p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.app-mockup {
    position: relative;
}

.mockup-container {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.05;
    z-index: -1;
}

.transcript-preview {
    background: var(--bg-tertiary);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.transcript-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.speaker-badge {
    background: rgba(30, 64, 175, 0.2);
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

[data-theme="dark"] .speaker-badge {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.timestamp {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.search-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box i {
    color: #1e40af;
}

[data-theme="dark"] .search-box i {
    color: #60a5fa;
}

.search-box input {
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

/* Use Cases Section */
.use-cases {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, rgba(30, 64, 175, 0.05), transparent);
}

.use-cases-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.use-case-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--primary-gradient);
    color: white;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(30, 64, 175, 0.2);
    font-weight: 800;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 8rem 2rem;
    text-align: center;
}

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

.cta-card {
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

.cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

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

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

.btn-white {
    background: white;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.3));
}

[data-theme="dark"] .footer-logo-img {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.5)) brightness(1.1);
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover {
    color: #1e40af;
}

[data-theme="dark"] .footer-links a:hover {
    color: #60a5fa;
}

/* Dark mode: Fix inline styled play icon */
[data-theme="dark"] .fa-play {
    color: #60a5fa !important;
}

/* Dark mode: Fix inline styled purple speaker badge */
[data-theme="dark"] .speaker-badge[style*="color: #8b5cf6"] {
    background: rgba(167, 139, 250, 0.25) !important;
    color: #a78bfa !important;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Help Center Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px var(--shadow-color);
    animation: fadeInUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.contact-info {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
    animation: fadeInUp 0.3s ease-out;
}

.contact-info.visible {
    display: block;
}

.contact-info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-email i {
    color: #1e40af;
    font-size: 1.25rem;
}

[data-theme="dark"] .contact-email i {
    color: #60a5fa;
}

.verification-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
}

.verification-message i {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    display: block;
}

[data-theme="dark"] .verification-message i {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 3rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero h1 span[style*="font-size: 1.2em"] {
        font-size: 1.1em !important;
        margin-top: 0.75rem !important;
    }

    .hero-gradient-text {
        display: inline-block;
    }

    .hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Make format badges wrap properly on mobile */
    .format-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .format-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.4rem;
        white-space: nowrap;
    }

    .format-badge i {
        font-size: 1.5rem !important;
    }

    .app-preview-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .logo i {
        font-size: 1.25rem;
    }

    .btn-mobile-login {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }

    .mobile-nav-buttons {
        gap: 0.35rem;
    }

    .mobile-nav-buttons .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .mobile-toggle {
        font-size: 1.25rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .hero h1 span[style*="font-size: 1.2em"] {
        font-size: 1em !important;
        margin-top: 0.5rem !important;
    }

    .hero p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .hero-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .features {
        padding: 4rem 1rem;
    }

    .app-preview {
        padding: 4rem 1rem;
    }

    .use-cases {
        padding: 4rem 1rem;
    }

    .testimonials {
        padding: 4rem 1rem;
    }

    .cta {
        padding: 4rem 1rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }
}
