/* Marketing Page Premium Stylesheet */

:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Header & Navigation */
.navbar {
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.logo svg {
    width: 38px;
    height: 38px;
}

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

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

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

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

.btn-login {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.btn-primary-lg {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.0625rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
    transition: all 0.2s;
}

.btn-primary-lg:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-secondary-lg {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.0625rem;
    transition: all 0.2s;
}

.btn-secondary-lg:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-item span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Glass Mockup on Hero */
.hero-preview-container {
    display: flex;
    justify-content: center;
}

.glass-mockup {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(99, 102, 241, 0.05);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.mockup-header {
    background-color: rgba(241, 245, 249, 0.7);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 16px;
}

.dot-buttons {
    display: flex;
    gap: 6px;
}

.dot-buttons span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.dot-buttons span:nth-child(1) { background-color: #ef4444; }
.dot-buttons span:nth-child(2) { background-color: #eab308; }
.dot-buttons span:nth-child(3) { background-color: #22c55e; }

.mockup-tab {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background-color: white;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.mockup-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.8125rem;
}

.mock-invoice-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-bold {
    font-weight: 700;
    color: var(--text-dark);
}

.m-badge {
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
}

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

.mock-invoice-line-sub {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.mock-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.mock-th, .mock-tr {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    padding-bottom: 6px;
}

.mock-th {
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-muted);
}

.mock-tr {
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
}

.mock-invoice-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.total-big {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-subheading {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.pricing-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card.premium {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08);
}

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

.card-badge {
    position: absolute;
    top: 16px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    width: 100%;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.price-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
}

.btn-price {
    background-color: #f1f5f9;
    color: var(--text-dark);
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.btn-price:hover {
    background-color: #e2e8f0;
}

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

.btn-price-accent:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* FAQs Section */
.faqs-section {
    padding: 100px 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

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

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

/* Responsive Rules */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 40px auto 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
