:root {
  /* Dark backgrounds */
  --color-bg-primary: #0b0b0b;
  --color-bg-primary-rgb: 11, 11, 11;
  --color-bg-secondary: #111111;
  --color-bg-secondary-rgb: 17, 17, 17;
  --color-bg-elevated: #191919;
  --color-bg-elevated-rgb: 25, 25, 25;
  --color-bg-card: rgba(255, 255, 255, 0.03);
  --color-bg-card-hover: rgba(255, 255, 255, 0.05);

  /* Text hierarchy */
  --color-text-primary: #f2f7ff;
  --color-text-secondary: #b7c6dd;
  --color-text-muted: #7d8daa;
  --color-text-faint: #55637f;

  /* Borders — cool low-contrast indigo */
  --color-border: rgba(161, 178, 222, 0.14);
  --color-border-strong: rgba(161, 178, 222, 0.24);
  --color-border-muted: rgba(161, 178, 222, 0.09);

  /* Accent — derived from the Nightshale icon */
  --color-accent: #6f71ff;
  --color-accent-rgb: 111, 113, 255;
  --color-accent-end: #78edde;
  --color-accent-end-rgb: 120, 237, 222;
  --color-accent-pink: #8d95ff;
  --color-accent-purple: #6f71ff;
  --color-accent-blue: #78edde;
  --color-accent-bg: rgba(var(--color-accent-rgb), 0.14);
  --color-accent-bg-strong: rgba(var(--color-accent-end-rgb), 0.12);
  --color-accent-border: rgba(var(--color-accent-end-rgb), 0.24);

  /* CTAs */
  --color-cta-fill: linear-gradient(135deg, #6f71ff 0%, #78edde 100%);
  --color-cta-fill-hover: linear-gradient(135deg, #8486ff 0%, #91f4e9 100%);
  --color-cta-fill-text: #08111f;
  --color-cta-secondary-fill: rgba(var(--color-bg-elevated-rgb), 0.72);
  --color-cta-secondary-text: #f2f7ff;
  --color-cta-secondary-border: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-display: 'Inter', -apple-system, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'SF Mono', 'IBM Plex Mono', 'Cascadia Code', Consolas, monospace;

  /* Shadows (dark-adapted) */
  --shadow-mockup: 0 0 0 0.5px rgba(161, 178, 222, 0.16), 0 40px 80px rgba(0, 0, 0, 0.5), 0 16px 32px rgba(0, 0, 0, 0.3);
  --shadow-pill: 0 1px 6px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2);

  /* Radii */
  --radius-button: 100px;
  --radius-card: 16px;
  --radius-mockup: 16px;
  --radius-pill: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

select {
  font: inherit;
  color: var(--color-text-secondary);
  background: var(--color-bg-primary);
}

[dir="rtl"] .section-eyebrow {
  letter-spacing: 0;
}
/* ============================================================
   Nightshale Landing — Dark Redesign (interfere.com-inspired)
   Dark, refined, gradient glow accents
   ============================================================ */

/* === LAYOUT === */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.section > *:not(.section-divider) {
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section-divider {
  position: absolute;
  top: 0;
  inset-inline: 32px;
  height: 1px;
  background: var(--color-border);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
}

.section-subtext {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 8px;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.7;
}

/* === BUTTONS === */

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta-fill);
  color: var(--color-cta-fill-text);
  padding: 12px 28px;
  justify-content: center;
  border-radius: var(--radius-button);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--color-cta-secondary-border);
  padding: 12px 28px;
  border-radius: var(--radius-button);
  font-size: 14px;
  color: var(--color-cta-secondary-text);
  text-decoration: none;
  background: var(--color-cta-secondary-fill);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.button-primary:hover {
  opacity: 0.88;
}

.button-download {
  background: var(--color-text-primary);
  color: var(--color-cta-fill-text);
}

.button-download:hover {
  background: #dbe8fb;
  opacity: 1;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* === FOCUS STYLES === */

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === HEADER === */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background: transparent;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s;
  will-change: backdrop-filter, -webkit-backdrop-filter;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(var(--color-bg-primary-rgb), 0.9) 0%, rgba(var(--color-bg-primary-rgb), 0.68) 100%);
  transition: opacity 0.4s ease;
}

