* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --blue: #08f;
    --grey: #555;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Roboto", "Helvetica", "Arial", sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

h1,
h2,
h3 {
    font-family: "EB Garamond", serif;
}

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

@media (max-width: 1240px) {
    .container {
        padding: 0 20px;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-scrolled .nav-link {
    color: #1a1a1a;
    text-shadow: none;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-scrolled .nav-link:hover {
    color: var(--blue);
}

.nav-link.active {
    color: var(--blue);
}

.nav-scrolled .nav-link.active {
    color: var(--blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(1px);
    z-index: 0;
}

.hero .container,
.hero .scroll-indicator {
    position: relative;
    z-index: 1;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.logo {
    font-size: 150px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.highlight {
    color: var(--blue);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 350px;
    width: 100%;
}

.waitlist-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 17px;
    border: none;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.65);
}

.waitlist-input:focus {
    border-color: var(--blue);
}

.waitlist-button {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    font-family: inherit;
}

.waitlist-button:hover {
    background: #0068c4;
}

.waitlist-button:active {
    transform: scale(0.98);
}

.waitlist-button:disabled {
    background: #64bcff;
    cursor: not-allowed;
}

.waitlist-message {
    font-size: 14px;
    margin: 0;
    min-height: 20px;
}

.waitlist-message.success {
    color: #000000;
}

.waitlist-message.error {
    color: #ef4444;
}

.tagline {
    font-size: 30px;
    margin-bottom: 0;
    color: var(--grey);
}

.scroll-indicator {
    color: var(--blue);
    margin-bottom: 40px;
    cursor: pointer;
}

.scroll-indicator svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
    line-height: 1.2;
}

.section-title {
    font-size: 42px;
    font-weight: 400;
    margin: 0;
    color: #1a1a1a;
    flex: 1;
}

.highlight-italic {
    color: var(--blue);
    font-style: italic;
}

.section-description {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
    margin: 0;
    margin-top: 5px;
    padding-top: 5px;
    flex: 1;
}

.feature-image {
    width: 100%;
    margin: 0;
    background: linear-gradient(180deg, #d7ecff 0%, #65b7ff 100%);
    border-radius: 16px;
    padding: 40px;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    text-align: left;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    padding: 20px 24px;
    color: #1a1a1a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Inter", sans-serif;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 16px;
    color: var(--blue);
    transition: transform 0.3s ease;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    margin: 0;
    font-family: "Inter", sans-serif;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #ffffff;
}

.team-section .section-title {
    font-size: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.team-member {
    text-align: left;
}

.member-name {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.member-role {
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 10px;
}

.member-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.member-link:hover {
    color: #357ab8;
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
}

.contact-section .section-title {
    font-size: 60px;
    margin-bottom: 40px;
}

.contact-description {
    font-size: 18px;
    color: var(--grey);
    margin: 20px 0 30px 0;
}

.contact-email {
    display: inline-block;
    font-size: 24px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #0077dd;
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 0;
    text-align: center;
    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(250, 253, 255, 0.5) 100%
        ),
        url("images/waves.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(1px);
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .logo {
        font-size: 72px;
    }

    .waitlist-form {
        max-width: 100%;
        padding: 0 20px;
    }

    .waitlist-input,
    .waitlist-button {
        font-size: 14px;
        padding: 12px 16px;
    }

    .section-header {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 32px;
        min-width: auto;
    }

    .section-description {
        font-size: 14px;
        margin-top: 0;
    }

    .feature-section {
        padding: 30px 0;
    }

    .feature-image {
        padding: 20px;
    }

    .faq-section {
        padding: 50px 0;
    }

    .faq-grid {
        gap: 16px;
        margin-top: 30px;
    }

    .faq-question {
        font-size: 18px;
        padding: 16px 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }

    .team-section {
        padding: 50px 0;
    }

    .team-section .section-title {
        font-size: 42px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 30px;
    }

    .member-name {
        font-size: 24px;
        margin-bottom: 0;
    }

    .member-role {
        font-size: 14px;
        margin-bottom: 0;
    }

    .member-link {
        font-size: 14px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-section .section-title {
        font-size: 42px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-email {
        font-size: 20px;
    }

    .footer {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 65px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer {
        height: 80px;
    }
}
