/* ==========================================================================
   TigAlign Landing Page - Stylesheet (v3.0 Ultra-Modern Redesign)
   Sleek Dark Mode Default, Glassmorphism, Dynamic Animations & Clean Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Dark Mode Default */
  --bg-main: #07090e;
  --bg-surface: #0f141d;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-orange: #f97316;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;

  --canvas-bg: #0b0f17;
  --canvas-grid-dot: rgba(255, 255, 255, 0.12);

  --gradient-brand: linear-gradient(135deg, #f97316 0%, #8b5cf6 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #fb923c 0%, #c084fc 50%, #60a5fa 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0) 70%);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 25px rgba(59, 130, 246, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides */
body.light-mode {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-color: #cbd5e1;
  --border-glow: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent-orange: #ea580c;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #0284c7;
  --accent-purple: #7c3aed;
  --accent-emerald: #059669;
  --accent-pink: #db2777;
  --accent-amber: #d97706;

  --canvas-bg: #f1f5f9;
  --canvas-grid-dot: rgba(0, 0, 0, 0.12);

  --gradient-brand: linear-gradient(135deg, #ea580c 0%, #7c3aed 50%, #2563eb 100%);
  --gradient-text: linear-gradient(135deg, #ea580c 0%, #7c3aed 50%, #2563eb 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0) 70%);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 32px -4px rgba(0, 0, 0, 0.1);
  --shadow-neon: 0 4px 20px rgba(37, 99, 235, 0.2);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Atmosphere Glows */
.bg-mesh-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 960px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body.light-mode .bg-mesh-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.bg-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 700px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-accent {
  position: absolute;
  top: 450px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-green {
  color: var(--accent-emerald) !important;
}

.hide {
  display: none !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.v3-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--accent-orange);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.badge-nav-count {
  font-size: 10px;
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

/* User Auth Widget in Nav */
.btn-google-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-google-nav:hover {
  border-color: #4285F4;
  box-shadow: 0 0 12px rgba(66, 133, 244, 0.25);
  transform: translateY(-1px);
}

.btn-text-full {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

.nav-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--accent-blue);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 15, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.light-mode .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

body.light-mode .mobile-link {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.mobile-link:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
  padding-left: 16px;
}

.btn-mobile-cta {
  width: 100%;
  padding: 12px;
  font-size: 14.5px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 12.5px;
}

.btn-hero {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-hero-google {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Section */
.hero-section {
  padding: 48px 0 64px 0;
  text-align: center;
  position: relative;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.1);
  transition: all 0.2s ease;
  max-width: 100%;
}

.badge-hero:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.badge-pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

.badge-hero-text {
  white-space: nowrap;
}

.badge-hero-pill {
  font-size: 9.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316, #ec4899);
  color: #fff;
  padding: 1.5px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

/* Hero Interactive AI Prompt Bar */
.hero-ai-bar-wrapper {
  max-width: 780px;
  margin: 0 auto 32px auto;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.15);
  border-radius: 18px;
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  text-align: left;
}

body.light-mode .hero-ai-bar-wrapper {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(139, 92, 246, 0.08);
}

.hero-ai-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.hero-ai-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #c084fc;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-ai-model-tag {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-ai-input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 12px;
}

body.light-mode .hero-ai-input-box {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

.hero-ai-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.hero-ai-mic-btn:hover {
  transform: scale(1.06);
  background: rgba(56, 189, 248, 0.25);
}

.hero-ai-typed-text {
  flex: 1;
  font-size: 13.5px;
  color: #f8fafc;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: inherit;
}

body.light-mode .hero-ai-typed-text {
  color: #0f172a;
}

.hero-ai-typed-text span.cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #38bdf8;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-ai-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
  transition: all 0.2s ease;
}

.hero-ai-generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.5);
}

.hero-ai-chips-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  overflow: hidden;
}

.chips-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.hero-ai-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}

.hero-ai-chips-row::-webkit-scrollbar {
  display: none;
}

.hero-prompt-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: inherit;
  flex-shrink: 0;
}

body.light-mode .hero-prompt-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.hero-prompt-chip:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: #f8fafc;
  transform: translateY(-1px);
}

