:root {
    /* Dreamweavers - Flat Design */
    --bk-primary: #C4B5F6;
    --bk-accent: #B9AEEB;
    --bk-dark: #2E2158;
    --bk-darker: #1F1640;
    --bk-light: #F3EEFF;
    --bk-text: #2E2158;
    --bk-text-muted: rgba(46, 33, 88, 0.7);
    --bk-bg: #F3EEFF;
    --bk-card: #DAD5FA;
    --shadow-sm: 0 1px 3px rgba(127, 107, 194, 0.15);
    --shadow-md: 0 4px 6px rgba(127, 107, 194, 0.25);
    --shadow-lg: 0 10px 20px rgba(127, 107, 194, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #F3EEFF 0%, #E8DCFF 50%, #DAD5FA 100%);
    color: var(--bk-text);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(196, 181, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(185, 174, 235, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(218, 213, 250, 0.2) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero {
    padding: 5rem 1.5rem 3rem;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bk-text);
}

.hero p {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--bk-text-muted);
}

.cta-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bk-card);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

label {
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--bk-text);
}

input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid var(--bk-accent);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    background: var(--bk-light);
    color: var(--bk-text);
    transition: all 0.2s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--bk-primary);
    background: #FFFFFF;
}

input[type="email"]::placeholder {
    color: var(--bk-text-muted);
}

/* Checkbox Styling */
input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: var(--bk-light);
    border: 2px solid var(--bk-accent);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

input[type="checkbox"]:checked {
    background: var(--bk-primary);
    border-color: var(--bk-primary);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bk-dark);
    font-weight: bold;
    font-size: 12px;
}

form label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--bk-text-muted);
}

.button {
    background: var(--bk-primary);
    border: none;
    border-radius: 6px;
    color: var(--bk-dark);
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: #B9AEEB;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.progress {
    margin-top: 2.5rem;
    text-align: center;
}

.progress p {
    font-weight: 500;
    color: var(--bk-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.progress-bar {
    height: 8px;
    background: rgba(185, 174, 235, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: var(--bk-primary);
    border-radius: inherit;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(196, 181, 246, 0.5);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--bk-text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.status {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.status--success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.status--error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    line-height: 1.7;
}

.legal-page h1 {
    color: var(--bk-primary);
}

.legal-page section {
    margin-bottom: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.features-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 5rem;
}

.features-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--bk-text);
    margin-bottom: 1rem;
}

.features-intro p {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--bk-text-muted);
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--bk-text);
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--bk-text-muted);
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-content li {
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.6;
    color: var(--bk-text-muted);
}

.feature-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bk-primary);
    font-weight: bold;
    font-size: 1rem;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bk-card);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.feature-image:hover {
    transform: translateY(-4px);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Benefits Section */
.benefits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    text-align: center;
}

.benefits h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--bk-text);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bk-card);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bk-text);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--bk-text-muted);
    margin: 0;
}

/* CTA Bottom Section */
.cta-bottom {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.cta-bottom h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--bk-text);
    margin-bottom: 1rem;
}

.cta-bottom p {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--bk-text-muted);
}

.button-large {
    display: inline-block;
    padding: 1.3rem 3rem;
    font-size: 1.15rem;
    text-decoration: none;
    margin-top: 1rem;
}

/* Top Badge */
.top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bk-card);
    color: var(--bk-dark);
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--bk-accent);
}

.top-badge::before {
    content: '✨';
    font-size: 1rem;
}

/* Character Illustrations */
.character-hero {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    background: var(--bk-card);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
    padding: 1.5rem;
}

.character-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.character-feature {
    width: 80px;
    height: 80px;
    background: var(--bk-card);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: absolute;
}

.character-feature:nth-child(1) { top: -20px; right: -20px; }
.character-feature:nth-child(2) { bottom: -20px; left: -20px; }

.character-cta {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: var(--bk-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 50px;
    line-height: 100px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (max-width: 720px) {
    .cta-card {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-reverse {
        direction: ltr;
    }

    .feature-image {
        order: -1;
        padding: 0.75rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .features {
        padding: 3rem 1.5rem;
    }

    .features-intro {
        margin-bottom: 3rem;
    }

    .top-badge {
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .button {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .button-large {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    form {
        gap: 1rem;
    }

    input[type="email"] {
        padding: 0.9rem 1rem;
    }

    .character-hero {
        width: 200px;
        height: 200px;
        opacity: 0.3;
        right: -30px;
        padding: 1rem;
    }

    .character-cta {
        width: 80px;
        height: 80px;
        font-size: 40px;
        line-height: 80px;
    }

    .character-feature {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}
