/* ==============================================================================
   SYS by Tarasaka • Autonomous Business Operating System
   Design System: Modern Glassmorphic Dark & Light Theme with Neon Accents
   ============================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Color Palette - Dark Luxe (Default) */
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(13, 18, 29, 0.7);
  --bg-input: rgba(15, 23, 42, 0.9);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --brand-primary: #6366f1;
  --brand-primary-light: #818cf8;
  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --brand-glow: rgba(99, 102, 241, 0.25);
  
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-focus: rgba(99, 102, 241, 0.5);
  --border-glow: rgba(139, 92, 246, 0.3);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-input: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);
  --border-glow: rgba(99, 102, 241, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
}

/* ==============================================================================
   Base Reset & Typography
   ============================================================================== */

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Background Ambient Glow Mesh */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  transition: var(--transition);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -150px;
  left: 20%;
  animation: floatSlow 20s infinite ease-in-out alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d946ef 0%, transparent 70%);
  top: 40%;
  right: -100px;
  animation: floatSlow 25s infinite ease-in-out alternate-reverse;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  animation: floatSlow 22s infinite ease-in-out alternate;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Section Spacing */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--brand-primary-light);
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==============================================================================
   Header & Sticky Navigation
   ============================================================================== */

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.brand-desc {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger-btn { display: block; }
}

@media (max-width: 768px) {
  .nav-desktop-btn {
    display: none !important;
  }
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1.25rem;
  position: sticky;
  top: 73px;
  z-index: 99;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: drawerSlideDown 0.25s ease-out;
}

.mobile-nav-drawer.open {
  display: flex !important;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 18px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-lg);
}

/* ==============================================================================
   Hero Section & Live Product Showcase Mockup
   ============================================================================== */

.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-icon {
  color: var(--accent-emerald);
}

/* Interactive Product Dashboard Mockup */
.mockup-container {
  margin: 0 auto;
  max-width: 1100px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.mockup-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(13, 18, 29, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-tab-bar {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.tab-btn.active {
  color: white;
  background: var(--brand-primary);
  box-shadow: 0 2px 10px var(--brand-glow);
}

.window-status {
  font-size: 0.76rem;
  color: var(--accent-emerald);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 901px) {
  .mockup-body {
    min-height: 440px;
  }
}

.mockup-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  height: 100%;
}

.mockup-tab-content.active {
  display: block;
}

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

/* Mockup Responsive Grid Layouts */
.mockup-grid {
  display: grid;
  gap: 1rem;
}
.mockup-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.mockup-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.mockup-grid-2-1 {
  grid-template-columns: 2fr 1fr;
}
.mockup-grid-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .mockup-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mockup-grid-3,
  .mockup-grid-4,
  .mockup-grid-2-1,
  .mockup-grid-2 {
    grid-template-columns: 1fr;
  }
  .mockup-body {
    padding: 1.1rem 0.85rem;
    min-height: auto;
  }
}

/* ==============================================================================
   Problem vs Solution Grid
   ============================================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.1);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Solution Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .col-8, .col-4, .col-6 { grid-column: span 12; }
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.bento-icon-blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.bento-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.bento-icon-rose { background: rgba(244, 63, 94, 0.12); color: #f43f5e; }
.bento-icon-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.bento-icon-purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.bento-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary-light);
  margin-bottom: 0.4rem;
  display: block;
}

.bento-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==============================================================================
   How It Works (3 Steps)
   ============================================================================== */

.steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  position: relative;
  margin-top: 2rem;
}

