:root {
    --navy: #1E3A5F;
    --forest-green: #3D5A3C;
    --cream: #FAF8F5;
    --terracotta: #C17C5C;
    --light-navy: #2a5180;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--cream);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo, .footer-logo {
    font-family: 'DM Serif Display', serif;
}

/* Animated Liquid Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-blob 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(61, 90, 60, 0.3), rgba(30, 58, 95, 0.3));
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(193, 124, 92, 0.3), rgba(61, 90, 60, 0.3));
    top: 40%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.2), rgba(193, 124, 92, 0.2));
    bottom: -10%;
    left: 30%;
    animation-duration: 28s;
    animation-delay: -10s;
}

@keyframes float-blob {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9) rotate(240deg);
    }
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Navigation - SOLID */
.navbar {
    background-color: var(--navy);
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--cream);
    font-weight: 400;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
main {
    padding-top: 80px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 7rem;
    color: var(--navy);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: word-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes word-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--navy);
    opacity: 0.7;
    margin-bottom: 3.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.reveal-text {
    opacity: 0;
    animation: fade-in 1s ease 0.7s forwards;
}

@keyframes fade-in {
    to {
        opacity: 0.7;
    }
}

/* Waitlist Section */
.waitlist-section {
    max-width: 800px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.waitlist-container h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'DM Serif Display', serif;
}

.waitlist-container p {
    font-size: 1.15rem;
    color: var(--navy);
    opacity: 0.7;
    margin-bottom: 2.5rem;
}

/* Waitlist Form */
.waitlist-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.form-group input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(30, 58, 95, 0.2);
    border-radius: 60px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.1);
}

.form-group input::placeholder {
    color: rgba(30, 58, 95, 0.4);
}

.form-group button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Waitlist Button - SOLID BLUE */
.btn-waitlist {
    padding: 1rem 2.5rem;
    border-radius: 60px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--navy);
    color: var(--cream);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
    font-family: 'Inter', sans-serif;
}

.btn-waitlist:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.3);
    background: var(--light-navy);
}

/* Light form variant for dark backgrounds */
.waitlist-form-light .form-group input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--navy);
}

.waitlist-form-light .form-group input:focus {
    background: white;
    border-color: white;
}

.waitlist-form-light .form-group input::placeholder {
    color: rgba(30, 58, 95, 0.5);
}

.btn-waitlist-light {
    background: white;
    color: var(--navy);
}

.btn-waitlist-light:hover {
    background: var(--cream);
    color: var(--navy);
}

/* Logo hover effect */
.logo.magnetic-btn {
    transition: transform 0.2s ease;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1.25rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--navy);
    color: var(--cream);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-bg {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.3);
    background: var(--light-navy);
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
}

/* Features Section - CLEAN 3 COLUMN */
.features-section {
    max-width: 1200px;
    margin: 8rem auto 6rem;
    padding: 0 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.feature-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature-item p {
    font-size: 1.05rem;
    color: var(--navy);
    opacity: 0.7;
    line-height: 1.8;
}

/* About Section - SOLID BACKGROUND */
.about-section {
    max-width: 900px;
    margin: 6rem auto;
    padding: 5rem 3rem;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--navy);
    opacity: 0.8;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Final CTA - SOLID BACKGROUND */
.final-cta {
    max-width: 1000px;
    margin: 8rem auto 6rem;
    padding: 5rem 3rem;
    text-align: center;
    background-color: var(--navy);
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(30, 58, 95, 0.3);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
    color: var(--cream);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a {
    display: block;
    color: var(--cream);
    opacity: 0.7;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--terracotta);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 248, 245, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: var(--cream);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.legal-container h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.legal-container h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.legal-container p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--navy);
    opacity: 0.9;
}

.legal-container ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
    line-height: 1.8;
}

.legal-container li {
    margin-bottom: 0.5rem;
    color: var(--navy);
    opacity: 0.9;
}

.legal-container hr {
    border: none;
    border-top: 1px solid rgba(30, 58, 95, 0.2);
    margin: 3rem 0;
}

.legal-container strong {
    color: var(--navy);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

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

    .features-section {
        margin: 4rem auto 3rem;
    }

    .about-section {
        padding: 3rem 2rem;
        margin: 4rem 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .waitlist-section {
        padding: 3rem 1.5rem;
        margin: 4rem 1rem;
    }

    .waitlist-container h2 {
        font-size: 2rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .final-cta {
        padding: 3rem 2rem;
        margin: 4rem 1rem 3rem;
    }
}

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

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

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .form-group {
        flex-direction: column;
        width: 100%;
    }

    .form-group input,
    .form-group button {
        width: 100%;
    }
}
