:root
{
    --teal: #1F7B91;
    --teal-dark: #0f1f25;
    --teal-deep: #15333b;
    --yellow: #f4c542;
    --pink: #e85d75;
    --cream: #faf6e9;
    --paper: #f5f8f8;
    --ink: #15333b;
}

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

html
{
    scroll-behavior: smooth;
}

body
{
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

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

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

/* ---------- Top bar ---------- */

.topbar
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 18px 0;
}

.topbar .container
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand
{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-family: 'Bangers', cursive;
    font-size: 26px;
    letter-spacing: 2px;
}

.brand img
{
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.lang-switch
{
    display: flex;
    gap: 6px;
}

.lang-switch button
{
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.lang-switch button.active
{
    background: #fff;
    color: var(--teal);
}

/* ---------- Hero ---------- */

.hero
{
    position: relative;
    background: linear-gradient(175deg, var(--teal-dark) 0%, #14505f 55%, var(--teal) 100%);
    color: #fff;
    overflow: hidden;
    padding: 110px 0 0;
}

.hero-bg
{
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 58%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.35;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}

.hero .container
{
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-copy
{
    padding: 40px 0 90px;
}

.hero h1
{
    font-family: 'Bangers', cursive;
    font-size: clamp(42px, 6vw, 64px);
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.hero h1 .accent
{
    color: var(--yellow);
}

.hero-sub
{
    font-size: 18px;
    opacity: 0.9;
    max-width: 480px;
    margin-bottom: 32px;
}

.cta
{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: var(--yellow);
    color: var(--teal-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    padding: 16px 36px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover
{
    transform: translateY(-2px) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.cta .cta-sub
{
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
}

.hero-phone-wrap
{
    position: relative;
    justify-self: center;
    padding: 30px 10px 0;
}

.hero-note
{
    position: absolute;
    z-index: 2;
    top: 4px;
    left: -70px;
    font-family: 'Caveat', cursive;
    font-size: 26px;
    color: var(--yellow);
    transform: rotate(-8deg);
    white-space: nowrap;
}

.hero-note::after
{
    content: '\2198';
    display: inline-block;
    margin-left: 6px;
}

.phone
{
    width: min(280px, 70vw);
    border-radius: 36px;
    border: 10px solid #0b161a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    background: #0b161a;
    overflow: hidden;
    transform: rotate(2deg);
    margin-bottom: -60px;
}

.phone img
{
    width: 100%;
    height: auto;
    border-radius: 26px;
}

/* ---------- Sections ---------- */

section
{
    padding: 80px 0;
}

.section-title
{
    font-family: 'Bangers', cursive;
    font-size: clamp(30px, 4.5vw, 42px);
    letter-spacing: 2px;
    text-align: center;
    color: var(--teal-deep);
    margin-bottom: 48px;
}

.section-title .underline
{
    position: relative;
    display: inline-block;
}

.section-title .underline::after
{
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 2px;
    height: 10px;
    background: var(--yellow);
    z-index: -1;
    transform: rotate(-1deg);
}

/* ---------- How it works ---------- */

.how
{
    background: var(--cream);
    margin-top: 60px;
}

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

.step
{
    text-align: center;
    padding: 0 12px;
}

.step-num
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: 'Bangers', cursive;
    font-size: 28px;
    margin-bottom: 14px;
    box-shadow: 4px 4px 0 var(--yellow);
}

.step h3
{
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--teal-deep);
}

.step p
{
    font-size: 15px;
    color: #3f5a61;
}

/* ---------- Features ---------- */

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

.feature
{
    background: #fff;
    border: 1px solid #e2ecee;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover
{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(21, 51, 59, 0.12);
}

.feature i
{
    font-size: 22px;
    color: var(--teal);
    background: rgba(31, 123, 145, 0.1);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 14px;
}

.feature h3
{
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--teal-deep);
}

.feature p
{
    font-size: 14px;
    color: #3f5a61;
}

/* ---------- Who ---------- */

.who
{
    background: var(--cream);
}

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

.who-card
{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8e2cf;
    box-shadow: 0 8px 24px rgba(21, 51, 59, 0.08);
}

.who-card img
{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.who-card-body
{
    padding: 20px 22px 24px;
}

.who-card h3
{
    font-family: 'Bangers', cursive;
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--teal);
    margin-bottom: 6px;
}

.who-card p
{
    font-size: 14px;
    color: #3f5a61;
}

/* ---------- Install ---------- */

.install
{
    background: linear-gradient(165deg, var(--teal-deep) 0%, var(--teal) 100%);
    color: #fff;
}

.install .section-title
{
    color: #fff;
}

.install-steps
{
    max-width: 560px;
    margin: 0 auto 36px;
    counter-reset: install;
    list-style: none;
}

.install-steps li
{
    position: relative;
    padding: 0 0 22px 58px;
    font-size: 16px;
}

.install-steps li::before
{
    counter-increment: install;
    content: counter(install);
    position: absolute;
    left: 0;
    top: -4px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--teal-dark);
    font-family: 'Bangers', cursive;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-cta-wrap
{
    text-align: center;
}

.beta-note
{
    max-width: 560px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

.beta-note a
{
    color: var(--yellow);
}

/* ---------- Footer ---------- */

footer
{
    background: var(--teal-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 36px 0;
    font-size: 14px;
}

footer .container
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links
{
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

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

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

.footer-osm
{
    width: 100%;
    font-size: 12px;
    opacity: 0.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px)
{
    .hero .container
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy
    {
        padding: 20px 0 0;
    }

    .hero-sub
    {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-phone-wrap
    {
        padding-top: 50px;
    }

    .hero-note
    {
        left: 50%;
        transform: translateX(-110%) rotate(-8deg);
    }

    .phone
    {
        margin-bottom: -40px;
        transform: rotate(0deg);
    }

    .steps,
    .who-grid
    {
        grid-template-columns: 1fr;
    }

    .features-grid
    {
        grid-template-columns: repeat(2, 1fr);
    }

    section
    {
        padding: 56px 0;
    }
}

@media (max-width: 520px)
{
    .features-grid
    {
        grid-template-columns: 1fr;
    }

    .brand
    {
        font-size: 22px;
    }
}
