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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #111827;
    --dark-gray: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --lighter-gray: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    font-size: 16px;
}

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

/* Header & Navigation */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo {
    display: inline-block;
    margin-left: 1.5em;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.tagline {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav {
    display: block;
    text-align: right;
    float: right;
    width: 31em;
    margin-top: 1.5em;
}

.nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    margin: 0 0 0 1.5em;
}

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

.nav a.cta-nav {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
}

.nav a.cta-nav:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--lighter-gray);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

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

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--lighter-gray);
}

.hero-note {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--lighter-gray);
    margin: 40px 0;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
    color: var(--dark);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-side {
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border);
}

.comparison-side.without {
    background: #fef2f2;
    border-color: #fecaca;
}

.comparison-side.with {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.comparison-side h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.comparison-side ul {
    list-style: none;
}

.comparison-side li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-side li:last-child {
    border-bottom: none;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--lighter-gray);
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 60px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 220px;
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

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

.workflow-step h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.workflow-step p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.tech-detail {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.integration-box {
    background: var(--dark);
    color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.integration-box h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.integration-box p {
    margin-bottom: 16px;
    color: var(--light-gray);
}

.integration-box code {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Features Detailed */
.features-detailed {
    padding: 80px 0;
}

.features-detailed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all 0.3s ease;
}

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

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

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card > p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-specs {
    list-style: none;
}

.feature-specs li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Use Cases Detailed */
.use-cases-detailed {
    padding: 80px 0;
    background: var(--lighter-gray);
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.use-cases-detailed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.use-case-tabs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.use-case-tab {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.use-case-tab h3 {
    background: var(--primary);
    color: var(--white);
    padding: 20px 32px;
    font-size: 1.3rem;
    margin: 0;
}

.use-case-content {
    padding: 32px;
}

.use-case-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.use-case-content strong {
    color: var(--primary);
    font-weight: 600;
}

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tech-tag {
    background: var(--lighter-gray);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}

/* Technical Specs */
.technical-specs {
    padding: 80px 0;
}

.technical-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.spec-category h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

.spec-category ul {
    list-style: none;
}

.spec-category li {
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}

.spec-category li:last-child {
    border-bottom: none;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--lighter-gray);
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

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

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-badge.popular {
    background: var(--secondary);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin: 20px 0;
    text-align: center;
    color: var(--dark);
}

.price {
    text-align: center;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 1.2rem;
    color: var(--gray);
}

.price-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.price-note s {
    color: var(--error);
}

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

.plan-features li {
    padding: 12px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}

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

.btn-plan {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-plan:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-plan.primary:hover {
    background: var(--primary-dark);
}

.pricing-faq {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-faq h4 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.cost-comparison {
    margin-top: 20px;
}

.cost-item {
    padding: 16px;
    background: var(--lighter-gray);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
}

.cost-item.savings {
    background: #dcfce7;
    color: var(--secondary-dark);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    color: var(--white);
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.signup-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 300px;
    padding: 18px 24px;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--border-radius);
    outline: none;
}

.cta-button {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.form-message {
    margin-top: 16px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-message.success {
    color: var(--secondary);
}

.form-message.error {
    color: var(--error);
}

.cta-benefits {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.benefit {
    font-size: 0.95rem;
    opacity: 0.9;
}

.social-proof-bar {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-proof-bar p {
    margin-bottom: 16px;
    opacity: 0.9;
}

.company-placeholders {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.company-tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--lighter-gray);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 60px 0 32px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 1.5em;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav {
        display: none;
    }

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

    .workflow-diagram {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

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

    .signup-form {
        flex-direction: column;
    }

    .email-input {
        width: 100%;
        min-width: auto;
    }

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading State */
.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
