/* =========================================================
   IDENTYCA.IO — Premium AR Networking Platform
   Tab-based SPA layout · Dark SaaS aesthetic
   ========================================================= */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:      #050810;
  --bg-secondary:    #080d1a;
  --bg-card:         rgba(12, 18, 35, 0.8);
  --bg-glass:        rgba(255, 255, 255, 0.04);
  --bg-glass-hover:  rgba(255, 255, 255, 0.07);
  --border-subtle:   rgba(255, 255, 255, 0.07);
  --border-glow:     rgba(99, 179, 237, 0.25);

  --text-primary:    #f0f4ff;
  --text-secondary:  rgba(200, 215, 255, 0.65);
  --text-muted:      rgba(160, 180, 230, 0.4);

  --accent-blue:     #4fc3f7;
  --accent-purple:   #a78bfa;
  --accent-cyan:     #22d3ee;
  --accent-green:    #34d399;
  --accent-amber:    #fbbf24;

  --gradient-main:   linear-gradient(135deg, #4fc3f7 0%, #a78bfa 50%, #22d3ee 100%);
  --gradient-glow:   linear-gradient(135deg, rgba(79,195,247,0.15) 0%, rgba(167,139,250,0.15) 100%);
  --gradient-card:   linear-gradient(135deg, rgba(79,195,247,0.08) 0%, rgba(167,139,250,0.05) 100%);

  --shadow-card:     0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow:     0 0 40px rgba(79, 195, 247, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button { font-family: var(--font); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.desktop-only { display: inline; }

/* ── Gradient Text ──────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: #050810;
  box-shadow: 0 4px 20px rgba(79,195,247,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,195,247,0.45);
  filter: brightness(1.08);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { background: var(--bg-glass); color: var(--text-primary); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(79,195,247,0.4);
}
.btn-outline:hover {
  background: rgba(79,195,247,0.08);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(79,195,247,0.15);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── Tab button (resets button styles, uses btn classes on top) */
.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: var(--font);
  font-size: inherit;
  transition: var(--transition);
  text-align: left;
}

/* ── Section Base ──────────────────────────────────────── */
.section { padding: 100px 0 60px; position: relative; overflow: hidden; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* Tab-panel footer navigation */
.tab-nav-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* ── Reveal Animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* =========================================================
   TAB HOST SYSTEM
   ========================================================= */
.tab-host {
  /* Full height minus nav — panels fill this */
  min-height: 100vh;
  position: relative;
}

/* Each tab panel — hidden by default */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-height: 100vh;
}
.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabIn 0.4s ease forwards;
}
@keyframes tabIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 18px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}
.logo-mark {
  font-size: 1.3rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text { color: var(--text-primary); }
.logo-dot { color: var(--accent-blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin: 0 auto;
}
.nav-links .tab-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
}
.nav-links .tab-btn:hover,
.nav-links .tab-btn.active-tab {
  color: var(--text-primary);
  background: var(--bg-glass);
}
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(5,8,16,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
}
.nav-mobile .tab-btn {
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
}
.nav-mobile .tab-btn:hover { color: var(--text-primary); }
.nav-mobile.open { display: flex; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 130px 60px 40px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero background (fixed so it doesn't scroll weirdly) */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,195,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,195,247,0.5), transparent 70%);
  top: -150px; left: -150px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.45), transparent 70%);
  top: 20%; right: -100px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,0.3), transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -5s;
}
.hero-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,195,247,0.5), transparent);
  animation: scanDown 6s linear infinite;
  opacity: 0.5;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
@keyframes scanDown {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { top: 100vh; opacity: 0; }
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 20px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  width: fit-content;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-unit { font-size: 0.85rem; font-weight: 600; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; display: block; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-subtle); }

