/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0D9488;
    --primary-dark: #115E59;
    --accent: #5EEAD4;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Site Header */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 40px;
    width: auto;
}

.site-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary);
}

.site-nav .nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.site-nav .nav-cta:hover {
    background: var(--primary-dark);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0D9488 0%, #115E59 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    min-height: 1.5rem;
    transition: opacity 0.8s ease-in-out;
}

.hero-tagline.fade-out {
    opacity: 0;
}

.hero-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 0.75rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 auto 1.5rem;
    max-width: 800px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 auto 1rem;
    max-width: 900px;
    text-align: center;
    opacity: 0.95;
}

.hero-value-prop {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 auto 2.5rem;
    max-width: 800px;
    text-align: center;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-primary {
    background: var(--bg-white);
    color: var(--primary);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Problem/Solution Section */
.problem-solution {
    padding: 5rem 0;
    background: var(--bg-light);
}

.problem-solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.problem, .solution {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.problem h2, .solution h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.problem p, .solution p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.problem ul, .solution ul {
    list-style: none;
    margin-top: 1.5rem;
}

.problem ul li, .solution ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.problem ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.solution ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Architecture Diagram Section */
.architecture-diagram {
    padding: 5rem 0;
    background: var(--bg-light);
}

.architecture-diagram h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.diagram-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.diagram-placeholder {
    background: var(--bg-white);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.diagram-placeholder svg {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 450;
    display: block;
}

.architecture-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.arch-feature {
    text-align: center;
    padding: 1.5rem;
}

.arch-feature strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.arch-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Shadow Database Workflow */
.shadow-workflow {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f59e0b;
}

.shadow-workflow h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.workflow-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.workflow-content strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.workflow-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Key Features Section */
.key-features {
    padding: 5rem 0 6rem 0;
    background: var(--bg-white);
}

.key-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Feature Links (clickable feature cards) */
a.feature-link {
    text-decoration: none;
    display: block;
}

a.feature-link:hover {
    text-decoration: none;
}

a.feature-link h3,
a.feature-link p {
    color: inherit;
}

a.feature-link h3 {
    color: var(--text-dark);
}

a.feature-link p {
    color: var(--text-light);
}

/* Social Proof Section */
.social-proof {
    padding: 5rem 0;
    background: var(--bg-white);
}

.social-proof h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-proof-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About/Team Section */
.about-team {
    padding: 5rem 0;
    background: var(--bg-white);
}

.about-team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.expertise-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.expertise-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #0D9488 0%, #115E59 100%);
    border-radius: 0.75rem;
    color: white;
}

.mission-statement h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.mission-statement p {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Early Access Section */
.early-access {
    padding: 5rem 0;
    background: var(--bg-light);
}

.early-access h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.access-form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.alternative-ctas {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.alt-cta-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.alt-cta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.alt-cta-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alt-cta-separator {
    margin: 0 1rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 0;
    }

    .site-logo {
        height: 32px;
    }

    .site-logo-text {
        font-size: 1rem;
    }

    .site-nav {
        gap: 1rem;
    }

    .site-nav a {
        font-size: 0.9rem;
    }

    .site-nav .nav-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-logo {
        max-width: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-value-prop {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .problem-solution .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .architecture-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shadow-workflow {
        padding: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .how-it-works h2,
    .key-features h2,
    .early-access h2,
    .social-proof h2,
    .architecture-diagram h2,
    .about-team h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .expertise-number {
        font-size: 2rem;
    }

    .mission-statement {
        padding: 2rem;
    }

    .mission-statement h3 {
        font-size: 1.5rem;
    }

    .mission-statement p {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 200px;
    }

    .hero-tagline {
        font-size: 0.875rem;
        letter-spacing: 0.08em;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .problem, .solution {
        padding: 1.5rem;
    }

    .access-form {
        padding: 1.5rem;
    }
}
