/* ==========================================================================
   LocalCloud — Design Tokens
   קונספט: "טרמינל בקרה" — חלון טרמינל חי במקום גרפיקת מרקטינג גנרית,
   בגוונים כחול-לילה (צבע המותג) עם נגיעת ענבר לניגוד ואנרגיה.
   ========================================================================== */
:root {
  /* Color */
  --bg: #060a13;
  --bg-elevated: #0a101d;
  --panel: #0d1422;
  --panel-2: #111a2b;
  --border: #1e2b45;
  --border-soft: #172236;
  --text: #eef2fb;
  --text-dim: #93a1c2;
  --text-faint: #5b6884;
  --accent: #2f7bff;
  --accent-2: #8fbaff;
  --accent-deep: #1a4fd6;
  --accent-glow: rgba(47, 123, 255, 0.35);
  --pop: #ffb020;
  --pop-deep: #d98c00;
  --pop-glow: rgba(255, 176, 32, 0.3);
  --good: #34d399;
  --danger: #ff6b6b;

  /* Type */
  --font-display: 'Suez One', 'Rubik', serif;
  --font-body: 'Assistant', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1240px;
  --radius-sm: 6px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --shadow-panel: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  --header-h: 76px;
}

html[data-theme="light"] {
  --bg: #f5f8fd;
  --bg-elevated: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef3fb;
  --border: #d8e2f2;
  --border-soft: #e5ecf8;
  --text: #0b111e;
  --text-dim: #4c5975;
  --text-faint: #8592ab;
  --accent-glow: rgba(26, 79, 214, 0.16);
}
html[data-theme="light"] .brand span {
  background: linear-gradient(90deg, #0b111e, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="light"] .btn-primary { color: #060a13; }
html[data-theme="light"] .site-header { background: rgba(245, 248, 253, 0.85); }

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--text);
  font-family: var(--font-body);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] body {
  background-image: radial-gradient(circle, rgba(11, 17, 30, 0.045) 1px, transparent 1px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  background: rgba(37, 116, 255, 0.1);
  border: 1px solid rgba(37, 116, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 14px 0 12px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0;
}

/* אין טבעת מיקוד כחולה — במקום זאת האלמנטים גדלים קלות במעבר עכבר/מיקוד */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: none;
}

/* ==========================================================================
   Signature: wave/contour divider (מוטיב "מקומי" — קווי גובה טופוגרפיים)
   ========================================================================== */
.wave-divider {
  width: 100%;
  height: 40px;
  color: var(--border);
  opacity: 0.9;
}
.wave-divider path {
  stroke: currentColor;
}
.wave-divider circle {
  fill: var(--pop);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 34px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  background: linear-gradient(90deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  inset-inline-start: 50%;
  inset-inline-end: 50%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--pop));
  transition: inset-inline-start .2s ease, inset-inline-end .2s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { inset-inline-start: 14px; inset-inline-end: 14px; }
.main-nav a.contact-mobile { display: none; }
.main-nav a.contact-mobile::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.client-panel-wrap { position: relative; }
.client-panel-wrap .btn .chevron { transition: transform .15s ease; }
.client-panel-wrap .btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.client-panel-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  box-shadow: var(--shadow-panel);
  z-index: 60;
}
.client-panel-menu.open { display: grid; }
.client-panel-card {
  width: 132px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.client-panel-card:hover {
  background: var(--panel-2);
  transform: translateY(-2px);
}
.client-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 116, 255, 0.12);
  color: var(--accent-2);
}
.client-panel-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.client-panel-sub { font-size: 11.5px; color: var(--text-dim); line-height: 1.4; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
  flex-shrink: 0;
}
.icon-btn:hover, .icon-btn:focus-visible { color: var(--text); background: var(--panel); transform: scale(1.08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: scale(1.04); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #060a13;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 14px 34px -8px var(--accent-glow); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--panel-2); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dim);
}
.btn-outline:hover { color: var(--text); }

.btn-glass {
  background: rgba(47, 123, 255, 0.08);
  border-color: rgba(47, 123, 255, 0.25);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-glass:hover, .btn-glass[aria-expanded="true"] {
  background: rgba(47, 123, 255, 0.16);
  border-color: var(--accent);
  box-shadow: 0 10px 26px -14px var(--accent-glow);
}

.btn-plan {
  background: #fff;
  color: #0b1220;
}
.btn-plan:hover, .btn-plan:focus-visible {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

.nav-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(600px 320px at 78% 10%, rgba(37, 116, 255, 0.22), transparent 70%),
    radial-gradient(480px 300px at 15% 30%, rgba(198, 255, 92, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.22;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-2), var(--pop));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: var(--text-dim);
  font-size: 17.5px;
  max-width: 560px;
  margin: 20px 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---- Isometric server cluster: איור מקורי זוהר, במקום גרפיקת מרקטינג גנרית ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.iso-cluster {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: iso-float 6s ease-in-out infinite;
}
@keyframes iso-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .iso-cluster { animation: none; }
}
.iso-glow-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(6px);
}
.iso-illustration {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 25px 40px rgba(47, 123, 255, 0.35));
}

