
:root {
  --bg: #fff8f2;
  --bg-strong: #fff1e8;
  --surface: #ffffff;
  --surface-soft: #fff5f0;
  --text: #241f2e;
  --muted: #675d6f;
  --primary: #8d6ad8;
  --primary-dark: #5d3f9f;
  --secondary: #ff8c7f;
  --coral: #ff7a73;
  --peach: #ffc078;
  --yellow: #ffd66b;
  --mint: #67d5c2;
  --teal: #2fb7ad;
  --pink: #f7a0b8;
  --lilac: #d9c8ff;
  --border: rgba(36, 31, 46, 0.12);
  --border-strong: rgba(93, 63, 159, 0.22);
  --shadow-sm: 0 12px 30px rgba(75, 45, 116, 0.10);
  --shadow: 0 26px 76px rgba(75, 45, 116, 0.15);
  --shadow-color: 0 24px 56px rgba(255, 122, 115, 0.18);
  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Assistant", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 214, 107, .25), transparent 28%),
    radial-gradient(circle at 93% 20%, rgba(141, 106, 216, .17), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%);
  line-height: 1.68;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(47, 183, 173, .75); outline-offset: 4px; border-radius: 12px; }
::selection { background: rgba(255, 214, 107, .55); }

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 999;
  transform: translateY(-180%);
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.container.narrow { max-width: 900px; }
.section { padding: 96px 0; }
.compact-section { padding: 42px 0 0; }
.section-aurora {
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 192, 120, .36), transparent 28%),
    radial-gradient(circle at 80% 16%, rgba(141, 106, 216, .23), transparent 32%),
    radial-gradient(circle at 70% 78%, rgba(103, 213, 194, .18), transparent 30%),
    linear-gradient(135deg, #fff8f2 0%, #fff1ea 55%, #fffaf6 100%);
  position: relative;
  overflow: hidden;
}
.section-aurora::before,
.pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    radial-gradient(circle, rgba(141,106,216,.20) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,122,115,.17) 2px, transparent 2px);
  background-size: 56px 56px, 84px 84px;
  background-position: 0 0, 28px 34px;
}
.section-muted { background: linear-gradient(180deg, #fff3ec 0%, #fff8f3 100%); position: relative; overflow: hidden; }
.section > .container, .section-aurora > .container, .section-muted > .container { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(36, 31, 46, .09);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 16px 40px rgba(75, 45, 116, .09); background: rgba(255, 255, 255, .92); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; gap: 22px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(75, 45, 116, .13);
  border: 1px solid rgba(141, 106, 216, .24);
}
.brand-text { display: grid; gap: 0; line-height: 1.18; }
.brand-text strong, .footer-brand strong { font-size: 1.08rem; letter-spacing: .08em; color: var(--primary-dark); }
.brand-text small { color: var(--muted); font-weight: 800; }
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #463d54;
  font-weight: 850;
  transition: .18s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary-dark);
  background: rgba(141, 106, 216, .11);
}
.nav-toggle { display: none; border: 0; background: #fff; width: 46px; height: 46px; border-radius: 16px; box-shadow: var(--shadow-sm); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--primary-dark); border-radius: 8px; transition: .2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); box-shadow: 0 18px 32px rgba(93,63,159,.24); }
.btn-secondary { color: #422a2f; background: linear-gradient(135deg, #ffe0c2, #ffb0a8); box-shadow: 0 18px 32px rgba(255,122,115,.18); }
.btn-light { color: var(--primary-dark); background: #fff; }
.btn-ghost { color: var(--primary-dark); background: rgba(255,255,255,.72); border-color: rgba(141, 106, 216, .18); }
.btn-disabled { color: #6d6577; background: rgba(255,255,255,.72); border-color: rgba(36, 31, 46, .12); cursor: not-allowed; box-shadow: none; }
.btn-disabled:hover { transform: none; }

.hero { padding: 92px 0 82px; }
.hero-grid, .split-grid, .contact-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.align-start { align-items: start; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-dark);
  font-weight: 950;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal)); }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.18; }