/* ── AR Demo Window ─────────────────────────────────────── */
.ar-demo-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  transition-delay: 0.3s;
}
.ar-demo {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(79,195,247,0.2);
  box-shadow: 0 0 60px rgba(79,195,247,0.12), 0 30px 80px rgba(0,0,0,0.6);
  background: rgba(5,10,20,0.95);
  animation: floatDemo 6s ease-in-out infinite;
}
@keyframes floatDemo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.ar-demo-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border-subtle);
}
.ar-chrome-dots { display: flex; gap: 6px; }
.ar-chrome-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ar-chrome-dots span:nth-child(1) { background: #ff5f57; }
.ar-chrome-dots span:nth-child(2) { background: #ffbd2e; }
.ar-chrome-dots span:nth-child(3) { background: #28c840; }
.ar-chrome-label {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ar-chrome-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 600;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6b7280;
}
.status-dot.active {
  background: var(--accent-green);
  animation: pulseDot 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent-green);
}

.ar-scene {
  position: relative;
  height: 380px;
  background: linear-gradient(180deg, #0a1020 0%, #060b18 100%);
  overflow: hidden;
}
.ar-crowd {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 20px;
  height: 100%;
}
.ar-person { position: relative; display: flex; flex-direction: column; align-items: center; }
.ar-figure {
  width: 40px; height: 90px;
  background: linear-gradient(180deg, rgba(79,195,247,0.2) 0%, rgba(79,195,247,0.05) 100%);
  border-radius: 40px 40px 8px 8px;
  border: 1px solid rgba(79,195,247,0.15);
  position: relative;
  flex-shrink: 0;
}
.ar-figure::before {
  content: '';
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: rgba(79,195,247,0.18);
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.2);
}
.ar-figure-blur { opacity: 0.3; filter: blur(1px); }
.p3, .p5 { transform: scale(0.85); opacity: 0.5; }

/* Floating AR labels */
.ar-label {
  position: absolute;
  bottom: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.ar-label-animated {
  animation: arLabelAppear 1s ease forwards, arLabelBob 4s 1s ease-in-out infinite;
}
@keyframes arLabelAppear {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes arLabelBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-5px); }
}
.ar-label-inner {
  background: rgba(5,12,28,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(79,195,247,0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  min-width: 160px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 20px rgba(79,195,247,0.1);
  transition: var(--transition);
  cursor: default;
}
.ar-label-inner:hover {
  border-color: rgba(79,195,247,0.6);
  box-shadow: 0 4px 24px rgba(79,195,247,0.25);
  transform: scale(1.05);
}
.ar-label-name  { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ar-label-title { font-size: 0.65rem; color: var(--text-secondary); margin-bottom: 4px; }
.ar-label-company {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.65rem; color: var(--text-secondary);
  margin-bottom: 6px; font-weight: 600;
}
.company-logo-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.ar-label-match { display: flex; align-items: center; gap: 6px; }
.match-bar {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.match-bar span {
  display: block;
  height: 100%;
  background: var(--gradient-main);
  border-radius: 2px;
  animation: barGrow 1.5s ease forwards;
}
@keyframes barGrow { from { width: 0 !important; } }
.match-score { font-size: 0.6rem; color: var(--accent-cyan); font-weight: 700; white-space: nowrap; }
.ar-label-connector {
  width: 1px; height: 30px;
  background: linear-gradient(180deg, rgba(79,195,247,0.5), transparent);
  margin: 0 auto;
}

/* Radar HUD */
.ar-hud {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.ar-radar {
  width: 70px; height: 70px;
  position: relative;
  border-radius: 50%;
  background: rgba(5,15,30,0.85);
  border: 1px solid rgba(79,195,247,0.2);
  overflow: hidden;
}
.radar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.15);
}
.r1 { width: 30px; height: 30px; }
.r2 { width: 50px; height: 50px; }
.r3 { width: 66px; height: 66px; }
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 1px;
  background: linear-gradient(90deg, rgba(79,195,247,0.8), transparent);
  transform-origin: left center;
  animation: sweep 3s linear infinite;
}
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(79,195,247,0.4);
  transform: translate(-50%,-50%);
}
.radar-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: pulseDot 1.5s ease-in-out infinite;
}
.rd1 { top: 30%; left: 60%; }
.rd2 { top: 60%; left: 35%; }
.rd3 { top: 45%; left: 70%; }
.rd4 { top: 70%; left: 55%; }
.rd5 { top: 25%; left: 40%; }

.ar-hud-info {
  background: rgba(5,12,28,0.85);
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  backdrop-filter: blur(10px);
}
.hud-row { display: flex; gap: 8px; align-items: center; margin-bottom: 3px; }
.hud-row:last-child { margin-bottom: 0; }
.hud-label { font-size: 0.6rem; color: var(--text-muted); font-weight: 500; }
.hud-val   { font-size: 0.6rem; color: var(--text-secondary); font-weight: 600; }
.hud-val.highlight { color: var(--accent-cyan); }

.ar-scan {
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(79,195,247,0.6), transparent);
  animation: arScan 4s linear infinite;
  pointer-events: none;
}
@keyframes arScan {
  0%   { top: 0; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.ar-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(79,195,247,0.5);
  border-style: solid;
}
.ar-corner.tl { top: 10px;    left: 10px;  border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.ar-corner.tr { top: 10px;    right: 10px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; }
.ar-corner.bl { bottom: 10px; left: 10px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; }
.ar-corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }

/* =========================================================
   LOGO STRIP
   ========================================================= */
.logo-strip {
  padding: 36px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.logo-strip-label {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.logo-strip-track { overflow: hidden; }
.logo-strip-inner {
  display: flex;
  gap: 60px;
  animation: stripScroll 20s linear infinite;
  width: max-content;
}
.event-logo {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes stripScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================
   PROBLEM SECTION
   ========================================================= */
.problem-section { background: var(--bg-secondary); padding-top: 100px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}
.problem-card:hover {
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-blue);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.problem-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; position: relative; z-index: 1; margin-bottom: 14px; }
.problem-highlight {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-amber);
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.15);
  border-radius: 6px;
  padding: 5px 10px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   SOLUTION SECTION
   ========================================================= */
.solution-section { background: var(--bg-primary); padding-top: 100px; }
.solution-flow {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.solution-step {
  flex: 1;
  text-align: center;
  padding: 20px;
}
.step-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  opacity: 0.7;
  margin-bottom: 16px;
}
.step-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #050810;
  box-shadow: 0 8px 30px rgba(79,195,247,0.3);
  transition: var(--transition);
}
.solution-step:hover .step-icon { transform: scale(1.08) translateY(-4px); }
.solution-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.solution-step p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }
.solution-arrow {
  color: rgba(79,195,247,0.4);
  font-size: 1.2rem;
  padding: 0 10px;
  flex-shrink: 0;
}
.solution-tagline { text-align: center; margin-top: 3rem; }
.tagline-quote {
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   PRODUCT SECTION
   ========================================================= */
.product-section { background: var(--bg-secondary); padding-top: 100px; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-features { display: flex; flex-direction: column; gap: 12px; }
.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.feature-card:hover,
.feature-card.active {
  background: var(--bg-glass-hover);
  border-color: rgba(79,195,247,0.3);
  box-shadow: 0 4px 24px rgba(79,195,247,0.08);
}
.feature-card-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1rem;
}
.feature-card-content { flex: 1; }
.feature-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 4px;
}
.feature-live   { background: rgba(52,211,153,0.15); color: var(--accent-green); border: 1px solid rgba(52,211,153,0.2); }
.feature-coming { background: rgba(251,191,36,0.1);  color: var(--accent-amber); border: 1px solid rgba(251,191,36,0.15); }
.feature-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.feature-card p  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
.feature-arrow   { color: var(--text-muted); font-size: 0.75rem; }