/* אנימציות עדינות לקוביות - כל קובייה מרחפת בקצב ומושהה שונה לתחושה אורגנית */
.iso-cube {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-cube-float 4.5s ease-in-out infinite;
}
.iso-cube-a { animation-duration: 5.2s; animation-delay: -.6s; }
.iso-cube-b { animation-duration: 4.6s; animation-delay: -1.8s; }
.iso-cube-c { animation-duration: 5.6s; animation-delay: -3s; }
.iso-cube-d { animation-duration: 3.8s; animation-delay: -2.2s; }
@keyframes iso-cube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.iso-chip {
  animation: iso-chip-glow 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.iso-chip-delay { animation-delay: 1.1s; }
@keyframes iso-chip-glow {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.iso-screen {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-screen-pulse 2.2s ease-in-out infinite;
}
@keyframes iso-screen-pulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.iso-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-ring-spin 6s linear infinite;
  stroke-dasharray: 8 6;
}
@keyframes iso-ring-spin { to { transform: rotate(360deg); } }
.iso-ring-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-ring-glow-pulse 2.2s ease-in-out infinite;
}
@keyframes iso-ring-glow-pulse {
  0%, 100% { opacity: .4; transform: scale(.9); }
  50% { opacity: .9; transform: scale(1.15); }
}

.iso-conn-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-conn-pulse 2.6s ease-in-out infinite;
}
.iso-conn-dot-delay { animation-delay: 1.3s; }
@keyframes iso-conn-pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .iso-cube, .iso-chip, .iso-screen, .iso-ring, .iso-ring-glow, .iso-conn-dot { animation: none; }
}

.iso-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  box-shadow: var(--shadow-panel);
  z-index: 2;
  white-space: nowrap;
}
.iso-badge strong { color: var(--text); font-family: var(--font-mono); }
.iso-badge-top { top: 6%; inset-inline-start: -4%; }
.iso-badge-bottom { bottom: 8%; inset-inline-end: -2%; }
.iso-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  flex-shrink: 0;
  animation: status-blink 2.4s ease-in-out infinite;
}
.iso-badge-dot-pop { background: var(--pop); box-shadow: 0 0 0 4px var(--pop-glow); }
@keyframes status-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .iso-badge-dot { animation: none; }
}

@media (max-width: 560px) {
  .iso-badge { padding: 7px 12px; font-size: 11px; }
  .iso-badge-top { top: 2%; inset-inline-start: -2%; }
  .iso-badge-bottom { bottom: 4%; inset-inline-end: 0; }
}


/* ==========================================================================
   Services / Tabs
   ========================================================================== */
