/* =========================================================
   iLIKE WEB
   Mobile-first palette aligned with Android app
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;

    background: #EDF4FC;
    color: #142033;

    font-family:
        "Inter",
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

button {
    color: inherit;
}


/* =========================================================
   BRAND VARIABLES
========================================================= */

:root {

    /* Android brand */
    --primary: #027BFF;
    --primary-dark: #031A38;
    --primary-soft: #DCEBFF;

    --accent: #5B5FF4;

    /* Surfaces */
    --background: #EDF4FC;
    --surface: #FFFFFF;
    --surface-alt: #EAF1FA;
    --input: #F1F5F9;

    /* Text */
    --text: #142033;
    --text-secondary: #64748B;
    --text-hint: #94A3B8;

    /* Borders */
    --border: #C7D7EA;
    --card-stroke: #E5E7EB;

    /* Semantic */
    --success: #0EA66B;
    --success-soft: #E9FBF2;

    --warning: #D97706;
    --warning-soft: #FFF6DC;

    --danger: #E14B58;
    --danger-soft: #FFF0F1;

    --gold: #FFD702;

    /* Layout */
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --shadow:
        0 18px 50px
        rgba(3, 26, 56, 0.10);

    --shadow-primary:
        0 14px 34px
        rgba(2, 123, 255, 0.22);
}


/* =========================================================
   LAYOUT
========================================================= */

.shell {
    width:
        min(
            calc(100% - 36px),
            1120px
        );

    margin: 0 auto;
    position: relative;
}

.section {
    padding: 72px 0;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.page-glow {
    position: fixed;
    pointer-events: none;

    border-radius: 999px;
    filter: blur(100px);

    z-index: -1;
}

.page-glow-one {
    width: 360px;
    height: 360px;

    top: -140px;
    right: -170px;

    background: rgba(2, 123, 255, 0.18);
}

.page-glow-two {
    width: 330px;
    height: 330px;

    top: 720px;
    left: -190px;

    background: rgba(91, 95, 244, 0.10);
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
    position: relative;
    z-index: 20;

    padding: 16px 0;

    background:
        rgba(237, 244, 252, 0.86);

    border-bottom:
        1px solid
        rgba(199, 215, 234, 0.72);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #027BFF,
            #5B5FF4
        );

    color: #FFFFFF;

    font-size: 24px;
    line-height: 1;
    font-weight: 900;

    box-shadow:
        0 9px 24px
        rgba(2, 123, 255, 0.23);
}

.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-copy strong {
    color: var(--text);

    font-size: 16px;
    letter-spacing: 0.02em;
}

.brand-copy span {
    margin-top: 4px;

    color: var(--text-secondary);

    font-size: 8px;
    letter-spacing: 0.22em;
}

.header-download {
    padding: 10px 17px;

    border-radius: 12px;

    background: var(--primary-soft);

    border:
        1px solid
        rgba(2, 123, 255, 0.16);

    color: var(--primary);

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 50px 0 58px;
}

.hero .shell {
    display: grid;
    gap: 48px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border:
        1px solid
        rgba(2, 123, 255, 0.18);

    border-radius: 999px;

    background: #DCEBFF;

    color: #0264D1;

    font-size: 12px;
    font-weight: 800;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: var(--primary);

    box-shadow:
        0 0 0 5px
        rgba(2, 123, 255, 0.10);
}

.hero h1 {
    margin: 20px 0 0;

    max-width: 760px;

    color: var(--text);

    font-size:
        clamp(
            43px,
            11vw,
            76px
        );

    line-height: 0.99;
    letter-spacing: -0.055em;

    font-weight: 850;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 590px;

    margin: 24px 0 0;

    color: var(--text-secondary);

    font-size: 17px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 30px;
}


/* =========================================================
   PRIMARY DOWNLOAD CTA
========================================================= */

