/* odpo.com - under-construction preview site.
   Palette comes from the logo (ink + violet). One accent: violet.
   Shape rule: interactive elements 12px, containers 20px. Light theme only. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/assets/vendor/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/assets/vendor/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("/assets/vendor/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("/assets/vendor/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/assets/vendor/fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2012-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/assets/vendor/fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2012-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("/assets/vendor/fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2012-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("/assets/vendor/fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2012-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink: #1D1B3A;
    --ink-2: #2A2750;
    --violet: #2E2A7A;
    --violet-hover: #231F63;
    --bg: #F7F7FB;
    --soft: #EEEEF7;
    --tint: #E6E5F4;
    --line: #D9D8EA;
    --muted: #55536F;
    --white: #FCFCFE;
    --r-ui: 12px;
    --r-box: 20px;
    --shadow: 0 18px 40px -22px rgba(29, 27, 58, .45);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --bs-body-font-family: "Plex", "Segoe UI", Tahoma, sans-serif;
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--ink);
    --bs-link-color: var(--violet);
    --bs-link-hover-color: var(--violet-hover);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--bs-body-font-family); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { letter-spacing: -.01em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ui); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn { border-radius: var(--r-ui); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-odpo { background: var(--violet); color: #fff; border: 1px solid var(--violet); }
.btn-odpo:hover, .btn-odpo:focus { background: var(--violet-hover); border-color: var(--violet-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(46, 42, 122, .7); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn-light:hover { background: var(--tint); color: var(--ink); transform: translateY(-2px); }
.btn .ph { font-size: 1.15em; }
[dir="rtl"] .btn .ph-arrow-up-right { transform: scaleX(-1); }

.lang-link { font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: var(--r-ui); border: 1px solid var(--line); background: var(--white); }
.lang-link:hover { background: var(--tint); color: var(--ink); }

/* ---------- coming soon (home) ---------- */
.home { position: relative; min-height: 100dvh; overflow: hidden; display: flex; }
.home-mark { position: absolute; inset-block: 0; inset-inline-end: -8vw; width: min(52vw, 640px); background: url("/assets/img/mark-256.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.home-inner { position: relative; display: flex; flex-direction: column; padding-block: 28px 64px; }
.home-copy { margin-block: auto; max-width: 640px; padding-block: 56px; }
.home-title { font-size: clamp(2.8rem, 8vw, 5.4rem); font-weight: 700; line-height: 1.1; margin: 0 0 1rem; color: var(--ink); }
.home-msg { font-size: 1.25rem; color: var(--muted); margin-bottom: 1rem; max-width: 46ch; }
.home-contact { color: var(--muted); margin-bottom: 2rem; }
.home-contact a { font-weight: 600; }

/* ---------- gate ---------- */
.gate { min-height: 100dvh; padding-block: 28px 64px; background: linear-gradient(180deg, var(--bg), var(--soft)); }
.gate-box { max-width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box); padding: 36px; box-shadow: var(--shadow); }
.gate-title { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
.text-muted-odpo { color: var(--muted); }
.form-label { font-weight: 600; margin-bottom: .4rem; }
.form-control { border-radius: var(--r-ui); border: 1.5px solid #8C8AAE; background: #fff; color: var(--ink); }
.form-control:focus { border-color: var(--violet); box-shadow: 0 0 0 .25rem rgba(46, 42, 122, .18); }
.field-error { color: #A01D2F; font-weight: 500; min-height: 1.6em; margin: .5rem 0 1rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-weight: 500; text-decoration: none; }

/* ---------- navigation ---------- */
.nav-bar { position: sticky; top: 0; z-index: 40; background: rgba(247, 247, 251, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .nav-bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav-inner { height: 68px; display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; margin-inline-start: 24px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: var(--r-ui); color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { background: var(--tint); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
@media (max-width: 767.98px) { .nav-links { display: none; } .nav-inner { gap: 12px; } }

/* ---------- hero ---------- */
.hero { padding-block: 56px 72px; min-height: calc(100dvh - 68px); display: flex; align-items: center; }
.hero > .container { width: 100%; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.18; margin-bottom: 1.1rem; max-width: 20ch; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }

.search-panel { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: var(--r-box); padding: 32px; box-shadow: var(--shadow); }
.search-mark { position: absolute; inset-inline-end: -18px; top: -14px; opacity: .1; filter: brightness(0) invert(1); pointer-events: none; width: 150px; height: auto; }
.search-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; position: relative; }
.search-label { display: block; font-weight: 500; margin-bottom: .4rem; color: #DCDBF2; }
.search-row { display: flex; align-items: stretch; background: #fff; border-radius: var(--r-ui); overflow: hidden; }
.search-row .form-control { border: 0; border-radius: 0; padding: 14px 16px; font-size: 1.05rem; box-shadow: none; flex: 1; min-width: 0; }
.search-row:focus-within { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--violet); }
.search-tld { display: flex; align-items: center; padding: 0 16px; background: var(--tint); color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.btn-search { background: #fff; }
.search-hint { margin: 1rem 0 0; color: #CFCEE8; font-size: .95rem; }

/* ---------- bands ---------- */
.band { padding-block: 104px; }
.band-soft { background: var(--soft); }
.band-head { max-width: 62ch; margin-bottom: 44px; }
.band-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.2; margin-bottom: .75rem; }
.band-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
@media (max-width: 767.98px) { .band { padding-block: 72px; } }

/* ---------- property cells ---------- */
.cell { border-radius: var(--r-box); padding: 32px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cell h3 { font-size: 1.4rem; font-weight: 700; margin: 1.25rem 0 .6rem; }
.cell p { margin: 0; max-width: 52ch; }
.cell-icon { font-size: 2rem; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: var(--r-ui); }
.cell-ink { background: var(--ink); color: #fff; }
.cell-ink p { color: #D9D8EE; }
.cell-ink .cell-icon { background: rgba(255, 255, 255, .12); }
.cell-tint { background: var(--tint); }
.cell-tint p { color: #413F62; }
.cell-tint .cell-icon { background: #fff; color: var(--violet); }
.cell-line { background: var(--white); border: 1px solid var(--line); }
.cell-line p { color: var(--muted); }
.cell-line .cell-icon { background: var(--tint); color: var(--violet); }
.cell-violet { background: var(--violet); color: #fff; }
.cell-violet p { color: #E4E3F7; }
.cell-violet .cell-icon { background: rgba(255, 255, 255, .14); }

.tick-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.tick-list li { display: flex; align-items: flex-start; gap: .6rem; }
.tick-list .ph-fill { font-size: 1.2rem; color: #C9C7F5; margin-top: .2rem; flex: none; }
.tick-list-dark .ph-fill { color: var(--violet); }

/* ---------- hosting options ---------- */
.plans { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.plan-tabs { display: grid; gap: 10px; position: sticky; top: 92px; }
.plan-tab { display: flex; align-items: center; gap: 14px; text-align: start; width: 100%; padding: 16px 18px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-ui); color: var(--ink); transition: background-color .2s, border-color .2s, transform .25s var(--ease), color .2s; }
.plan-tab:hover { border-color: var(--violet); transform: translateX(3px); }
[dir="rtl"] .plan-tab:hover { transform: translateX(-3px); }
.plan-tab > .ph { font-size: 1.7rem; color: var(--violet); }
.plan-tab-text { display: grid; line-height: 1.35; }
.plan-tab-text small { color: var(--muted); font-size: .9rem; }
.plan-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan-tab.is-active > .ph, .plan-tab.is-active .plan-tab-text small { color: #D2D1F0; }

.plan-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box); padding: 36px; }
.plan-panel:not([hidden]) { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plan-tag { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.3; margin-bottom: .75rem; max-width: 30ch; }
.plan-who { color: var(--muted); margin: 0; }
.plan-who strong { color: var(--ink); }
.plan-h { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { background: var(--soft); border-radius: var(--r-ui); padding: 12px 16px; }
.facts dt { font-size: .88rem; font-weight: 500; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.steps { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: var(--r-ui); padding: 10px 16px; font-weight: 500; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; flex: none; }
@media (max-width: 991.98px) {
    .plans { grid-template-columns: 1fr; }
    .plan-tabs { position: static; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .plan-tab { scroll-snap-align: start; }
    .plan-tab:hover, [dir="rtl"] .plan-tab:hover { transform: none; }
    .plan-panel { padding: 24px; }
}

/* ---------- domains ---------- */
.domains-panel { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-box); padding: 56px; }
.domains-panel::before { content: ".qa"; position: absolute; inset-inline-end: 24px; bottom: -70px; font-weight: 700; font-size: clamp(9rem, 22vw, 18rem); line-height: 1; color: rgba(255, 255, 255, .05); direction: ltr; pointer-events: none; }
.domains-panel .row { position: relative; }
.eyebrow { font-weight: 600; color: #CBC9F2; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 1rem; }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.domains-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.25; margin-bottom: .75rem; }
.domains-sub { color: #D9D8EE; font-size: 1.1rem; max-width: 44ch; margin-bottom: 1.75rem; }
.dom-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.dom-steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-ui); padding: 18px 20px; }
.dom-steps .ph { font-size: 1.7rem; color: #fff; flex: none; }
.dom-steps strong { display: block; font-size: 1.1rem; }
.dom-steps span { color: #D2D1EA; }
@media (max-width: 767.98px) { .domains-panel { padding: 32px 22px; } }

/* ---------- closing + footer ---------- */
.closing { padding-block: 24px 112px; }
.closing .container { max-width: 760px; }
.closing h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; margin-bottom: .75rem; }
.closing p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }
.closing p a { font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: .95rem; }

/* ---------- motion (only when allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- start chooser modal ---------- */
.start-modal { border-radius: var(--r-box); border: 1px solid var(--line); background: var(--white); }
.start-modal .modal-header { border-bottom: 0; padding: 24px 24px 8px; }
.start-modal .modal-title { font-size: 1.4rem; font-weight: 700; }
.start-modal .modal-body { display: grid; gap: 12px; padding: 12px 24px 28px; }
.start-option { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-ui); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease), background-color .2s; }
.start-option:hover { border-color: var(--violet); background: var(--soft); color: var(--ink); transform: translateY(-2px); }
.start-option > .ph:first-child { font-size: 1.9rem; color: var(--violet); flex: none; }
.start-option span { display: grid; flex: 1; line-height: 1.4; }
.start-option small { color: var(--muted); font-size: .92rem; }
.start-arrow { font-size: 1.3rem; color: var(--violet); flex: none; }
[dir="rtl"] .start-arrow.ph-arrow-up-right { transform: scaleX(-1); }

/* ---------- instance size choice ---------- */
.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.size-opt { position: relative; display: block; margin: 0; cursor: pointer; }
.size-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.size-body { display: grid; gap: 2px; height: 100%; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: var(--r-ui); background: #fff; transition: border-color .2s, background-color .2s; position: relative; }
[dir="rtl"] .size-body { padding: 16px 52px 16px 18px; }
.size-body::before { content: ""; position: absolute; top: 20px; inset-inline-start: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8C8AAE; background: #fff; }
.size-body small { color: var(--muted); font-size: .92rem; }
.size-opt:hover .size-body { border-color: var(--violet); }
.size-opt input:checked + .size-body { border-color: var(--violet); background: var(--tint); }
.size-opt input:checked + .size-body::before { border-color: var(--violet); background: radial-gradient(circle, var(--violet) 0 5px, #fff 6px); }
.size-opt input:focus-visible + .size-body { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (max-width: 575.98px) { .sizes { grid-template-columns: 1fr; } }
