/* ============================================================
   Relocque — Coming Soon  ·  elevated
   Brand: navy + orange. Signature: the swap, made visible.
   ============================================================ */
:root {
    --navy: #0D1B2A;
    --navy-2: #13243b;
    --navy-3: #1B3A5B;
    --orange: #E8650A;
    --orange-2: #c9530a;
    --orange-soft: #FB923C;
    --teal: #2DD4BF;
    --ink: #0D1B2A;
    --text: #374151;
    --muted: #6B7280;
    --muted-2: #9CA3AF;
    --line: #E5E7EB;
    --line-2: #D1D5DB;
    --bg-muted: #F8FAFC;
    --green: #059669;
    --green-bg: #ECFDF5;
    --green-line: #A7F3D0;
    --red: #DC2626;
    --shadow: 0 10px 40px rgba(13, 27, 42, 0.08);
    --shadow-lg: 0 30px 70px -28px rgba(13, 27, 42, 0.45);
    --radius: 14px;
    --radius-sm: 10px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Sora', sans-serif; font-weight: 600; text-decoration: none;
    border: 1px solid transparent; border-radius: 12px; cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s;
    white-space: nowrap;
}
.btn--sm { font-size: 14px; padding: 9px 18px; }
.btn--lg { font-size: 16px; padding: 15px 32px; }
.btn--block { width: 100%; font-size: 16px; font-weight: 700; padding: 16px; }
.btn--solid { background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 8px 22px rgba(232, 101, 10, .32); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 101, 10, .4); }
.btn--solid:disabled { opacity: .7; cursor: default; transform: none; box-shadow: none; }
.btn--ghost { background: rgba(255,255,255,.04); color: rgba(255, 255, 255, .9); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255,255,255,.08); }

/* ── Logo ── */
.logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo--lg { font-size: 26px; color: #fff; }
.logo__accent { color: var(--orange); }

/* ── Top bar ── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 42, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.topbar .logo { color: #fff; }

/* ── Hero ── */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__glow {
    position: absolute; top: -200px; right: -150px; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(232,101,10,.18), transparent 62%);
    pointer-events: none; z-index: 0;
}
.hero__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px;
    padding: 80px 24px 96px;
}
.hero__copy { max-width: 600px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232, 101, 10, .14); border: 1px solid rgba(232, 101, 10, .35);
    color: #FDBA74; border-radius: 999px; padding: 7px 16px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .4px; margin-bottom: 26px;
    text-transform: uppercase;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-soft); box-shadow: 0 0 0 0 rgba(251,146,60,.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(251,146,60,.55)} 70%,100%{box-shadow:0 0 0 9px rgba(251,146,60,0)} }
