* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F6F4;
  --fg: #0A0A0B;
  --text-muted: rgba(10, 10, 11, 0.6);
  --text-faint: rgba(10, 10, 11, 0.38);
  --border: rgba(10, 10, 11, 0.1);
  --border-hover: rgba(10, 10, 11, 0.24);
  --card-bg: #FFFFFF;
  --accent: #0052FF;
  --accent-soft: rgba(0, 82, 255, 0.08);
  --ink: #0A0A0B;
  --ink-contrast: #FFFFFF;
  --gold: #B8860B;
}

html { background-color: var(--bg); scroll-behavior: smooth; }
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  zoom: 80%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; color: var(--fg); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #0040cc; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow--light { color: #9fc4ff; }

section { padding: 6rem 0; border-top: 1px solid var(--border); }
section:first-of-type, .hero { border-top: none; }
.section-header { margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; }
.section-title--light { color: #fff; }
.two-col-sub { color: var(--text-muted); font-size: 0.95rem; max-width: 26rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Nav */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding: 1.1rem 0;
  transition: border-color .3s ease, box-shadow .3s ease;
}
header.scrolled { border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
nav { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; gap: 1.5rem; }
@media (min-width: 768px) { nav { padding: 0 2.5rem; } }

.logo { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); }
.logo-tm { font-size: 0.6em; vertical-align: super; color: var(--text-faint); }

.nav-links { display: none; gap: 2rem; list-style: none; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--fg); }

.nav-right { display: flex; align-items: center; gap: 0.9rem; }

.nav-link-plain { display: none; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
@media (min-width: 960px) { .nav-link-plain { display: inline-block; } }
.nav-link-plain:hover { color: var(--fg); }

.lang-switch { display: flex; align-items: center; gap: 0.3rem; }
.lang-btn {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.45rem 0.85rem; border-radius: 9999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.lang-btn.active { background-color: var(--ink); color: var(--ink-contrast); }
.lang-btn.active:hover { transform: translateY(-1px); }
.lang-btn:not(.active):hover { color: var(--fg); }

.cta-button {
  padding: 0.6rem 1.35rem; border-radius: 9999px; background-color: var(--ink); color: var(--ink-contrast);
  font-size: 0.85rem; font-weight: 600; border: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.cta-button:hover { background-color: #2a2a2c; color: #fff; transform: translateY(-1px); }

.mobile-menu-button { display: flex; flex-direction: column; gap: 0.25rem; background: none; border: none; cursor: pointer; padding: 0.5rem; margin: -0.5rem; }
@media (min-width: 960px) { .mobile-menu-button { display: none; } }
.mobile-menu-button span { width: 1.4rem; height: 2px; background-color: var(--fg); transition: all .3s ease; }
.mobile-menu-button.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.mobile-menu-button.active span:nth-child(2) { opacity: 0; }
.mobile-menu-button.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }
.nav-links.open {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background-color: var(--bg); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border);
}

/* Hero */
.hero { padding-top: 0; padding-bottom: 0; }
.hero-top {
  position: relative; overflow: hidden;
  padding-top: 9rem; padding-bottom: 4.5rem;
  min-height: 32rem;
  display: flex; align-items: center;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; background-color: var(--bg-soft); }
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, var(--bg) 6%, rgba(255,255,255,0.92) 22%, rgba(255,255,255,0.72) 44%, rgba(255,255,255,0.3) 68%, rgba(255,255,255,0.02) 100%);
}
.hero-top .container { position: relative; z-index: 10; }
.hero-content { max-width: 44rem; }

.hero-leaves { position: absolute; inset: 0; z-index: 5; overflow: hidden; pointer-events: none; }
.leaf {
  position: absolute;
  bottom: -10%;
  left: var(--x);
  font-size: var(--size, 1rem);
  color: rgba(16, 122, 74, 0.4);
  opacity: 0;
  animation: leafDrift var(--duration, 16s) linear var(--delay, 0s) infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}
