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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(circle at top left, rgba(135, 206, 255, 0.24) 0%, transparent 22%),
                radial-gradient(circle at bottom right, rgba(94, 199, 255, 0.2) 0%, transparent 22%),
                linear-gradient(180deg, #040f2a 0%, #061a3f 100%);
    color: #eef8ff;
    overflow-x: hidden;
}

.page-glow {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 25% 18%, rgba(131, 211, 255, 0.22), transparent 16%),
                radial-gradient(circle at 75% 78%, rgba(100, 210, 255, 0.18), transparent 18%);
    pointer-events: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(3, 15, 45, 0.78);
    border-bottom: 1px solid rgba(95, 179, 255, 0.2);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ee9ff;
    text-shadow: 0 0 20px rgba(158, 233, 255, 0.5);
}

main {
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 90vh;
    padding: 4rem 3rem;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #7fd6ff;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3.4rem, 4vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    text-shadow: 0 0 25px rgba(116, 238, 255, 0.3);
}

.hero h2 {
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
    color: #d0d3ff;
    opacity: 0.95;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 36rem;
    margin-bottom: 2rem;
    color: #d4d8ff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 1rem 1.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #53b6ff, #1688ff);
    color: #eef9ff;
    box-shadow: 0 18px 45px rgba(22, 136, 255, 0.25);
}

.btn-secondary {
    background: rgba(42, 100, 170, 0.28);
    color: #e8f5ff;
    border: 1px solid rgba(152, 219, 255, 0.32);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glass {
    width: 320px;
    height: 380px;
    border-radius: 40px;
    border: 1px solid rgba(110, 207, 255, 0.32);
    background: rgba(36, 82, 156, 0.18);
    box-shadow: 0 40px 120px rgba(0, 69, 164, 0.28);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48%;
    background: linear-gradient(180deg, rgba(105, 190, 255, 0.55), rgba(22, 97, 218, 0.92));
    animation: floatWater 4.5s ease-in-out infinite;
}

@keyframes floatWater {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(200, 245, 255, 0.62);
    box-shadow: 0 0 24px rgba(160, 233, 255, 0.25);
    animation: rise 6s infinite ease-in;
}

.bubble-1 { width: 36px; height: 36px; left: 30%; bottom: 28%; animation-delay: 0s; }
.bubble-2 { width: 22px; height: 22px; left: 62%; bottom: 22%; animation-delay: 1.2s; }
.bubble-3 { width: 28px; height: 28px; left: 47%; bottom: 14%; animation-delay: 0.7s; }
.bubble-4 { width: 18px; height: 18px; left: 18%; bottom: 8%; animation-delay: 1.9s; }

@keyframes rise {
    0% { transform: translateY(0) scale(0.8); opacity: 0.8; }
    100% { transform: translateY(-220px) scale(1.1); opacity: 0; }
}

.flower {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c7f2ff 14%, transparent 18%),
                radial-gradient(circle at 70% 30%, #bef0ff 14%, transparent 18%),
                radial-gradient(circle at 50% 70%, #8dd9ff 24%, transparent 22%);
    box-shadow: 0 0 30px rgba(139, 209, 255, 0.35);
    top: 14%;
    right: -2%;
    transform: rotate(-10deg);
    border: 2px solid rgba(255, 255, 255, 0.28);
}

.flower::before,
.flower::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.flower::before {
    top: 10px;
    left: 18px;
}

.flower::after {
    top: 18px;
    left: 10px;
}

.glow-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(101, 211, 255, 0.22);
    box-shadow: 0 0 120px rgba(101, 211, 255, 0.22);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.8rem;
    padding: 3rem 3rem;
    margin-top: 2rem;
}

.feature-card {
    border-radius: 32px;
    padding: 2rem;
    background: rgba(20, 80, 160, 0.28);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(118, 185, 255, 0.24);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.card-glow {
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.15);
}

.feature-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: #e0e7ff;
}

.feature-card p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #d8dbff;
}

.stats {
    padding: 3rem 3rem 4rem;
    margin: 0 3rem 3rem;
    background: rgba(8, 32, 82, 0.82);
    border-radius: 36px;
    border: 1px solid rgba(101, 203, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(101, 203, 255, 0.08);
}

.stats h3 {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    color: #f8fbff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.stat-card {
    padding: 2rem;
    border-radius: 28px;
    background: rgba(6, 4, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #7dd3fc;
    margin-bottom: 0.8rem;
}

.stat-card p {
    font-size: 1rem;
    color: #cbd5ff;
}

footer {
    padding: 1.8rem 3rem 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: grid;
    place-items: center;
    padding: 2rem;
    z-index: 30;
}

.modal.hidden {
    display: none;
}

.modal-content {
    width: min(540px, 100%);
    border-radius: 30px;
    padding: 2rem;
    background: rgba(10, 7, 30, 0.98);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 1px solid rgba(125, 211, 252, 0.18);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: 1.7rem;
    cursor: pointer;
}

.modal-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: #dbeafe;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.water-score {
    font-size: 1rem;
    color: #c7d2fe;
}

@keyframes flashFade {
    0% { opacity: 0; transform: translate(-50%, 10px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -10px); }
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.8rem;
    }

    .features,
    .stats,
    footer {
        margin: 0 1.8rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .feature-card,
    .stat-card {
        padding: 1.6rem;
    }

    .stats-grid,
    .features {
        grid-template-columns: 1fr;
    }
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #00d4ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}