.tabs {
  display: inline-flex;
  direction: ltr;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  gap: 4px;
  margin: 0 auto 44px;
  width: 100%;
  max-width: 640px;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  transition: background .2s ease, color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.tab-btn svg { flex-shrink: 0; opacity: .8; }
.tab-btn:hover, .tab-btn:focus-visible { color: var(--text); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
.tab-btn.active svg { opacity: 1; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.plans-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plans-grid.plans-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

.plan-card {
  direction: rtl;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, var(--accent-glow), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px -30px var(--accent-glow);
}
.plan-card:hover::before { opacity: 1; }

.plan-card-popular {
  border-color: var(--pop);
  box-shadow: 0 20px 50px -28px var(--pop-glow);
}
.plan-card-popular:hover { border-color: var(--pop); box-shadow: 0 24px 55px -26px var(--pop-glow); }

.plan-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: linear-gradient(135deg, var(--pop), var(--pop-deep));
  color: #241900;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-icon-plate {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px var(--accent-glow);
  margin-bottom: 18px;
}
.plan-name { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.plan-tagline { color: var(--text-dim); font-size: 13px; min-height: 34px; line-height: 1.4; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 20px; }
.plan-price-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-price-period { font-size: 13px; color: var(--text-faint); }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-dim); }
.plan-check {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--good);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.plan-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(47, 123, 255, 0.12);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plans-spotlight {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  direction: rtl;
}

.spotlight-featured {
  position: relative;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--pop);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 30px 60px -30px var(--pop-glow);
  overflow: hidden;
}
.spotlight-featured::before {
  content: '';
  position: absolute;
  top: -60px; inset-inline-end: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--pop);
  opacity: .15;
  filter: blur(50px);
  pointer-events: none;
}
.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--pop), var(--pop-deep));
  color: #241900;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.spotlight-icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px; }
.spotlight-name { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.spotlight-tagline { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.spotlight-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.spotlight-price .plan-price-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--text), var(--pop));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spotlight-price .plan-price-period { font-size: 13px; color: var(--text-faint); }
.spotlight-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.spotlight-features li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dim); }

