/* AavaFlow Landing Page Styles */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-tertiary: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #2a2a3a;
    --success: #4ade80;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Light Theme */
[data-theme="light"] {
    --bg-dark: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --bg-tertiary: #e8e8ed;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #6b6b80;
    --border-color: #d0d0d8;
    --accent-primary: #5563d9;
    --accent-secondary: #6b4a9a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark);
    background: color-mix(in srgb, var(--bg-dark) 90%, transparent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 20px;
}

.logo-icon {
    font-size: 28px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent-gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    opacity: 0.9;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

.theme-icon-light {
    display: none;
}

[data-theme="light"] .theme-icon-dark {
    display: none;
}

[data-theme="light"] .theme-icon-light {
    display: inline;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 50px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

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

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    max-width: 650px;
}

.browser-mockup {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.browser-header {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-content {
    aspect-ratio: 16/10;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

/* Trust Section */
.trust-section {
    padding: 24px 24px;
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-icon {
    font-size: 20px;
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 36px;
}

/* Premium Features Section */
.premium-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    position: relative;
}

.premium-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.premium-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.premium-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.premium-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

/* Problem/Solution Section */
.problem-section {
    background: var(--bg-dark);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.problem-card, .solution-card {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.problem-card {
    background: var(--bg-card);
    border-color: #e07070;
}

.solution-card {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

.problem-icon, .solution-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.problem-card h3, .solution-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.problem-list, .solution-list {
    list-style: none;
}

.problem-list li, .solution-list li {
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.problem-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Screenshots Section - Slideshow */
.screenshots-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.slideshow {
    position: relative;
    max-width: 900px;
    margin: 32px auto 0;
}

.slideshow-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide p {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
    background: var(--bg-tertiary, #2d2d30);
    border-top: 1px solid var(--border-color);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 16px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.slide-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}

.slide-dots {
    text-align: center;
    padding: 16px 0;
}

.slide-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.slide-dot.active,
.slide-dot:hover {
    background: var(--accent-primary);
}

/* Tools Section */
.tools-section {
    background: var(--bg-dark);
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tool-category h3 {
    font-size: 15px;
    color: var(--accent-primary);
    margin-bottom: 12px;
    padding-left: 4px;
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: all 0.2s;
}

.tool-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.tool-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 8px;
}

.tool-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tool-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* How It Works */
.how-section {
    background: var(--bg-card);
}

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

.step-card {
    text-align: center;
    padding: 24px 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Privacy Section */
.privacy-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.privacy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.privacy-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.privacy-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 12px;
    line-height: 1.7;
}

.privacy-tech {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin-top: 16px !important;
}

/* Use Cases */
.usecases-section {
    background: var(--bg-dark);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.usecase-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.usecase-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.usecase-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--accent-gradient);
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 24px;
}

.cta-section .btn-primary {
    background: white;
    color: var(--accent-primary);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px 20px;
}

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

.footer-brand {
    margin-bottom: 24px;
}

.footer-brand .logo-icon {
    font-size: 20px;
}

.footer-brand .logo-text {
    font-size: 18px;
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 6px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 60px;
    margin-bottom: 24px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Pricing Page */
.pricing-hero {
    padding-top: 100px;
    padding-bottom: 24px;
    text-align: center;
}

.beta-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-section {
    padding-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 750px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    position: relative;
    transition: all 0.2s;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 60px rgba(102, 126, 234, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-badge.enterprise-badge {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.pricing-card h2 {
    text-align: left;
    font-size: 20px;
    margin-bottom: 12px;
    margin-top: 6px;
}

.pricing-price {
    margin-bottom: 12px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 13px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 12px;
}

.pricing-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.faq-item {
    padding: 18px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
