:root {
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-text-faint: #bbbbbb;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;
  --color-border: #f0f0f0;
  --color-border-strong: #e0e0e0;
  --color-border-muted: #eeeeee;
  --color-accent: #E8634A;
  --color-accent-end: #d4483a;
  --color-accent-bg: #FFF0ED;
  --color-cta-fill: #1a1a1a;
  --color-cta-fill-text: #ffffff;
  --font-display: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'SF Mono', 'IBM Plex Mono', 'Cascadia Code', Consolas, monospace;
  --shadow-mockup: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-pill: 0 1px 6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --radius-button: 8px;
  --radius-card: 12px;
  --radius-mockup: 14px;
  --radius-pill: 24px;
}

*,
*::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;
}

[dir="rtl"] .section-eyebrow {
  letter-spacing: 0;
}
/* ============================================================
   Nightshale Landing — Redesign (mystuff-inspired)
   Clean, spacious, warm with dashboard mockup
   ============================================================ */

/* === 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: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-subtext {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* === BUTTONS === */

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta-fill);
  color: var(--color-cta-fill-text);
  padding: 11px 28px;
  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;
  gap: 8px;
  border: 1px solid var(--color-border-strong);
  padding: 11px 28px;
  border-radius: var(--radius-button);
  font-size: 14px;
  color: var(--color-text-primary);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
}

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

.button-secondary:hover {
  background: var(--color-bg-secondary);
}

/* === 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: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s, box-shadow 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(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0.06) 100%),
    radial-gradient(120% 140% at 50% -30%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.58) 52%, rgba(255, 255, 255, 0.46) 100%);
  backdrop-filter: blur(26px) saturate(190%) brightness(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.66) inset,
    0 18px 42px rgba(148, 156, 169, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.06),
    0 1px 3px rgba(15, 23, 42, 0.05);
}

.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: var(--color-bg-primary);
  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: var(--color-bg-secondary);
  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: var(--color-bg-primary);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.locale-trigger:hover,
.locale-trigger-open {
  background: var(--color-bg-secondary);
  border-color: var(--color-border-strong);
}

.locale-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  min-width: 64px;
  max-height: 240px;
  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: var(--color-bg-secondary);
}

.locale-option-active {
  background: var(--color-bg-secondary);
  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: center;
  padding: 80px 32px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 99, 74, 0.07);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.hero-circle-1 {
  width: 500px;
  height: 500px;
}

.hero-circle-2 {
  width: 700px;
  height: 700px;
  border-color: rgba(232, 99, 74, 0.05);
}

.hero-circle-3 {
  width: 900px;
  height: 900px;
  border-color: rgba(232, 99, 74, 0.035);
}

.hero-circle-4 {
  width: 1100px;
  height: 1100px;
  border-color: rgba(232, 99, 74, 0.02);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232, 99, 74, 0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Announcement Pill */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-muted);
  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: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}

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

.app-mockup {
  background: var(--color-bg-primary);
  border-radius: var(--radius-mockup);
  border: 1px solid var(--color-border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
  margin: 0 auto;
  max-width: 920px;
}

.mockup-chrome {
  background: #f8f8f8;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot-red,
.dot-yellow,
.dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 320px;
}

/* Sidebar */
.mockup-sidebar {
  width: 220px;
  border-inline-end: 1px solid var(--color-border);
  padding: 14px 12px;
  background: var(--color-bg-primary);
  flex-shrink: 0;
}

.mockup-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  margin-bottom: 12px;
}

.mockup-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--color-text-primary);
  border-radius: 6px;
}

.mockup-logo-text {
  width: 64px;
  height: 10px;
  background: var(--color-text-primary);
  border-radius: 3px;
}

.mockup-collapse-btn {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  margin-inline-start: auto;
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 16px;
}

.mockup-search-icon {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--color-text-faint);
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-search-text {
  width: 50px;
  height: 7px;
  background: var(--color-border-strong);
  border-radius: 3px;
}

.mockup-search-kbd {
  font-size: 9px;
  color: var(--color-text-faint);
  margin-inline-start: auto;
  padding: 1px 5px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-mono);
  background: var(--color-bg-secondary);
}

.mockup-nav-section {
  margin-bottom: 14px;
}

.mockup-nav-label {
  font-size: 9px;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 8px;
  margin-bottom: 4px;
  font-weight: 500;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
}

.mockup-nav-item:hover {
  background: var(--color-bg-secondary);
}

.mockup-nav-icon {
  width: 14px;
  height: 14px;
  border: 1.2px solid var(--color-border-strong);
  border-radius: 4px;
  flex-shrink: 0;
}

.mockup-nav-text {
  height: 7px;
  background: var(--color-border-strong);
  border-radius: 3px;
}

