/* =========================================================
   AutoRoy Cloud — styles.css
   Light mode ברירת מחדל + Dark mode, RTL מלא, מובייל, אנימציות
   ========================================================= */

/* ========== RESET בסיסי ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ========== משתני עיצוב — Light כברירת מחדל ========== */
:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-soft: #f9fafb;

  --text-main: #0b1120;
  --text-muted: #6b7280;

  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --danger: #ef4444;

  --border-subtle: #e5e7eb;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 35px rgba(15, 23, 42, 0.08);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --nav-height: 70px;
}

/* ========== DARK MODE (אם רוצים להפעיל דרך JS: להוסיף body.dark) ========== */
body.dark {
  --bg: #020617;
  --bg-elevated: rgba(15, 23, 42, 0.96);
  --bg-soft: #020617;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.18);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.18);

  --border-subtle: rgba(148, 163, 184, 0.5);

  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.9);
  --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.85);
}

/* ========== קונטיינר כללי ========== */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

/* ========== טיפוגרפיה בסיסית ========== */

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* ========== NAVBAR ========== */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

body.dark .nav {
  background: rgba(2, 6, 23, 0.96);
  border-bottom-color: rgba(30, 64, 175, 0.6);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.9);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 0, #facc15, transparent 55%),
    linear-gradient(135deg, var(--primary), #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
  overflow: hidden;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
  cursor: pointer;
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.16s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* כפתור תאורה */
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 0, #fde68a 0, #1f2937 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  font-size: 1.1rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

/* CTA Navbar */
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.8);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 55%),
    #0f172a;
  color: #f9fafb;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.5);
}

body.dark .nav-cta {
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.3), transparent 55%),
    rgba(15, 23, 42, 0.98);
}

/* Hamburger (mobile) */

.hamburger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger-line {
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  left: 0;
}

.hamburger-line::before {
  top: -5px;
}
.hamburger-line::after {
  top: 5px;
}

/* Mobile nav */

.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  left: 0;
  background: rgba(249, 250, 251, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  display: none;
  flex-direction: column;
  padding: 10px 18px 14px;
  gap: 8px;
  z-index: 30;
}

body.dark .nav-mobile {
  background: rgba(2, 6, 23, 0.98);
  border-bottom-color: rgba(30, 64, 175, 0.8);
}

.nav-mobile a {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.nav-mobile.show {
  display: flex;
}

/* ========== HERO ========== */

.hero {
  margin-top: 18px;
}

.hero-inner {
  border-radius: 28px;
  padding: 26px 24px 30px;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.7), transparent 55%),
    radial-gradient(circle at top right, rgba(221, 214, 254, 0.7), transparent 60%),
    #f9fafb;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