/* Product phone visual */
.product-visual { display: flex; justify-content: center; }
.product-phone-frame {
  position: relative;
  width: 300px;
  animation: floatDemo 5s 0.5s ease-in-out infinite;
}
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(79,195,247,0.25);
  box-shadow: 0 0 50px rgba(79,195,247,0.12), 0 30px 60px rgba(0,0,0,0.5);
  background: #060c1e;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  z-index: 10;
}
.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(79,195,247,0.08), transparent 70%);
  border-radius: 50px;
  pointer-events: none;
}
.phone-ar-view {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1020 0%, #050810 100%);
}
.phone-ar-bg { position: absolute; inset: 0; }
.phone-crowd {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 10px;
  height: 100%;
}
.ph-person { position: relative; display: flex; flex-direction: column; align-items: center; }
.ph-fig {
  width: 32px; height: 72px;
  background: linear-gradient(180deg, rgba(79,195,247,0.15), rgba(79,195,247,0.03));
  border-radius: 32px 32px 6px 6px;
  border: 1px solid rgba(79,195,247,0.12);
  position: relative;
}
.ph-fig::before {
  content: '';
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  background: rgba(79,195,247,0.13);
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.15);
}
.ph-blur { opacity: 0.25; filter: blur(1px); }
.phone-label {
  position: absolute;
  background: rgba(5,12,28,0.93);
  border: 1px solid rgba(79,195,247,0.3);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 140px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 16px rgba(79,195,247,0.08);
  animation: arLabelBob 4s ease-in-out infinite;
}
.pl1 { top: 15%; left: 10%; animation-delay: 0s; }
.pl2 { top: 40%; right: 5%; animation-delay: -2s; }
.pl-name { font-size: 0.72rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pl-role { font-size: 0.6rem; color: var(--text-secondary); margin-bottom: 5px; }
.pl-score { display: flex; align-items: center; gap: 5px; }
.pl-bar {
  flex: 1; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.pl-bar div {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 2px;
}
.pl-score span { font-size: 0.58rem; color: var(--accent-cyan); font-weight: 700; }

.phone-radar-mini {
  position: absolute;
  top: 12px; right: 12px;
  width: 55px; height: 55px;
  border-radius: 50%;
  background: rgba(5,15,30,0.85);
  border: 1px solid rgba(79,195,247,0.2);
  overflow: hidden;
}
.prm-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.12);
}
.prm-ring     { width: 30px; height: 30px; }
.prm-ring.r2  { width: 50px; height: 50px; }
.prm-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 1px;
  background: linear-gradient(90deg, rgba(79,195,247,0.8), transparent);
  transform-origin: left center;
  animation: sweep 3s linear infinite;
}
.prm-dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(79,195,247,0.3);
  transform: translate(-50%,-50%);
}
.prm-dot.active { background: var(--accent-cyan); box-shadow: 0 0 5px var(--accent-cyan); }