.primary-cta {
    min-height: 66px;

    display: flex;
    align-items: center;

    gap: 13px;

    width: 100%;

    padding: 12px 16px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #027BFF,
            #176FE5
        );

    color: #FFFFFF;

    text-decoration: none;

    box-shadow: var(--shadow-primary);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.primary-cta:active {
    transform: scale(0.985);
}

.android-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.15);
}

.android-icon svg {
    width: 24px;
    fill: currentColor;
}

.primary-cta > span:nth-child(2) {
    display: flex;
    flex-direction: column;

    gap: 2px;

    min-width: 0;
}

.primary-cta strong {
    font-size: 16px;
}

.primary-cta small {
    color:
        rgba(255, 255, 255, 0.72);

    font-size: 11px;
    font-weight: 600;
}

.cta-arrow {
    margin-left: auto;

    font-size: 26px;
}

.secondary-cta {
    display: block;

    width: 100%;

    padding: 14px 16px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: #FFFFFF;

    color: var(--primary);

    text-align: center;
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 9px 16px;

    margin-top: 22px;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 600;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;

    gap: 6px;
}

.hero-trust svg {
    width: 14px;
    height: 14px;

    fill: var(--success);
}


/* =========================================================
   PHONE MOCKUP
========================================================= */

.hero-device {
    width:
        min(
            78vw,
            330px
        );

    margin: 0 auto;

    position: relative;
}

.device-glow {
    position: absolute;

    inset: 13% -18%;

    background:
        radial-gradient(
            circle,
            rgba(2, 123, 255, 0.20),
            transparent 68%
        );

    filter: blur(16px);

    z-index: -1;
}

.phone {
    position: relative;

    padding: 10px;

    border:
        1px solid
        rgba(3, 26, 56, 0.18);

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            #142033,
            #031A38
        );

    box-shadow:
        0 28px 65px
        rgba(3, 26, 56, 0.24);
}

.phone-top {
    position: absolute;

    top: 17px;
    left: 50%;

    transform:
        translateX(-50%);

    width: 30%;
    height: 21px;

    z-index: 3;

    border-radius: 999px;

    background: #07111F;
}

.phone-screen {
    overflow: hidden;

    aspect-ratio: 9 / 19;

    border-radius: 29px;

    background: #FFFFFF;
}

.phone-screen img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   QUICK VALUE
========================================================= */

.quick-value {
    padding: 0 0 30px;
}

.quick-value-grid {
    display: grid;
    gap: 10px;
}

.quick-value article {
    display: grid;

    grid-template-columns:
        40px
        1fr;

    grid-template-rows:
        auto
        auto;

    gap: 2px 12px;

    padding: 17px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-sm);

    background: var(--surface);

    box-shadow:
        0 8px 26px
        rgba(3, 26, 56, 0.045);
}

.mini-icon {
    grid-row: 1 / 3;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: var(--primary-soft);

    color: var(--primary);

    font-weight: 900;
}

.quick-value strong {
    color: var(--text);
    font-size: 13px;
}

.quick-value span {
    color: var(--text-secondary);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom: 30px;
}

.section-heading.centered {
    text-align: center;
}

.section-label {
    color: var(--primary);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.2em;
}

.section-heading h2,
.install-card h2,
.final-card h2 {
    margin: 10px 0 0;

    color: var(--text);

    font-size:
        clamp(
            30px,
            8vw,
            48px
        );

    line-height: 1.06;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 560px;

    margin: 14px auto 0;

    color: var(--text-secondary);

    line-height: 1.65;
}


/* =========================================================
   STEPS
========================================================= */

.steps {
    display: grid;
    gap: 11px;
}

.step {
    display: grid;

    grid-template-columns:
        46px
        1fr;

    gap: 14px;

    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-md);

    background: #FFFFFF;

    box-shadow:
        0 8px 30px
        rgba(3, 26, 56, 0.045);
}

.step-number {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #027BFF,
            #5B5FF4
        );

    color: #FFFFFF;

    font-weight: 900;
}