body.dark .hero-inner {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.26), transparent 65%),
    radial-gradient(circle at bottom, rgba(51, 65, 85, 0.9), transparent 70%),
    linear-gradient(145deg, #020617, #050816);
  border-color: rgba(148, 163, 184, 0.6);
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(90deg, #4f46e5, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* CTA Buttons */

.hero-ctas {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(130deg, #2563eb, #22c55e);
  color: #f9fafb;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.7);
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: #111827;
}

body.dark .btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #f9fafb;
  border-color: rgba(148, 163, 184, 1);
}

/* Hero tags */

.hero-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.dark .hero-tag {
  background: rgba(15, 23, 42, 0.88);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.dot-green {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}
.dot-cyan {
  background: #22cce5;
  box-shadow: 0 0 0 3px rgba(34, 204, 229, 0.35);
}
.dot-purple {
  background: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.35);
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-orbit {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #e5e7eb, #c7d2fe 70%);
  box-shadow:
    0 0 120px rgba(79, 70, 229, 0.4),
    0 0 180px rgba(34, 197, 94, 0.3);
  overflow: hidden;
}

body.dark .hero-orbit {
  background:
    radial-gradient(circle at center, rgba(15, 23, 42, 0.9), #020617 70%);
}

.orbit {
  position: absolute;
  inset: 34px;
  border-radius: 999px;
  border: 1px dashed rgba(129, 140, 248, 0.7);
  animation: orbit 16s linear infinite;
}

.orbit-2 {
  inset: 50px;
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.7);
  animation-duration: 22s;
  animation-direction: reverse;
}

.orbit-3 {
  inset: 66px;
  border-color: rgba(14, 165, 233, 0.8);
  animation-duration: 28s;
}

.hero-node {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #f9fafb, #6366f1);
  color: #020617;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow:
    0 0 0 3px rgba(15, 23, 42, 0.1),
    0 0 30px rgba(129, 140, 248, 0.6);
}

.hero-node-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-node-devops { top: 16%; right: 18%; }
.hero-node-auto   { bottom: 20%; right: 10%; }
.hero-node-web    { bottom: 18%; left: 14%; }
.hero-node-chat   { top: 24%; left: 10%; }

.hero-visual-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero strip */

.hero-strip {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at left, rgba(37, 99, 235, 0.08), transparent 60%),
    #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

body.dark .hero-strip {
  background:
    radial-gradient(circle at left, rgba(56, 189, 248, 0.15), transparent 60%),
    rgba(15, 23, 42, 0.95);
}

.strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.strip-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow-x: auto;
  padding-bottom: 4px;
}

.strip-items span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f9fafb;
  flex: 0 0 auto;
  white-space: nowrap;
}

body.dark .strip-items span {
  background: rgba(15, 23, 42, 0.8);
}

/* Scrollbar משופר לסטאק */
.strip-items::-webkit-scrollbar {
  height: 6px;
}
.strip-items::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

/* ========== CARDS / SERVICES ========== */

.cards-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.26s cubic-bezier(.2,.9,.3,1), box-shadow 0.26s, border-color 0.26s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 70px rgba(37, 99, 235, 0.16);
  border-color: var(--primary);
}

body.dark .card {
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.24), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.6);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-icon {
  font-size: 1.2rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 8px;
}

.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: var(--bg-soft);
}

/* ========== PROJECTS ========== */

.projects-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.project-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
}

body.dark .project-card {
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.6);
}

.project-tag {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.project-list {
  list-style: none;
  padding-right: 0;
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.project-list li::before {
  content: "• ";
  color: var(--accent);
}

.project-footer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========== PROCESS / TIMELINE ========== */

.timeline {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-card);
}

body.dark .timeline {
  background:
    radial-gradient(circle at top, rgba(129, 140, 248, 0.18), transparent 65%),
    rgba(15, 23, 42, 0.96);
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  padding: 8px 0;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 8px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.8), transparent);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px var(--primary-soft);
  margin-top: 4px;
}

.timeline-content h3 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.timeline-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ========== FORMS / CONTACT ========== */