.step-card {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==============================================================================
   Interactive ROI & Hours Saved Calculator
   ============================================================================== */

.calculator-wrapper {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.calc-input-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.calc-result-box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  text-align: center;
}

.calc-result-val {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.calc-result-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==============================================================================
   Use Cases (Built for SMBs, Founders, Agencies)
   ============================================================================== */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.usecase-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.usecase-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.usecase-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==============================================================================
   Pricing Tiers
   ============================================================================== */

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

.pricing-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 40px var(--brand-glow);
  transform: scale(1.03);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  margin: 1rem 0 1.5rem;
}

.pricing-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==============================================================================
   FAQ Section (AEO Critical - 40-60 Word Direct Answers)
   ============================================================================== */

.faq-container {
  max-width: 820px;
  margin: 2rem auto 0;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--brand-primary-light);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* ==============================================================================
   Final Call To Action Banner
   ============================================================================== */

.cta-banner {
  padding: 4.5rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(217, 70, 239, 0.1) 100%);
  border: 1px solid var(--border-glow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* ==============================================================================
   Footer
   ============================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand p {
  margin-top: 0.8rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==============================================================================
   Demo Booking Modal Dialog
   ============================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalScale 0.25s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

/* ==============================================================================
   24-Hour Free Launch Banner (Ultra-Compact & High-Impact)
   ============================================================================== */

.urgent-top-bar {
  background: linear-gradient(90deg, #3730a3 0%, #6d28d9 45%, #be185d 80%, #3730a3 100%);
  background-size: 200% 100%;
  animation: gradientShift 10s linear infinite;
  color: #ffffff;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 15px rgba(109, 40, 217, 0.3);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.urgent-top-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.urgent-top-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.urgent-pill {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.urgent-countdown-pill {
  background: rgba(0, 0, 0, 0.55);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fef08a;
  border: 1px solid rgba(254, 240, 138, 0.5);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.urgent-top-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.urgent-top-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.urgent-scarcity-tag {
  font-size: 0.78rem;
  opacity: 0.95;
  color: #ffffff;
  white-space: nowrap;
}

.urgent-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-urgent-claim {
  background: #ffffff;
  color: #4338ca;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-urgent-claim:hover {
  transform: translateY(-1px) scale(1.03);
  background: #f8fafc;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.btn-urgent-demo {
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-urgent-demo:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: #ffffff;
}

/* In-Hero Founder Launch Banner Card */
.hero-founder-card {
  max-width: 1020px;
  margin: 2.5rem auto 3.5rem;
  padding: 2.2rem 2.6rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.22) 0%, rgba(139, 92, 246, 0.16) 50%, rgba(219, 39, 119, 0.18) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero-founder-card { padding: 1.6rem 1.4rem; }
}

.founder-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.founder-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.founder-timer-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fde047;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(253, 224, 71, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.founder-card-title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.founder-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  position: relative;
  z-index: 1;
}

/* Progress Scarcity Meter */
.scarcity-meter-wrap {
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.scarcity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scarcity-count {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.scarcity-count strong {
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.scarcity-remaining {
  color: #f87171;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.progress-track {
  width: 100%;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 94.5%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 45%, #8b5cf6 80%, #ec4899 100%);
  position: relative;
  transition: width 0.8s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: moveStripes 1.5s linear infinite;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

.founder-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.founder-trust-perks {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1.3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.perk-check {
  color: #10b981;
}

/* ==============================================================================
   Comprehensive Mobile & Fluid Resizing Optimizations
   Supports: 320px, 375px/390px/414px (iPhone), 768px (iPad/Tablet), and Desktop
   ============================================================================== */

@media (max-width: 768px) {
  /* Disable expensive 100vh blur(100px) particles on mobile to eliminate GPU compositing black screen */
  .ambient-mesh {
    display: none !important;
  }

  /* Disable backdrop-filter lag and black tile repaints on mobile WebKit */
  .hero-founder-card,
  .mockup-container,
  .bento-card,
  .modal-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* 24-Hour Urgent Top Banner (Ultra-Compact, Razor-Thin ~44px Mobile Ribbon) */
  .urgent-top-bar {
    padding: 0.35rem 0.6rem;
    font-size: 0.74rem;
  }
  .urgent-top-container {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    width: 100%;
  }
  .urgent-top-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
  }
  .urgent-pill {
    font-size: 0.65rem;
    padding: 0.12rem 0.45rem;
  }
  .urgent-countdown-pill {
    font-size: 0.7rem;
    padding: 0.12rem 0.5rem;
  }
  .urgent-top-text {
    display: none; /* Hide verbose sentence on mobile ribbon to keep height minimal */
  }
  .urgent-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    max-width: 350px;
  }
  .urgent-scarcity-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fef08a;
  }
  .urgent-btn-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .btn-urgent-claim {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.22rem 0.6rem;
    min-height: 26px;
  }
  .btn-urgent-demo {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    min-height: 26px;
  }

  /* Compact Sleek Mobile Navbar */
  .nav-container {
    height: 58px;
  }
  .logo-badge {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-desc {
    font-size: 0.7rem;
  }

  /* Mockup Window Header & Swipeable Tab Bar */
  .mockup-container {
    margin: 1.25rem auto 0;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.95);
  }
  .mockup-window-header {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }
  .window-dots,
  .window-status {
    display: none !important;
  }
  .window-tab-bar {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 3px;
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .window-tab-bar::-webkit-scrollbar {
    display: none;
  }
  .mockup-tab-btn {
    flex-shrink: 0;
    padding: 0.45rem 0.8rem;
    font-size: 0.76rem;
  }
  .mockup-body {
    padding: 0.9rem 0.75rem;
    min-height: auto !important;
  }

  /* In-Hero Founder Urgency Card */
  .hero-founder-card {
    padding: 1.35rem 1.1rem;
    margin: 1.25rem auto 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.92);
  }
  .founder-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .founder-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .founder-actions-row .btn {
    width: 100% !important;
    justify-content: center;
    text-align: center;
  }
  .founder-trust-perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .scarcity-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  /* Hide redundant second CTA block on mobile (founder card already has primary CTAs) */
  .hero-cta-group {
    display: none !important;
  }

  /* Tighten hero trust bar & section padding on mobile */
  .hero-trust-bar {
    margin: 1.2rem auto 1.5rem !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
  }
  .hero-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  .section {
    padding: 2.2rem 0 !important;
  }
  .section-header {
    margin: 0 auto 1.8rem;
  }
}

@media (max-width: 640px) {
  /* Hero Typography & Spacing */
  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem) !important;
    line-height: 1.15;
    margin-bottom: 0.8rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
  }
  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 1.95rem) !important;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }

  /* Pricing Cards */
  .pricing-card {
    padding: 1.5rem 1.15rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 1.1rem 1.15rem;
    font-size: 0.92rem;
  }
  .faq-answer p {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.86rem;
  }

  /* Bottom CTA Banner */
  .cta-banner {
    padding: 2.2rem 1.15rem;
  }
  .cta-banner .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-banner .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Interactive Modal Dialog */
  .modal-card {
    padding: 1.5rem 1.2rem;
    width: 94%;
    margin: 1rem auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Prevent iOS Safari Auto-Zoom on form input focus */
  .form-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Touch Targets: minimum 44px height for mobile accessibility */
  .btn,
  .btn-urgent-claim,
  .btn-urgent-demo,
  .theme-toggle,
  .hamburger-btn,
  .modal-close-btn {
    min-height: 44px;
  }
}