.hero__title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -1.8px; margin: 0 0 22px; }
.accent { color: var(--orange); }
.hero__sub { font-size: clamp(16px, 2.4vw, 18px); line-height: 1.65; color: rgba(255, 255, 255, .68); max-width: 540px; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__reassure { margin: 22px 0 0; font-size: 13px; color: rgba(255,255,255,.45); letter-spacing: .2px; }

/* ── SIGNATURE: the swap ── */
.swap { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.swap__card {
    background: linear-gradient(165deg, var(--navy-2), var(--navy-3));
    border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px 18px;
    text-align: center; box-shadow: var(--shadow-lg);
}
.swap__avatar {
    width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
}
.swap__avatar--b { background: linear-gradient(135deg, var(--teal), #0E9F8E); }
.swap__role { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 13.5px; color: rgba(255,255,255,.92); margin-bottom: 6px; }
.swap__city { font-size: 12px; font-weight: 500; letter-spacing: .3px; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.swap__city--from { background: rgba(232,101,10,.16); color: #FDBA74; }
.swap__city--to { background: rgba(45,212,191,.16); color: #5EEAD4; }

.swap__person--a { animation: floatA 5s ease-in-out infinite; }
.swap__person--b { animation: floatB 5s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(9px)} }

.swap__track { position: relative; width: 120px; height: 70px; display: flex; align-items: center; justify-content: center; }
.swap__arrows { width: 120px; height: 60px; overflow: visible; }
.swap__arc { stroke: var(--orange); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 6 6; }
.swap__arc--top { animation: dashmove 1.4s linear infinite; }
.swap__arc--bot { stroke: var(--teal); animation: dashmove 1.4s linear infinite reverse; }
@keyframes dashmove { to { stroke-dashoffset: -24; } }
.swap__pill {
    position: absolute; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 10.5px;
    letter-spacing: 1.5px; color: #fff; background: var(--navy); border: 1px solid rgba(255,255,255,.18);
    padding: 5px 11px; border-radius: 999px;
}

/* ── moving corridor strip ── */
.corridors { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); overflow: hidden; padding: 14px 0; }
.corridors__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: scroll 30s linear infinite; white-space: nowrap; }
.corridors__track span { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 13px; color: rgba(255,255,255,.5); }
.corridors__track i { color: var(--orange); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 92px 0; }
.section--white { background: #fff; }
.section--muted { background: var(--bg-muted); }
.section--form { background: linear-gradient(180deg, var(--bg-muted), #fff); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head--tight { margin-bottom: 28px; }
.eyebrow { display: inline-block; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section__title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 38px); color: var(--ink); letter-spacing: -1px; line-height: 1.12; margin: 0 0 12px; }
.section--dark .section__title { color: #fff; }
.section__lead { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── Problem section ── */
.problem { padding: 96px 0; text-align: center; }
.problem__inner { max-width: 760px; margin: 0 auto; }
.problem__line { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(26px, 4.4vw, 42px); line-height: 1.15; letter-spacing: -1px; color: #fff; margin: 0 0 6px; }
.strike { position: relative; color: rgba(255,255,255,.55); }
.strike::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.strike.in::after { animation: strike .6s var(--ease) .3s forwards; }
@keyframes strike { to { transform: scaleX(1); } }
.problem__resolve { font-size: clamp(16px, 2.4vw, 20px); color: var(--orange-soft); font-weight: 500; margin: 26px 0 0; font-family: 'Sora', sans-serif; }

/* ── Steps (how it works) ── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stepline { position: absolute; top: 21px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__num {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 18px;
    background: #fff; border: 2px solid var(--orange); color: var(--orange);
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(232,101,10,.18);
}
.step__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--ink); margin: 0 0 9px; }
.step__body { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; max-width: 230px; margin-inline: auto; }

/* ── Trust ── */
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust__item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.trust__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust__icon { width: 50px; height: 50px; border-radius: 13px; background: rgba(232,101,10,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.trust__icon svg { width: 25px; height: 25px; }
.trust__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.trust__body { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── FAQ ── */
.faq { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(232,101,10,.4); box-shadow: var(--shadow); }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; color: var(--ink);
    padding: 20px 24px; cursor: pointer; list-style: none; line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--orange-2); }
.faq__chev { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__chev::before, .faq__chev::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--orange); border-radius: 2px; transition: transform .25s var(--ease); }
.faq__chev::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__chev::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }
.faq__a strong { color: var(--text); font-weight: 600; }
.faq__more { text-align: center; font-size: 14.5px; color: var(--muted); margin: 36px 0 0; }
.faq__more a { color: var(--orange); font-weight: 600; text-decoration: none; }
.faq__more a:hover { text-decoration: underline; }

/* hidden attribute must win over display:flex on groups/fields/checks */
.formgroup[hidden], .field[hidden], .check[hidden], .formmore[hidden] { display: none !important; }

/* ── Mini steps ── */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--center { max-width: 880px; margin: 0 auto; }
.ministep { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 8px; }
.ministep__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(232, 101, 10, .12); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.ministep__icon svg { width: 26px; height: 26px; }
.ministep__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); margin: 4px 0 0; }
.ministep__body { font-size: 14px; color: var(--muted); margin: 0; max-width: 240px; line-height: 1.55; }

/* ── Form ── */
.form-wrap { max-width: 580px; margin: 0 auto; padding: 0 24px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px 34px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 0; }
.formgroup { display: flex; flex-direction: column; gap: 16px; }
.formgroup--optional { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin .3s; gap: 16px; }
.formgroup--optional.open { max-height: 700px; opacity: 1; margin-top: 16px; }
.formgroup__note { font-size: 13px; color: var(--muted); background: var(--bg-muted); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0; line-height: 1.5; }

.formmore {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; margin-top: 18px; padding: 13px 16px; cursor: pointer;
    background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
    font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; color: var(--orange-2);
    transition: border-color .2s, background .2s;
}
.formmore:hover { border-color: var(--orange); background: rgba(232,101,10,.03); }
.formmore__chev { width: 18px; height: 18px; transition: transform .3s var(--ease); flex-shrink: 0; }
.formmore[aria-expanded="true"] .formmore__chev { transform: rotate(180deg); }
.formmore[aria-expanded="true"] { border-style: solid; border-color: var(--orange); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--text); font-family: 'Inter', sans-serif; }
.muted { color: var(--muted-2); font-weight: 400; }
.control {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink);
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; appearance: none;
}
.control::placeholder { color: var(--muted-2); }
.control:hover { border-color: #b6bcc6; }
.control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 101, 10, .15); }
select.control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
.field__hint { font-size: 12px; color: var(--muted-2); line-height: 1.45; }
.field__error { font-size: 12.5px; color: var(--red); font-weight: 500; display: none; }
.field--invalid .control { border-color: var(--red); }
.field--invalid .field__error { display: block; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }
.form__fineprint { font-size: 12px; color: var(--muted-2); text-align: center; margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#submit-btn { margin-top: 22px; }
.btn__spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Alerts ── */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.alert--error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }

/* ── Success ── */
.success { text-align: center; border: 1px solid var(--green-line); background: var(--green-bg); border-radius: 22px; padding: 52px 36px; box-shadow: var(--shadow); }
.success__check { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 4px 14px rgba(5, 150, 105, .18); animation: pop .5s var(--ease); }
@keyframes pop { 0%{transform:scale(.6);opacity:0} 100%{transform:scale(1);opacity:1} }
.success__title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 27px; color: var(--ink); margin: 0 0 8px; }
.success__body { font-size: 15px; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.success__share { font-size: 13.5px; color: var(--text); background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; margin: 0; line-height: 1.55; border: 1px solid var(--green-line); }

/* ── Footer ── */
.footer { background: var(--navy); text-align: center; padding: 52px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__tagline { font-family: 'Sora', sans-serif; font-size: 15px; color: rgba(255,255,255,.7); margin: 8px 0 4px; }
.footer__attr { font-size: 13px; color: rgba(255, 255, 255, .45); margin: 6px 0 0; }
.footer__attr a { color: var(--orange); font-weight: 600; text-decoration: none; }
.footer__attr a:hover { text-decoration: underline; }
.footer__copy { font-size: 12.5px; color: rgba(255, 255, 255, .28); margin: 6px 0 0; max-width: 640px; line-height: 1.5; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 940px) {
    .hero__inner { grid-template-columns: 1fr; gap: 56px; padding: 64px 24px 80px; text-align: center; }
    .hero__copy { max-width: 100%; margin: 0 auto; }
    .hero__sub { margin-inline: auto; }
    .hero__cta { justify-content: center; }
    .swap { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 760px) {
    .section { padding: 64px 0; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
    .stepline { display: none; }
    .trust__grid { grid-template-columns: 1fr; }
    .grid--3 { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
    .hero__title { font-size: clamp(34px, 11vw, 44px); }
    .swap { grid-template-columns: 1fr auto 1fr; gap: 6px; }
    .swap__card { padding: 16px 10px; }
    .swap__avatar { width: 42px; height: 42px; font-size: 18px; }
    .swap__role { font-size: 11.5px; }
    .swap__city { font-size: 10.5px; }
    .swap__track { width: 64px; }
    .swap__arrows { width: 64px; }
    .row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .formgroup--optional { transition: none; }
}