.step h3 {
    margin: 1px 0 6px;

    color: var(--text);

    font-size: 16px;
}

.step p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.55;
}

.wide-download {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 14px;

    padding: 18px;

    border-radius: 16px;

    background: var(--primary);

    color: #FFFFFF;

    text-decoration: none;

    font-weight: 800;

    box-shadow:
        0 12px 30px
        rgba(2, 123, 255, 0.18);
}


/* =========================================================
   SHOWCASE
========================================================= */

.showcase-section {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(220, 235, 255, 0.55),
            transparent
        );
}

.showcase {
    display: flex;

    gap: 14px;

    overflow-x: auto;

    padding: 4px 18px 16px;

    margin: 0 -18px;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.showcase::-webkit-scrollbar {
    display: none;
}

.showcase-card {
    flex:
        0 0
        min(
            75vw,
            300px
        );

    scroll-snap-align: center;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background: #FFFFFF;

    box-shadow: var(--shadow);
}

.showcase-card img {
    width: 100%;

    aspect-ratio: 9 / 15;

    object-fit: cover;

    background: var(--surface-alt);
}

.showcase-copy {
    padding: 16px;
}

.showcase-copy span {
    display: block;

    margin-bottom: 4px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.showcase-copy strong {
    color: var(--text);

    font-size: 14px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;
    gap: 11px;
}

.feature {
    padding: 21px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-md);

    background: #FFFFFF;

    box-shadow:
        0 8px 28px
        rgba(3, 26, 56, 0.04);
}

.feature-icon {
    display: inline-grid;

    place-items: center;

    min-width: 38px;
    height: 28px;

    padding: 0 9px;

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 10px;
    font-weight: 900;
}

.feature h3 {
    margin: 18px 0 8px;

    color: var(--text);

    font-size: 17px;
}

.feature p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   INSTALL CARD
========================================================= */

.install-card {
    position: relative;
    overflow: hidden;

    padding: 27px;

    border:
        1px solid
        rgba(2, 123, 255, 0.18);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            #DCEBFF,
            #FFFFFF
        );

    box-shadow:
        0 14px 40px
        rgba(3, 26, 56, 0.07);
}

.install-card-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 16px;

    background: var(--primary);

    color: #FFFFFF;

    font-size: 28px;
    font-weight: 900;

    box-shadow:
        0 10px 25px
        rgba(2, 123, 255, 0.18);
}

.install-card p {
    margin: 14px 0 0;

    color: var(--text-secondary);

    font-size: 14px;
    line-height: 1.65;
}

.install-download {
    display: flex;

    justify-content: center;

    margin-top: 24px;

    padding: 16px;

    border-radius: 15px;

    background: var(--primary-dark);

    color: #FFFFFF;

    text-decoration: none;

    font-weight: 800;
}


/* =========================================================
   FAQ
========================================================= */

.faq-list {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius-md);

    background: #FFFFFF;
}

.faq {
    border-bottom:
        1px solid
        var(--card-stroke);
}

.faq:last-child {
    border-bottom: 0;
}

.faq-question {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    border: 0;

    background: transparent;

    color: var(--text);

    text-align: left;

    cursor: pointer;

    font-weight: 700;
}

.faq-plus {
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 20px;

    transition:
        transform 0.2s ease;
}

.faq.open .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.25s ease;
}

.faq-answer p {
    margin: 0;

    padding:
        0
        60px
        20px
        20px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-section {
    padding: 50px 0 95px;
}

.final-card {
    position: relative;
    overflow: hidden;

    padding: 34px 25px;

    border:
        1px solid
        rgba(2, 123, 255, 0.17);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #031A38,
            #062957
        );

    text-align: center;

    box-shadow:
        0 25px 65px
        rgba(3, 26, 56, 0.20);
}

.final-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    top: -185px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background: #027BFF;

    filter: blur(80px);

    opacity: 0.75;
}

