:root {
  color-scheme: dark;
  --bg: #061219;
  --surface: #0d252d;
  --surface-2: #12343c;
  --text: #f3fbfa;
  --muted: #a8c0c2;
  --accent: #4de4d0;
  --accent-dark: #06352f;
  --warm: #ffad42;
  --line: rgba(188, 232, 228, .16);
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 8% 3%, rgba(77, 228, 208, .15), transparent 28rem),
    radial-gradient(circle at 94% 14%, rgba(255, 173, 66, .11), transparent 24rem),
    linear-gradient(180deg, #061219, #071920 50%, #050d12);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 15, 20, .78);
  backdrop-filter: blur(22px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 12px 34px rgba(255, 173, 66, .16); }
.nav-links, .language-switch, .hero-actions, .chips, .footer-links { display: flex; align-items: center; gap: 10px; }
.nav-links a, .footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.nav-links a:hover, .footer-links a:hover { color: var(--accent); }
.language-switch { padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}
.language-switch button.active { color: var(--accent-dark); background: var(--accent); }
.hero { min-height: 770px; display: grid; align-items: center; padding: 86px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr); align-items: center; gap: 70px; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--accent); font-size: .83rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 680px; margin: 24px 0 0; color: #c2d5d6; font-size: 1.15rem; line-height: 1.75; }
.hero-actions { flex-wrap: wrap; margin-top: 30px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-weight: 820;
}
.button.primary { color: var(--accent-dark); border-color: transparent; background: var(--accent); box-shadow: 0 18px 50px rgba(77,228,208,.2); }
.chips { flex-wrap: wrap; margin-top: 26px; }
.chips span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.04); font-size: .86rem; font-weight: 720; }
.hero-visual { position: relative; width: min(100%, 420px); justify-self: center; }
.hero-visual::before { content: ""; position: absolute; inset: 10% -18%; z-index: -1; background: radial-gradient(circle, rgba(77,228,208,.25), transparent 60%); filter: blur(28px); }
.hero-visual img { width: 100%; border-radius: 38px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.float-card {
  position: absolute;
  right: -34px;
  bottom: 38px;
  width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #d8e9e8;
  background: rgba(10, 32, 39, .88);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  font-size: .92rem;
  font-weight: 760;
  line-height: 1.45;
}
section { padding: 86px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-copy { margin: 18px 0 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature-card { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(19,53,62,.9), rgba(10,30,37,.72)); box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.feature-card .number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; color: var(--accent-dark); background: var(--accent); font-weight: 900; }
.feature-card:nth-child(2n) .number { background: var(--warm); color: #3b2300; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 31%); gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) transparent; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.28); }
.gallery figcaption { padding: 14px 6px 0; color: var(--muted); font-size: .92rem; font-weight: 730; }
.privacy-callout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 38px; border: 1px solid rgba(77,228,208,.28); border-radius: var(--radius); background: linear-gradient(135deg, rgba(77,228,208,.12), rgba(255,173,66,.07)), var(--surface); }
.privacy-callout h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.privacy-callout p { max-width: 760px; margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
footer { padding: 34px 0 42px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.policy-hero { padding: 84px 0 38px; }
.policy-hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 92px; }
.policy-nav { position: sticky; top: 106px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,37,45,.72); }
.policy-nav a { display: block; padding: 9px 8px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 720; }
.policy-nav a:hover { color: var(--accent); }
.policy-content { padding: 10px 32px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(9,28,35,.74); }
.policy-content section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { font-size: 1.7rem; letter-spacing: -.025em; }
.policy-content p, .policy-content li { color: #b6cccd; line-height: 1.75; }
.policy-content a { color: var(--accent); }
.updated { display: inline-flex; margin-top: 18px; padding: 9px 12px; border-radius: 999px; color: var(--accent); background: rgba(77,228,208,.1); font-size: .9rem; font-weight: 760; }
.not-found { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(4rem, 18vw, 9rem); color: var(--accent); }
.not-found p { color: var(--muted); }
[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; }
[dir="rtl"] .float-card { right: auto; left: -34px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(82vw, 410px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { display: none; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { padding: 10px 0; flex-wrap: wrap; justify-content: center; }
  .brand { width: 100%; justify-content: center; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 44px; }
  .hero-actions .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 84%; }
  .float-card { right: -4px; bottom: 22px; }
  [dir="rtl"] .float-card { left: -4px; }
  .privacy-callout { grid-template-columns: 1fr; padding: 28px; }
  .policy-content { padding-inline: 20px; }
}