.spotlight-list { display: flex; flex-direction: column; gap: 10px; }
.spotlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.spotlight-row:hover { border-color: var(--accent); background: var(--panel-2); transform: translateX(-3px); }
.spotlight-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spotlight-row-name { font-weight: 700; font-size: 14.5px; color: var(--text); }
.spotlight-row-specs { font-size: 12px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-row-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.spotlight-row-price { font-family: var(--font-mono); font-weight: 700; color: var(--text); font-size: 15px; white-space: nowrap; }
.spotlight-row-cta .btn-outline { padding: 8px 16px; font-size: 12.5px; }

@media (max-width: 900px) {
  .plans-spotlight { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .spotlight-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .spotlight-row-cta { justify-content: space-between; }
}

.custom-plan-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.custom-plan-card .plan-icon { margin: 0 auto 18px; }
.custom-plan-card h3 { font-size: 22px; margin-bottom: 8px; }
.custom-plan-card p { color: var(--text-dim); margin: 0 0 26px; }
.assurance-box {
  background: rgba(37, 116, 255, 0.08);
  border: 1px solid rgba(37, 116, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.chip svg { color: var(--accent-2); }

/* ==========================================================================
   Discord CTA
   ========================================================================== */
.discord-section {
  background: transparent;
  border: none;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 54px;
  overflow: hidden;
}
.cta-banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.cta-banner-glow-a {
  width: 340px; height: 340px;
  background: var(--accent);
  opacity: .18;
  top: -140px; inset-inline-start: -80px;
}
.cta-banner-glow-b {
  width: 280px; height: 280px;
  background: var(--pop);
  opacity: .14;
  bottom: -120px; inset-inline-end: -60px;
}
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner-card { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(47, 123, 255, 0.12);
  border: 1px solid rgba(47, 123, 255, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.discord-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: right;
  box-shadow: 0 25px 50px -25px rgba(0, 0, 0, 0.5);
}
.discord-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.discord-avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -10px var(--accent-glow);
}
.discord-avatar img { width: 100%; height: 100%; object-fit: cover; }
.discord-name { font-weight: 700; font-size: 16.5px; display: flex; align-items: center; gap: 6px; }
.discord-counts {
  display: flex; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
}
.discord-counts .online { color: var(--good); }
.discord-counts .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); display: inline-block; margin-inline-end: 4px; }
.discord-counts .dot.grey { background: var(--text-faint); }
.discord-card p.desc { color: var(--text-dim); font-size: 13.5px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border-soft); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-panel {
  position: relative;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 54px 44px 44px;
  overflow: hidden;
}
.contact-panel-head { position: relative; z-index: 1; margin-bottom: 8px; }

.contact-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
}
.contact-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-soft);
  margin: 6px 0;
}
.contact-item {
  flex: 1;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  transition: background .2s ease, transform .2s ease;
}
.contact-item:hover { background: rgba(47, 123, 255, 0.08); transform: translateY(-2px); }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -10px var(--accent-glow);
  transition: transform .2s ease;
}
.contact-item:hover .contact-item-icon { transform: scale(1.08) rotate(-4deg); }
.contact-item-text { display: flex; flex-direction: column; min-width: 0; }
.contact-item-text strong { font-size: 14px; color: var(--text); }
.contact-item-text span { font-size: 13px; color: var(--text-dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-item:hover .contact-item-text span { color: var(--accent-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color .15s ease, transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.footer-social a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 10px 22px -10px var(--accent-glow);
}

.footer-col h4 { font-size: 14.5px; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 36px;
  color: var(--text-faint);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span.made { font-family: var(--font-mono); }

/* ==========================================================================
   Modal (purchase confirmation)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-overlay.open { display: flex; opacity: 1; }

.modal-box {
  width: 100%;
  max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.65), 0 0 60px -20px var(--accent-glow);
  position: relative;
  animation: modal-pop .45s cubic-bezier(.22, 1.4, .36, 1);
}
@keyframes modal-pop {
  0% { opacity: 0; transform: translateY(40px) scale(.85) rotate(-2deg); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.02) rotate(.5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-box { animation: none; }
  .modal-overlay { transition: none; }
}

.modal-box .modal-close {
  position: absolute;
  top: -14px;
  inset-inline-end: -14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 3px solid var(--panel);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px var(--accent-glow);
  transition: transform .15s ease;
  z-index: 2;
}
.modal-box .modal-close:hover { transform: scale(1.1) rotate(90deg); }

.modal-ticket-top { padding: 34px 26px 22px; text-align: center; }
.modal-check-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.modal-check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--good), #1f9d76);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(52, 211, 153, 0.55);
}
.modal-title { font-size: 21px; margin-bottom: 6px; }
.modal-subtitle { color: var(--text-dim); font-size: 13.5px; margin: 0 0 20px; }
.modal-plan-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.14), rgba(255, 176, 32, 0.1));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px 26px;
}
.modal-plan-label { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.modal-plan-name { font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--text); }

.modal-ticket-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
}
.modal-divider-line { flex: 1; border-top: 2px dashed var(--border-soft); }
.modal-divider-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; opacity: .6; }

.modal-ticket-bottom { padding: 22px 24px 26px; }

.modal-invite-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: right;
}
.modal-invite-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px var(--accent-glow);
}
.modal-invite-text { flex: 1; min-width: 0; }
.modal-invite-title { font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.modal-invite-text p { color: var(--text-dim); font-size: 13px; margin: 0 0 6px; }
.modal-invite-text a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-2);
  word-break: break-all;
}
.modal-invite-text a:hover { text-decoration: underline; }
.modal-actions { display: flex; gap: 10px; }

/* ==========================================================================
   Terms of Service page
   ========================================================================== */
.tos-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.tos-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.tos-wrap { max-width: 820px; margin: 0 auto; padding: 60px 28px 100px; }.tos-wrap h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.tos-updated { color: var(--text-faint); font-family: var(--font-mono); font-size: 13px; margin-bottom: 44px; }
.tos-wrap h2 {
  font-size: 21px;
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.tos-wrap h3 { font-size: 16px; margin: 22px 0 8px; color: var(--accent-2); }
.tos-wrap p, .tos-wrap li { color: var(--text-dim); font-size: 15px; margin: 0 0 10px; }
.tos-wrap ul, .tos-wrap ol { padding-inline-start: 22px; margin-bottom: 14px; }
.tos-wrap ul li { list-style: disc; }
.tos-wrap ol li { list-style: decimal; }
.tos-wrap strong { color: var(--text); }
.tos-disclaimer {
  margin-top: 50px;
  padding: 18px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ==========================================================================
   Accessibility widget
   ========================================================================== */
.a11y-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #060a13;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
  z-index: 200;
  transition: transform .15s ease;
}
.a11y-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: a11y-pulse 2.6s ease-out infinite;
}
@keyframes a11y-pulse {
  0% { opacity: .55; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.35); }
}
.a11y-fab:hover { transform: scale(1.08); }
.a11y-fab[aria-expanded="true"] { transform: scale(0.95); }

.a11y-panel {
  position: fixed;
  bottom: 88px;
  left: 22px;
  width: 320px;
  max-width: calc(100vw - 44px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  z-index: 200;
  display: none;
  overflow: hidden;
  animation: modal-in .18s ease;
}
.a11y-panel.open { display: block; }
.a11y-panel-head {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #060a13;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
}
.a11y-panel-head span { display: flex; align-items: center; gap: 8px; }
.a11y-panel-head .modal-close { background: rgba(6, 16, 25, 0.15); color: #060a13; }
.a11y-panel-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; max-height: 70vh; overflow-y: auto; }

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.a11y-stepper { display: flex; align-items: center; gap: 4px; }
.a11y-stepper button {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  transition: border-color .15s ease, transform .15s ease;
}
.a11y-stepper button:hover { border-color: var(--accent); transform: scale(1.05); }
#a11yTextReset { min-width: 54px; }

.a11y-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.a11y-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px 6px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
.a11y-chip svg { color: var(--text-dim); transition: color .15s ease; }
.a11y-chip:hover { transform: translateY(-1px); border-color: var(--accent); }
.a11y-chip[aria-pressed="true"] {
  background: rgba(37, 116, 255, 0.14);
  border-color: var(--accent);
  color: var(--text);
}
.a11y-chip[aria-pressed="true"] svg { color: var(--accent-2); }
.a11y-chip-wide { grid-column: 1 / -1; flex-direction: row; }

.a11y-statement-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  padding-top: 2px;
}
.a11y-statement-link:hover { color: var(--accent-2); }

/* אפקטים בפועל */
html.a11y-zoomed body { zoom: var(--a11y-zoom, 1); }

html[data-a11y-contrast="high"] {
  --bg: #000000;
  --bg-elevated: #000000;
  --panel: #0a0a0a;
  --panel-2: #141414;
  --border: #ffffff;
  --border-soft: #cccccc;
  --text: #ffffff;
  --text-dim: #ffffff;
  --text-faint: #dddddd;
  --accent: #ffe066;
  --accent-2: #ffe066;
  --accent-deep: #ffc700;
  --accent-glow: rgba(255, 224, 102, 0.35);
  --good: #7CFF7C;
}

html[data-a11y-grayscale="on"] { filter: grayscale(1); }

html[data-a11y-underline="on"] a { text-decoration: underline !important; text-underline-offset: 3px; }

html[data-a11y-headings="on"] h1, html[data-a11y-headings="on"] h2,
html[data-a11y-headings="on"] h3, html[data-a11y-headings="on"] h4 {
  background: rgba(255, 224, 102, 0.16);
  outline: 2px dashed var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

html[data-a11y-spacing="on"] p, html[data-a11y-spacing="on"] li, html[data-a11y-spacing="on"] a {
  line-height: 2 !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.08em !important;
}

html[data-a11y-cursor="big"], html[data-a11y-cursor="big"] a, html[data-a11y-cursor="big"] button {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24"><path d="M5 3l14 7.5-6 1.7-1.7 6z" fill="black" stroke="white" stroke-width="1.2"/></svg>') 4 4, auto;
}

html[data-a11y-motion="reduced"] *,
html[data-a11y-motion="reduced"] *::before,
html[data-a11y-motion="reduced"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (max-width: 480px) {
  .a11y-fab { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .a11y-panel { bottom: 76px; left: 16px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .iso-cluster { max-width: 340px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-panel { padding: 40px 24px 32px; }
  .contact-strip { flex-direction: column; align-items: stretch; gap: 6px; }
  .contact-divider { width: auto; height: 1px; margin: 0 22px; }
  .contact-item { max-width: none; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-banner-card { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 480px) {
  .tos-header .brand span { display: none; }
  .tos-header .btn { padding: 9px 14px; font-size: 13.5px; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .btn-ghost, .header-actions .client-panel-wrap { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 20px 20px;
    gap: 4px;
    z-index: 90;
  }
  .main-nav a.contact-mobile {
    display: block;
    margin-top: 6px;
    text-align: center;
    background: var(--accent);
    color: #060a13;
    font-weight: 600;
  }
  .main-nav a.client-panel-mobile {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    margin-top: 10px;
  }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .plans-grid, .plans-grid.plans-grid-2 { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; border-radius: var(--radius-lg); }
  .tab-btn { justify-content: flex-start; }
}
