@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;600;700;800&display=swap');

:root {
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --text: #121826;
  --muted: #60687a;
  --line: #e7ebf3;
  --accent: #111827;
  --accent-soft: #eef2ff;
  --highlight: #dbe4ff;
  --ring: rgba(17, 24, 39, 0.16);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 18px 60px rgba(17, 24, 39, 0.10);
  --shadow-xl: 0 32px 80px rgba(17, 24, 39, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(219, 228, 255, 0.58) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(circle at 86% 10%, rgba(238, 242, 255, 0.72) 0%, rgba(255,255,255,0) 52%),
    radial-gradient(circle at top, #ffffff 0%, #f9fbff 50%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

[dir="rtl"] body {
  font-family: 'Noto Sans Hebrew', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 720ms cubic-bezier(.2,.9,.25,1),
    transform 720ms cubic-bezier(.2,.9,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 6rem 0; }
.section-soft { background: var(--surface-alt); }
.centered { text-align: center; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 252, 253, 0.8);
  border-bottom: 1px solid rgba(231, 235, 243, 0.8);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(231, 235, 243, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.12);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
  filter: saturate(0.9);
}

.brand-text { font-size: 1.05rem; }

.brand-wordmark {
  height: 1.55rem;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.96rem;
}

.nav-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.nav-login {  
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-nav-container {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.lang-toggle {
  padding-inline: 0.9rem;
  white-space: nowrap;
}

.nav-login:hover {
  text-decoration-thickness: 2px;
}

.main-nav a:not(.btn) {
  color: var(--muted);
  transition: color .18s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: linear-gradient(135deg, #111827 0%, #1d2638 100%);
  color: #fff;
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.16);
}
.btn-light {
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border-color: var(--line);
}
.btn:active { transform: translateY(0px); }
.btn:focus-visible { box-shadow: 0 0 0 4px var(--highlight); }
.btn-sm { padding: 0.72rem 1rem; }
.btn-block { width: 100%; }

.hero { padding-top: 4.2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  animation: fadeUp 720ms cubic-bezier(.2,.9,.25,1) both;
}

.hero-visual {
  animation: fadeUp 720ms cubic-bezier(.2,.9,.25,1) both;
  animation-delay: 110ms;
}

.eyebrow,
.section-tag,
.dark-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.eyebrow, .section-tag {
  background: var(--accent-soft);
  color: #334155;
}
.dark-tag {
  background: rgba(255,255,255,0.12);
  color: #e5ecff;
}

.pain-message {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
}

h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.75rem);
  margin-top: 1rem;
  max-width: 11ch;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin-top: 1rem;
}
h3 {
  font-size: 1.25rem;
}

.lead,
.section-intro,
.split-head p,
.portfolio-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy .lead {
  max-width: 56ch;
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.3rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.hero-points li::before,
.check-list li::before,
.price-card li::before {
  content: "•";
  margin-right: 0.55rem;
  color: #475569;
}


.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 2.4rem;
}

.who-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.who-card i {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.who-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.who-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.who-card:hover i {
  background: var(--highlight);
  border-color: rgba(219, 228, 255, 0.95);
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .portfolio-grid,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .screenshot-layout {
  direction: ltr;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .portfolio-copy,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .about-panels,
html[dir="rtl"] .screenshot-layout .shot {
  direction: rtl;
}

html[dir="rtl"] .nav-cta {
  align-items: flex-start;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .portfolio-copy,
html[dir="rtl"] .about-copy {
  text-align: right;
}

html[dir="rtl"] .about-panels,
html[dir="rtl"] .about-panels .about-card {
  text-align: right;
}

html[dir="rtl"] h1 {
  max-width: none;
}

@media (min-width: 1025px) {
  .hero-grid {
    grid-template-areas: "copy visual";
  }

  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; }

  html[dir="rtl"] .hero-grid {
    grid-template-areas: "visual copy";
    grid-template-columns: 1fr 1.05fr;
  }

  .portfolio-grid {
    grid-template-areas: "copy mock";
  }

  .portfolio-copy { grid-area: copy; }
  .portfolio-mock { grid-area: mock; }

  html[dir="rtl"] .portfolio-grid {
    grid-template-areas: "mock copy";
  }

  .about-grid {
    grid-template-areas: "copy panels";
  }

  .about-copy { grid-area: copy; }
  .about-panels { grid-area: panels; }

  html[dir="rtl"] .about-grid {
    grid-template-areas: "panels copy";
    grid-template-columns: 1fr 1.15fr;
  }

  .screenshot-layout {
    grid-template-areas:
      "large large"
      "tall viewer";
  }

  .screenshot-layout .shot-large { grid-area: large; }
  .screenshot-layout .shot-tall { grid-area: tall; }
  .screenshot-layout .shot-viewer { grid-area: viewer; }

  html[dir="rtl"] .screenshot-layout {
    grid-template-areas:
      "large large"
      "viewer tall";
  }
}

html[dir="rtl"] .footer-grid > div,
html[dir="rtl"] .footer-bottom {
  text-align: right;
}

html[dir="rtl"] .hero-points li::before,
html[dir="rtl"] .check-list li::before,
html[dir="rtl"] .price-card li::before {
  margin-right: 0;
  margin-left: 0.55rem;
}

.browser-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(231, 235, 243, 0.95);
  border-radius: 28px;
  padding: 1rem;
  overflow: hidden;
}

.browser-topbar {
  display: flex;
  gap: 0.42rem;
  padding-bottom: 1rem;
}
.browser-topbar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #d7dde9;
}

.hero-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(231, 235, 243, 0.95);
  box-shadow: 0 22px 70px rgba(17, 24, 39, 0.18);
  transform: translateZ(0);
  animation: floatY 6.2s ease-in-out infinite;
}

.gallery-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
}
.preview-sidebar,
.preview-main,
.shot,
.who-card,
.portfolio-mock,
.price-card,
.card,
.cta-card,
.faq-item {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(231, 235, 243, 0.95);
}

.shot,
.who-card,
.portfolio-mock,
.price-card,
.card,
.faq-item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.shot:hover,
.who-card:hover,
.portfolio-mock:hover,
.price-card:hover,
.card:hover,
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(17, 24, 39, 0.12);
  border-color: rgba(219, 228, 255, 0.95);
}

.preview-sidebar,
.preview-main {
  border-radius: 20px;
  padding: 1rem;
}
.sidebar-title,
.sidebar-line,
.portfolio-top,
.portfolio-lines span,
.shot-label {
  background: linear-gradient(90deg, #edf1f8, #e6ebf5);
}
.sidebar-title {
  height: 22px;
  width: 64%;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.sidebar-line {
  height: 10px;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.sidebar-line.short,
.portfolio-lines .short { width: 62%; }

.preview-photo,
.thumb,
.shot-art,
.portfolio-hero,
.portfolio-tiles div {
  border-radius: 18px;
  background: linear-gradient(135deg, #b9c6dd 0%, #dde6f5 45%, #f3f6fb 100%);
}
.preview-photo {
  min-height: 330px;
  margin-bottom: 0.95rem;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.thumb-grid.small {
  grid-template-columns: repeat(2, 1fr);
}
.thumb { height: 72px; }
.thumb.tall { height: 120px; }
.thumb.wide { grid-column: span 2; }

.steps-grid,
.feature-grid,
.blog-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.icon {
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 auto;
  display: inline-block;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.feature-card .icon-badge {
  margin-bottom: 0.9rem;
}

.feature-card:hover .icon-badge {
  background: var(--highlight);
  border-color: rgba(219, 228, 255, 0.95);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.contact-lines a.contact-line:hover {
  text-decoration: underline;
}

.contact-lines a.contact-line .icon {
  color: var(--muted);
}

.contact-lines a.contact-line:hover .icon {
  color: var(--text);
}

.contact-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(231, 235, 243, 0.95);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-panels {
  display: grid;
  gap: 1.25rem;
}
.steps-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; }
.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-copy .section-intro {
  margin: 1rem 0 0;
}

.about-panels {
  grid-template-columns: 1fr;
}

.about-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.card,
.price-card,
.cta-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.step-card,
.feature-card { min-height: 220px; }
.step-number {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-head {
  margin-bottom: 2.3rem;
}
.split-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.split-head > * { flex: 1; }

.screenshot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.shot {
  border-radius: 24px;
  padding: 1rem;
  min-height: 260px;
}
.shot-large { grid-row: auto; min-height: 520px; }
.shot-tall { min-height: 360px; }
.shot-label {
  display: inline-block;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.95rem;
}
.shot-art {
  min-height: 180px;
  height: calc(100% - 2.2rem);
  overflow: hidden;
  border-radius: 18px;
}

.shot-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.shot-art-gallery {
  background:
    linear-gradient(135deg, rgba(17,24,39,0.03), rgba(17,24,39,0.02)),
    linear-gradient(180deg, #f3f6fb, #d7e0ef);
}
.shot-art-mobile {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
  border-radius: 34px;
  border: 10px solid #111827;
  background: linear-gradient(180deg, #eef3fb, #d6dfef);
  overflow: hidden;
}
.shot-art-viewer { background: linear-gradient(160deg, #cad7eb, #f3f6fb); }
.shot-art-download { background: linear-gradient(160deg, #e9eef8, #c9d7eb); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
.check-list,
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.check-list li,
.price-card li { margin-bottom: 0.75rem; color: var(--text); }

.portfolio-mock {
  padding: 1rem;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(231, 235, 243, 0.95);
}
.portfolio-top {
  height: 54px;
  border-radius: 18px;
}
.portfolio-hero {
  min-height: 260px;
  margin: 1rem 0;
}
.portfolio-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.portfolio-tiles div { min-height: 88px; }
.portfolio-lines span {
  display: block;
  height: 11px;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-card.featured {
  background: linear-gradient(180deg, #111827 0%, #1d2638 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.08);
  box-shadow: var(--shadow-xl);
}
.price-card.featured p,
.price-card.featured li,
.price-card.featured .price span,
.price-card.featured .badge { color: rgba(255,255,255,0.82); }
.price-header { margin-bottom: 1rem; }
.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.6rem 0;
}
.price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.price-card ul { flex: 1; }

.pricing-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.table thead th {
  background: var(--surface-alt);
  font-weight: 700;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table th:first-child,
.table td:first-child {
  white-space: normal;
  width: 36%;
}

.table thead th:first-child {
  border-top-left-radius: var(--radius-md);
}

.table thead th:last-child {
  border-top-right-radius: var(--radius-md);
}

.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-md);
}

.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-md);
}

.table .price-row td {
  background: var(--surface-alt);
}

.faq-list {
  max-width: 860px;
  margin-top: 2.2rem;
}
.faq-item {
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.9rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); margin: 0.8rem 0 0; }

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.post-meta {
  margin: 0;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: #334155;
}

.post-card h3 { margin-top: 0.9rem; }

.post-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.post-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Tutorials ─────────────────────────────────────────── */

.tutorial-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.tutorial-thumb {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.tutorial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease, opacity 320ms ease;
}

.tutorial-thumb:hover img,
.tutorial-thumb:focus-visible img {
  transform: scale(1.04);
  opacity: 0.82;
}

.tutorial-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  cursor: default;
}

.tutorial-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.tutorial-play i {
  font-size: 4rem;
  color: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
  transition: transform 220ms ease, color 220ms ease;
}

.tutorial-thumb:hover .tutorial-play i,
.tutorial-thumb:focus-visible .tutorial-play i {
  transform: scale(1.12);
  color: #f00;
}

.tutorial-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.50);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.tutorial-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tutorial-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.45;
}

.tutorial-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.field textarea { resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(219, 228, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(219, 228, 255, 0.65);
}

.contact-note {
  margin: 0;
  font-size: 0.95rem;
}

.cta-section { padding-top: 2rem; }
.cta-card {
  background: linear-gradient(135deg, #111827 0%, #253149 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cta-card p { color: rgba(255,255,255,0.78); max-width: 60ch; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cta-card .btn-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

.site-footer {
  padding: 2rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.footer-brand { margin-bottom: 0.9rem; }
.footer-copy { color: var(--muted); max-width: 22ch; }
.footer-grid h3 {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  color: var(--muted);
  padding-top: 1.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .portfolio-grid,
  .cta-card,
  .split-head,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "visual";
  }
  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; }

  html[dir="rtl"] .hero-grid {
    grid-template-areas:
      "visual"
      "copy";
  }

  .portfolio-grid {
    grid-template-areas:
      "copy"
      "mock";
  }
  .portfolio-copy { grid-area: copy; }
  .portfolio-mock { grid-area: mock; }

  html[dir="rtl"] .portfolio-grid {
    grid-template-areas:
      "mock"
      "copy";
  }

  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-areas:
      "copy"
      "panels";
  }
  .about-copy { grid-area: copy; }
  .about-panels { grid-area: panels; }

  html[dir="rtl"] .about-grid {
    grid-template-areas:
      "panels"
      "copy";
  }

  .screenshot-layout {
    grid-template-columns: 1fr;
  }
  .shot-large { grid-row: auto; min-height: 340px; }
  .shot-tall { min-height: 260px; }

  .gallery-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .section { padding: 4.5rem 0; }
  h1 { max-width: 13ch; }
  .hero { padding-top: 2.5rem; }
  .hero-grid { gap: 2rem; }
  .cta-card { padding: 1.4rem; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 1.1rem)); }
  .browser-card,
  .card,
  .price-card,
  .shot,
  .faq-item,
  .cta-card,
  .portfolio-mock { border-radius: 20px; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }

  .brand-wordmark {
    height: 1.35rem;
  }
}