.final-card > *:not(.final-glow) {
    position: relative;
}

.final-card .section-label {
    color: #8DC3FF;
}

.final-card h2 {
    color: #FFFFFF;
}

.final-card p {
    max-width: 440px;

    margin: 15px auto 24px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.6;
}

.final-download {
    text-align: left;
}

.final-card .secondary-cta {
    margin-top: 10px;

    border-color:
        rgba(255, 255, 255, 0.16);

    background:
        rgba(255, 255, 255, 0.08);

    color: #FFFFFF;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 32px 0 110px;

    border-top:
        1px solid
        var(--border);

    background:
        rgba(255, 255, 255, 0.40);
}

.footer .shell {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 18px;

    text-align: center;
}

.footer p {
    margin: 0;

    color: var(--text-hint);

    font-size: 11px;
}


/* =========================================================
   STICKY MOBILE DOWNLOAD
========================================================= */

.sticky-download {
    position: fixed;

    left: 12px;
    right: 12px;

    bottom:
        calc(
            12px +
            env(safe-area-inset-bottom)
        );

    z-index: 100;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px;

    border:
        1px solid
        rgba(199, 215, 234, 0.90);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        0 18px 55px
        rgba(3, 26, 56, 0.18);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform: translateY(140%);
    opacity: 0;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.sticky-download.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    margin-right: auto;
}

.sticky-copy strong {
    color: var(--text);

    font-size: 12px;
}

.sticky-copy span {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 10px;
}

.sticky-button {
    flex: 0 0 auto;

    padding: 12px 17px;

    border-radius: 13px;

    background: var(--primary);

    color: #FFFFFF;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 8px 22px
        rgba(2, 123, 255, 0.19);
}


/* =========================================================
   INTERACTION
========================================================= */

.header-download,
.primary-cta,
.secondary-cta,
.wide-download,
.install-download,
.sticky-button {

    -webkit-tap-highlight-color:
        transparent;
}

@media (hover: hover) {

    .primary-cta:hover {
        transform:
            translateY(-2px);

        box-shadow:
            0 18px 42px
            rgba(2, 123, 255, 0.28);
    }

    .header-download:hover {
        background: #CFE3FF;
    }

    .wide-download:hover,
    .sticky-button:hover {
        background: #006FE8;
    }

}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (
    min-width: 720px
) {

    .section {
        padding: 95px 0;
    }


    .hero {
        padding: 80px 0 90px;
    }


    .hero .shell {
        grid-template-columns:
            minmax(0, 1fr)
            340px;

        align-items: center;

        gap: 70px;
    }


    .hero-actions {
        max-width: 430px;
    }


    .quick-value-grid {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .steps {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }


    .step {
        grid-template-columns: 1fr;
    }


    .wide-download {
        max-width: 430px;

        margin:
            25px
            auto
            0;
    }


    .showcase {
        display: grid;

        grid-template-columns:
            repeat(
                3,
                1fr
            );

        overflow: visible;

        padding: 0;

        margin: 0;
    }


    .showcase-card {
        min-width: 0;
    }


    .feature-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .install-card {
        display: grid;

        grid-template-columns:
            auto
            1fr
            auto;

        align-items: center;

        gap: 28px;
    }


    .install-card-icon {
        margin: 0;
    }


    .install-card h2 {
        font-size: 32px;
    }


    .install-download {
        min-width: 170px;

        margin: 0;
    }


    .final-card {
        max-width: 750px;

        margin: 0 auto;

        padding: 55px;
    }


    .final-card .primary-cta,
    .final-card .secondary-cta {
        max-width: 420px;

        margin-left: auto;
        margin-right: auto;
    }


    .sticky-download {
        left: 50%;
        right: auto;

        width: 430px;

        transform:
            translate(
                -50%,
                140%
            );
    }


    .sticky-download.visible {
        transform:
            translate(
                -50%,
                0
            );
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;
    }

}