.form-grid {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

body.dark .form-grid {
  background: rgba(15, 23, 42, 0.96);
}

.form-field label {
  font-size: 0.82rem;
  margin-bottom: 4px;
  display: block;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
  color: var(--text-main);
  padding: 8px 10px;
  font-size: 0.9rem;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body.dark .form-field input,
body.dark .form-field select,
body.dark .form-field textarea {
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
}

.form-field textarea {
  min-height: 80px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-footer {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.form-note {
  color: var(--text-muted);
  max-width: 28rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

/* ========== REVIEWS ========== */

.reviews-layout {
  display: grid;
  gap: 14px;
}

.reviews-list {
  display: grid;
  gap: 8px;
}

.review-card {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 10px 11px;
  font-size: 0.82rem;
  color: var(--text-main);
}

body.dark .review-card {
  background: rgba(15, 23, 42, 0.96);
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.review-name {
  font-weight: 600;
  font-size: 0.8rem;
}

.review-tag {
  font-size: 0.75rem;
  color: var(--accent);
}

.review-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reviews-form {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 8px;
}

body.dark .reviews-form {
  background: rgba(15, 23, 42, 0.96);
}

/* ========== FINAL CTA ========== */

.final-cta {
  margin-top: 10px;
}

.final-cta-inner {
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.7), transparent 55%),
    radial-gradient(circle at bottom right, rgba(254, 252, 232, 0.9), transparent 55%),
    linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
  text-align: center;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.5);
}

.final-cta-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.final-cta-inner p {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 14px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ========== FOOTER ========== */

.footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

/* ========== REVEAL ANIMATION ========== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ANIMATIONS ==========
   orbit animation for hero rings
================================== */

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ========== SKIP LINK (נגישות) ========== */

.skip-link {
  position: absolute;
  top: -40px;
  right: 16px;
  padding: 8px 14px;
  background: var(--primary);
  color: #f9fafb;
  border-radius: 999px;
  font-size: 0.82rem;
  z-index: 9999;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ========== FOCUS STATES גלובליים ========== */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 2px;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

@media (min-width: 768px) {
  .page {
    padding-inline: 26px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .reviews-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page {
    padding-inline: 16px;
  }
  .hero-inner {
    padding: 20px 16px 24px;
    border-radius: 22px;
  }
  .hero-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline {
    padding-inline: 12px;
  }
  .form-grid,
  .reviews-form {
    padding-inline: 12px;
  }
  .footer {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}

/* מובייל אקסטרה */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .nav {
    padding: 0 14px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
/* =============================
   SERVICES NAV — FUTURE / 2030
   ============================= */

.services-nav {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 14px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: flex-start;
}

.services-nav::-webkit-scrollbar {
  display: none;
}

.services-btn {
  flex: 0 0 auto;
  scroll-snap-align: center;
  padding: 12px 22px;
  border-radius: 50px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: 0.28s ease, transform 0.25s cubic-bezier(.23,1.3,.32,1);
  white-space: nowrap;
  cursor: pointer;
}

body.dark .services-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.services-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.services-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-3px) scale(1.06);
}
/* ===========================
   PAGE TEMPLATE (UNIVERSAL)
   =========================== */

.page-hero {
  padding: 120px 0 60px;
  background: radial-gradient(
      circle at 50% 0%,
      rgba(13,110,253,0.15),
      transparent 65%
    ),
    linear-gradient(180deg, #f8fafc, #eef1f6);
  text-align: center;
}

body.dark .page-hero {
  background: radial-gradient(
      circle at 50% 0%,
      rgba(102,179,255,0.17),
      transparent 65%
    ),
    linear-gradient(180deg, #0c0e12, #0a0c0f);
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.page-sub {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
}

.page-content {
  padding: 40px 0 120px;
  max-width: 1000px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.page-content img {
  width: 100%;
  border-radius: 18px;
  margin: 28px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.page-section {
  margin: 60px 0;
}

.page-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.page-section p {
  font-size: 1.05rem;
  opacity: 0.95;
}
/* FIX — prevent hero from blocking navbar on mobile */
.nav {
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-mobile {
    z-index: 998;
}

.page-content {
  display: block;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero,
.page-content {
    position: relative;
    z-index: 1;
}
/* =====================================
   BLOG PAGE – מגזין אינטראקטיבי מרחף
   ===================================== */

.blog-page {
  position: relative;
}

/* הדגשת קישור פעיל בתפריט */
.nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  width: 100%;
}

/* HERO מיוחד לבלוג */
.blog-hero {
  position: relative;
  overflow: hidden;
}

.blog-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.blog-hero::before,
.blog-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.blog-hero::before {
  inset-inline-start: -160px;
  inset-block-start: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
}

.blog-hero::after {
  inset-inline-end: -120px;
  inset-block-end: -200px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.21), transparent 70%);
}

.blog-title {
  font-size: clamp(2.3rem, 3.4vw, 3.1rem);
  margin-bottom: 12px;
}

.blog-title span {
  background: linear-gradient(90deg, #2563eb, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.blog-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-meta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-pill {
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: var(--bg-soft);
}

/* צד ויזואלי – מגזין בחלל */
.blog-hero-visual {
  position: relative;
}

.blog-mag-orbit {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(248, 250, 252, 0.9), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(239, 246, 255, 0.9), transparent 55%),
    linear-gradient(145deg, #020617, #020617);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  overflow: hidden;
}

body.dark .blog-mag-orbit {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.4), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(34, 197, 94, 0.45), transparent 55%),
    #020617;
}

/* שכבות מגזין מרחפות */
.blog-mag-layer {
  position: absolute;
  inset: 12%;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  mix-blend-mode: screen;
}

.layer-cover {
  inset: 8% 14%;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98)),
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.4), transparent 60%);
  border: none;
}

.layer-line-1 {
  border-style: dashed;
  animation: blogOrbitSlow 18s linear infinite;
}

.layer-line-2 {
  inset: 20% 10%;
  border-style: solid;
  opacity: 0.5;
  animation: blogOrbitSlow 26s linear infinite reverse;
}

.layer-glow {
  inset: 40% 22%;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
  filter: blur(20px);
}

/* כרטיס צף על המגזין */
.blog-mag-float-card {
  position: absolute;
  inset-inline: 14%;
  inset-block-end: 10%;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.4);
  transform: translateY(0);
  animation: blogFloat 5.4s ease-in-out infinite alternate;
}

.blog-mag-float-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.blog-mag-float-card p {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-bottom: 8px;
}

.blog-mag-tag {
  display: inline-flex;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.8);
  color: #bfdbfe;
  margin-bottom: 4px;
}

.blog-mag-btn {
  background: linear-gradient(130deg, #2563eb, #22c55e);
  color: #f9fafb;
  border: none;
}

/* כיתוב מתחת לויז'ואל */
.blog-hero-caption {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* FILTRES + SEARCH */
.blog-filters {
  margin-top: 10px;
}

.blog-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: var(--bg-elevated);
  font-size: 0.84rem;
  cursor: pointer;
  transition: 0.18s ease;
}

.blog-chip:hover {
  border-color: var(--primary);
}

.blog-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #f9fafb;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
}

.blog-search {
  min-width: min(340px, 100%);
}

.blog-search input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: var(--bg-elevated);
  font-size: 0.9rem;
}

/* FEATURED GRID */
.blog-feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.blog-feature-card {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.blog-feature-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.blog-feature-badge {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.blog-feature-badge.soft {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.blog-feature-card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.blog-feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-feature-list {
  list-style: none;
  padding-right: 0;
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-feature-list li::before {
  content: "• ";
  color: var(--accent);
}

.blog-feature-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  color: #f9fafb;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-side-panel {
  border-radius: 18px;
  padding: 14px 14px 16px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
}

.blog-side-panel h3 {
  margin-bottom: 8px;
}

.blog-side-panel ul {
  list-style: none;
  padding-right: 0;
  margin-bottom: 10px;
}

.blog-side-panel li::before {
  content: "➜ ";
  color: var(--primary);
}

.blog-side-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* BLOG GRID – מגזין */
.blog-grid-section {
  margin-top: 10px;
}

.blog-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  position: relative;
  border-radius: 20px;
  padding: 16px 16px 18px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.18), transparent 60%),
    var(--bg-elevated);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-origin: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset-inline: -40%;
  inset-block-start: -60%;
  height: 80%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7), transparent 70%);
  opacity: 0;
  transform: translateY(40px) rotate(-8deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  border-color: var(--primary);
}

.blog-card:hover::before {
  opacity: 1;
  transform: translateY(0) rotate(-8deg);
}

.blog-card-tag {
  display: inline-flex;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.blog-card-btn {
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.7);
  background: #ffffff;
  color: #1f2937;
}

body.dark .blog-card-btn {
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
}

/* FINAL CTA התאמה קטנה */
.blog-final-cta .final-cta-inner {
  max-width: 880px;
  margin: 0 auto;
}

/* אנימציות */
@keyframes blogFloat {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes blogOrbitSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* RESPONSIVE לבלוג */
@media (max-width: 900px) {
  .blog-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 70px;
  }
  .blog-hero-text {
    text-align: right;
  }
  .blog-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .blog-filters-row {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search {
    min-width: 100%;
  }
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-hero-inner {
    padding-top: 60px;
  }
}
/* =========================================================
AutoRoy — UI Polish Patch (safe add-on)
Add this block at the END of styles.css
========================================================= */

/* ---------- Floating Accessibility Button (bottom-left) ---------- */
#a11yBtn {
position: fixed;
left: 16px;
bottom: 16px;
z-index: 9999;
width: 54px;
height: 54px;
border-radius: 16px;
border: 1px solid rgba(0,0,0,0.08);
background: rgba(255,255,255,0.9);
color: var(--text-main);
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
cursor: pointer;
display: grid;
place-items: center;
transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

#a11yBtn:hover {
transform: translateY(-2px);
box-shadow: 0 16px 44px rgba(0,0,0,0.16);
background: rgba(255,255,255,0.96);
}

#a11yBtn:active { transform: translateY(0); }

#a11yBtn .icon {
font-size: 22px;
line-height: 1;
}

