@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* ===================================================================
   RESOPSY — DARK PREMIUM SaaS THEME
   =================================================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --accent: #ff6b35;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --accent-secondary: #00d4aa;
  --accent-secondary-glow: rgba(0, 212, 170, 0.15);
  --text-primary: #f0ede8;
  --text-secondary: #b8b4c4;
  --text-muted: #7a7590;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 107, 53, 0.3);
  --gradient-accent: linear-gradient(135deg, #ff6b35, #ff3e6c);
  --gradient-green: linear-gradient(135deg, #00d4aa, #00a3ff);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(255, 107, 53, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* === NOISE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  border-radius: 8px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-primary);
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

/* Mobile-first: nav hidden by default, shown on desktop */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-links.open {
  display: flex;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link::after { display: none; }

.nav-cta-link {
  background: var(--gradient-accent);
  color: var(--bg-primary) !important;
  font-weight: 600;
}

.nav-cta-link:hover {
  opacity: 0.9;
  background: var(--gradient-accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* === LANGUAGE SWITCH === */
.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(22, 22, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover { color: var(--text-primary); }

.lang-btn.active {
  background: var(--gradient-accent);
  color: var(--bg-primary);
}

/* === HAMBURGER === */
/* Mobile-first: hamburger visible by default */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================================
   HERO — VIDEO BACKGROUND
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0f20 30%, #0f1a20 70%, #0a0a0f 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.45);
  transform: scale(1.05);
  /* Ensure video fills on all devices */
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.1) 40%, rgba(10,10,15,0.6) 80%, var(--bg-primary) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(255,107,53,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 2rem 6rem;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text-primary) !important;
  line-height: 1.5;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: var(--text-secondary) !important;
  font-weight: 300;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.btn-primary::after { display: none; }

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.btn-ghost::after { display: none; }

/* === HERO STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.75s both;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === HERO SCROLL INDICATOR === */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(12px); opacity: 1; }
}

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

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

/* ===================================================================
   SECTIONS — SHARED
   =================================================================== */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Remove the default h2 left-bar for marketing sections */
.section-title::before { display: none; }
.section-title { padding-left: 0; }

.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
  font-weight: 350;
}

.section-footnote {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2.5rem;
  font-style: italic;
}

/* ===================================================================
   PROBLEM SECTION
   =================================================================== */
.section-problem {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.problem-text p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.problem-text .agitation {
  color: var(--text-primary);
  font-weight: 400;
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
}

.problem-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.chaos-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
}

.chaos-item {
  padding: 0.65rem 1rem;
  background: rgba(255, 62, 62, 0.06);
  border: 1px solid rgba(255, 62, 62, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  animation: chaosFloat 3s ease-in-out infinite;
}

.ci-1 { animation-delay: 0s; }
.ci-2 { animation-delay: 0.5s; }
.ci-3 { animation-delay: 1s; }
.ci-4 { animation-delay: 1.5s; }
.ci-5 { animation-delay: 2s; }
.ci-6 { animation-delay: 2.5s; }

@keyframes chaosFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.chaos-vs {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.solution-stack {
  width: 100%;
  max-width: 320px;
}

.solution-item {
  padding: 1rem;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em;
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.1);
}

/* ===================================================================
   REMOTE MANAGEMENT
   =================================================================== */
.section-remote {
  background: var(--bg-primary);
}

.remote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.remote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.remote-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.remote-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.remote-icon svg { width: 34px; height: 34px; }
.remote-icon.icon-green { color: var(--accent-secondary); }

.remote-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.remote-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===================================================================
   SOLUTION — 7 APP CARDS
   =================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(20px);
}

.app-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.app-card:nth-child(1).revealed { transition-delay: 0s; }
.app-card:nth-child(2).revealed { transition-delay: 0.08s; }
.app-card:nth-child(3).revealed { transition-delay: 0.16s; }
.app-card:nth-child(4).revealed { transition-delay: 0.24s; }
.app-card:nth-child(5).revealed { transition-delay: 0.32s; }
.app-card:nth-child(6).revealed { transition-delay: 0.40s; }
.app-card:nth-child(7).revealed { transition-delay: 0.48s; }

.app-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.app-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.5rem;
  align-items: center;
}

.app-card-wide .app-icon { grid-row: span 2; }

.app-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.app-icon svg {
  width: 36px;
  height: 36px;
}

.app-icon.icon-green {
  color: var(--accent-secondary);
}

.app-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.app-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===================================================================
   BENEFITS
   =================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(20px);
}