@keyframes leafDrift {
  0%   { transform: translate(0, 0) rotate(-8deg); opacity: 0; }
  8%   { opacity: 0.65; }
  50%  { transform: translate(var(--drift, 20px), -58vh) rotate(170deg); }
  92%  { opacity: 0.45; }
  100% { transform: translate(calc(var(--drift, 20px) * -1), -118vh) rotate(360deg); opacity: 0; }
}
html[dir="rtl"] .leaf { animation-direction: reverse; }
.hero-title { margin-bottom: 1.5rem; }
.hero-title-light, .hero-title-bold { display: block; font-size: clamp(2.75rem, 7vw, 5.25rem); }
.hero-title-light { color: var(--text-muted); font-weight: 400; }
.hero-title-bold { color: var(--fg); font-weight: 700; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 32rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4.5rem; }

.cta-button-primary {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.9rem;
  background-color: var(--ink); color: var(--ink-contrast); font-size: 0.9rem; font-weight: 600;
  border-radius: 9999px; transition: transform .2s ease, background-color .2s ease;
}
.cta-button-primary:hover { transform: translateY(-2px); background-color: #2a2a2c; color: #fff; }

.cta-button-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.7rem;
  background-color: transparent; color: var(--fg); font-size: 0.9rem; font-weight: 600;
  border-radius: 9999px; border: 1.5px solid var(--border-hover);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.cta-button-ghost:hover { border-color: var(--fg); background-color: var(--bg-soft); color: var(--fg); transform: translateY(-2px); }

/* Marquee */
.marquee-wrap { border-top: 1px solid var(--border); overflow: hidden; padding: 2.25rem 0; }
.marquee-wrap--muted { background-color: var(--bg-soft); border-bottom: 1px solid var(--border); margin-top: 3rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track--fast { animation-duration: 22s; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }

.marquee-item {
  display: flex; flex-direction: column; padding: 0 2.75rem; border-right: 1px solid var(--border); min-width: 12rem;
}
.marquee-item strong { font-size: 1.6rem; font-weight: 700; color: var(--fg); }
.marquee-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.marquee-item em { font-style: normal; font-size: 0.7rem; color: var(--text-faint); margin-top: 0.15rem; }

.pill-logo {
  display: inline-flex; align-items: center; padding: 0.55rem 1.25rem; margin: 0 0.5rem;
  border: 1px solid var(--border); border-radius: 9999px; background-color: var(--bg);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted); white-space: nowrap;
}

/* Capabilities */
.capability-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 800px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
.capability-item {
  padding: 2.75rem 1rem 2.75rem 0; border-top: 1px solid var(--border); position: relative;
}
@media (min-width: 800px) {
  .capability-item:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--border); }
  .capability-item:nth-child(even) { padding-left: 2.5rem; }
}
.capability-number { font-family: 'Courier New', monospace; font-size: 0.8rem; color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.capability-item h3 { margin-bottom: 0.75rem; }
.capability-item p { color: var(--text-muted); font-size: 0.9rem; max-width: 28rem; }
.capability-item-visual { float: right; margin-inline-start: 1rem; }
.avatar-stack { display: flex; }
.avatar {
  width: 2rem; height: 2rem; border-radius: 50%; background-color: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700;
  border: 2px solid var(--bg); margin-inline-start: calc(-0.6rem * var(--i));
}
.avatar:nth-child(2) { background-color: var(--gold); }
.avatar:nth-child(3) { background-color: var(--ink); }

/* Process */
.process-section { background-color: var(--bg-soft); }
.process-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 1rem; }
@media (min-width: 960px) { .process-layout { grid-template-columns: 1fr 1fr; align-items: start; } }

.process-steps { display: flex; flex-direction: column; gap: 2rem; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.process-roman {
  font-family: 'Courier New', monospace; font-weight: 700; font-size: 0.95rem; color: var(--accent);
  width: 2.25rem; flex-shrink: 0;
}
.process-step h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); }