/* Action CTAs (Balanced & High-Impact) */
.hero-cta-container {
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
  transform: translateY(-1px);
}

.google-icon-svg {
  flex-shrink: 0;
}

.hero-secondary-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-subtext {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dot-separator {
  opacity: 0.5;
}

/* Trust Metrics Grid (2x2 on Mobile, 4-card ribbon on Desktop) */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 42px auto;
}

.metric-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.2s ease;
}

body.light-mode .metric-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: #e2e8f0;
}

.metric-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.metric-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.metric-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  white-space: nowrap;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Showcase Tabs Switcher in Header */
.showcase-tab-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-tab-btn {
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.showcase-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* AI Image Showcase Container with Floating Overlays */
.showcase-ai-image-container {
  position: relative;
  width: 100%;
  height: clamp(240px, 45vw, 480px);
  background: #090d16;
  overflow: hidden;
}

.showcase-ai-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-hero-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  bottom: 24px;
  left: 24px;
  border-color: rgba(56, 189, 248, 0.35);
}

.floating-badge-2 {
  top: 24px;
  right: 24px;
  border-color: rgba(139, 92, 246, 0.35);
  animation-delay: 1.5s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

/* Showcase Box */
.showcase-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
  transition: all var(--transition-normal);
}

.showcase-wrapper:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.showcase-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.showcase-toolbar {
  display: flex;
  gap: 8px;
}

.tool-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
}

.tool-chip-green {
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.showcase-canvas-container {
  position: relative;
  height: 460px;
  background: var(--canvas-bg);
  cursor: grab;
  user-select: none;
}

.canvas-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--canvas-grid-dot) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.interactive-svg-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.draggable-node {
  cursor: grab;
  transition: transform 0.05s ease-out;
}

.draggable-node:active {
  cursor: grabbing;
}

/* Animations */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { r: 8; opacity: 1; } 100% { r: 24; opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.spin-gear { animation: spin 4s linear infinite; transform-origin: center; }
.pulse-circle { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; transform-origin: center; }
.float-cloud { animation: float 3s ease-in-out infinite; transform-origin: center; }

/* Section Standard Headers */
section {
  padding: 90px 0;
  position: relative;
}

.badge-section {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent-orange);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

/* Template Explorer Section */
.template-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tmpl-tab {
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tmpl-tab:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.tmpl-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.template-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.template-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
}

.template-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.template-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-blue);
}

.template-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.template-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.template-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.template-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.template-metrics {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Stencils Showcase Grid */
.stencil-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.stencil-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.stencil-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.stencil-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stencil-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.stencil-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.comparison-table th, 
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
  color: var(--text-primary);
}

.col-highlight {
  background: rgba(59, 130, 246, 0.08) !important;
  color: var(--accent-blue);
  font-weight: 600;
}

/* CTA Section */
.section-cta {
  padding-bottom: 120px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Voice-Dictated AI Architect Section
   ========================================================================== */
.section-voice-ai {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.voice-ai-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(16px);
  position: relative;
}

.voice-ai-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
  pointer-events: none;
}

.voice-ai-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.voice-ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.voice-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.voice-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.voice-feat-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.voice-feat-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.voice-ai-demo-card {
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.voice-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.voice-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
}

.live-mic-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse 1.5s infinite;
}

.voice-model-badge {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.voice-waveform-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.voice-mic-glow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  flex: 1;
}

.wave-bar {
  flex: 1;
  background: #38bdf8;
  border-radius: 4px;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}

.bar-1 { height: 35%; animation-delay: 0.1s; }
.bar-2 { height: 80%; animation-delay: 0.3s; }
.bar-3 { height: 100%; animation-delay: 0.2s; }
.bar-4 { height: 60%; animation-delay: 0.4s; }
.bar-5 { height: 90%; animation-delay: 0.15s; }
.bar-6 { height: 45%; animation-delay: 0.35s; }
.bar-7 { height: 75%; animation-delay: 0.25s; }
.bar-8 { height: 40%; animation-delay: 0.05s; }

