/* AI4B Landing Page Styles */
/* Dark theme with gradient accents */

:root {
    --color-bg-dark: #0a0a0f;
    --color-bg-section: #0f0f17;
    --color-bg-card: #15151f;
    --color-bg-card-hover: #1a1a27;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    --color-text: #e4e4e7;
    --color-text-muted: #71717a;
    --color-text-subtle: #52525b;
    --color-primary: #6366f1;
    --color-primary-hover: #4f46e5;
    --color-primary-glow: rgba(99, 102, 241, 0.3);
    --color-accent: #06b6d4;
    --color-accent-glow: rgba(6, 182, 212, 0.3);
    --color-success: #22c55e;
    --color-gradient-start: #6366f1;
    --color-gradient-end: #06b6d4;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-primary-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

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

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 0;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--color-primary-glow);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
}

.btn-ghost:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.btn-white {
    background: white;
    color: var(--color-bg-dark);
}

.btn-white:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
}

.btn-ghost-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--color-primary-glow) 0%, transparent 70%);
    opacity: 0.4;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-bg-section);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ========== STEPS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: var(--radius-lg) 0 var(--radius-md) 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ========== PRODUCTS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.product-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-tagline {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

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

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.product-features svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ========== USE CASES ========== */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.usecase-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
}

.usecase-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.usecase-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.usecase-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.usecase-apps {
    list-style: none;
}

.usecase-apps li {
    padding: 6px 0;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.pricing-popular {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--color-bg-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-description {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.plan-apps {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.apps-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.apps-label {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.pricing-empty {
    text-align: center;
    padding: 60px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.pricing-empty p {
    color: var(--color-text-muted);
}

.pricing-empty a {
    color: var(--color-primary);
}

.pricing-footer {
    text-align: center;
    margin-top: 48px;
}

.pricing-footer p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* ========== CTA SECTION ========== */
.section-cta {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    padding: 80px 0;
}

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

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

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FAQ ========== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question.active {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-bg-section);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 8px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-subtle);
    font-size: 0.875rem;
}

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

.footer-bottom-links a {
    color: var(--color-text-subtle);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