.mockup-nav-badge {
  font-size: 9px;
  color: var(--color-text-muted);
  margin-inline-start: auto;
  padding: 1px 6px;
  background: var(--color-bg-secondary);
  border-radius: 8px;
}

.mockup-nav-chevron {
  width: 10px;
  height: 10px;
  margin-inline-start: auto;
  border-inline-end: 1.5px solid var(--color-text-faint);
  border-bottom: 1.5px solid var(--color-text-faint);
  transform: rotate(-45deg);
}

.mockup-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 8px 4px 30px;
}

.mockup-nav-sub .mockup-line {
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
}

/* Main content area */
.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.mockup-topbar-search {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mockup-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mockup-time-big {
  width: 48px;
  height: 9px;
  background: var(--color-text-primary);
  border-radius: 3px;
}

.mockup-time-small {
  width: 80px;
  height: 5px;
  background: var(--color-border);
  border-radius: 2px;
}

.mockup-bell {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--color-text-muted);
  border-radius: 50%;
  position: relative;
}

.mockup-bell::after {
  content: '';
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

.mockup-avatar-small {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  border-radius: 50%;
}

/* Content area */
.mockup-content {
  padding: 0;
  flex: 1;
}

.mockup-banner {
  height: 80px;
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 40%, #ff6b6b 70%, #ee5a24 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 12px;
}

.mockup-banner-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ddd, #bbb);
  border-radius: 50%;
  border: 3px solid white;
  transform: translateY(16px);
}

.mockup-banner-actions {
  display: flex;
  gap: 6px;
}

.mockup-btn-outline {
  width: 52px;
  height: 22px;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  background: var(--color-bg-primary);
}

.mockup-btn-filled {
  width: 72px;
  height: 22px;
  background: var(--color-text-primary);
  border-radius: 6px;
}

.mockup-btn-accent {
  width: 60px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 6px;
}

.mockup-breadcrumb {
  padding: 24px 18px 8px;
}

.mockup-settings-header {
  padding: 0 18px 12px;
}

.mockup-tabs {
  display: flex;
  gap: 4px;
  padding: 0 18px 14px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-tab {
  width: 56px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg-secondary);
}

.mockup-tab.active {
  background: var(--color-bg-primary);
  border-color: var(--color-border-strong);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.mockup-card-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  margin: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.mockup-card-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-card-right {
  display: flex;
  gap: 6px;
}

/* Shared mockup line helpers */
.mockup-line,
.mockup-line-title {
  border-radius: 4px;
}

.mockup-line {
  height: 7px;
  background: var(--color-border);
}

.mockup-line-title {
  height: 11px;
  background: var(--color-border-strong);
}

.w30 { width: 30%; }
.w45 { width: 45%; }
.w55 { width: 55%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w82 { width: 82%; }
.w90 { width: 90%; }
.w95 { width: 95%; }

/* === FEATURES === */

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

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

.feature-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
}

.feature-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
}

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

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

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

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

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

.step-card {
  text-align: center;
  background: var(--color-bg-primary);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  border: 1px solid var(--color-border-muted);
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  color: var(--color-accent);
  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;
}

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

/* === DOWNLOADS === */

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

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

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-primary);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  border: 1px solid var(--color-border);
  text-align: center;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.download-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.download-card-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

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

.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;
}

/* === FAQ === */

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

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

.faq-item {
  border-bottom: 1px solid var(--color-border-strong);
  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;
}

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

.faq-icon {
  color: var(--color-text-faint);
  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-primary);
}

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

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

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

/* === MODAL === */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  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-primary);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  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;
}

.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: var(--color-bg-secondary);
  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(232, 99, 74, 0.1);
}

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

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

/* === FOOTER === */

.site-footer {
  padding: 48px 32px;
  position: relative;
  margin-top: auto;
}

.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;
}

.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-faint);
}

.footer-version {
  font-size: 10px;
  color: var(--color-bg-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.locale-select {
  font-size: 11px;
  color: var(--color-text-muted);
  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;
}

.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-secondary);
  border: 1px 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;
}

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

/* === TERMS PAGE === */

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

.terms-document {
  padding-top: 56px;
}

.terms-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.terms-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.terms-updated {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

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

.terms-section {
  margin-bottom: 36px;
}

.terms-section h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.terms-section p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

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

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

@media (max-width: 760px) {
  .terms-header h1 {
    font-size: 28px;
  }

  .terms-section h2 {
    font-size: 16px;
  }

  .terms-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === 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; }

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

@media (max-width: 1120px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    text-align: start;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .mockup-sidebar {
    width: 180px;
  }
}

/* === 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;
  }

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

  .hero-description {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
  }

  .hero-circle {
    display: none;
  }

  .hero-glow {
    display: none;
  }

  .mockup-sidebar {
    display: none;
  }

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

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

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

  .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;
  }
}
