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

/* --- Design System & CSS Variables --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-dark: #09090b;
  --bg-card: rgba(18, 18, 24, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);

  --primary: #6366f1;
  /* Indigo */
  --primary-hover: #4f46e5;
  --accent: #8b5cf6;
  /* Violet */
  --emerald: #10b981;
  /* Calibration Green */
  --rose: #f43f5e;
  /* Clearance Rose */

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
}

/* --- Base & Reset Elements --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* --- Animated Glowing Backdrop Matrix --- */
.mesh-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(9, 9, 11, 1) 0%, rgba(13, 13, 18, 1) 100%);
}

.mesh-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(124, 58, 237, 0) 70%);
  filter: blur(80px);
  animation: floatGlow 18s ease-in-out infinite alternate;
}

.mesh-glow-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(80px);
  animation: floatGlow 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(8%, 10%) scale(1.1);
  }
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-cta {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* --- Hero Section --- */
.hero-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 2rem;
}

.hero-tag .pulse {
  width: 6px;
  height: 6px;
  background-color: #818cf8;
  border-radius: 50%;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(to right, #ffffff, #e4e4e7, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn-primary {
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-secondary {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border-glass);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* --- Interactive Mockup Container --- */
.hero-mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

.hero-mockup-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.browser-frame {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}

.browser-header {
  background: rgba(9, 9, 11, 0.6);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red {
  background-color: #ef4444;
}

.browser-dot.yellow {
  background-color: #eab308;
}

.browser-dot.green {
  background-color: #22c55e;
}

.browser-address {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.25rem 3rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.browser-user {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Interactive Simulator Layout --- */
.simulator-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 520px;
  position: relative;
}

@media (max-width: 768px) {
  .simulator-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

.simulator-sidebar {
  background: rgba(9, 9, 11, 0.4);
  border-right: 1px solid var(--border-glass);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .simulator-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }
}

.sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.layer-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .layer-controls {
    flex-direction: row;
    gap: 1rem;
  }
}

.layer-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
}

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

.layer-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

.layer-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.simulator-canvas-wrapper {
  position: relative;
  background: radial-gradient(circle, #0e0e15 0%, #07070b 100%);
  overflow: hidden;
}

.sim-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Simulated Floating Alert Overlay */
.simulator-overlay-banner {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 90%;
  width: max-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 5;
  transition: all 0.3s;
}

.overlay-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: pulseBeacon 1.5s infinite;
}

.overlay-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.overlay-text strong {
  color: var(--text-primary);
}

/* Interactive Simulator Playback Controls */
.simulator-controls-banner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.control-btn.active {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.control-separator {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0.25rem;
}

.preview-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-mode-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-secondary);
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  width: 100%;
}

.preview-mode-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-mode-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.1);
}

.preview-mode-btn.active[data-mode="snap"] {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

.preview-mode-btn.active[data-mode="clearance"] {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fca5a5;
}

.preview-mode-btn.active[data-mode="cursor"] {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
}

@media (max-width: 768px) {

  .layer-controls,
  .preview-controls {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .preview-mode-btn {
    width: auto !important;
  }

  .simulator-controls-banner {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.35rem 0.5rem;
  }

  .control-btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* --- Features Section --- */
.features-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.feature-card.accent-card .feature-icon-box {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--accent);
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card-desc {
  font-size: 0.95rem;
}

/* --- SMB Success Workflow Section --- */
.workflow-section {
  background: rgba(18, 18, 24, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 8rem 2rem;
}

.workflow-container {
  max-width: 1280px;
  margin: 0 auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
}

.workflow-step {
  position: relative;
  text-align: left;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
}

/* --- Pricing Section --- */
.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.premium-tier {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 60px -15px rgba(99, 102, 241, 0.15);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tier-desc {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  min-height: 48px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

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

.pricing-feature svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.pricing-card.premium-tier .pricing-btn {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-card.premium-tier .pricing-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.pricing-card:not(.premium-tier) .pricing-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.pricing-card:not(.premium-tier) .pricing-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Client/Vendor Trust Section --- */
.trust-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem 2rem;
  text-align: center;
}

.trust-title {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity 0.3s;
}

.trust-logo:hover {
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.footer-link {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Floating AI Prompt Box --- */
.ai-prompt-box-wrapper {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  /* Deep slate glass */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.35);
  /* Glowing violet border */
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 92, 246, 0.15);
  z-index: 15;
  width: 270px;
  text-align: left;
  pointer-events: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.ai-prompt-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c084fc;
  /* Violet-400 */
}

.ai-prompt-icon {
  font-size: 0.85rem;
}

.ai-prompt-title {
  color: var(--text-primary);
}

.ai-prompt-input {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #a5b4fc;
  /* Indigo-300 */
  font-weight: 500;
  min-height: 1.2rem;
  white-space: pre-wrap;
}

.ai-prompt-cursor {
  color: #818cf8;
  font-weight: 700;
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* --- Waitlist Modal Overlay --- */
.waitlist-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.75);
  /* Dark semi-transparent */
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.waitlist-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Waitlist Modal Card --- */
.waitlist-modal-card {
  background: rgba(18, 18, 24, 0.85);
  /* Deep slate card glass */
  border: 1px solid rgba(139, 92, 246, 0.3);
  /* Violet glow border */
  border-radius: 24px;
  width: 90%;
  max-width: 440px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.15);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.waitlist-modal-overlay.active .waitlist-modal-card {
  transform: scale(1) translateY(0);
}

/* --- Close Button --- */
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

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

/* --- Typography & Copy --- */
.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

/* --- Form Fields & Inputs --- */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: left;
}

.modal-input {
  background: rgba(9, 9, 11, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  transition: all 0.25s;
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.modal-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
  background: rgba(9, 9, 11, 0.8);
}

/* --- Submit Button --- */
.modal-submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.5rem;
}

.modal-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* --- Success State --- */
.modal-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: pulseBeacon 1.5s infinite;
  display: inline-block;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #34d399, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}