/* =============================================
   SmallWins
   ============================================= */

:root {
    --teal: #1A5C5C;
    --teal-dark: #134545;
    --teal-light: #EDF4F4;
    --teal-muted: #A3C4C4;
    --coral: #E07A5F;
    --coral-dark: #C9664B;
    --coral-light: #FFF0EC;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-alt: #F8F9F8;
    --border: #E8E8E8;
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   Layout
   ============================================= */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: 720px;
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--primary {
    background: var(--text);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.btn--primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* App Store Badge */

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge img {
    height: 52px;
    width: auto;
}

.app-store-badge:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.app-store-badge--lg img {
    height: 56px;
}

/* =============================================
   Nav
   ============================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 34px;
    height: 34px;
}

.logo span {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
}

.logo__light {
    font-weight: 400;
}

.logo__bold {
    font-weight: 700;
}

.logo--sm img {
    width: 28px;
    height: 28px;
}

.logo--sm span {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--text);
}

.nav__cta {
    background: var(--text);
    color: #fff;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav__cta:hover {
    background: #333;
}

.nav--solid {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
}

.nav__toggle svg {
    display: block;
}

/* =============================================
   Hero
   ============================================= */

.hero {
    padding: 140px 0 100px;
    background: var(--bg-alt);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__content h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

/* Rotating Word */

.rotate-word {
    display: inline-block;
    color: var(--teal);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotate-word--out {
    opacity: 0;
    transform: translateY(12px);
}

.rotate-word--in {
    opacity: 0;
    transform: translateY(-12px);
}

/* Hero Phone Image */

.hero__phone {
    max-width: 340px;
    margin: 0 auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
}

/* =============================================
   Trust Strip
   ============================================= */

.trust {
    padding: 32px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.trust__items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.trust__item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust__dot {
    color: var(--teal-muted);
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .trust__items {
        flex-direction: column;
        gap: 6px;
    }

    .trust__dot {
        display: none;
    }
}

/* =============================================
   Problem
   ============================================= */

.problem {
    padding: 120px 0;
    background: var(--bg);
}

.problem__lead {
    max-width: 560px;
    margin-bottom: 56px;
}

.problem__lead h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.problem__lead p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem__card {
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.problem__card:hover {
    border-color: #ccc;
}

.problem__emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.problem__card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem__card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   Experience
   ============================================= */

.experience {
    padding: 120px 0;
    background: var(--bg-alt);
}

.experience__lead {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 64px;
}

.experience__lead h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.experience__lead p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.experience__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.experience__step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.experience__step:last-child {
    border-bottom: none;
}

.experience__num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    min-width: 72px;
}

.experience__text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.experience__text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
}

/* =============================================
   Features
   ============================================= */

.features {
    padding: 120px 0;
    background: var(--bg);
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature--reverse {
    direction: rtl;
}

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

.feature__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal);
    background: var(--teal-light);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.feature__content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.feature__content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature__list li {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.feature__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

/* Mock Win Card */

.mock-win {
    background: var(--bg);
    border-radius: 20px;
    padding: 24px 28px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
}

.mock-win__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mock-win__label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mock-win__info {
    font-size: 1.1rem;
    color: #ccc;
}

.mock-win__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.3;
}

.mock-win__segments {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.mock-win__seg {
    flex: 1;
    height: 8px;
    border-radius: 8px;
}

.mock-win__seg--filled {
    background: var(--coral);
}

.mock-win__seg--empty {
    background: #E8E8E8;
}

.mock-win__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mock-win__count {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mock-win__days {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--coral);
    background: var(--coral-light);
    padding: 4px 12px;
    border-radius: 50px;
}

.mock-win__note {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.mock-win__skip {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #bbb;
    text-align: right;
}

/* Mock Momentum */

.mock-momentum {
    background: var(--bg);
    border-radius: 20px;
    padding: 24px 28px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
}

.mock-momentum__header {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.mock-momentum__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.mock-momentum__row:last-of-type {
    margin-bottom: 18px;
}

.mock-momentum__metric {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 14px 16px;
}

.mock-momentum__label {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mock-momentum__value {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.mock-momentum__trend {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.mock-momentum__trend--up {
    color: var(--teal);
}

.mock-momentum__trend--flat {
    color: var(--text-muted);
}

.mock-momentum__insight {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    padding: 14px 16px;
    background: var(--bg-alt);
    border-radius: 14px;
}

/* =============================================
   Philosophy
   ============================================= */

.philosophy {
    padding: 120px 0;
    background: var(--teal-dark);
    color: #fff;
}

.philosophy__heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal-muted);
    margin-bottom: 48px;
}

.philosophy__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.philosophy__item {
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 40px;
    align-items: baseline;
}

.philosophy__item:last-child {
    padding-bottom: 0;
}

.philosophy__item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    min-width: 320px;
    flex-shrink: 0;
}

.philosophy__item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* =============================================
   FAQ
   ============================================= */

.faq {
    padding: 120px 0;
    background: var(--bg);
}

.faq__heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq__item[open] {
    border-color: #ccc;
}

.faq__item summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    user-select: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   Download CTA
   ============================================= */

.download {
    padding: 120px 0;
    background: var(--bg-alt);
    text-align: center;
}

.download h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.download h2 .highlight {
    color: var(--teal);
}

.download__sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    padding: 32px;
    border-top: 1px solid var(--border);
}

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

.footer__brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer__links {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--text);
}

.footer__social {
    display: flex;
    align-items: center;
}

.footer__social svg {
    display: block;
}

/* =============================================
   Scroll Animations
   ============================================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 900px) {
    .nav__links {
        display: none;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__content h1 {
        font-size: 2.4rem;
    }

    .hero__sub {
        max-width: 100%;
    }

    .hero__visual {
        order: 2;
    }

    .hero__phone {
        max-width: 260px;
    }

    .problem__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience__step {
        gap: 24px;
    }

    .experience__num {
        font-size: 2.4rem;
        min-width: 56px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature--reverse {
        direction: ltr;
    }

    .feature__visual {
        order: -1;
    }

    .philosophy__item {
        flex-direction: column;
        gap: 8px;
    }

    .philosophy__item h3 {
        min-width: unset;
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        padding: 0 20px;
    }

    .hero {
        padding: 120px 0 72px;
    }

    .hero__content h1 {
        font-size: 2rem;
        line-height: 1.24;
    }

    .problem,
    .experience,
    .features,
    .philosophy,
    .faq,
    .download {
        padding: 80px 0;
    }

    .problem__lead h2,
    .experience__lead h2,
    .philosophy__heading,
    .download h2 {
        font-size: 1.8rem;
    }

    .problem__card h3 {
        line-height: 1.35;
    }

    .feature__content h2 {
        font-size: 1.6rem;
    }

    .problem__lead h2,
    .experience__lead h2,
    .feature__content h2,
    .faq__heading,
    .download h2 {
        line-height: 1.28;
    }

    .philosophy__heading {
        line-height: 1.3;
    }

    .mock-momentum__row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 24px 20px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer__brand {
        flex-direction: column;
        gap: 8px;
    }
}