@keyframes waveAnim {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.voice-prompt-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.voice-prompt-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
}

.voice-prompt-text {
  font-size: 12.5px;
  color: #f8fafc;
  line-height: 1.45;
  font-style: italic;
}

.voice-synthesized-preview {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 12px;
}

.preview-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 8px;
}

.preview-diagram-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-node {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.node-dns { background: #0284c7; border: 1px solid #38bdf8; }
.node-alb { background: #4f46e5; border: 1px solid #818cf8; }
.node-ec2 { background: #2563eb; border: 1px solid #60a5fa; }
.node-db { background: #059669; border: 1px solid #34d399; }

.chip-arrow {
  color: #94a3b8;
  font-size: 12px;
}

@media (max-width: 900px) {
  .voice-ai-grid { grid-template-columns: 1fr; }
  .voice-ai-card { padding: 28px; }
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 14px 0 20px 0;
  max-width: 320px;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links-col a {
  display: block;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--accent-blue);
}

/* Responsive Rules */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-title { font-size: 42px; }
  .trust-metrics-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-section { padding: 28px 0 44px 0; }

  /* Compact Navbar */
  .brand-logo { font-size: 18px; gap: 7px; }
  .brand-logo img { width: 28px; height: 28px; }
  .v3-pill { font-size: 9px; padding: 1px 5px; }
  .btn-text-full { display: none; }
  .btn-text-mobile { display: inline; }
  .btn-google-nav { padding: 6px 10px; font-size: 12.5px; }
  .theme-toggle-btn { width: 34px; height: 34px; font-size: 14px; }
  .mobile-menu-btn { width: 34px; height: 34px; }

  /* Hero Badge & Typography */
  .badge-hero { font-size: 12px; padding: 4px 12px; gap: 6px; margin-bottom: 16px; }
  .badge-hero-text { white-space: normal; }
  .hero-title { font-size: 29px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
  .hero-subtitle { font-size: 14px; line-height: 1.5; margin-bottom: 20px; }

  /* Streamlined AI Prompt Bar */
  .hero-ai-bar-wrapper { padding: 11px 13px; margin-bottom: 22px; border-radius: 14px; }
  .hero-ai-model-tag { display: none; }
  .hero-ai-input-box { padding: 6px 10px; gap: 8px; }
  .hero-ai-mic-btn { width: 32px; height: 32px; }
  .hero-ai-typed-text { font-size: 12px; }
  .hero-ai-generate-btn { padding: 6px 10px; font-size: 11.5px; }
  .chips-label { font-size: 10px; }
  .hero-prompt-chip { font-size: 11px; padding: 3px 9px; }

  /* CTAs on Mobile: 1 Main Full Width, 2 Secondary in 1 Row */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14.5px;
  }
  .hero-secondary-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-secondary-buttons .btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 12.5px;
    justify-content: center;
  }
  .hero-trust-subtext {
    font-size: 11.5px;
    gap: 6px;
    margin-top: 10px;
  }

  /* Compact 2x2 Trust Metrics Grid */
  .trust-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 28px;
  }
  .metric-card {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 10px;
  }
  .metric-icon-box {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 6px;
  }
  .metric-value {
    font-size: 12px;
  }
  .metric-label {
    font-size: 10px;
  }

  /* Responsive Showcase */
  .showcase-wrapper { border-radius: 14px; }
  .showcase-header { padding: 10px 14px; }
  .showcase-ai-image-container { height: 250px; }
  .showcase-canvas-container { height: 280px; }
  .floating-hero-badge {
    padding: 5px 10px;
    font-size: 10.5px;
    border-radius: 8px;
  }
  .floating-badge-1 { bottom: 10px; left: 10px; }
  .floating-badge-2 { top: 10px; right: 10px; }

  .footer-container { grid-template-columns: 1fr; }
  .template-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .v3-pill { display: none; }
  .brand-logo { font-size: 16.5px; }
  .hero-title { font-size: 25px; }
  .hero-ai-generate-btn span { display: none; }
  .metric-label { display: none; }
}
