:root {
    --primary-color: #E7FBC9;
    --primary-color-hover: #92e0b5;
    --secondary-color: #5dd8a8;
    --accent-color: #4ac98a;
    --background-color: #446ee7;
    --surface-color: #5a7deb;
    --text-color: #f8faff;
    --text-light: #d1d9f5;
    --heading-color: #ffffff;
    --border-color: #6b8aef;
    --font-family: 'Inter', sans-serif;
}

/* --- General & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 700;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 234, 202, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color-hover), var(--accent-color));
    color: var(--background-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* --- Header --- */
.header {
    background-color: rgba(68, 110, 231, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
}

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

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(68, 110, 231, 0.9), rgba(90, 125, 235, 0.8));
}

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

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.8rem;
}

/* --- Features Section --- */
.features {
    padding: 6rem 0;
    background-color: #819ef0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--heading-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.features-grid.three-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(166, 234, 202, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card p {
    color: var(--text-light);
}

/* Make non-bold list text lighter, keep bold bright inside feature cards */
.feature-card li {
    color: var(--text-light);
}

.feature-card li b,
.feature-card li strong {
    color: var(--text-color);
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(68, 110, 231, 0.95), rgba(90, 125, 235, 0.9));
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
}

.step-line {
    flex-grow: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
    top: 30px;
    border-radius: 2px;
}

.step h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta-section {
    padding: 6rem 0;
    background: #819ef0;
    text-align: center;
    color: var(--background-color);
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--background-color);
}

.cta-section .btn-primary:hover {
    background: var(--surface-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 110, 231, 0.4);
}

/* --- Pricing Section --- */
.pricing {
    padding: 6rem 0;
}

.pricing-card {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 10px 30px rgba(68, 110, 231, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    max-height: none;
}

.card-content {
    flex-grow: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(166, 234, 202, 0.2);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(166, 234, 202, 0.4);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0.8rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0.8rem 0 0.5rem;
}

.price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

.price-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.features-list {
    list-style-type: none;
    margin: 0 auto 1rem;
    text-align: left;
    display: inline-block;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 0.85rem;
}

.guarantee-text {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.action-items-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0.6rem;
    background-color: rgba(166, 234, 202, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.pricing-card .btn {
    margin-top: auto;
}

/* --- Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 110, 231, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--surface-color);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

#waitlistForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

#emailInput {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(166, 234, 202, 0.2);
}

#successMessage p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    background-color: var(--surface-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        display: none; /* Simple responsive behavior */
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        display: none;
    }

    .hero {
        padding: 6rem 0;
    }

    .features, .how-it-works, .cta-section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .features-grid.three-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}