/* ==========================================================================
   RWA Connect • JSR Society Manager — Rich Emerald & Gold Enterprise Theme
   100% Responsive Mobile / Tablet / Desktop — Zero Mobile Overflow or Clipping
   Cloned & Enhanced from the Proven JSR Bhoomi Marketing Blueprint
   ========================================================================== */

:root {
  --emerald-950: #042215;
  --emerald-900: #063723;
  --emerald-800: #0f5132;
  --emerald-700: #15803d;
  --emerald-600: #16a34a;
  --emerald-100: #dcfce7;
  --emerald-50: #ecfdf5;
  --gold-600: #b45309;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-300: #fbbf24;
  --gold-100: #fef3c7;
  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 60px rgba(4, 34, 21, 0.28);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Devanagari', 'Noto Sans Tamil', 'Noto Nastaliq Urdu', system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html[dir="rtl"] body {
  font-family: 'Noto Nastaliq Urdu', 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.95;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, select, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Prevent CSS Grid blowout on narrow screens across all 5 languages */
.hero-grid > *,
.stats-grid > *,
.ecosystem-grid > *,
.tour-stage > *,
.module-split > *,
.roles-grid > *,
.stories-grid > *,
.demo-grid > *,
.footer-grid > * {
  min-width: 0;
}

/* ==================== STICKY TOP NAVIGATION (CLEAN — NO CTA SPAM) ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 34, 21, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.26);
  color: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.28);
  flex-shrink: 0;
  object-fit: cover;
}

.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gold-100);
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  color: #a7f3d0;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color 0.18s;
  padding: 6px 2px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold-300);
}

.nav-links a.nav-get-link {
  color: var(--gold-300);
  font-weight: 700;
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
}

.nav-links a.nav-get-link:hover {
  background: rgba(251, 191, 36, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-select {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.lang-select option {
  background: var(--slate-900);
  color: var(--white);
}

.share-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  flex-shrink: 0;
}

.share-icon-btn:hover {
  background: rgba(22, 163, 74, 0.45);
  border-color: var(--gold-300);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 9px;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.3;
  cursor: pointer;
  border: none;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--slate-950);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-700));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(15, 81, 50, 0.24);
}

.btn-whatsapp {
  background: #16a34a;
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--emerald-800);
  border: 1.5px solid var(--emerald-800);
}

/* ==================== HERO SECTION (RICH EMERALD & GOLD — STORY FIRST, CLEAN TOP) ==================== */
.hero-section {
  background: radial-gradient(circle at 80% 20%, #14532d 0%, #063723 48%, #041d12 100%);
  color: var(--white);
  padding: 58px 0 66px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 3.02rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

html[dir="rtl"] .hero-title {
  line-height: 1.58;
}

.hero-sub {
  font-size: 1.02rem;
  color: #d1fae5;
  margin-bottom: 24px;
  max-width: 590px;
  line-height: 1.68;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 560px;
}

.trust-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.35;
}

/* Tablet Showcase Frame */
.tablet-frame {
  background: #0b111e;
  border: 7px solid #1e293b;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  direction: ltr;
}

.tablet-topbar {
  background: #1e293b;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.tablet-topbar-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tablet-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.tablet-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}

.tablet-frame img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 26px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.stat-item {
  padding: 6px 4px;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 800;
  color: var(--emerald-800);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-item span {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-600);
  line-height: 1.4;
}

/* ==================== UNIFIED BRAND ECOSYSTEM STRIP ==================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.16s ease, border-color 0.18s ease;
}

.eco-card:hover {
  transform: translateY(-2px);
  border-color: var(--emerald-700);
}

.eco-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eco-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid var(--gold-400);
  flex-shrink: 0;
}

.eco-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  margin-bottom: 3px;
}

.eco-badge.addon {
  background: var(--gold-100);
  color: var(--gold-600);
}

.eco-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}

.eco-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 68px 0;
  scroll-margin-top: 72px;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(160deg, var(--emerald-950), var(--emerald-900));
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.section-dark .section-tag {
  background: rgba(251, 191, 36, 0.16);
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.26;
  margin-bottom: 12px;
}

html[dir="rtl"] .section-title {
  line-height: 1.6;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* ==================== INTERACTIVE 8-SCREEN LIVE APP TOUR ==================== */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 26px;
}

.tour-tab-btn {
  padding: 10px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.35;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.tour-tab-btn:hover {
  border-color: var(--emerald-700);
  color: var(--emerald-800);
}

.tour-tab-btn.active {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(15, 81, 50, 0.24);
}

.tour-stage {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.tour-shot-box {
  background: var(--slate-900);
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid var(--slate-800);
  position: relative;
  direction: ltr;
}

.tour-shot-box img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.zoom-hint-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(9, 13, 22, 0.84);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
}

.tour-app-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.tour-info h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--emerald-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tour-info p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.tour-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
}

.tour-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.45;
}

.tour-bullets li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==================== DEEP 4-APP MODULE PANELS ==================== */
.module-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.module-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 84px;
}

.module-panel.admin-panel {
  border-top: 5px solid var(--emerald-700);
}

