/* Modern Reset & Variables */
:root {
    --primary-teal: #306263;
    --text-dark: #1d1d1f;
    --text-medium: #86868b;
    --background-light: #fbfbfd;
    --bg-white: #ffffff;
    --border-color: #d2d2d7;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-stack);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 48px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
    /* Offset for fixed header */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
    max-width: 800px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.email-input {
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    /* Pill shape */
    width: 300px;
    background-color: var(--bg-white);
    transition: var(--transition);
    outline: none;
    font-family: var(--font-stack);
}

.email-input:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(48, 98, 99, 0.15);
}

.email-input:read-only {
    background-color: #f0f0f5;
    color: var(--text-medium);
    cursor: default;
    border-color: transparent;
}

.email-input:disabled {
    background-color: #f0f0f5;
    color: var(--text-medium);
    cursor: not-allowed;
    border-color: transparent;
}

/* Hidden/Visible state for progressive form */
.hidden-field {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease;
}

.visible-field {
    opacity: 1;
    max-height: 60px;
    /* Adjust based on input height including padding/border */
    margin-bottom: 16px;
    /* Restore margin */
    transition: all 0.5s ease;
}

/* Ensure the question input behaves like the email input */
.question-input {
    width: 300px;
}

.cta-button {
    background-image: linear-gradient(180deg, #3C7A7C 0%, #264E4F 100%);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Subtle silver rim */
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 980px;
    /* Pill shape */
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-stack);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(48, 98, 99, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 24px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    background-color: var(--background-light);
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-medium);
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        padding: 0 16px;
    }

    .waitlist-form {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }
}

/* Pillars Section */
.pillars {
    padding: 120px 0;
    /* Generous whitespace */
    background-color: var(--bg-white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.pillar-card {
    padding: 24px;
    transition: var(--transition);
}

.icon-wrapper {
    margin-bottom: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    width: 64px;
    border-radius: 20px;
    background-color: rgba(48, 98, 99, 0.05);
    /* Subtle background for icon */
}

.icon-wrapper svg {
    /* stroke: var(--primary-teal);  Removed - handled by SVG defs gradient */
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.15));
    /* Physical depth */
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.pillar-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pillars {
        padding: 80px 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}