/* Optional: small label bubble on hover (if you add data-label attr) */
#a11yBtn[data-label]:hover::after {
content: attr(data-label);
position: absolute;
left: 64px;
bottom: 10px;
white-space: nowrap;
font-size: 13px;
padding: 8px 10px;
border-radius: 12px;
background: rgba(20, 25, 30, 0.88);
color: #fff;
}

/* ---------- Contact form polish (won't break if classes exist) ---------- */
.contact-form, form.contact-form {
background: var(--bg-elevated);
border: 1px solid rgba(0,0,0,0.06);
border-radius: 18px;
padding: 18px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form label {
display: block;
font-weight: 600;
margin: 10px 0 6px;
color: var(--text-main);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
width: 100%;
border-radius: 14px;
border: 1px solid rgba(0,0,0,0.10);
background: rgba(255,255,255,0.9);
padding: 12px 12px;
font-size: 15px;
outline: none;
transition: border .15s ease, box-shadow .15s ease, transform .15s ease;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
border-color: rgba(0, 140, 255, 0.45);
box-shadow: 0 0 0 5px rgba(0, 140, 255, 0.12);
}

.contact-form .form-actions {
display: flex;
gap: 10px;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
margin-top: 14px;
}

/* ---------- CTA buttons consistent ---------- */
.btn-primary,
button.btn-primary,
a.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 16px;
border-radius: 999px;
border: 1px solid rgba(0,0,0,0.08);
background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(0,200,170,0.95));
color: #fff !important;
text-decoration: none;
font-weight: 700;
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,0.16); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost,
button.btn-ghost,
a.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 16px;
border-radius: 999px;
border: 1px solid rgba(0,0,0,0.10);
background: rgba(255,255,255,0.75);
color: var(--text-main) !important;
text-decoration: none;
font-weight: 700;
transition: transform .15s ease, background .15s ease;
}