.site-header.scrolled {
  background: rgba(var(--color-bg-primary-rgb), 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.site-header.scrolled::after {
  opacity: 1;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--color-text-primary);
}

.header-logo img {
  width: 24px;
  height: 24px;
}

.header-separator {
  width: 1px;
  height: 20px;
  background: var(--color-border-strong);
}

.header-nav {
  display: flex;
  gap: 22px;
}

.header-nav a {
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}

.header-nav a:hover,
.header-nav a.nav-active {
  color: var(--color-text-primary);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  font-size: 13px;
  padding: 9px 22px;
  border-radius: 50px;
}

.header-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
}

/* Locale Switcher */
.locale-switcher {
  position: relative;
}

.locale-trigger {
  height: 38px;
  min-width: 38px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.locale-trigger:hover,
.locale-trigger-open {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border-strong);
}

.locale-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  min-width: 64px;
  max-height: 255px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
  animation: dropdownIn 0.15s ease-out;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.locale-option {
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  border: none;
  background: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: background 0.12s;
}

.locale-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.locale-option-active {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 1px;
}

.mobile-menu {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-primary);
}

.mobile-menu a {
  padding: 10px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* === HERO === */

.hero-section {
  text-align: left;
  padding: 80px 32px 0;
  position: relative;
  overflow: hidden;
  height: calc(100svh - 67px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  height: calc(100svh - 67px - 80px);
  display: flex;
  flex-direction: column;
}

.hero-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin: 16px auto clamp(32px, 7svh, 124px) auto;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  max-width: 420px;
}

/* Announcement Pill */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 20px 6px 8px;
  font-size: 13px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-pill);
}

.pill-badge {
  background: var(--color-accent-bg);
  color: var(--color-accent);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.pill-text {
  color: var(--color-text-secondary);
  font-size: 13px;
}

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.hero-title-accent {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-end) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 420px;
  line-height: 1.6;
  text-align: right;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* Mockup wrapper for glow containment */
.hero-mockup-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Hero Gradient Glow — uses multiple box-shadows for reliable cross-browser blur */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: transparent;
  border-radius: 50%;
  box-shadow:
    0 0 300px 350px rgba(var(--color-accent-rgb), 0.12),
    160px 0 300px 350px rgba(var(--color-accent-end-rgb), 0.1),
    360px 0 300px 350px rgba(var(--color-accent-rgb), 0.08),
    560px 0 300px 350px rgba(var(--color-accent-end-rgb), 0.08),
    -160px 0 300px 350px rgba(var(--color-accent-rgb), 0.08),
    -360px 0 300px 300px rgba(var(--color-accent-end-rgb), 0.05);
  pointer-events: none;
  z-index: 0;
}

/* === APP MOCKUP (Dashboard) === */

.app-mockup {
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-width: 920px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.app-mockup-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* === FEATURES === */

.features-section {
  background: var(--color-bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 30px;
  border: 0.5px solid var(--color-border);
  min-height: 220px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0.4;
}

.feature-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 18px;
  color: var(--color-accent-end);
  background: linear-gradient(135deg, var(--color-accent-bg) 0%, var(--color-accent-bg-strong) 100%);
  border: 0.5px solid var(--color-accent-border);
  box-shadow: none;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* === COMPARISON === */

.comparison-section {
  background: var(--color-bg-secondary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.comparison-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.comparison-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.comparison-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-bg) 0%, var(--color-accent-bg-strong) 100%);
  color: var(--color-accent-end);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  border: 0.5px solid var(--color-accent-border);
}

.comparison-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--color-accent-end);
  font-weight: 700;
  margin-bottom: 6px;
}

.comparison-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
}

.comparison-body {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* === HOW IT WORKS === */

.how-section {
  background: var(--color-bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  border: 0.5px solid var(--color-border);
  min-height: 238px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-bg) 0%, var(--color-accent-bg-strong) 100%);
  color: var(--color-accent-end);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}

.step-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* === DOWNLOADS === */

.download-section {
  background: var(--color-bg-secondary);
}

.download-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--color-text-primary);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 24px 20px 20px;
  border: 0.5px solid var(--color-border);
  text-align: left;
  color: var(--color-text-primary);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  min-height: 250px;
}

.download-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.download-card-disabled {
  opacity: 0.5;
}

