/**
 * FlowCraft AI - IIAV Data Labs
 * High-Conversion AI Lab / DeepMind Studio Stylesheet
 * Titanium Obsidian Dark Glassmorphism, Micro-Dot Matrix, Live Studio Preview
 */

:root {
  --bg-primary: #07080c;
  --bg-surface: #0e111a;
  --bg-surface-elevated: #131722;
  --bg-card: rgba(14, 18, 28, 0.75);
  --bg-card-hover: rgba(20, 26, 40, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.4);
  --accent-indigo: #6366f1;
  --accent-purple: #c084fc;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 0);
  background-size: 100% 100%, 28px 28px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Backdrops */
.ambient-glow {
  position: fixed;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.09) 45%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-secondary {
  position: absolute;
  top: 1900px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

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

/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.85);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #f8fafc 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-glow {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
}

.btn-secondary {
  background: rgba(22, 28, 42, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

/* Hero Section */
.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 32px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.browser-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.browser-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Hero Interactive Studio Mockup (1:1 with Extension & Canvas)
   ========================================================================== */
.hero-mockup-wrapper {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(22, 27, 40, 0.6) 0%, rgba(10, 13, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 189, 248, 0.15);
}

.mockup-inner {
  border-radius: 12px;
  overflow: hidden;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(14, 18, 28, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.browser-url-box {
  margin-left: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-url-box .url-lock {
  color: #10b981;
  font-size: 10px;
}

/* Studio Split Grid: Google Flow Canvas on Left + Docked Extension on Right */
.mockup-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  text-align: left;
}

/* Left: Simulated Google Flow Canvas */
.mockup-canvas-area {
  padding: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(14, 20, 32, 0.8) 0%, #06070a 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.canvas-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  font-weight: 600;
}

.canvas-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-grow: 1;
}

.canvas-card {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.canvas-card.active-gen {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.card-media-preview {
  height: 110px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-media-preview.video-preview {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.card-media-preview.image-preview {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
}

.card-play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-veo {
  background: rgba(2, 132, 199, 0.85);
  color: #fff;
}

.badge-imagen {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
  line-height: 1.3;
}

.card-prompt-preview {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

.card-download-tag {
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Right: FlowCraft AI Extension Studio Docked Replica */
.mockup-extension-sidepanel {
  background: #090a0f;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.ext-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
}

.ext-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ext-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 12px;
}

.ext-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.ext-sub {
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ext-tier-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.ext-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(18, 22, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.ext-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Dual Mode Buttons */
.ext-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #020617;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.ext-mode-btn {
  padding: 6px 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.ext-mode-btn.active {
  background: rgba(30, 41, 59, 0.9);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* Controls row */
.ext-controls-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  margin-bottom: 12px;
}

.ext-control-col label {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 4px;
}

.ext-select {
  width: 100%;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 8px;
  color: #f1f5f9;
  font-size: 11px;
  outline: none;
}

/* Quick Chips */
.ext-chips-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ext-chips-label {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 600;
}

.ext-chip {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}

.ext-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

/* Textarea */
.ext-textarea-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.ext-textarea {
  width: 100%;
  height: 80px;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #f1f5f9;
  resize: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ext-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.ext-prompt-count {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b;
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 5px;
  border-radius: 3px;
}

/* Action Button */
.ext-btn-start {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: all 0.25s;
  margin-bottom: 12px;
}

.ext-btn-start:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

/* 4-Step Execution HUD */
.ext-hud {
  background: rgba(14, 18, 28, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 10px;
}

.ext-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
}

.ext-hud-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.ext-hud-step-node {
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px 2px;
  text-align: center;
  font-size: 8.5px;
  color: #64748b;
  font-weight: 600;
  transition: all 0.3s;
}

.ext-hud-step-node.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.ext-hud-step-node.done {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.bento-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #f8fafc;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.bento-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f8fafc;
}

.bento-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

th, td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: rgba(14, 18, 28, 0.95);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14.5px;
}

th.highlight, td.highlight {
  background: rgba(56, 189, 248, 0.05);
}

.badge-winner {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */
.roi-section {
  padding: 50px 0;
  background: rgba(14, 18, 28, 0.6);
  border-radius: 20px;
  border: 1px solid var(--border-card);
  margin-bottom: 70px;
}

.roi-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 10px 36px;
  align-items: center;
}

.slider-group {
  margin-top: 22px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
}

.roi-stats-card {
  background: rgba(6, 9, 15, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.roi-stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-bottom: 4px;
}

/* ==========================================================================
   Cloudflare Global Infrastructure Showcase
   ========================================================================== */
.cf-showcase-box {
  background: linear-gradient(135deg, rgba(14, 18, 28, 0.95) 0%, rgba(6, 8, 14, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin: 60px 0;
}

/* ==========================================================================
   Pricing Section & Cards
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 13.5px;
  color: var(--text-secondary);
  cursor: pointer;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: #131926;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-card);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  transition: transform 0.25s;
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

.save-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.6);
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.9) 0%, rgba(20, 27, 44, 0.85) 100%);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0284c7, #6366f1);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.plan-name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  min-height: 38px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}

.currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
}

.amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.period {
  font-size: 13.5px;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.features-list li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li.included {
  color: var(--text-primary);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 90px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-card);
  padding: 18px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
}

.faq-answer {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  font-size: 18px;
  color: var(--accent-cyan);
  transition: transform 0.2s;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Stripe Checkout & License Modal
   ========================================================================== */
.fc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.fc-modal-overlay.active {
  display: flex;
}

.fc-modal-content {
  background: #0e111a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.2);
  position: relative;
}

.fc-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}

.fc-modal-close:hover {
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.main-footer {
  border-top: 1px solid var(--border-card);
  padding: 60px 0 30px;
  background: #040508;
  color: var(--text-secondary);
  font-size: 12.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero h1 { font-size: 38px; }
  .mockup-grid { grid-template-columns: 1fr; }
  .mockup-canvas-area { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .pricing-cards { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .roi-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