.module-panel.resident-panel {
  border-top: 5px solid var(--gold-500);
}

.module-panel.gate-panel {
  border-top: 5px solid #1d4ed8;
}

.module-panel.gov-panel {
  border-top: 5px solid #0f766e;
}

.module-panel h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.32;
}

.module-panel .panel-sub {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 18px;
}

.adv-list {
  display: grid;
  gap: 12px;
}

.adv-card {
  background: var(--slate-50);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.adv-card h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
  line-height: 1.35;
}

.adv-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==================== COMPARISON MATRIX (DESKTOP TABLE + MOBILE STACKED CARDS) ==================== */
.comp-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  overflow: hidden;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th,
.comp-table td {
  padding: 14px 16px;
  text-align: start;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9rem;
  vertical-align: top;
}

.comp-table th {
  background: var(--slate-100);
  font-weight: 800;
  color: var(--slate-800);
}

.comp-table th.highlight-col {
  background: var(--emerald-800);
  color: var(--white);
}

.comp-table td.highlight-col {
  background: var(--emerald-50);
  color: var(--emerald-900);
  font-weight: 800;
}

.comp-mobile-cards {
  display: none;
  gap: 12px;
  margin-top: 20px;
}

.comp-m-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.comp-m-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--slate-100);
}

.comp-m-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.83rem;
  padding: 5px 0;
  color: var(--slate-600);
}

.comp-m-row.jsr-win {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--emerald-50);
  color: var(--emerald-900);
  font-weight: 800;
}

.comp-m-lbl {
  font-weight: 700;
  flex-shrink: 0;
}

.comp-m-val {
  text-align: end;
}

/* ==================== 4 STAKEHOLDER ROLES ==================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.role-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.role-card .role-icon {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.role-card h4 {
  color: var(--gold-300);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.role-card p {
  font-size: 0.87rem;
  color: #e2e8f0;
  line-height: 1.58;
}

/* ==================== 3 SUCCESS STORIES & SECURITY ==================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-metric-badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.story-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--slate-900);
  line-height: 1.32;
}

.story-loc {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.story-quote {
  font-size: 0.91rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.62;
}

.story-results {
  border-top: 1px solid var(--slate-200);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.story-results strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emerald-800);
}

.story-results span {
  font-size: 0.76rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* ==================== BOTTOM ACTION HUB: PLAY STORE COMING SOON + PREVIEW RELEASE + DEMO ==================== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.playstore-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #090d16;
  color: var(--white);
  border: 1.5px solid rgba(251, 191, 36, 0.52);
  padding: 10px 18px;
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.16s;
  position: relative;
}

.playstore-badge-btn:hover {
  border-color: var(--gold-300);
  transform: translateY(-1px);
}

.playstore-badge-btn small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.7px;
  color: var(--gold-300);
  text-transform: uppercase;
  font-weight: 800;
}

.playstore-badge-btn strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.preview-highlight-box {
  background: rgba(251, 191, 36, 0.11);
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.preview-highlight-box strong {
  color: var(--gold-300);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.preview-highlight-box p {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.demo-form-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  color: var(--slate-900);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label,
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.93rem;
  outline: none;
  direction: ltr;
  background: var(--white);
}

.form-control:focus {
  border-color: var(--emerald-700);
}

.form-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 700;
  margin-top: 12px;
  display: none;
}

.form-status.ok {
  display: block;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid #86efac;
}

.form-status.err {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--slate-950);
  color: #94a3b8;
  padding: 46px 0 28px;
  font-size: 0.87rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #1e293b;
}

.footer-title {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-seals {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.footer-seals img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  object-fit: cover;
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.93);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-inner {
  max-width: 1360px;
  max-height: 92vh;
  position: relative;
}

.lightbox-inner img {
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: var(--white);
  color: var(--slate-900);
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  cursor: pointer;
}

/* ==================== 100% RESPONSIVE TABLET & MOBILE RULES ==================== */
@media (max-width: 1060px) {
  .hero-grid,
  .tour-stage,
  .module-split,
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .roles-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--emerald-950);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 6px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: normal;
  }
  .nav-links a.nav-get-link {
    text-align: center;
    margin-top: 6px;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .brand-sub {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .hero-section {
    padding: 38px 0 46px;
  }
  .section {
    padding: 46px 0;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .hero-trust-pills {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tour-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tour-tab-btn {
    padding: 9px 10px;
    font-size: 0.78rem;
    width: 100%;
  }
  .tour-stage,
  .module-panel,
  .story-card,
  .demo-form-card {
    padding: 18px;
  }
  /* Switch wide 4-col table to clean zero-clipping mobile comparison cards */
  .comp-table-wrap {
    display: none;
  }
  .comp-mobile-cards {
    display: grid;
  }
  .roles-grid,
  .ecosystem-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lang-select {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .brand-title {
    font-size: 1.02rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
}

/* ==================== PRINTABLE PITCH BROCHURE ==================== */
@media print {
  .site-header,
  .tour-tabs,
  .demo-form-card,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero-section,
  .section-dark {
    background: #063723 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .section {
    padding: 26px 0;
  }
}