.phone-hud-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(5,10,20,0.8);
  font-size: 0.6rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
}
.phone-hud-bar b { color: var(--accent-cyan); }
.phone-corners { position: absolute; inset: 0; }
.pc {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(79,195,247,0.4);
  border-style: solid;
}
.pc.tl { top: 8px;    left: 8px;  border-width: 2px 0 0 2px; }
.pc.tr { top: 8px;    right: 8px; border-width: 2px 2px 0 0; }
.pc.bl { bottom: 40px; left: 8px;  border-width: 0 0 2px 2px; }
.pc.br { bottom: 40px; right: 8px; border-width: 0 2px 2px 0; }

/* =========================================================
   TECHNOLOGY SECTION
   ========================================================= */
.tech-section { background: var(--bg-primary); padding-top: 100px; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.tech-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.tech-card:hover {
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.tech-visual {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 20px;
}
.tech-icon-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.25);
  background: rgba(79,195,247,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-blue);
  position: relative;
  z-index: 1;
}
.tech-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.15);
  animation: techPulse 3s ease-in-out infinite;
}
@keyframes techPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.2); opacity: 0; }
}
.tech-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.tech-card p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.tech-spec { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.spec-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.15);
  padding: 3px 8px;
  border-radius: 50px;
}

/* Architecture flow */
.tech-architecture {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex-shrink: 0;
}
.arch-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #050810;
}
.arch-node span { font-size: 0.82rem; font-weight: 700; }
.arch-node small { font-size: 0.65rem; color: var(--text-muted); }
.arch-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.arch-line-inner {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(79,195,247,0.5), rgba(167,139,250,0.5));
  position: relative;
}
.arch-line-inner::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid rgba(167,139,250,0.6);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.arch-line-label { font-size: 0.6rem; color: var(--text-muted); white-space: nowrap; }

/* =========================================================
   ORGANIZERS SECTION
   ========================================================= */
.organizers-section { background: var(--bg-secondary); padding-top: 100px; }
.org-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
.org-pillar {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.org-pillar:hover {
  border-color: rgba(79,195,247,0.25);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #050810;
  margin: 0 auto 14px;
}
.org-pillar h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.org-pillar p  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
.pillar-callout {
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.15);
  border-radius: 6px;
  padding: 4px 8px;
}

/* Social proof bar (inside organizers tab) */
.social-proof-bar {
  display: flex;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 0;
}
.sp-item {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-icon { color: var(--accent-blue); font-size: 1.2rem; }
.sp-item p    { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); line-height: 1.6; font-style: italic; }
.sp-item span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.sp-divider   { width: 1px; align-self: stretch; background: var(--border-subtle); flex-shrink: 0; }

/* =========================================================
   VISION SECTION
   ========================================================= */