.download-card-disabled:hover {
  border-color: var(--color-border);
  box-shadow: none;
  transform: none;
}

.download-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.download-card-icon {
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.download-card-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.download-card-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.download-card-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.download-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, background 0.15s, color 0.15s;
}

.download-action:hover {
  border-color: var(--color-accent-border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.download-action:disabled,
.download-action-disabled {
  cursor: not-allowed;
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  box-shadow: none;
  transform: none;
}

.download-action:disabled:hover,
.download-action-disabled:hover {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  box-shadow: none;
  transform: none;
}

.download-action-primary {
  background: var(--color-text-primary);
  border-color: var(--color-text-primary);
  border-radius: var(--radius-button);
  color: var(--color-cta-fill-text);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.download-action-primary:hover {
  background: #dbe8fb;
  border-color: #dbe8fb;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.download-action-secondary {
  background: var(--color-accent-bg);
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}

.download-unavailable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px dashed var(--color-border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* === FAQ === */

.faq-section {
  background: var(--color-bg-primary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: var(--color-text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--color-text-muted);
  font-size: 20px;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-inline-start: 12px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding-top: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === CONTACT === */

.contact-section {
  background: var(--color-bg-secondary);
}

.contact-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.contact-inner p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* === CONTACT (Full-page split) === */

.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  animation: fadeIn 0.15s ease-out;
}

.contact-split {
  display: flex;
  height: 100%;
}

.contact-form-side {
  flex: 0 0 50%;
  max-width: 50%;
  background: var(--color-bg-primary);
  display: flex;
  flex-direction: column;
  padding: 32px 48px;
  overflow-y: auto;
}

.contact-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.15s;
  cursor: pointer;
}

.contact-return:hover {
  color: var(--color-text-primary);
}

.contact-form-header {
  margin-bottom: 48px;
}

.contact-form-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.contact-form-header p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 420px;
}

.contact-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  max-width: 520px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-body .form-input,
.contact-form-body .form-textarea {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--color-text-primary);
  transition: border-color 0.15s;
}

.contact-form-body .form-input:focus,
.contact-form-body .form-textarea:focus {
  border-color: var(--color-border-strong);
  box-shadow: none;
}

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

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--color-cta-fill);
  color: var(--color-cta-fill-text);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: auto;
}

.contact-submit:hover {
  background: var(--color-cta-fill-hover);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-error {
  font-size: 13px;
  color: #ef4444;
  line-height: 1.5;
}

.contact-form-footer {
  display: flex;
  gap: 20px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
}

.contact-form-footer a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-form-footer a:hover {
  color: var(--color-text-secondary);
}

.contact-quote-side {
  flex: 0 0 50%;
  max-width: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.contact-quote-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(var(--color-accent-end-rgb), 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-primary);
  text-align: center;
  max-width: 500px;
  position: relative;
}

@media (max-width: 760px) {
  .contact-split {
    flex-direction: column;
  }

  .contact-form-side {
    flex: 1;
    max-width: 100%;
    padding: 24px 20px;
  }

  .contact-quote-side {
    display: none;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* === MODAL === */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal {
  background: var(--color-bg-elevated);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.2s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--color-text-muted);
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
}

.modal-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-faint);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.16);
}

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

.modal-send {
  width: 100%;
  justify-content: center;
  padding: 12px;
  margin-top: 4px;
}

.download-options-modal {
  max-width: 560px;
}

.download-options-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-options-body {
  padding: 16px 24px 24px;
}

.download-options-copy {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.download-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-options-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0.5px solid var(--color-border);
  background: var(--color-bg-card);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.download-options-item:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.download-options-item-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.download-options-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.download-options-item-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Store items (App Store / Google Play) */
.download-options-store {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.download-store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-text-primary);
}

.download-action-store-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 8px;
}

.download-action-store {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-text-primary);
}

.download-action-store:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* === FOOTER === */

.site-footer {
  padding: 48px 32px;
  position: relative;
  margin-top: auto;
  background: var(--color-bg-primary);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-primary);
}

