/* ============================================================
   Kirya — marketing site styles
   Brand: deep-green gradients + gold accents (matches the app)
   ============================================================ */
:root {
  --green: #0F9D58;
  --green-dark: #0B6B3A;
  --green-deep: #06321f;
  --teal: #1FA2A6;
  --gold: #D4AF37;
  --gold-light: #F2D479;
  --ink: #0a1f17;
  --bg: #061a12;
  --bg-2: #0a2a1c;
  --card: rgba(255, 255, 255, 0.05);
  --card-brd: rgba(255, 255, 255, 0.10);
  --text: #eaf3ee;
  --muted: #9fb6ab;
  --radius: 18px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }

/* ambient animated background ---------------------------------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  animation: drift 18s ease-in-out infinite;
}
.orb.o1 { width: 460px; height: 460px; background: #15c87a55; top: -120px; left: -100px; }
.orb.o2 { width: 520px; height: 520px; background: #1fa2a644; bottom: -160px; right: -120px; animation-delay: -6s; }
.orb.o3 { width: 360px; height: 360px; background: #d4af3733; top: 40%; left: 55%; animation-delay: -11s; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(1200px 700px at 10% -10%, #0e5a3a 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #0a3a4a 0%, transparent 55%),
    linear-gradient(180deg, #07251a 0%, #051710 100%);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* nav ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 26, 18, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.nav.scrolled { background: rgba(6, 26, 18, 0.85); border-color: var(--card-brd); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .2px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 24px -8px var(--green); transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px var(--green); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--card); border: 1px solid var(--card-brd); color: var(--text);
  padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; font-family: inherit;
}
.lang-toggle svg { width: 15px; height: 15px; opacity: .8; }
.lang-menu {
  position: absolute; right: 0; top: 124%; min-width: 130px;
  background: #0a1f16; border: 1px solid var(--card-brd); border-radius: 12px; padding: 6px;
  display: none; box-shadow: var(--shadow); z-index: 60;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  color: var(--muted); padding: 9px 12px; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 600;
}
.lang-menu button:hover { background: var(--card); color: #fff; }
[dir="rtl"] .lang-menu { right: auto; left: 0; text-align: right; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .benefits li, [dir="rtl"] .cinfo .row { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .hero p.lead { margin-inline: 0 auto; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s; }

/* hero --------------------------------------------------------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 2px;
  font-size: 12px; color: #2a1c00;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 20px -8px var(--gold);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04; font-weight: 800; margin: 18px 0 16px;
  letter-spacing: -1px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 520px; }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0c130f; border: 1px solid var(--card-brd); color: #fff;
  padding: 11px 18px; border-radius: 14px; transition: transform .2s, border-color .2s, background .2s;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--gold); background: #11201a; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }
.store-btn b { font-size: 16px; font-weight: 700; }

/* hero phones */
.phones { position: relative; height: 540px; display: flex; align-items: center; justify-content: center; }
.phone {
  position: absolute; width: 230px; border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid #0b1a13;
  animation: floaty 6s ease-in-out infinite;
}
.phone.p-back-l { left: 4%; transform: rotate(-9deg) translateY(20px); width: 200px; opacity: .9; animation-delay: -2s; }
.phone.p-back-r { right: 4%; transform: rotate(9deg) translateY(20px); width: 200px; opacity: .9; animation-delay: -4s; }
.phone.p-front { z-index: 2; transform: translateY(-10px); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }

/* stats -------------------------------------------------------- */
.stats { padding: 18px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.stat .num { font-size: 36px; font-weight: 800; color: var(--gold-light); }
.stat .lab { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* generic section heading -------------------------------------- */
.head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.head .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }
.head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 10px 0 12px; letter-spacing: -.5px; }
.head p { color: var(--muted); }
.pad { padding: 84px 0; }

/* feature cards ------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 26px; transition: transform .3s, border-color .3s, background .3s;
}
.feat:hover { transform: translateY(-6px); border-color: var(--green); background: rgba(15,157,88,.08); }
.feat .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff;
}
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* showcase ----------------------------------------------------- */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: #1c3a2c; border-radius: 8px; }
.shot {
  flex: 0 0 auto; width: 240px; scroll-snap-align: center; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--card-brd); box-shadow: var(--shadow);
  transition: transform .3s;
}
.shot:hover { transform: translateY(-8px) scale(1.02); }

