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

:root {
    --primary: #764ba2;
    --primary-dark: #5a3780;
    --secondary: #667eea;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --border: #cbd5e1;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

nav .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

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

.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(--primary);
    color: var(--white);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    min-height: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero .subhead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-buttons {
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-screenshot {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.micro-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--light);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.section-subhead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Product Value */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pillar {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pillar p {
    color: var(--gray);
}

/* How It Works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-content p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.step-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
    font-style: italic;
}

/* Automations */
.automation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.automation-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.automation-card img {
    width: 100%;
    height: auto;
    display: block;
}

.automation-card-content {
    padding: 1.5rem;
}

.automation-card ul {
    list-style: none;
    padding: 0;
}

.automation-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.automation-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.note {
    font-size: 0.875rem;
    color: var(--gray);
    text-align: center;
    margin-top: 1rem;
}

/* Providers */
.providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.provider {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.provider h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.provider p {
    color: var(--gray);
}

/* Screenshots Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    background: var(--white);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.feature-item::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Quick Start */
.quick-start-steps {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.quick-start-steps ol {
    counter-reset: step;
    list-style: none;
}

.quick-start-steps li {
    counter-increment: step;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    padding-left: 4rem;
}

.quick-start-steps li::before {
    content: counter(step);
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.quick-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.quick-links a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    line-height: 2;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer-tags {
    margin-top: 1rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Center CTA */
.center-cta {
    text-align: center;
    margin-top: 3rem;
}

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

    .hero h1 {
        font-size: 2rem;
    }

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

    h2 {
        font-size: 2rem;
    }

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

    .step:nth-child(even) {
        direction: ltr;
    }

    .automation-cards {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Privacy Page */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: left;
}

.privacy-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: left;
}

.privacy-content h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    text-align: left;
    font-weight: 600;
}

.privacy-content p,
.privacy-content ul {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.privacy-content ul {
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
}

.privacy-content strong {
    color: var(--dark);
}

.privacy-content a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.last-updated {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 2rem;
}
