/* Funnel Engine - Premium Landing Page Styles */

/* Reset & Variables */
:root {
  /* Colors */
  --bg-dark-base: #040a25;       /* Matching dark background in logo */
  --bg-dark-card: #0a1136;       /* Coordinating card background */
  --bg-dark-card-hover: #101b4c; /* Hover card background */
  
  --color-indigo: #f7b304;       /* Logo Gold */
  --color-pink: #ffca36;         /* Lighter Gold */
  --color-cyan: #545454;         /* Logo Charcoal Grey */
  --color-emerald: #10b981;
  --color-orange: #f59e0b;
  --color-purple: #c18c03;       /* Darker Gold */
  --color-red: #ef4444;
  
  --text-white: #ffffff;
  --text-mute: rgba(255, 255, 255, 0.4);
  --text-body: rgba(255, 255, 255, 0.7);
  --text-heading: #f8fafc;
  
  /* Fonts */
  --font-family-headings: 'Outfit', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  --font-family-mono: 'Courier New', Courier, monospace;
  
  /* Shadows & Glassmorphic */
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-glow: rgba(247, 179, 4, 0.2);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-active: rgba(255, 255, 255, 0.06);
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-neon-indigo: 0 0 25px rgba(247, 179, 4, 0.35);
  --shadow-neon-pink: 0 0 25px rgba(255, 202, 54, 0.35);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
  background: #1b2247;
  border-radius: 5px;
  border: 2px solid var(--bg-dark-base);
}
::-webkit-scrollbar-thumb:hover {
  background: #252e60;
}

/* Internal Section Scrollbars (Consistent Gold Theme) */
.preview-canvas::-webkit-scrollbar,
.terminal-logs::-webkit-scrollbar,
.workspace-tabs-menu::-webkit-scrollbar,
.comp-list::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  display: block !important;
}
.preview-canvas::-webkit-scrollbar-track,
.terminal-logs::-webkit-scrollbar-track,
.workspace-tabs-menu::-webkit-scrollbar-track,
.comp-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 10px !important;
}
.preview-canvas::-webkit-scrollbar-thumb,
.terminal-logs::-webkit-scrollbar-thumb,
.workspace-tabs-menu::-webkit-scrollbar-thumb,
.comp-list::-webkit-scrollbar-thumb {
  background: rgba(247, 179, 4, 0.35) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.preview-canvas::-webkit-scrollbar-thumb:hover,
.terminal-logs::-webkit-scrollbar-thumb:hover,
.workspace-tabs-menu::-webkit-scrollbar-thumb:hover,
.comp-list::-webkit-scrollbar-thumb:hover {
  background: rgba(247, 179, 4, 0.6) !important;
}
.preview-canvas,
.terminal-logs,
.workspace-tabs-menu,
.comp-list {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(247, 179, 4, 0.35) rgba(255, 255, 255, 0.03) !important;
}


/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-family-headings);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.max-width-md {
  max-width: 800px;
}
.max-width-lg {
  max-width: 1000px;
}
.text-center {
  text-align: center;
}

/* Gradient & Neon Accents */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f7b304 60%, #c18c03 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-purple { background: linear-gradient(135deg, var(--color-purple), var(--color-indigo)); }
.bg-gradient-pink { background: linear-gradient(135deg, var(--color-pink), #e69500); }
.bg-gradient-cyan { background: linear-gradient(135deg, var(--color-cyan), #3e3e3e); }
.bg-gradient-emerald { background: linear-gradient(135deg, var(--color-emerald), #059669); }
.bg-gradient-orange { background: linear-gradient(135deg, var(--color-orange), #ea580c); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 25px; /* 1px larger to compensate for lack of border */
  border-radius: 12px;
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px; /* offset by 1px to match height of primary buttons exactly */
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-indigo) 50%, var(--color-pink) 100%);
  background-size: 200% auto;
  background-repeat: no-repeat;
  color: #040a25;
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  color: #040a25;
}

.btn-glow:hover {
  box-shadow: var(--shadow-neon-indigo);
}

.btn-large {
  padding: 17px 37px;
  font-size: 1.1rem;
  border-radius: 16px;
}
.btn-secondary.btn-large {
  padding: 16px 36px;
}

.btn-full {
  width: 100%;
}

/* Background Aurora Effects */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  mix-blend-mode: screen;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-indigo), transparent 70%);
  top: -100px;
  left: 10%;
  animation: aurora-shift 20s infinite alternate ease-in-out;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-pink), transparent 70%);
  top: 150px;
  right: 10%;
  animation: aurora-shift 15s infinite alternate-reverse ease-in-out;
}
.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-cyan), transparent 70%);
  top: 400px;
  left: 30%;
  animation: aurora-shift 18s infinite alternate ease-in-out;
}

/* Header & Navbar */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: var(--transition-smooth);
}
.navbar-header.scrolled {
  background-color: rgba(6, 9, 25, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  height: 70px;
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.brand-logo {
  display: flex;
  align-items: center;
  flex: 1;
}
.logo-img {
  height: 38px;
  transition: var(--transition-smooth);
}
.logo-img:hover {
  transform: scale(1.04);
}
.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--text-white);
  opacity: 0.85;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-indigo);
  transition: var(--transition-fast);
}
.nav-link:hover::after {
  width: 100%;
}

