@font-face { font-family: Cairo; src: url(fonts/Cairo-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cairo; src: url(fonts/Cairo-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Cairo; src: url(fonts/Cairo-Black.ttf) format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E");
  --primary: #F05A28;
  --grad: linear-gradient(135deg, #F26A2E, #EE4B3B);
  --text: #1C1C21;
  --muted: #6B6B76;
  --bg: #FFFFFF;
  --soft: #FFF5F1;
  --border: #EEE7E3;
  --positive: #1E9E5A;
  --negative: #E23B3B;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; font-family: Cairo, "Segoe UI", Tahoma, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; text-align: center; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 28px; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 640px; }
.sub.start { text-align: start; margin-inline: 0; }

.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 10px; border: 2px solid var(--primary); font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.big { padding: 13px 26px; font-size: 1.05rem; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 1.3rem; }
.brand img { border-radius: 9px; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { color: var(--text); text-decoration: none; font-weight: 700; padding: 6px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.links a:hover { color: var(--primary); background: var(--soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
/* Language switch: a quiet text link next to the buttons; stays visible on mobile. */
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; transition: border-color .15s, color .15s; }
.lang::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--globe) center / contain no-repeat; mask: var(--globe) center / contain no-repeat; }
.lang:hover { color: var(--primary); border-color: var(--primary); }
.nav .btn { padding: 9px 20px; border-radius: 999px; line-height: 1.2; }

/* Hero */
.hero { background: radial-gradient(circle at 15% 20%, #FFE4D8 0, transparent 45%), var(--soft); padding: 56px 0 72px; }
[dir="ltr"] .hero { background: radial-gradient(circle at 85% 20%, #FFE4D8 0, transparent 45%), var(--soft); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 700; margin: 0 0 8px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #3A3A44; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li::before { content: "✓"; color: var(--positive); font-weight: 900; margin-inline-end: 8px; }

/* Phone mockup */
.phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 18.5; background: #1C1C21; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(240,90,40,.25); }
.screen { background: #F7F7F9; border-radius: 30px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.app-head { background: var(--grad); color: #fff; padding: 18px 16px 70px; position: relative; }
.hello { font-weight: 700; }
.balance { position: absolute; inset-inline: 16px; bottom: -44px; background: #fff; color: var(--text); border: 2px dashed var(--primary); border-radius: 14px; padding: 10px; text-align: center; }
.balance small { display: block; color: var(--muted); }
.balance b { font-size: 1.5rem; color: var(--primary); font-weight: 900; }
.balance b span { font-size: .9rem; color: var(--text); font-weight: 700; }
.balance em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }
.app-body { padding: 56px 12px 12px; display: grid; gap: 8px; font-size: .82rem; }
.row-title { font-weight: 900; margin-top: 4px; }
.tx { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.tx div { flex: 1; display: grid; line-height: 1.3; }
.tx small { color: var(--muted); }
.logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; color: #fff; }
.c1 { background: #2F7DD1; } .c2 { background: #1E9E5A; } .c3 { background: #B5651D; }
.plus { color: var(--positive); font-weight: 900; direction: ltr; }
.minus { color: var(--negative); font-weight: 900; direction: ltr; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; }

/* Bands */
.band { padding: 72px 0; }
.band.alt { background: var(--soft); }
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }
.ic { font-size: 1.6rem; margin-bottom: 6px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(240,90,40,.15); }
.tag { position: absolute; top: -14px; inset-inline-start: 20px; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; padding: 2px 12px; border-radius: 999px; }
.price { margin: 6px 0 14px; }
.price b { font-size: 2rem; font-weight: 900; color: var(--primary); }
.price del { color: var(--muted); }
.price span { color: var(--muted); }
.plan ul { padding-inline-start: 18px; margin: 0 0 18px; color: #3A3A44; }
.note { text-align: center; color: var(--muted); margin-top: 24px; }

/* Join form */
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.join-grid h2 { text-align: start; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #D9D2CE; border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg.ok { color: var(--positive); }
.form-msg.err { color: var(--negative); }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
details p { color: var(--muted); margin: 8px 0 0; }

/* Footer */
.foot { background: var(--text); color: #fff; padding: 44px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.foot .brand { color: #fff; }
.foot-about p { color: #C9C9D1; margin: 10px 0 0; font-size: .95rem; }
.foot-about .lang { margin-top: 16px; color: #fff; border-color: rgba(255,255,255,.25); }
.foot-about .lang:hover { color: #FFC7B3; border-color: #FFC7B3; }
.foot-col { display: grid; align-content: start; gap: 8px; }
.foot-col b { color: #fff; margin-bottom: 4px; }
.foot a { color: #FFC7B3; text-decoration: none; }
.foot-col a { color: #C9C9D1; }
.foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 16px; color: #9A9AA6; }

@media (max-width: 900px) {
  .nav-row { flex-wrap: wrap; row-gap: 0; }
  .nav-cta { margin-inline-start: auto; }
  .links { order: 3; width: 100%; margin: 0 -12px 8px; overflow-x: auto; scrollbar-width: none; }
  .links a { white-space: nowrap; font-size: .95rem; }
  .hero-grid, .join-grid { grid-template-columns: 1fr; }
  .steps, .cards, .cards.three, .plans { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-cta .ghost { display: none; }
  .nav-row { gap: 12px; }
  .nav-cta { gap: 4px; }
  .lang { padding: 8px 10px; }
  .nav .btn { padding: 8px 14px; }
  .steps, .cards, .cards.three, .plans, .two { grid-template-columns: 1fr; }
  .band { padding: 52px 0; }
}

/* Policy pages */
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; }
.doc h2 { text-align: start; font-size: 1.35rem; margin-top: 1.6em; }
.doc h3 { margin-top: 1em; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--muted); }

/* Sign-in chooser */
.login { min-height: calc(100vh - 68px - 90px); display: grid; place-items: center; padding: 56px 0; background: radial-gradient(circle at 85% 10%, #FFE4D8 0, transparent 40%), radial-gradient(circle at 10% 90%, #FFE9DF 0, transparent 35%), var(--soft); }
[dir="ltr"] .login { background: radial-gradient(circle at 15% 10%, #FFE4D8 0, transparent 40%), radial-gradient(circle at 90% 90%, #FFE9DF 0, transparent 35%), var(--soft); }
.login-card { width: min(640px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 30px 60px rgba(240,90,40,.12); text-align: center; }
.login-card .mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 24px rgba(240,90,40,.3); }
.login-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 16px 0 4px; }
.login-card .sub { margin-bottom: 28px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { display: grid; justify-items: center; gap: 6px; padding: 28px 16px 24px; background: #fff; border: 2px solid var(--border); border-radius: 18px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.choice:hover, .choice:focus-visible { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(240,90,40,.15); outline: none; }
.choice .badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); margin-bottom: 6px; transition: background .15s, color .15s; }
.choice:hover .badge, .choice:focus-visible .badge { background: var(--grad); color: #fff; }
.choice .badge svg { width: 30px; height: 30px; }
.choice b { font-size: 1.3rem; font-weight: 900; }
.choice small { color: var(--muted); line-height: 1.5; }
.choice .go { margin-top: 8px; color: var(--primary); font-weight: 700; }
.login-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--border); color: var(--muted); }
.login-more a { font-weight: 700; text-decoration: none; }
.login-more a:hover { text-decoration: underline; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } .choice { grid-template-columns: auto 1fr; justify-items: start; text-align: start; column-gap: 14px; padding: 18px; } .choice .badge { grid-row: span 3; margin: 0; width: 52px; height: 52px; } .choice .go { display: none; } }
