:root {
    --sky: #c9eeff;
    --yellow: #ffe44d;
    --yellow-dk: #f5c800;
    --mint: #b8f0c8;
    --coral: #ff7f7f;
    --coral-dk: #ff5555;
    --pink: #ffb3c6;
    --lavender: #d6c9ff;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-soft: #666;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.09);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.13);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --font-body: 'Nunito', sans-serif;
}

*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--sky);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(175deg, #c2eeff 0%, #daf5ff 45%, #f0fcff 80%, #fffde8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 52px 20px 90px;
    overflow: hidden;
    text-align: center;
}

.hero__clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cloud {
    position: absolute;
    background: #fff;
    opacity: 0.65;
    filter: blur(1.5px);
    border-radius: 99px;
}

.cloud::after, .cloud::before {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.cloud--1 {
    width: 84px;
    height: 26px;
    top: 8%;
    left: -8px;
    animation: floatCloud 12s ease-in-out infinite;
}

.cloud--1::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud--1::after {
    width: 30px;
    height: 30px;
    top: -14px;
    left: 36px;
}

.cloud--2 {
    width: 68px;
    height: 20px;
    top: 20%;
    right: -4px;
    animation: floatCloud 16s ease-in-out 2s infinite reverse;
}

.cloud--2::before {
    width: 34px;
    height: 34px;
    top: -17px;
    left: 8px;
}

.cloud--2::after {
    width: 24px;
    height: 24px;
    top: -11px;
    left: 28px;
}

.cloud--3 {
    width: 100px;
    height: 28px;
    top: 36%;
    left: 6%;
    animation: floatCloud 19s ease-in-out 4s infinite;
}

.cloud--3::before {
    width: 46px;
    height: 46px;
    top: -24px;
    left: 14px;
}

.cloud--3::after {
    width: 34px;
    height: 34px;
    top: -16px;
    left: 48px;
}

@keyframes floatCloud {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.hero__title {
    font-size: clamp(2.3rem, 7.5vw, 3.5rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 10px;
}

.hero__tagline {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 800;
    color: #2a607a;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    padding: 10px 22px;
    border-radius: 99px;
    box-shadow: var(--shadow-sm);
}

.hero__badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 99px;
    letter-spacing: 0.04em;
}

.badge--free {
    background: var(--mint);
    color: #1a7a3a;
}

.badge--mobile {
    background: var(--lavender);
    color: #4a2d8a;
}

.hero__visual {
    position: relative;
    z-index: 1;
    width: min(380px, 94vw);
    margin-top: 28px;
}

.hero__visual-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.85);
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--mint), var(--sky));
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(56% 100% at 50% 100%);
}

/* DOWNLOAD SECTION */
.download {
    position: relative;
    background: linear-gradient(160deg, #ffe8a3 0%, #ffd04a 55%, #ffb347 100%);
    padding: 70px 20px 90px;
    overflow: hidden;
    text-align: center;
}

.download__bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.download__bubble--1 {
    width: 150px;
    height: 150px;
    background: var(--coral);
    top: -36px;
    left: -36px;
}

.download__bubble--2 {
    width: 100px;
    height: 100px;
    background: var(--mint);
    bottom: 36px;
    right: -18px;
    animation-delay: 1.5s;
}

.download__bubble--3 {
    width: 68px;
    height: 68px;
    background: var(--lavender);
    top: 48%;
    right: 18px;
    animation-delay: 3s;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-16px) scale(1.05); }
}

.download__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
}

.download__sub {
    font-size: clamp(0.88rem, 3.2vw, 1rem);
    font-weight: 600;
    color: #5a4a00;
    max-width: 340px;
    line-height: 1.55;
}

/* STORE / PLATFORM BUTTONS */
.store-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 16px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    min-width: 160px;
    font-family: var(--font-body);
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.store-btn--apple {
    background: #000;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.store-btn--google {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.store-btn.selected {
    border-color: #2d2d2d;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: scale(1.04);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.store-btn__text small {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-btn__text strong {
    font-size: 1.05rem;
    font-weight: 800;
}

/* MAIN DOWNLOAD BUTTON ACTION */
.download-action-wrap {
    display: none;
    margin-top: 10px;
    animation: fadeInUp 0.3s ease forwards;
}

.download-action-wrap.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1a7a3a;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 900;
    padding: 16px 36px;
    border-radius: 99px;
    border: 3px solid #b8f0c8;
    box-shadow: 0 8px 28px rgba(26, 122, 58, 0.4);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.main-download-btn:hover {
    background: #13602d;
    transform: translateY(-3px) scale(1.03);
}

.main-download-btn i {
    font-size: 1.5rem;
}

/* MODAL OVERLAY & CAPTCHA CARD (CLEAN & CENTERED) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.captcha-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 36px 28px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    width: min(420px, 92vw);
    transform: scale(0.92);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay.active .captcha-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.15s;
}

.modal-close:hover {
    color: var(--text);
}

.captcha-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a567a;
    margin-bottom: 8px;
}

.captcha-header i {
    font-size: 1.5rem;
    color: #1a7a3a;
}

.captcha-instructions {
    font-size: 0.92rem;
    color: var(--text-soft);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.45;
    max-width: 310px;
}

.captcha-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    min-height: auto;
    padding: 0;
}

/* Ensure injected widget content fits nicely */
.captcha-box > * {
    max-width: 100%;
    margin: 0 auto;
}

/* FEATURES SECTION */
.features {
    background: var(--white);
    padding: 56px 20px 64px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-dk);
    background: var(--pink);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.15;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 500px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px 14px 22px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-card__title {
    font-size: clamp(0.78rem, 2.8vw, 0.92rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 7px;
    line-height: 1.2;
}

.feature-card__desc {
    font-size: clamp(0.7rem, 2.4vw, 0.78rem);
    color: var(--text-soft);
    line-height: 1.55;
}

/* FOOTER */
.footer {
    background: #1e2a3a;
    color: rgba(255, 255, 255, 0.55);
    padding: 26px 20px;
    text-align: center;
}

.footer__copy {
    font-size: 0.7rem;
}

@media (min-width: 640px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 620px;
    }
}