.code-panel {
  background-color: var(--ink); border-radius: 1rem; overflow: hidden; color: #e8e8ea;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35); position: sticky; top: 6rem;
}
.code-panel-header { display: flex; align-items: center; gap: 0.4rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.code-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background-color: rgba(255,255,255,0.18); }
.code-filename { margin-inline-start: 0.6rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); font-family: 'Courier New', monospace; }
.code-panel-body {
  padding: 1.5rem 1.25rem; font-family: 'Courier New', monospace; font-size: 0.85rem; line-height: 1.9; overflow-x: auto;
}
.code-key { color: #9fc4ff; }
.code-str { color: #ffd479; }
.code-good { color: #7ee08b; }
.code-panel-footer {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.1rem; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
}
.code-status-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background-color: #7ee08b; box-shadow: 0 0 0 4px rgba(126,224,139,0.15); }

/* Architecture diagram (compact) */
.arch-diagram { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .arch-diagram { flex-direction: row; gap: 0.5rem; } }
.arch-col { flex: 1; border: 1px solid var(--border); border-radius: 1rem; background-color: var(--card-bg); padding: 1.6rem 1.4rem; transition: border-color .3s ease, transform .3s ease; }
.arch-col:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.arch-col--core { border-color: rgba(0,82,255,0.35); background-color: var(--accent-soft); }
.arch-col-icon { width: 2.1rem; height: 2.1rem; border-radius: 0.6rem; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; color: var(--accent); font-size: 0.85rem; }
.arch-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.8rem; }
.arch-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.arch-col li { font-size: 0.76rem; color: var(--text-muted); padding-inline-start: 0.85rem; position: relative; }
.arch-col li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 4px; height: 4px; border-radius: 50%; background-color: var(--accent); }
html[dir="rtl"] .arch-col li::before { left: auto; right: 0; }
.arch-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 0.8rem; }
html[dir="rtl"] .arch-arrow i { transform: scaleX(-1); }

/* Device panel (dark, holds globe) */
.device-panel { background-color: var(--ink); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4); }
.device-panel-header { display: flex; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.device-panel-label { margin-inline-start: 0.75rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); font-family: 'Courier New', monospace; display: flex; align-items: center; gap: 0.4rem; }
.live-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background-color: #7ee08b; box-shadow: 0 0 0 3px rgba(126,224,139,0.18); }
.device-panel-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .device-panel-body { grid-template-columns: 1.6fr 1fr; } }
.globe-wrap { position: relative; height: 22rem; }
#globe-canvas { width: 100%; height: 100%; display: block; cursor: grab; }
#globe-canvas:active { cursor: grabbing; }
.region-list { padding: 1.5rem; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 900px) { .region-list { border-top: none; border-inline-start: 1px solid rgba(255,255,255,0.08); justify-content: center; } }
.region-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.region-row:last-child { border-bottom: none; }
.region-name { color: #fff; font-size: 0.9rem; font-weight: 600; }
.region-tag { color: rgba(255,255,255,0.4); font-size: 0.72rem; }
.region-status { color: #7ee08b; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Why layout */
.two-column { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .two-column { grid-template-columns: 1fr 1fr; } }

.why-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
@media (min-width: 1024px) { .why-layout { grid-template-columns: 0.9fr 1.5fr; } }
.why-image { position: relative; border-radius: 1rem; overflow: hidden; min-height: 20rem; border: 1px solid var(--border); }
.why-image img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 8s ease; }
.why-image.in-view img, .why-image:hover img { transform: scale(1.14); }
.why-image-badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem; border-radius: 9999px; background-color: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  font-size: 0.75rem; font-weight: 600; color: var(--fg); box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
html[dir="rtl"] .why-image-badge { left: auto; right: 1.25rem; }
.why-image-badge i { color: var(--accent); }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-card { border: 1px solid var(--border); border-radius: 1rem; padding: 1.75rem; background-color: var(--card-bg); transition: border-color .3s ease, transform .3s ease; }
.why-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.why-card i { color: var(--accent); font-size: 1.1rem; margin-bottom: 1rem; display: block; }
.why-card h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Standards / security */
.standards-section .section-header { margin-bottom: 0; }
.security-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 3rem; }
@media (min-width: 768px) { .security-grid { grid-template-columns: repeat(4, 1fr); } }
.security-card { border: 1px solid var(--border); border-radius: 1rem; padding: 1.6rem; background-color: var(--card-bg); }
.security-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.security-card p { font-size: 0.82rem; color: var(--text-muted); }
.security-note { margin-top: 1.75rem; font-size: 0.78rem; color: var(--text-faint); font-style: italic; max-width: 40rem; }