.benefit-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:nth-child(1).revealed { transition-delay: 0s; }
.benefit-card:nth-child(2).revealed { transition-delay: 0.1s; }
.benefit-card:nth-child(3).revealed { transition-delay: 0.2s; }
.benefit-card:nth-child(4).revealed { transition-delay: 0.3s; }
.benefit-card:nth-child(5).revealed { transition-delay: 0.4s; }
.benefit-card:nth-child(6).revealed { transition-delay: 0.5s; }

.benefit-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.benefit-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.benefit-card:nth-child(even) .benefit-num {
  color: var(--accent-secondary);
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ===================================================================
   TARGET
   =================================================================== */
.section-target {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.target-tag {
  padding: 0.55rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.target-tag:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ===================================================================
   COMPARISON TABLE
   =================================================================== */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.compare-col {
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-header {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.compare-others .compare-header {
  background: rgba(255, 62, 62, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 62, 62, 0.1);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.compare-resopsy .compare-header {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compare-others .compare-row {
  background: var(--bg-card);
  color: var(--text-muted);
  border-color: rgba(255, 62, 62, 0.1);
}

.compare-resopsy .compare-row {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: rgba(255, 107, 53, 0.1);
}

.compare-row:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.compare-icon {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.negative .compare-icon {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.positive .compare-icon {
  color: var(--accent-secondary);
  background: var(--accent-secondary-glow);
}

/* ===================================================================
   SOCIAL PROOF
   =================================================================== */
.section-proof {
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-proof .section-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-proof .section-lead {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.section-cta {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.cta-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-title::before { display: none; }
.cta-title { padding-left: 0; }

.cta-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-footnote {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* === DEMO FORM === */
.demo-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7590' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* === FORM SUCCESS === */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-secondary-glow);
  border: 2px solid var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
  animation: successPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-success p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-nav h4,
.footer-legal h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: 'Space Mono', monospace;
}

.footer-nav a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--accent); }
.footer-nav a::after { display: none; }

.footer-legal p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.03em;
}

/* ===================================================================
   RESPONSIVE — DESKTOP NAV (inline links, no hamburger)
   =================================================================== */
@media (min-width: 1025px) {
  .nav-links {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    z-index: auto;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
  }
}

/* ===================================================================
   RESPONSIVE — TABLET
   =================================================================== */
@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-visual {
    order: -1;
  }

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

  .app-card-wide {
    grid-column: span 2;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ===================================================================
   RESPONSIVE — MOBILE
   =================================================================== */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .container { padding: 0 1.25rem; }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
  }

  /* Hero mobile */
  .hero-content { padding: 7rem 1.5rem 5rem; }

  .hero h1 { font-size: 3rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .stat-divider { display: none; }

  .stat { min-width: 40%; }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Sections mobile */
  .section {
    padding: clamp(3rem, 6vw, 5rem) 0;
  }

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

  .app-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .app-card-wide .app-icon { grid-row: auto; }

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

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

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

  .compare-table {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ===================================================================
   RESPONSIVE — LARGE DESKTOP
   =================================================================== */
@media (min-width: 1400px) {
  :root {
    --max-width: 1240px;
  }
}

/* ===================================================================
   PRINT
   =================================================================== */
@media print {
  body { background: white; color: black; }
  .navbar, .hero-video-wrap, .hero-scroll-indicator { display: none; }
  .hero { min-height: auto; background: none; }
  .section { opacity: 1; transform: none; page-break-inside: avoid; }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .section { opacity: 1; transform: none; }
  .app-card, .benefit-card { opacity: 1; transform: none; }
}