/* eSIM section ------------------------------------------------- */
/* Tall portrait poster (capped) beside a 2×2 grid of landscape cards. */
.esim-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.esim-hero {
  display: block; max-width: 340px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--card-brd); box-shadow: var(--shadow); transition: transform .3s;
}
.esim-hero:hover { transform: translateY(-4px); }
.esim-hero img { width: 100%; height: auto; display: block; }
.esim-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.esim-card {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--card-brd); box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s; display: block; background: #07140e; line-height: 0;
}
.esim-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.esim-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.esim-cta { grid-column: 1 / -1; line-height: normal; margin-top: 4px; }
@media (max-width: 920px) {
  .esim-grid { grid-template-columns: 1fr; }
  .esim-hero { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 560px) { .esim-cards { grid-template-columns: 1fr; } }

/* pricing tiers ----------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 20px; padding: 28px;
  transition: transform .3s, border-color .3s, background .3s;
}
.tier:hover { transform: translateY(-6px); border-color: var(--green); }
.tier.featured { border-color: var(--gold); background: rgba(212,175,55,.06); box-shadow: var(--shadow); }
.tier .pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2a1c00;
  font-weight: 800; font-size: 11px; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 22px; font-weight: 800; }
.tier .tagline { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 40px; }
.tier .price { font-size: 42px; font-weight: 800; margin: 14px 0 2px; color: var(--gold-light); }
.tier .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.tier ul { list-style: none; display: grid; gap: 10px; margin: 18px 0; flex: 1; }
.tier li { display: flex; gap: 10px; color: var(--muted); font-size: 14px; align-items: flex-start; }
.tier li svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; margin-top: 1px; }
.tier .btn { margin-top: auto; }
[dir="rtl"] .tier li { flex-direction: row-reverse; text-align: right; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; } }

/* split (vendor) ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.benefits { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.benefits .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(15,157,88,.18); color: var(--green); margin-top: 2px;
}
.benefits b { color: var(--text); }

/* glass panel / forms ----------------------------------------- */
.panel {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; background: #07140e; border: 1px solid var(--card-brd); color: var(--text);
  padding: 12px 14px; border-radius: 12px; font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; font-family: inherit;
  box-shadow: 0 12px 26px -10px var(--green); transition: transform .2s, box-shadow .2s; width: 100%;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px var(--green); }
.btn.gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2a1c00; box-shadow: 0 12px 26px -10px var(--gold); }
.form-note { color: var(--muted); font-size: 13px; margin-top: 10px; }
.form-ok { color: var(--gold-light); font-weight: 700; margin-top: 12px; display: none; }
.form-ok.show { display: block; }

/* jobs --------------------------------------------------------- */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.job {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: border-color .3s, transform .3s;
}
.job:hover { border-color: var(--gold); transform: translateY(-4px); }
.job h3 { font-size: 18px; }
.job .meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tag { font-size: 12px; font-weight: 700; color: var(--green); background: rgba(15,157,88,.15); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* newsletter band --------------------------------------------- */
.band {
  background: linear-gradient(135deg, rgba(15,157,88,.22), rgba(31,162,166,.18));
  border: 1px solid var(--card-brd); border-radius: 26px; padding: 44px; text-align: center;
}
.inline-form { display: flex; gap: 12px; max-width: 480px; margin: 22px auto 0; }
.inline-form input { flex: 1; }
.inline-form .btn { width: auto; padding-inline: 26px; }

/* download cta ------------------------------------------------- */
.dl {
  text-align: center; background:
    radial-gradient(700px 300px at 50% 0%, rgba(212,175,55,.18), transparent 70%);
  padding: 90px 0;
}

/* contact ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.cinfo { display: grid; gap: 16px; }
.cinfo .row { display: flex; gap: 14px; align-items: center; }
.cinfo .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--card-brd); color: var(--gold-light); }
.cinfo a, .cinfo span { color: var(--muted); }

/* footer ------------------------------------------------------- */
footer { border-top: 1px solid var(--card-brd); margin-top: 40px; padding: 56px 0 30px; background: rgba(4,18,12,.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 280px; margin-top: 12px; }
.foot h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--muted); font-size: 15px; transition: color .2s; }
.foot a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--card-brd); transition: .2s; }
.socials a:hover { border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--card-brd); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.mini-store { display: flex; gap: 10px; }
.mini-store a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--card-brd); padding: 8px 12px; border-radius: 10px; transition: .2s; }
.mini-store a:hover { color: #fff; border-color: var(--gold); }
.mini-store svg { width: 18px; height: 18px; }

/* scroll-reveal ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* legal pages -------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0 30px; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; color: var(--gold-light); }
.legal p, .legal li { color: #cfe0d7; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.legal a { color: var(--gold-light); text-decoration: underline; }

/* responsive --------------------------------------------------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 460px; margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6,26,18,.97); border-bottom: 1px solid var(--card-brd);
    max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav-links.open { max-height: 420px; }
  .nav-links a { width: 100%; padding: 16px 22px; border-bottom: 1px solid var(--card-brd); }
  .nav-links .nav-cta { margin: 14px 22px; width: calc(100% - 44px); text-align: center; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
}