.vision-section { background: var(--bg-primary); padding-top: 100px; }
.vision-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vision-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.vision-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}
.vision-card:hover {
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.vision-card:hover::after { opacity: 1; }
.vision-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(79,195,247,0.08);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}
.vision-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #050810;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.vision-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.vision-card p  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; position: relative; z-index: 1; }
.vision-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-purple);
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.15);
  padding: 3px 10px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section { background: var(--bg-primary); padding-top: 100px; }
.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(79,195,247,0.06), rgba(167,139,250,0.05), rgba(34,211,238,0.04));
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(79,195,247,0.12);
  top: -150px; left: -100px;
}
.cta-orb-2 {
  width: 350px; height: 350px;
  background: rgba(167,139,250,0.1);
  bottom: -100px; right: -80px;
}
.cta-content { position: relative; z-index: 1; }
.cta-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cta-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.cta-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}
.cta-contact a:hover { color: var(--accent-blue); }
.cta-sep { color: var(--text-muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: rgba(3,5,12,0.98);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo  { margin-bottom: 4px; }
.footer-brand p     { font-size: 0.875rem; color: var(--text-secondary); }
.footer-tagline     { font-size: 0.75rem; color: var(--text-muted); }
.footer-links-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.footer-link {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: left;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  display: block;
}
.footer-link:hover { color: var(--accent-blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-confidential { letter-spacing: 0.05em; }

/* =========================================================
   LEAD FORM MODAL
   ========================================================= */

/* Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(2, 5, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: backdropIn 0.25s ease;
}
@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal box */
.modal-box {
  position: relative;
  background: linear-gradient(145deg, #0c1428, #080e1e);
  border: 1px solid rgba(79, 195, 247, 0.22);
  border-radius: 24px;
  padding: 44px 44px 40px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 0 60px rgba(79, 195, 247, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Close button */
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.modal-close:hover {
  background: rgba(79, 195, 247, 0.1);
  border-color: rgba(79, 195, 247, 0.3);
  color: var(--text-primary);
}

/* Header */
.modal-header { margin-bottom: 28px; }
.modal-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #050810;
  margin-bottom: 16px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Form groups */
.modal-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-group .req      { color: var(--accent-blue); }
.form-group .optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(79, 195, 247, 0.5);
  background: rgba(79, 195, 247, 0.05);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.08);
}
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(248, 113, 113, 0.04);
}
.field-error {
  font-size: 0.72rem;
  color: #f87171;
  min-height: 14px;
  display: block;
}

/* Submit button */
.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.95rem;
}
.modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 20px 0 10px;
  animation: modalIn 0.35s ease;
}
.success-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 16px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-success h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.modal-success p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Inline error message */
.modal-error-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  animation: backdropIn 0.2s ease;
}

/* Scrollbar inside modal */
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(79,195,247,0.2); border-radius: 2px; }

@media (max-width: 520px) {
  .modal-box { padding: 32px 24px 28px; }
  .modal-title { font-size: 1.25rem; }
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
#scrollProgressBar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gradient-main);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 40px;
    text-align: center;
    gap: 3rem;
  }
  .hero-cta, .hero-stats { justify-content: center; }
  .ar-demo-wrapper { max-width: 500px; margin: 0 auto; }
  .org-pillars { grid-template-columns: repeat(3, 1fr); }
  .tech-grid   { grid-template-columns: repeat(2, 1fr); }
  .vision-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 16px 24px; }

  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-visual { order: -1; }
  .org-pillars   { grid-template-columns: repeat(2, 1fr); }
  .social-proof-bar { flex-direction: column; }
  .sp-divider    { width: 100%; height: 1px; }
  .footer-top    { grid-template-columns: 1fr; gap: 40px; }
  .arch-flow     { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .arch-line     { display: none; }
  .solution-flow { flex-direction: column; padding: 28px; }
  .solution-arrow { transform: rotate(90deg); }
  .desktop-only  { display: none; }
  .tab-nav-footer { justify-content: center; }
}

@media (max-width: 640px) {
  .hero        { padding: 100px 20px 40px; }
  .hero-stats  { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
  .problem-grid  { grid-template-columns: 1fr; }
  .tech-grid     { grid-template-columns: 1fr; }
  .vision-cards  { grid-template-columns: 1fr; }
  .org-pillars   { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .cta-box       { padding: 50px 24px; }
  .tab-nav-footer { flex-direction: column; align-items: stretch; }
  .tab-nav-footer .btn { justify-content: center; }
}