.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.92); }
.btn-ghost:active { transform: translateY(0); }

/* ---------- Services / cards: add subtle hover depth ---------- */
.card,
.service-card,
.project-card,
.review-card {
border: 1px solid rgba(0,0,0,0.06);
border-radius: 18px;
background: var(--bg-elevated);
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
transition: transform .16s ease, box-shadow .16s ease;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.review-card:hover {
transform: translateY(-4px);
box-shadow: 0 16px 44px rgba(0,0,0,0.14);
}

/* ---------- Mobile safety: prevent squished nav ---------- */
@media (max-width: 520px) {
.contact-form { padding: 14px; border-radius: 16px; }
.btn-primary, .btn-ghost { width: 100%; }
}
/* =========================================================
AutoRoy — NAVBAR POLISH (safe override)
Paste at the END of styles.css
هدف: להפוך סרגלים ליותר אסתטיים בלי לשבור כלום
========================================================= */

.nav {
height: 74px;
padding: 0 22px;
border-bottom: 1px solid rgba(148, 163, 184, 0.35);
box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

body.dark .nav {
border-bottom-color: rgba(148, 163, 184, 0.22);
box-shadow: 0 12px 42px rgba(15, 23, 42, 0.65);
}

.nav-left {
gap: 12px;
}

.nav-logo {
width: 42px;
height: 42px;
border-radius: 16px;
box-shadow: 0 18px 40px rgba(37, 99, 235, 0.30);
}

.nav-brand {
font-size: 1.02rem;
line-height: 1.1;
}

.nav-sub {
margin-top: 2px;
font-size: 0.74rem;
opacity: 0.9;
}

.nav-links {
gap: 22px;
font-size: 0.92rem;
}

.nav-link {
padding: 8px 2px;
border-radius: 10px;
transition: background .16s ease, color .16s ease;
}

.nav-link:hover {
background: rgba(37, 99, 235, 0.08);
}

body.dark .nav-link:hover {
background: rgba(99, 102, 241, 0.16);
}

.nav-link::after {
bottom: 6px; /* מרים את הקו קצת כדי שייראה עדין */
height: 2px;
opacity: 0.9;
}

.nav-actions {
gap: 10px;
}

/* CTA ב-navbar שיהיה פרימיום */
.nav-cta {
padding: 9px 16px;
border-radius: 999px;
border: 1px solid rgba(37, 99, 235, 0.65);
background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(34, 197, 94, 0.92));
color: #fff;
box-shadow: 0 14px 40px rgba(37, 99, 235, 0.30);
}

.nav-cta:hover {
transform: translateY(-1px);
box-shadow: 0 18px 54px rgba(37, 99, 235, 0.42);
}

/* כפתורי אייקון (theme/hamburger) יותר יפים */
.theme-toggle,
.hamburger {
border: 1px solid rgba(148, 163, 184, 0.55);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

body.dark .theme-toggle,
body.dark .hamburger {
border-color: rgba(148, 163, 184, 0.35);
}

/* Mobile menu: יותר כמו מוצר */
.nav-mobile {
padding: 14px 18px 16px;
gap: 10px;
border-bottom: 1px solid rgba(148, 163, 184, 0.35);
box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.nav-mobile a {
padding: 10px 12px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.55);
border: 1px solid rgba(148, 163, 184, 0.25);
}

body.dark .nav-mobile a {
background: rgba(15, 23, 42, 0.65);
border-color: rgba(148, 163, 184, 0.20);
}

/* מונע "קפיצות" כלליות ב-navbar במובייל */
@media (max-width: 480px) {
.nav { padding: 0 14px; }
.nav-links { display: none; }
.nav-logo { width: 40px; height: 40px; }
.nav-brand { font-size: 0.98rem; }
}
/* AutoRoy — Builder page styles (safe & isolated) */

.builder-page {
max-width: 980px;
margin: 0 auto;
padding: 28px 16px 60px;
}

.builder-hero {
text-align: center;
margin: 18px auto 22px;
}

.builder-hero h1 {
font-size: clamp(26px, 3.2vw, 42px);
margin: 0 0 8px;
}

.builder-hero p {
opacity: 0.85;
margin: 0;
line-height: 1.6;
}

.builder-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin-top: 18px;
}

.builder-card {
border: 1px solid rgba(0,0,0,0.08);
border-radius: 18px;
background: rgba(255,255,255,0.78);
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
padding: 14px 14px 12px;
transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.builder-card:hover {
transform: translateY(-3px);
box-shadow: 0 16px 44px rgba(0,0,0,0.12);
background: rgba(255,255,255,0.92);
}

.builder-card h3 {
margin: 2px 0 8px;
font-size: 18px;
}

.builder-card p {
margin: 0 0 12px;
opacity: 0.85;
line-height: 1.55;
font-size: 14px;
}

.builder-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}

.builder-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 999px;
padding: 10px 14px;
border: 1px solid rgba(0,0,0,0.10);
text-decoration: none;
font-weight: 800;
cursor: pointer;
transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.builder-btn.primary {
color: #fff;
background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(0,200,170,0.95));
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.builder-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,0.16); }
.builder-btn.ghost {
background: rgba(255,255,255,0.70);
color: inherit;
}
.builder-btn.ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.92); }

.builder-form {
margin-top: 16px;
border: 1px solid rgba(0,0,0,0.08);
border-radius: 18px;
background: rgba(255,255,255,0.78);
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
padding: 16px;
}

.builder-form .row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 12px;
}

.builder-form label {
display: block;
font-weight: 800;
margin: 0 0 6px;
}

.builder-form input, .builder-form textarea, .builder-form select {
width: 100%;
border-radius: 14px;
border: 1px solid rgba(0,0,0,0.10);
background: rgba(255,255,255,0.95);
padding: 12px;
font-size: 15px;
outline: none;
}

.builder-form textarea { min-height: 110px; resize: vertical; }

.builder-form input:focus, .builder-form textarea:focus, .builder-form select:focus {
border-color: rgba(0, 140, 255, 0.45);
box-shadow: 0 0 0 5px rgba(0, 140, 255, 0.12);
}

@media (max-width: 720px) {
.builder-grid { grid-template-columns: 1fr; }
.builder-form .row { grid-template-columns: 1fr; }
}
