/* Zepfone public website. Colours come from the logo: pink -> orange gradient Z, teal accents, white. */
:root {
    --pink: #ff3c7e;
    --orange: #ffb62e;
    --teal: #00dcc4;
    --teal-soft: #e6fbf8;
    --ink: #1b1b2f;
    --text: #44445a;
    --muted: #7a7a92;
    --line: #ececf3;
    --bg: #ffffff;
    --bg-soft: #fff7f4;
    --grad: linear-gradient(135deg, var(--pink) 0%, var(--orange) 100%);
    --radius: 20px;
    --shadow: 0 12px 40px rgba(255, 60, 126, .14);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > .notfound { flex: 1; }
.footer { flex-shrink: 0; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--grad); padding: 14px 26px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 16px 44px rgba(255, 60, 126, .28); }
.btn--small { padding: 10px 20px; font-size: .95rem; box-shadow: none; }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }

.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 14px; min-width: 190px; }
.store:hover { text-decoration: none; transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; }
.store small { display: block; font-size: .7rem; opacity: .75; line-height: 1.1; }
.store strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.store--soon { background: #fff; color: var(--ink); border: 1.5px dashed #cfcfdc; cursor: pointer; font: inherit; text-align: left; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- popup ---------- */
.modal { border: 0; border-radius: 24px; padding: 0; width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(27, 27, 47, .35); color: var(--text); }
.modal::backdrop { background: rgba(27, 27, 47, .55); backdrop-filter: blur(3px); }
.modal__box { padding: 36px 28px 30px; text-align: center; }
.modal__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 18px; }
.modal__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal h2 { font-size: 1.5rem; margin-bottom: .4em; }
.modal p { margin-bottom: 1.4em; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text); font-weight: 600; }
.nav a:not(.btn):hover { color: var(--pink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 10%, #ffe3ec 0%, transparent 60%), radial-gradient(700px 420px at 0% 100%, var(--teal-soft) 0%, transparent 60%), #fff; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.eyebrow { display: inline-block; background: var(--teal-soft); color: #00806f; font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; color: var(--text); }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.hero__art { display: flex; justify-content: center; position: relative; }

.phone { width: min(300px, 78vw); aspect-ratio: 9 / 18.5; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 0 30px 70px rgba(27, 27, 47, .28); position: relative; transform: rotate(3deg); }
.phone__screen { height: 100%; border-radius: 34px; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 56px 22px 28px; text-align: center; position: relative; overflow: hidden; }
.phone__screen::before { content: ""; position: absolute; top: 14px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: var(--ink); border-radius: 14px; }
.phone__avatar { width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; margin: 18px 0 14px; }
.phone__avatar svg { display: block; }
.phone__name { font-weight: 800; font-size: 1.35rem; }
.phone__number { opacity: .9; font-weight: 600; }
.phone__status { margin-top: 6px; font-size: .9rem; opacity: .85; }
.phone__actions { margin-top: auto; display: flex; gap: 18px; }
.phone__actions span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); }
.phone__actions span:last-child { background: #fff; }
.phone__actions svg { width: 24px; height: 24px; fill: #fff; }
.phone__actions span:last-child svg { fill: var(--pink); }
.chip { position: absolute; background: #fff; border-radius: 16px; padding: 10px 16px; font-weight: 700; font-size: .85rem; color: var(--ink); box-shadow: 0 14px 34px rgba(27, 27, 47, .14); display: flex; align-items: center; gap: 8px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); display: block; }
.chip--a { top: 12%; left: -4%; }
.chip--b { bottom: 14%; right: -2%; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.card { flex: 1 1 300px; max-width: 370px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--text); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #05433b; font-weight: 800; margin-bottom: 16px; }
.step p { margin: 0; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan__price { font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 6px 0 4px; }
.plan__price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%2305433b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 20px 28px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--pink); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; margin: 0; }

.cta { background: var(--grad); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.15rem; opacity: .95; max-width: 36em; margin-inline: auto; }
.cta .stores { justify-content: center; margin-top: 26px; }
.cta .store { background: #fff; color: var(--ink); }
.cta .store--soon { background: rgba(255, 255, 255, .15); color: #fff; border: 1.5px dashed rgba(255, 255, 255, .6); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0 112px; display: flex; align-items: center; background: radial-gradient(700px 380px at 50% 0%, #ffe3ec 0%, transparent 70%), #fff; }
.notfound .notfound__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 0 0 8px; max-width: none; color: transparent; }
.notfound p { max-width: 30em; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- legal ---------- */
.legal-hero { background: var(--bg-soft); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.legal-hero p { color: var(--muted); margin: 0; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 48px 0 88px; align-items: start; }
.toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: .95rem; }
.toc summary { color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; display: none; }
.toc:not([open]) summary { margin-bottom: 0; }
@media (max-width: 900px) { .toc summary { margin-bottom: 0; } .toc[open] summary { margin-bottom: 10px; } .toc summary::after { display: block; } .toc[open] summary::after { transform: rotate(-135deg); } }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--pink); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose h2#refund { background: var(--teal-soft); padding: 16px 20px; border-radius: 14px; border-left: 5px solid var(--teal); }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c9c9d9; padding: 60px 0 24px; margin-top: 0; }
.footer a { color: #c9c9d9; }
.footer a:hover { color: #fff; }
.footer .brand--light, .footer .brand--light:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__text { max-width: 28em; margin-top: 14px; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 9px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .9rem; }
.footer__social a { margin-left: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; padding: 44px 0 56px; text-align: center; }
    .hero p.lead { margin-inline: auto; }
    .hero .stores { justify-content: center; }
    .steps { grid-template-columns: 1fr; }
    .card { max-width: none; }
    .hero__art { padding-bottom: 28px; }
    .chip--a { left: 2%; }
    .chip--b { right: 2%; bottom: 0; }
    .section { padding: 60px 0; }
    .legal { grid-template-columns: 1fr; gap: 24px; }
    .toc { position: static; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
        }
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); display: none; }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 14px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
    .cta { padding: 44px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .header, .footer, .toc { display: none; }
    .legal { display: block; padding: 0; }
}