/* Mega Menu / Dropdown styles */
.nav-dropdown-item {
  position: static;
}
.arrow-down {
  font-size: 0.6rem;
  margin-left: 6px;
  transition: transform 0.2s ease;
  opacity: 0.8;
}
.nav-dropdown-item:hover .arrow-down {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 24px;
  right: 24px;
  width: calc(100% - 48px);
  background: rgba(6, 9, 25, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 1000;
  opacity: 0;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
}
.nav-dropdown-item:hover .mega-menu {
  display: block;
  animation: dropdown-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(4px);
  }
}
.mega-menu-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 280px;
  gap: 28px;
}
.mega-column h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 16px 0;
  font-weight: 700;
}
.mega-column a {
  text-decoration: none;
  display: block;
}
.mega-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition-fast);
  margin-bottom: 8px;
}
.mega-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.mega-item svg {
  color: var(--color-indigo);
  flex-shrink: 0;
  margin-top: 2px;
}
.mega-item h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin: 0 0 4px 0;
}
.mega-item p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.35;
}
.mega-promo {
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), rgba(6, 9, 25, 0));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}
.promo-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.promo-badge {
  background-color: var(--color-orange);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}
.promo-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 12px 0 6px 0;
}
.promo-box p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
  margin: 0 0 16px 0;
}
.promo-box .btn {
  margin-top: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: 220px;
  padding-bottom: 80px;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(247, 179, 4, 0.08);
  border: 1px solid var(--border-glass-glow);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffda7a;
  margin-bottom: 20px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-emerald);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  text-align: center;
  max-width: 800px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