/* Product tour */
.tour-section { position: relative; padding: 8rem 0; overflow: hidden; border-top: none; }
.tour-image { position: absolute; inset: 0; z-index: 0; }
.tour-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.75); }
.tour-image-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,8,7,0.92) 0%, rgba(6,8,7,0.75) 45%, rgba(6,8,7,0.4) 100%); }
html[dir="rtl"] .tour-image-overlay { background: linear-gradient(240deg, rgba(6,8,7,0.92) 0%, rgba(6,8,7,0.75) 45%, rgba(6,8,7,0.4) 100%); }
.tour-content { position: relative; z-index: 10; color: #fff; }
.tour-desc { color: rgba(255,255,255,0.72); max-width: 32rem; margin-bottom: 2rem; }
.video-container { position: relative; border-radius: 1rem; overflow: hidden; background-color: #000; max-width: 56rem; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6); }
.video-placeholder-image { width: 100%; display: block; opacity: 0.75; }
.video-play-button {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4.5rem; height: 4.5rem;
  border-radius: 50%; background-color: rgba(255,255,255,0.94); color: #0A0A0B; border: none; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s ease;
}
.video-play-button::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.5); animation: pulseRing 2.4s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
.video-play-button:hover { transform: translate(-50%, -50%) scale(1.06); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; border: 1px solid var(--border); border-radius: 1.25rem; padding: 2.25rem 2rem; background-color: var(--card-bg); display: flex; flex-direction: column; transition: border-color .3s ease, transform .3s ease; }
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.pricing-card--featured { border-color: var(--ink); background-color: var(--bg-soft); }
.pricing-badge { position: absolute; top: -0.8rem; left: 2rem; background-color: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 9999px; }
html[dir="rtl"] .pricing-badge { left: auto; right: 2rem; }
.pricing-number { font-family: 'Courier New', monospace; font-size: 0.8rem; color: var(--accent); font-weight: 700; margin-bottom: 0.75rem; }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; min-height: 2.6rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.6rem; }
.pricing-features i { color: var(--accent); font-size: 0.75rem; }
.pricing-cta { width: 100%; justify-content: center; }

/* Demo Form */
.demo-form { max-width: 44rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--fg); }
input, select, textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 0.6rem; font-family: inherit;
  font-size: 1rem; background-color: var(--bg-soft); color: var(--fg); transition: border-color .2s ease, background-color .2s ease;
}
input::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background-color: var(--bg); }
.field-error { display: block; color: #d32f2f; font-size: 0.75rem; margin-top: 0.25rem; min-height: 1rem; }
input.error, select.error { border-color: #d32f2f; }
.submit-button {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.5rem;
  background-color: var(--ink); color: var(--ink-contrast); border: none; border-radius: 9999px; font-size: 1rem;
  font-weight: 600; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
.submit-button:hover { background-color: #2a2a2c; transform: translateY(-1px); }
.submit-button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success { padding: 1rem; border-radius: 0.6rem; background-color: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.35); color: #2e7d32; font-size: 0.875rem; margin-bottom: 1.5rem; display: none; }
.form-success.show { display: block; }

/* Final CTA */
.final-cta { text-align: center; background-color: var(--bg-soft); }
.final-cta-note { margin-top: 1.25rem; font-size: 0.8rem; color: var(--text-faint); }

/* Footer */
footer { border-top: 1px solid var(--border); background-color: var(--bg); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-content { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: var(--text-muted); max-width: 22rem; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.9rem; }
.footer-socials a { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-socials a:hover { color: var(--fg); border-color: var(--border-hover); }
.footer-section h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; color: var(--text-faint); }
html[dir="rtl"] .footer-section h3 { letter-spacing: 0; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section a { font-size: 0.875rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-section a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }

/* Google Translate widget cleanup */
.google-translate-hidden { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}