.footer-logo img {
  width: 20px;
  height: 20px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-columns {
  display: flex;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}

.footer-column a {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-bottom: 7px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 11px;
  color: var(--color-text-muted);
}

.footer-version {
  font-size: 10px;
  color: transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.locale-select {
  font-size: 11px;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 8px;
  background: transparent;
}

/* === SUB-PAGES (Privacy, Terms, Docs) === */

.page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-hero {
  text-align: center;
  padding: 64px 0 40px;
}

.page-hero .section-eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.page-hero p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.page-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.page-content {
  padding-bottom: 64px;
}

.page-updated {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.page-card {
  background: var(--color-bg-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
}

.page-card h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.page-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === LEGAL PAGES (Terms, Privacy) === */

.legal-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-breadcrumb a:hover {
  color: var(--color-text-primary);
}

.legal-breadcrumb-sep {
  color: var(--color-text-faint);
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  padding-top: 32px;
}

.legal-content {
  max-width: 680px;
}

.legal-header {
  margin-bottom: 24px;
}

.legal-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--color-text-primary);
}

.legal-meta {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.legal-updated {
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-prose {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.legal-intro {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.legal-prose section {
  margin-bottom: 36px;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.legal-prose p {
  margin-bottom: 8px;
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.legal-footer p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.legal-footer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer a:hover {
  color: var(--color-accent-end);
}

/* Legal sidebar TOC */
.legal-sidebar {
  position: relative;
}

.legal-toc {
  position: sticky;
  top: 80px;
}

.legal-toc-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  padding: 0 8px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-toc li {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: default;
  transition: color 0.15s;
  line-height: 1.4;
}

.legal-toc li:hover {
  color: var(--color-text-secondary);
}

@media (max-width: 1120px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-sidebar {
    display: none;
  }
}

@media (max-width: 760px) {
  .legal-main {
    padding: 0 20px 48px;
  }

  .legal-header h1 {
    font-size: 28px;
  }

  .legal-prose h2 {
    font-size: 16px;
  }
}

/* === ENTRANCE ANIMATIONS === */

@keyframes fadeBlurIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-title,
.hero-description,
.hero-ctas,
.announcement-pill,
.app-mockup,
.hero-glow {
  opacity: 0;
  animation: fadeBlurIn 0.8s ease-out forwards;
}

.announcement-pill { animation-delay: 0s; }
.hero-title { animation-delay: 0.05s; }
.hero-description { animation-delay: 0.1s; }
.hero-ctas { animation-delay: 0.15s; }
.hero-glow { animation-delay: 0.25s; }
.app-mockup { animation-delay: 0.35s; }

/* === RTL SUPPORT === */

[dir="rtl"] .section-eyebrow { letter-spacing: 0; }
[dir="rtl"] .footer-column h4 { letter-spacing: 0; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .header-left { flex-direction: row-reverse; }
[dir="rtl"] .header-right { flex-direction: row-reverse; }
[dir="rtl"] .steps-grid { direction: rtl; }
[dir="rtl"] .footer-top { flex-direction: row-reverse; }
[dir="rtl"] .mobile-menu a { text-align: right; }
[dir="rtl"] .hero-split { flex-direction: row-reverse; }
[dir="rtl"] .hero-description { text-align: left; }
[dir="rtl"] .hero-right { align-items: flex-start; }

/* === RESPONSIVE — TABLET === */

@media (max-width: 1120px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card {
    text-align: start;
    min-height: auto;
  }

  .step-number {
    margin-bottom: 16px;
  }

  .hero-split {
    gap: 32px;
  }
}

/* === RESPONSIVE — MOBILE === */

@media (max-width: 760px) {
  .section {
    padding: 48px 20px;
  }

  .header-inner {
    padding: 12px 20px;
  }

  .header-nav {
    display: none;
  }

  .header-separator {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-icon-btn {
    display: none;
  }

  .locale-switcher {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    padding: 16px 20px;
  }

  .hero-section {
    padding: 48px 20px 0;
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-right {
    align-items: flex-start;
  }

  .hero-description {
    text-align: left;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .section-header h2 {
    font-size: 2.25rem;
    letter-spacing: -0.05em;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-glow {
    display: none;
  }

  .hero-mockup-wrap {
    flex: none;
  }

  .app-mockup,
  .app-mockup-image {
    max-height: none;
  }

  .app-mockup-image {
    width: 100%;
  }

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

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

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

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

  .feature-card,
  .step-card {
    min-height: auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .footer-meta {
    gap: 6px 12px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