/* Prompter Widget Styling */
.ai-generator-widget {
  width: 100%;
  max-width: 1240px;
  background: rgba(13, 18, 43, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  margin-bottom: 48px;
  transition: var(--transition-smooth);
}
.ai-generator-widget:hover {
  border-color: rgba(247, 179, 4, 0.2);
}
.prompt-input-container {
  display: flex;
  align-items: center;
  background-color: rgba(6, 9, 25, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  transition: var(--transition-fast);
}
.prompt-input-container:focus-within {
  border-color: var(--color-indigo);
  box-shadow: 0 0 15px rgba(247, 179, 4, 0.15);
}
.ai-spark-icon {
  color: var(--color-indigo);
  display: flex;
  margin-right: 12px;
}
.prompt-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-family-body);
  font-size: 1rem;
  outline: none;
  padding: 8px 0;
}
.prompt-input[readonly] {
  cursor: default;
  user-select: none;
}
.prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.btn-generate {
  white-space: nowrap;
}
.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.chip-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}
.prompt-chip {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.prompt-chip:hover {
  background-color: rgba(247, 179, 4, 0.08);
  border-color: var(--color-indigo);
  color: var(--text-white);
  transform: translateY(-1px);
}
.prompt-chip.active {
  background-color: rgba(247, 179, 4, 0.12);
  border-color: #f7b304;
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(247, 179, 4, 0.25);
}

/* Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 48px;
  text-align: center;
}
.stat-card:not(:last-child) {
  border-right: 1px solid var(--border-glass);
}
.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 500;
  margin-top: 4px;
}

/* Simulator Widget Styling */
.simulator-wrapper {
  width: 100%;
  max-width: 1240px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}
.simulator-header {
  height: 52px;
  background-color: rgba(6, 9, 25, 0.8);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
}
.window-controls {
  display: flex;
  gap: 8px;
}
.window-controls .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.window-controls .red { background-color: var(--color-red); }
.window-controls .yellow { background-color: var(--color-orange); }
.window-controls .green { background-color: var(--color-emerald); }

.simulator-title {
  font-family: var(--font-family-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}
.simulator-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-body);
}
.status-pulse-green {
  width: 6px;
  height: 6px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  animation: pulse-ring 2.5s infinite;
}
.status-pulse-amber {
  width: 6px;
  height: 6px;
  background-color: var(--color-orange);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.simulator-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 560px;
}
.terminal-panel {
  background-color: rgba(6, 9, 25, 0.5);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.terminal-header {
  padding: 12px 20px;
  background-color: rgba(6, 9, 25, 0.3);
  font-family: var(--font-family-headings);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  border-bottom: 1px solid var(--border-glass);
}
.terminal-logs {
  flex: 1;
  padding: 20px;
  font-family: var(--font-family-mono);
  font-size: 0.8rem;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.log-line {
  line-height: 1.4;
  word-break: break-word;
}
.log-line.text-success { color: var(--color-emerald); }
.log-line.text-accent { color: var(--color-cyan); }
.log-line.text-pink { color: var(--color-pink); }
.log-line.text-mute { color: rgba(255,255,255,0.35); }

.preview-panel {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-dark-card);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.preview-address-bar {
  height: 44px;
  background-color: rgba(6, 9, 25, 0.4);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.preview-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  overflow-y: auto;
  position: relative;
}
.preview-disclaimer {
  background-color: rgba(6, 9, 25, 0.4);
  border-top: 1px solid var(--border-glass);
  padding: 10px 16px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}
/* Stable Step Layouts (Zero Jump) */
.sim-step-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  height: 280px;
  margin: auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}
.sim-step-header {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.sim-step-visual {
  height: 140px;
  max-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.sim-step-footer {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.4;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fade-in {
  animation: fade-in 0.3s ease-out forwards;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.canvas-state-empty {
  text-align: center;
  max-width: 320px;
  margin: auto;
  padding: 30px;
}
.empty-illustration {
  color: rgba(247, 179, 4, 0.3);
  margin-bottom: 16px;
}
.canvas-state-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.canvas-state-empty p {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.5;
}

/* Simulated Live Outputs */
.sim-page-mockup {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark-base);
  display: flex;
  flex-direction: column;
  animation: fade-in 0.4s ease-out forwards;
}
.sim-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sim-mock-logo {
  font-weight: 800;
  color: var(--text-white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-mock-nav {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--text-mute);
}
.sim-mock-hero {
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  text-align: left;
  align-items: center;
  flex: 1;
}
.hero-left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.hero-right-column {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sim-mock-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-weight: 700;
}
.sim-mock-hero h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-white);
}
.sim-mock-hero p {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.4;
}
.sim-mock-form {
  width: 100%;
  max-width: 320px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sim-mock-form input {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-white);
  outline: none;
}
.sim-mock-form button {
  background-color: var(--color-indigo);
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.75rem;
  cursor: pointer;
}

/* Simulator Niche Variations */
.badge-saas { background-color: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.badge-fitness { background-color: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-eco { background-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-dental { background-color: rgba(247, 179, 4, 0.15); color: #ffda7a; }

.btn-saas { background: linear-gradient(90deg, #0891b2, #0284c7) !important; }
.btn-fitness { background: linear-gradient(90deg, #dc2626, #ea580c) !important; }
.btn-eco { background: linear-gradient(90deg, #059669, #0891b2) !important; }
.btn-dental { background: linear-gradient(90deg, #c18c03, #f7b304) !important; }

/* Brands Carousel */
.brands-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background-color: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  position: relative;
}
.brands-title {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.25);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 36px;
}
.brand-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 30s linear infinite;
}
.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}
.brand-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.5px;
  cursor: default;
  transition: var(--transition-fast);
}
.brand-item:hover {
  color: rgba(255,255,255,0.35);
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.brand-dot.b-purple { background-color: var(--color-purple); }
.brand-dot.b-pink { background-color: var(--color-pink); }
.brand-dot.b-cyan { background-color: var(--color-cyan); }
.brand-dot.b-emerald { background-color: var(--color-emerald); }
.brand-dot.b-orange { background-color: var(--color-orange); }
.brand-dot.b-blue { background-color: #3b82f6; }
.brand-dot.b-red { background-color: var(--color-red); }

/* Workspace Control Room Section */
.workspace-section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  margin-bottom: 60px;
}
.section-tagline {
  font-family: var(--font-family-headings);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-indigo);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-mute);
  max-width: 680px;
  margin: 0 auto;
}

.workspace-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.workspace-tabs-menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.workspace-tab-btn {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 12px 20px;
  border-radius: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  font-family: var(--font-family-headings);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.workspace-tab-btn:hover {
  background-color: rgba(255,255,255,0.06);
  color: var(--text-white);
  border-color: rgba(255,255,255,0.15);
}
.workspace-tab-btn.active {
  background-color: rgba(247, 179, 4, 0.08);
  border-color: var(--border-glass-glow);
  color: #ffda7a;
}
.workspace-tab-btn svg {
  transition: var(--transition-fast);
}
.workspace-tab-btn.active svg {
  color: var(--color-indigo);
}

.workspace-content-pane {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  min-height: 400px;
}
.workspace-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  min-height: 400px;
  width: 100%;
}
.workspace-pane.active {
  display: block;
  opacity: 1;
}

/* Canvas Pane Styling */
.canvas-visual {
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.canvas-visual::-webkit-scrollbar {
  display: none;
}
.canvas-nodes-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 12px;
}
.canvas-node {
  background-color: var(--bg-dark-base);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 250px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.canvas-node .node-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}
.canvas-node .node-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-white);
}
.canvas-node .node-details p {
  font-size: 0.75rem;
  color: var(--text-mute);
}
.canvas-node .node-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  background-color: #0b112c; /* Solid opaque background to hide parent border line */
  border: 1px solid var(--border-glass);
  padding: 2px 8px;
  border-radius: 50px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  z-index: 3; /* Position above parent outline/border */
}
.flow-arrow-svg {
  display: flex;
  align-items: center;
}
.animated-flow-dash {
  animation: flow-dash-move 2s linear infinite;
}

/* Editor Pane Styling */
.editor-interface-mock {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 400px;
}
.editor-sidebar {
  background-color: rgba(6, 9, 25, 0.4);
  border-right: 1px solid var(--border-glass);
  padding: 20px;
}
.sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comp-item {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: grab;
  transition: var(--transition-fast);
}
.comp-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255,255,255,0.15);
}
.comp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.comp-dot.red { background-color: var(--color-red); }
.comp-dot.yellow { background-color: var(--color-orange); }
.comp-dot.green { background-color: var(--color-emerald); }
.comp-dot.purple { background-color: var(--color-purple); }
.comp-dot.cyan { background-color: var(--color-cyan); }

.editor-main-canvas {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark-base);
}
.mock-page-container {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
}
.mock-logo {
  font-weight: 800;
  font-size: 0.75rem;
}
.mock-nav {
  display: flex;
  gap: 10px;
  font-size: 0.6rem;
  color: var(--text-mute);
}
.mock-hero {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}
.mock-hero h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.mock-hero p {
  font-size: 0.75rem;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.mock-cta {
  display: inline-block;
  background-color: var(--color-indigo);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}
.edit-focus {
  border: 2px dashed rgba(247, 179, 4, 0.4);
  border-radius: 8px;
  cursor: pointer;
}
.edit-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(247, 179, 4, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}
.edit-focus:hover .edit-overlay {
  opacity: 1;
}
.edit-overlay span {
  background-color: var(--color-indigo);
  color: #040a25;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Analytics Pane Styling */
.analytics-layout {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.metric-mini-card {
  background-color: var(--bg-dark-base);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 20px;
}
.metric-mini-card .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-mute);
  font-weight: 600;
  margin-bottom: 4px;
}
.metric-mini-card .value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}
.metric-mini-card .trend {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
}
.trend.positive { color: var(--color-emerald); }

.analytics-chart-mock {
  background-color: var(--bg-dark-base);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 0; /* Aligning absolute dot & SVG coordinate spaces perfectly */
  height: 180px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
}
.line-chart-svg {
  width: 100%;
  height: 100%;
}
.chart-line-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.workspace-pane.active .animate-draw-chart {
  animation: draw-chart 3s ease-out forwards;
}
.chart-dot-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--color-pink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6);
  animation: pulse-ring-pink 2s infinite;
}

/* Integrations Pane Styling */
.integrations-grid {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.integration-card {
  background-color: var(--bg-dark-base);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px;
  transition: var(--transition-fast);
}
.integration-card:hover {
  background-color: rgba(255,255,255,0.01);
  border-color: rgba(255,255,255,0.1);
}
.integration-brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
}
.brand-avatar.stripe { background-color: #635bff; }
.brand-avatar.hubspot { background-color: #ff7a59; }
.brand-avatar.mailchimp { background-color: #ffe01b; color: #000; }
.brand-avatar.zapier { background-color: #ff4f00; }

.status-active-pill {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-emerald);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.btn-connect {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.integration-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.integration-card p {
  font-size: 0.8rem;
  color: var(--text-mute);
  line-height: 1.4;
}

/* Features Grid Section */
.features-section {
  padding: 100px 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.005);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.feature-card:hover {
  background-color: var(--bg-dark-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon {
  transform: scale(1.05);
}
.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.feature-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Large card expansion */
.large-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}
.col-span-2 {
  grid-column: span 2;
}
.col-span-3 {
  grid-column: span 3;
}
.card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(247, 179, 4, 0.2), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}
.feature-card:hover .card-glow {
  width: 200px;
  height: 200px;
}

/* Testimonial Metric Badges */
.testimonial-metric {
  position: absolute;
  top: 32px;
  right: 32px;
  background-color: rgba(247, 179, 4, 0.1);
  border: 1px solid rgba(247, 179, 4, 0.2);
  color: #ffda7a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  position: relative;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}
.testimonial-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}
.featured-testimonial {
  background: linear-gradient(135deg, rgba(247, 179, 4, 0.08) 0%, rgba(255, 202, 54, 0.02) 100%);
  border-color: var(--border-glass-glow);
  transform: scale(1.02);
}
.featured-testimonial:hover {
  border-color: rgba(247, 179, 4, 0.35);
  transform: scale(1.02) translateY(-3px);
}
.stars {
  color: var(--color-orange);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.quote {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-indigo), var(--color-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
  font-size: 0.95rem;
}
.reviewer-meta h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}
.reviewer-meta p {
  font-size: 0.75rem;
  color: var(--text-mute);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}
.pricing-toggle-widget {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 50px;
  margin-top: 36px;
}
.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mute);
  transition: var(--transition-fast);
}
.toggle-label.active {
  color: var(--text-white);
}
.discount-badge {
  background-color: var(--color-emerald);
  color: var(--text-white);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-left: 4px;
}
.toggle-switch-btn {
  width: 52px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: var(--transition-smooth);
}
.toggle-switch-btn.active {
  background-color: var(--color-indigo);
}
.switch-knob {
  width: 22px;
  height: 22px;
  background-color: var(--text-white);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: var(--transition-smooth);
}
.toggle-switch-btn.active .switch-knob {
  left: 26px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: stretch;
}
.pricing-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.popular-card {
  background: linear-gradient(180deg, rgba(247, 179, 4, 0.12) 0%, rgba(4, 10, 37, 0.6) 100%);
  border: 2px solid var(--color-indigo);
  box-shadow: var(--shadow-neon-indigo);
}
.popular-card:hover {
  transform: translateY(-4px) scale(1.01);
}
.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--color-purple), var(--color-pink));
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
}
.card-header h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.price-display {
  margin-bottom: 8px;
}
.price-val {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-white);
  font-family: var(--font-family-headings);
}
.price-period {
  font-size: 0.95rem;
  color: var(--text-mute);
  font-weight: 500;
}
.price-sub {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.features-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li::before {
  content: '✓';
  color: var(--color-emerald);
  font-weight: bold;
}
.popular-card .features-list li::before {
  color: #a5b4fc;
}

/* FAQ Accordion Styling */
.faq-section {
  padding: 100px 0;
  position: relative;
}
.faq-accordion {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-accordion .faq-item {
  padding: 0 !important;
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.01);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-heading);
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  outline: none;
}
.faq-icon {
  display: flex;
  color: var(--text-mute);
  transition: var(--transition-smooth);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-indigo);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-content p {
  padding: 0 24px 20px 24px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Bottom CTA Banner */
.cta-banner-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 179, 4, 0.15) 0%, rgba(255, 202, 54, 0.05) 50%, rgba(84, 84, 84, 0.1) 100%);
  z-index: -1;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.cta-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 40px auto;
}
.cta-button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.cta-disclaimer {
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* Footer layout */
.footer-layout {
  background-color: #020512;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  color: var(--text-body);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  height: 34px;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-mute);
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-social-row {
  display: flex;
  gap: 12px;
}
.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
}
.footer-social-row a:hover {
  background-color: rgba(99,102,241,0.1);
  border-color: var(--color-indigo);
  color: var(--text-white);
  transform: translateY(-2px);
}
.footer-links-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-white);
}
.footer-links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-column ul a {
  font-size: 0.9rem;
  color: var(--text-mute);
  display: inline-block;
  transition: var(--transition-fast);
}
.footer-links-column ul a:hover {
  color: var(--text-white);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-mute);
  position: relative;
  z-index: 2;
}
.footer-watermark {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17.5vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1;
  user-select: none;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

/* Lead Box Newsletter Form Layout & Input Styling */
.lead-box .prompt-input-container {
  display: flex !important;
  flex-direction: column !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}
.lead-box .prompt-input {
  width: 100% !important;
  background-color: rgba(6, 9, 25, 0.6) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  color: var(--text-white) !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  margin-bottom: 0 !important;
}
.lead-box .prompt-input:focus {
  border-color: var(--color-indigo) !important;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.lead-box .prompt-input-container button {
  width: 100% !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
}

.price-billing {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-top: -2px;
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: lowercase;
}


/* Animations */
@keyframes aurora-shift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-ring-pink {
  0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

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

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

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes flow-dash-move {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Comprehensive Responsive System for Homepage & Global Layouts
   ========================================================================== */

@media (max-width: 1200px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-title {
    font-size: 3.25rem;
  }
}

/* Mobile CTA container inside drawer default */
.mobile-nav-actions {
  display: none;
}

@media (max-width: 991px) {
  /* Navbar Header Clean Up */
  .navbar-header {
    padding: 12px 16px;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .brand-logo .logo-img {
    max-height: 32px;
    width: auto;
  }
  /* Hide top-bar CTA buttons on mobile so logo & hamburger take clean opposite sides */
  .nav-actions .btn {
    display: none !important;
  }
  .nav-actions {
    gap: 0;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    padding: 8px;
    margin-left: auto;
  }
  .mobile-toggle svg {
    overflow: visible !important;
  }
  .mobile-toggle svg line {
    transform-origin: 12px 12px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
  }
  .mobile-toggle.active #line2 {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .mobile-toggle.active #line1 {
    opacity: 0 !important;
  }
  .mobile-toggle.active #line3 {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* Drawer Layout & Mobile Buttons */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 18, 40, 0.98);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 18px 28px 18px;
    gap: 14px;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-menu.mobile-open {
    display: flex !important;
    animation: fadeInDown 0.3s ease forwards;
  }
  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }
  .mobile-nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .nav-dropdown-item {
    width: 100%;
  }
  .mega-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 10px;
    padding: 14px !important;
  }
  .nav-dropdown-item.active .mega-menu,
  .nav-dropdown-item:hover .mega-menu {
    display: block !important;
  }
  .mega-menu-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .mega-promo {
    display: none;
  }

  /* Side-by-Side Horizontal Scroll Pricing Cards on Mobile/Tablet */
  .pricing-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 20px 8px 30px 8px !important;
    margin-top: 30px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  .pricing-card {
    flex: 0 0 85% !important;
    max-width: 310px !important;
    min-width: 265px !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
  }
  .popular-card {
    transform: none !important;
  }

  /* Hero & Headings */
  .hero-title {
    font-size: 2.85rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Simulator & Workspace Panes */
  .simulator-status-badge {
    display: none !important;
  }
  .simulator-title {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    max-width: none !important;
    flex: 1 !important;
    text-align: right !important;
  }
  .simulator-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .terminal-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    height: 200px;
  }
  .preview-panel {
    min-height: 380px !important;
  }
  .preview-canvas {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px !important;
  }
  .sim-page-mockup {
    min-width: 800px !important;
    width: 800px !important;
  }
  .sim-step-container {
    max-width: 100% !important;
    padding: 10px !important;
  }
  .sim-step-visual > div {
    gap: 6px !important;
  }
  .sim-step-visual .canvas-node {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 8px !important;
  }
  .sim-step-visual span {
    font-size: 0.85rem !important;
  }
  .workspace-tabs-menu {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .workspace-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .canvas-visual {
    padding: 30px 16px;
  }
  .canvas-nodes-flow {
    flex-direction: column;
    align-items: center;
    gap: 8px !important;
  }
  .canvas-node {
    width: 100% !important;
    max-width: 310px !important;
    padding: 12px 16px !important;
  }
  .flow-arrow-svg {
    transform: rotate(90deg) scale(0.6) !important;
    margin: -10px 0 !important;
    height: 24px !important;
  }
  .editor-interface-mock {
    grid-template-columns: 1fr;
    height: auto;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .editor-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 16px;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .comp-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    width: 100% !important;
  }
  .comp-item {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .editor-main-canvas {
    padding: 16px;
    min-height: 250px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .mock-page-container {
    max-width: 290px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .analytics-layout {
    padding: 16px !important;
    gap: 12px !important;
  }
  .analytics-period-selector {
    margin-bottom: 0 !important;
    justify-content: center !important;
  }
  .analytics-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .analytics-metrics-grid .metric-mini-card:nth-child(3) {
    grid-column: span 2 !important;
  }
  .metric-mini-card {
    padding: 10px 12px !important;
  }
  .metric-mini-card .value {
    font-size: 1.25rem !important;
  }
  .metric-mini-card .trend {
    font-size: 0.62rem !important;
    margin-top: 2px !important;
  }
  .analytics-chart-mock {
    height: 130px !important;
  }
  .integrations-grid {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 14px;
  }

  /* Grids & Compact Section Spacing */
  section,
  .hero-section,
  .brands-section,
  .workspace-section,
  .features-section,
  .testimonials-section,
  .pricing-section,
  .faq-section,
  .cta-banner-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .section-header {
    margin-bottom: 28px !important;
  }
  .section-header#demo {
    margin-top: 28px !important;
    margin-bottom: 24px !important;
  }
  .section-title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .large-card {
    grid-column: span 2;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 24px !important;
  }
}

@media (max-width: 768px) {
  .preview-disclaimer {
    text-overflow: clip !important;
    text-align: left !important;
  }
  .preview-disclaimer.animate-start span {
    display: inline-block !important;
    padding-left: 100% !important;
    animation: preview-marquee 22s linear infinite !important;
  }
  @keyframes preview-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
  }

  .fe-invite-notice > span:last-child {
    overflow: hidden !important;
    white-space: nowrap !important;
    display: block !important;
    width: 100% !important;
  }
  #regModal.open .fe-invite-notice > span:last-child span {
    display: inline-block !important;
    padding-left: 100% !important;
    animation: invite-marquee 12s linear infinite !important;
  }
  @keyframes invite-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
  }

  /* Compact Mobile Section Spacing */
  section,
  .brands-section,
  .workspace-section,
  .features-section,
  .testimonials-section,
  .pricing-section,
  .faq-section,
  .cta-banner-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .hero-section,
  .subpage-hero,
  .policy-hero {
    padding-top: 135px !important;
    padding-bottom: 28px !important;
  }
  .section-header {
    margin-bottom: 18px !important;
  }
  .section-header#demo {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }
  .section-tagline {
    margin-bottom: 4px !important;
  }
  .section-title {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 10px !important;
  }
  .hero-title {
    font-size: 2.35rem !important;
    line-height: 1.2 !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 14px !important;
    margin-bottom: 36px !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
  }

  /* Single-line Horizontal Stats Row */
  .hero-stats-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    padding: 16px 6px !important;
    margin-top: 8px !important;
  }
  .stat-card {
    padding: 8px 2px !important;
    text-align: center;
    border-right: none !important;
  }
  .stat-card:not(:last-child) {
    border-right: 1px solid var(--border-glass) !important;
  }
  .stat-number {
    font-size: 1.25rem !important;
  }
  .stat-label {
    font-size: 0.68rem !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px !important;
  }

  /* Input & Chips */
  .prompt-input-container {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 8px 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }
  .ai-spark-icon {
    display: flex !important;
    align-items: center !important;
    color: var(--color-indigo) !important;
    margin-right: 0 !important;
    grid-column: 1;
    grid-row: 1;
  }
  .prompt-input {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    text-align: left !important;
    padding: 8px 0 !important;
    font-size: 0.9rem !important;
  }
  .fe-hero-input {
    grid-column: 1 / span 2 !important;
  }
  .btn-generate,
  .fe-hero-btn {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
  }
  .prompt-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 4px 2px !important;
    justify-content: flex-start !important;
    width: 100% !important;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
  }
  .prompt-chips::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .chip-label {
    flex-shrink: 0 !important;
    align-self: center !important;
    width: auto !important;
    text-align: left !important;
    font-size: 0.8rem !important;
    margin-right: 4px !important;
  }
  .prompt-chip {
    flex-shrink: 0 !important;
  }

  /* Bento Features & Cards */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .large-card, .col-span-2, .col-span-3 {
    grid-column: span 1 !important;
  }
  .feature-card {
    padding: 22px 18px;
  }

  /* Pricing Side-by-Side Swipe Carousel */
  .pricing-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 20px 8px 30px 8px !important;
    margin-top: 30px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  .pricing-card {
    flex: 0 0 85% !important;
    max-width: 310px !important;
    min-width: 265px !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
  }
  .popular-card {
    transform: none !important;
  }

  /* CTA Banner & Footer */
  .cta-title {
    font-size: 2.1rem;
  }
  .cta-button-group {
    flex-direction: column;
    gap: 12px;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 36px !important;
  }
  .footer-desc {
    max-width: 100% !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  /* Subpage mobile visual compactness */
  .hero-wrapper {
    gap: 24px !important;
  }
  .hero-visual-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .visual-step {
    padding: 10px 14px !important;
    margin-bottom: 10px !important;
    gap: 12px !important;
    border-radius: 12px !important;
  }
  .visual-step:last-child {
    margin-bottom: 0 !important;
  }
  .visual-step h5 {
    font-size: 0.85rem !important;
  }
  .visual-step p {
    font-size: 0.72rem !important;
    margin-top: 2px !important;
  }
  .step-metric {
    font-size: 0.8rem !important;
  }
  .step-badge {
    padding: 2px 6px !important;
    font-size: 0.7rem !important;
  }
  .split-grid {
    gap: 20px !important;
  }
  .split-content h2 {
    font-size: 1.5rem !important;
    margin-bottom: 12px !important;
  }
  .split-content p {
    margin-bottom: 18px !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  .visual-glow-card {
    padding: 20px !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }
  .testimonial-card-premium {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  .testimonial-quote {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }
  .lead-box {
    padding: 30px 20px !important;
    border-radius: 16px !important;
    margin: 20px auto !important;
  }
  .lead-box h3 {
    font-size: 1.4rem !important;
  }
  .lead-box p {
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
  }

  /* Proof Banner 2x2 Compact Grid */
  .proof-banner {
    padding: 16px 0 !important;
    margin: 24px 0 !important;
  }
  .proof-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .proof-logo {
    font-size: 0.78rem !important;
    letter-spacing: 1px !important;
  }

  /* FAQ Compact Mobile Overrides */
  .faq-trigger {
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
  }
  .faq-content p {
    padding: 0 20px 16px 20px !important;
    font-size: 0.85rem !important;
  }

  /* Policy Pages Mobile Layout Enhancements */
  .policy-hero .policy-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }
  .policy-hero .policy-meta {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }
  .policy-container {
    padding: 0 12px 40px !important;
  }
  .policy-card {
    padding: 24px 16px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .policy-card h2 {
    font-size: 1.3rem !important;
    margin: 28px 0 12px !important;
    padding-bottom: 8px !important;
  }
  .policy-card h3 {
    font-size: 1.08rem !important;
    margin: 20px 0 8px !important;
  }
  .policy-highlight {
    padding: 14px 16px !important;
    margin: 20px 0 !important;
    border-radius: 0 8px 8px 0 !important;
  }
  .toc-box {
    padding: 14px 16px !important;
    margin-bottom: 24px !important;
    border-radius: 10px !important;
  }
  .toc-list a {
    font-size: 0.78rem !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }

  /* Global Mobile Footer Watermark Adjustment */
  .footer-watermark {
    bottom: -15px !important;
    font-size: 16vw !important;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 140px !important;
  }
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin-top: 20px !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .cta-title {
    font-size: 1.6rem !important;
  }
  .hero-stats-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2px !important;
    padding: 10px 4px !important;
  }
  .stat-card {
    padding: 6px 2px !important;
  }
  .stat-number {
    font-size: 1.05rem !important;
  }
  .stat-label {
    font-size: 0.6rem !important;
    white-space: nowrap !important;
  }
  .fe-modal-content {
    width: calc(100% - 32px) !important;
    margin: 16px !important;
    padding: 20px 16px !important;
  }
}

/* Interactive Simulator UI Upgrades */
.canvas-node-add {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(247, 179, 4, 0.3);
  border-radius: 16px;
  padding: 16px 24px;
  color: var(--text-mute);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}
.canvas-node-add:hover {
  background-color: rgba(247, 179, 4, 0.05);
  border-color: #f7b304;
  color: var(--text-white);
  transform: translateY(-2px);
}
@keyframes fadeInNode {
  from {
    opacity: 0;
    transform: scale(0.9) translateX(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}
.analytics-period-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.period-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
  transition: all 0.2s ease;
}
.period-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}
.period-btn.active {
  background-color: rgba(247, 179, 4, 0.12);
  border-color: #f7b304;
  color: #ffda7a;
}
.integration-card {
  transition: all 0.3s ease;
}
.integration-card.active {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.1);
}
.integration-card .btn-connect {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.integration-card.active .btn-connect {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.integration-card:not(.active) .btn-connect {
  background-color: rgba(247, 179, 4, 0.1);
  border: 1px solid rgba(247, 179, 4, 0.3);
  color: #ffda7a;
}
.integration-card.active .btn-connect:hover {
  background-color: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}
.integration-card:not(.active) .btn-connect:hover {
  background-color: rgba(247, 179, 4, 0.2);
  border-color: #f7b304;
}
.mock-cta {
  cursor: pointer;
  transition: all 0.2s ease;
}
.mock-cta:hover {
  transform: scale(1.05);
}
.comp-item {
  cursor: pointer;
  transition: all 0.2s ease;
}
.comp-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  transform: translateX(4px);
}

/* Toast Notification */
.toast-notification {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  animation: toast-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-notification.success {
  background: rgba(16, 185, 129, 0.9);
  border: 1px solid #10b981;
}
.toast-notification.primary {
  background: rgba(79, 70, 229, 0.9);
  border: 1px solid #4f46e5;
}
@keyframes toast-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.toast-top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 100;
  animation: toast-fade-in-right 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-top-right.success {
  background: rgba(16, 185, 129, 0.9);
  border: 1px solid #10b981;
}
.toast-top-right.primary {
  background: rgba(79, 70, 229, 0.9);
  border: 1px solid #4f46e5;
}
@keyframes toast-fade-in-right {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* Premium Glassmorphic Modals */
.fe-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 5, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fe-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.fe-modal-container {
  background: linear-gradient(135deg, rgba(10, 15, 41, 0.98) 0%, rgba(6, 9, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fe-modal-overlay.open .fe-modal-container {
  transform: scale(1) translateY(0);
}

.fe-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-mute);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.fe-modal-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.fe-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0;
  margin-bottom: 8px;
}

.fe-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-mute);
  margin-bottom: 24px;
  line-height: 1.5;
}

.fe-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.fe-form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.fe-input,
.fe-textarea,
.fe-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-white, #f9fafb);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast, all 0.2s ease);
}

.fe-input::placeholder,
.fe-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.fe-input:focus,
.fe-textarea:focus,
.fe-select:focus {
  border-color: var(--color-indigo, #6366f1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.fe-textarea {
  min-height: 90px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.fe-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.fe-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
}

.fe-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Registration Banner Modal (Wide 50/50 Split Layout) */
.fe-reg-container {
  display: flex;
  width: 95%;
  max-width: 1040px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
}

.fe-modal-overlay.open .fe-reg-container {
  transform: scale(1) translateY(0);
}

.fe-reg-banner-col {
  flex: 0 0 50%;
  position: relative;
  background: #04060c;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
}

.fe-reg-banner-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.fe-reg-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.fe-reg-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}

.fe-reg-logo img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.fe-reg-banner-content {
  position: relative;
  z-index: 2;
}

.fe-reg-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.fe-reg-banner-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.fe-reg-form-col {
  flex: 1;
  padding: 38px 44px;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
  background: #ffffff;
  color: #111827;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fe-reg-form-col::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.fe-reg-form-col .fe-modal-title {
  color: #111827;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.fe-reg-form-col .fe-modal-subtitle {
  color: #4b5563 !important;
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.5;
}

.fe-reg-form-col .fe-form-group label {
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.fe-reg-form-col .fe-input {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 14px;
  color: #111827;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.fe-reg-form-col .fe-input::placeholder {
  color: #9ca3af;
}

.fe-reg-form-col .fe-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Yellow Invite Only Notice (Full-Height Left Badge) */
.fe-invite-notice {
  display: flex;
  align-items: stretch;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.fe-invite-badge {
  background: #f59e0b;
  color: #0b0f19;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 7px 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fe-invite-notice > span:last-child {
  padding: 7px 10px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #1e293b;
  font-weight: 600;
}

/* Highlight animation for Invite Only Notice */
@keyframes notice-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); border-color: #fcd34d; }
  30% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.15); border-color: #f59e0b; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); border-color: #fcd34d; }
}
.fe-invite-notice.flash-highlight {
  animation: notice-pulse 0.6s ease-out;
}

/* Type Segmented Switcher */
.fe-type-switcher {
  display: flex;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
}

.fe-type-tab {
  flex: 1;
  background: none;
  border: 1px solid transparent;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.fe-type-tab:hover {
  color: #111827;
}

.fe-type-tab.active {
  background: #ffffff;
  color: #111827;
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Select Dropdown */
.fe-select {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 14px;
  color: #111827;
  font-size: 0.92rem;
  outline: none;
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all 0.2s ease;
}

.fe-select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.fe-select option {
  background: #ffffff;
  color: #111827;
  padding: 10px;
}

/* Social Buttons */
.fe-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social svg {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.btn-social:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-social:hover svg {
  filter: grayscale(0%);
  opacity: 1;
}

.btn-social.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
}
.btn-social.disabled:hover {
  background: #ffffff !important;
  border-color: #d1d5db !important;
}
.btn-social.disabled:hover svg {
  filter: grayscale(100%) !important;
  opacity: 0.8 !important;
}

/* Divider */
.fe-divider-row {
  display: flex;
  align-items: center;
  margin: 14px 0;
  gap: 12px;
}

.fe-divider-line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.fe-divider-text {
  font-size: 0.78rem;
  color: #9ca3af;
  text-transform: lowercase;
}

/* Grid Row for First/Last name */
.fe-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Password Group with eye toggle */
.fe-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.fe-password-wrapper .fe-input {
  width: 100%;
  padding-right: 42px;
}

.fe-pwd-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fe-pwd-toggle:hover {
  color: #111827;
}

/* High Contrast Primary Yellow CTA Button */
.fe-reg-form-col .fe-submit-btn {
  background: var(--color-primary, #ffb703);
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
  transition: all 0.2s ease;
}

.fe-reg-form-col .fe-submit-btn:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

/* Form Footer text */
.fe-form-terms {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

.fe-form-terms a {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
}

.fe-reg-form-col .fe-modal-close {
  color: #6b7280;
}

.fe-reg-form-col .fe-modal-close:hover {
  color: #111827;
  background: #f3f4f6;
}

@media (max-width: 768px) {
  .fe-reg-banner-col {
    display: none;
  }
  .fe-reg-form-col {
    flex: 0 0 100%;
    padding: 28px 20px;
  }
  .fe-form-row {
    grid-template-columns: 1fr;
  }
  .fe-social-row {
    grid-template-columns: 1fr;
  }
}

/* Light Theme Sign In Popup Styling (Matches Registration Modal) */
#loginModal .fe-modal-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  color: #111827;
  padding: 40px;
}

#loginModal .fe-modal-title {
  color: #111827;
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

#loginModal .fe-modal-subtitle {
  color: #4b5563;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

#loginModal label {
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

#loginModal .fe-input {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  color: #111827;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

#loginModal .fe-input::placeholder {
  color: #9ca3af;
}

#loginModal .fe-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

#loginModal .btn-primary {
  background: var(--color-primary, #ffb703);
  color: #0b0f19;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
  transition: all 0.2s ease;
}

#loginModal .btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

#loginModal .fe-modal-close {
  color: #6b7280;
}

#loginModal .fe-modal-close:hover {
  color: #111827;
  background: #f3f4f6;
}

/* ==========================================================================
   Cookie Banner Component
   ========================================================================== */
.cookie-banner-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 460px;
  width: calc(100% - 48px);
  background: #0c1228;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  box-sizing: border-box;
}

.cookie-banner-container.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

.cookie-icon {
  color: #ffb703;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-banner-text a {
  color: #a5b4fc;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.cookie-banner-text a:hover {
  color: #ffffff;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-cookie-accept {
  background: var(--color-primary, #ffb703);
  color: #0c1228;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.3);
  transition: all var(--transition-fast);
  outline: none;
}

.btn-cookie-accept:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

@media (max-width: 576px) {
  .cookie-banner-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    padding: 16px;
  }
}