h1 { font-size: clamp(2.3rem, 5.1vw, 4.75rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 18px; color: var(--muted); }
.hero-text { font-size: 1.17rem; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points span, .profile-badges span {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(36, 31, 46, .10);
  color: #514760;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(75, 45, 116, .06);
}
.hero-card {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  padding: 32px;
  isolation: isolate;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  z-index: -2;
}
.logo-orbit {
  position: absolute;
  width: min(92%, 510px);
  aspect-ratio: 1;
  border: 2px dashed rgba(141, 106, 216, .24);
  border-radius: 50%;
  animation: slow-spin 26s linear infinite;
  z-index: -1;
}
.site-logo-showcase { width: min(100%, 490px); border-radius: 34px; filter: drop-shadow(0 20px 50px rgba(75,45,116,.18)); }
.floating-chip {
  position: absolute;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(36, 31, 46, .10);
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 2px;
}
.floating-chip strong { color: var(--primary-dark); }
.floating-chip small { color: var(--muted); font-weight: 800; }
.chip-one { right: 16px; top: 84px; }
.chip-two { left: 8px; bottom: 116px; }
.chip-three { right: 72px; bottom: 44px; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.quick-panel {
  margin-top: -72px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(141, 106, 216, .20);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 3;
}
.quick-item {
  min-height: 112px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,248,242,.92), rgba(255,255,255,.92));
  border: 1px solid rgba(36,31,46,.08);
  transition: .18s ease;
}
.quick-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.quick-item span { color: var(--coral); font-weight: 950; }
.quick-item strong { display: block; font-size: 1.1rem; color: var(--text); }
.quick-item small { color: var(--muted); font-weight: 750; }

.page-hero { padding: 92px 0 76px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { font-size: 1.12rem; max-width: 760px; margin-inline: auto; }
.section-heading { max-width: 790px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.cards-grid { display: grid; gap: 22px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card, .contact-card, .product-card, .lecture-card, .profile-card, .soon-card, .format-card, .tip-card, .value-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.color-card::after, .product-card::after, .lecture-card::after, .tip-card::after, .value-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal), var(--primary));
}
.info-card:hover, .category-card:hover, .product-card:hover, .lecture-card:hover, .tip-card:hover, .format-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card, .category-card, .product-card, .lecture-card, .tip-card, .format-card, .value-card { transition: .2s ease; }
.text-link { color: var(--primary-dark); font-weight: 950; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0c2, #e1d4ff);
  color: var(--primary-dark);
  font-weight: 950;
  margin-bottom: 18px;
}
.check-list { padding: 0; margin: 22px 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 32px; color: #50475b; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--teal); font-weight: 950; }
.large-list { margin: 0; }
.feature-panel { background: rgba(255,255,255,.88); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow); border: 1px solid rgba(36,31,46,.08); }
.feature-panel img { margin-inline: auto; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { background: rgba(255,255,255,.9); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); }
.category-card strong { display: block; font-size: 1.16rem; color: var(--text); margin-bottom: 8px; }
.category-card span { color: var(--muted); }
.category-card:nth-child(1) { background: linear-gradient(135deg, #fff, #fff0f0); }
.category-card:nth-child(2) { background: linear-gradient(135deg, #fff, #fff5d8); }
.category-card:nth-child(3) { background: linear-gradient(135deg, #fff, #effcf9); }
.category-card:nth-child(4) { background: linear-gradient(135deg, #fff, #f2ecff); }

.cta-section { padding: 72px 0; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(255,214,107,.32), transparent 28%),
    linear-gradient(135deg, #5d3f9f 0%, #8d6ad8 42%, #ff7a73 100%);
  box-shadow: var(--shadow-color);
  overflow: hidden;
}
.cta-box p, .cta-box .eyebrow { color: rgba(255,255,255,.86); }
.cta-box .eyebrow::before { background: #fff; }

.profile-card { position: sticky; top: 112px; text-align: center; }
.profile-logo { width: min(100%, 420px); margin-inline: auto; border-radius: 34px; box-shadow: 0 22px 58px rgba(75,45,116,.14); }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-buttons button {
  min-height: 44px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  color: #534760;
  font-weight: 900;
}
.filter-buttons button.active { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-color: transparent; }
.product-grid, .lecture-grid, .format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card.is-hidden { display: none; }
.product-media {
  min-height: 156px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  font-size: 2.7rem;
  font-weight: 950;
  color: var(--primary-dark);
  margin-bottom: 20px;
  border: 1px solid rgba(36,31,46,.07);
}
.media-hebrew { background: linear-gradient(135deg, #ffe7e4, #fff8d7); }
.media-math { background: linear-gradient(135deg, #e9dcff, #fff1d6); }
.media-games { background: linear-gradient(135deg, #ddfbf5, #f4edff); }
.media-parents { background: linear-gradient(135deg, #ffe7ef, #f2ecff); }
.media-writing { background: linear-gradient(135deg, #fff2d9, #ffe0db); }
.media-holidays { background: linear-gradient(135deg, #e0fbf6, #fff2d8); }
.product-card .tag, .lecture-card .tag, .soon-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 950;
  color: var(--primary-dark);
  background: rgba(141,106,216,.12);
  font-size: .88rem;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.product-footer strong { color: var(--primary-dark); }
.product-footer span { color: var(--muted); font-weight: 850; }
.process-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.process-list li { counter-increment: step; background: rgba(255,255,255,.85); border-radius: 20px; border: 1px solid var(--border); padding: 18px; display: grid; gap: 4px; }
.process-list li strong::before { content: counter(step) ". "; color: var(--primary-dark); }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lecture-card ul { margin: 16px 0 0; padding-inline-start: 20px; color: #51495b; }
.format-card span { display: inline-flex; margin-top: 12px; color: var(--primary-dark); font-weight: 950; }
.notice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(141,106,216,.20);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.notice-strip strong { color: var(--primary-dark); }

.soon-card.large { max-width: 890px; margin-inline: auto; text-align: center; padding: 48px; }
.soon-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; text-align: start; }
.soon-step { background: rgba(255,255,255,.82); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.preview-form { background: rgba(255,255,255,.88); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; display: grid; gap: 16px; }
.preview-form label { display: grid; gap: 7px; color: var(--text); font-weight: 900; }
.preview-form input, .preview-form select, .preview-form textarea { width: 100%; min-height: 46px; border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: #f5f0f5; color: #81788b; }
.preview-form textarea { min-height: 110px; resize: vertical; }

.tips-grid .tip-card { padding-top: 34px; }
.tip-card span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--primary));
  font-weight: 950;
  margin-bottom: 12px;
}

.site-footer { background: #332742; color: #fff; padding: 62px 0 24px; }
.site-footer p, .site-footer small, .site-footer li, .footer-contact { color: rgba(255,255,255,.73); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr .8fr; gap: 34px; }
.footer-brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.66); font-size: .95rem; }
.error-page { min-height: 62vh; display: grid; align-items: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .main-nav a { padding: 10px 10px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; margin-inline-start: auto; }
  .main-nav {
    position: fixed;
    inset: 86px 16px auto 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; padding: 14px 16px; }
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 64px; }
  .hero-card { min-height: 460px; }
  .quick-panel { grid-template-columns: 1fr; margin-top: -46px; }
  .cards-grid.three, .cards-grid.four, .category-grid, .product-grid, .lecture-grid, .format-grid, .footer-grid, .values-grid, .soon-steps { grid-template-columns: repeat(2, 1fr); }
  .profile-card { position: static; }
  .shop-toolbar { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 68px 0; }
  .compact-section { padding: 28px 0 0; }
  .page-hero { padding: 70px 0 58px; }
  .brand-text small { display: none; }
  .brand-logo { width: 50px; height: 50px; border-radius: 16px; }
  .nav-wrap { min-height: 78px; }
  .main-nav { inset: 78px 12px auto 12px; }
  .hero { padding: 56px 0 70px; }
  .hero-card { min-height: auto; padding: 20px 4px 70px; }
  .hero-card::before { inset: 14px 0; border-radius: 28px; }
  .site-logo-showcase { width: min(100%, 330px); border-radius: 26px; }
  .logo-orbit { display: none; }
  .floating-chip { position: static; margin: 8px auto 0; width: min(100%, 260px); text-align: center; }
  .hero-actions, .filter-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn, .filter-buttons button { width: 100%; }
  .hero-points span { width: calc(50% - 5px); text-align: center; }
  .quick-panel { border-radius: 26px; padding: 12px; }
  .quick-item { min-height: auto; }
  .cards-grid.three, .cards-grid.four, .category-grid, .product-grid, .lecture-grid, .format-grid, .two-columns, .footer-grid, .values-grid, .soon-steps { grid-template-columns: 1fr; }
  .info-card, .contact-card, .product-card, .lecture-card, .profile-card, .soon-card, .format-card, .tip-card, .value-card { padding: 22px; border-radius: 22px; }
  .cta-box { flex-direction: column; align-items: start; padding: 30px 22px; }
  .soon-card.large { padding: 30px 20px; }
  .notice-strip { border-radius: 24px; align-items: start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
