/* Piloto Automático - Premium Landing Page Stylesheet */

@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 {
  --bg: #030408;
  --bg-card: #0a0e1a;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-focus: #818cf8;
  
  --text-main: #f9fafb;
  --text-muted: #8e9aab;
  
  --primary: #10b981; /* WhatsApp Emerald */
  --primary-hover: #0d9668;
  --primary-light: rgba(16, 185, 129, 0.08);
  --primary-glow: rgba(16, 185, 129, 0.2);
  
  --secondary: #818cf8; /* AI Light Indigo */
  --secondary-hover: #6366f1;
  --secondary-light: rgba(129, 140, 248, 0.08);
  --secondary-glow: rgba(129, 140, 248, 0.2);
  
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.08);
  
  --font-title: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  
  /* Techno-Futurist Dot Grid Background with Subtle Color Blobs */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% -10%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

/* Grid & Layout Containers */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(3, 4, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-title);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-title);
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.landing-section {
  padding: 100px 8%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Section */
/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    padding-top: 30px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 968px) {
  .hero-left {
    align-items: center;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: var(--secondary-light);
  border: 1px solid rgba(129, 140, 248, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(129, 140, 248, 0.05);
  transition: all 0.3s ease;
}

.hero-tag:hover {
  border-color: rgba(129, 140, 248, 0.3);
  background-color: rgba(129, 140, 248, 0.12);
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-description {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  width: 100%;
}

@media (max-width: 968px) {
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Buttons */
.btn-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: var(--font-title);
  position: relative;
  overflow: hidden;
}

.btn-landing-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-landing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45), 0 0 15px var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-landing-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-landing-primary:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-landing-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* WhatsApp Phone Mockup */
.phone-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  background-color: #030408;
  border: 10px solid #1a1b26;
  border-radius: 44px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 50px rgba(129, 140, 248, 0.15);
  overflow: hidden;
}

/* Glass screen gloss overlay */
.phone-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 15;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 20px;
  background-color: #1a1b26;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #08090d;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  position: relative;
}

.chat-header {
  padding: 28px 14px 10px;
  background-color: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.chat-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.chat-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.chat-status {
  font-size: 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
}

/* Chat Bubbles Animations */
.bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  animation: bubbleReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  word-wrap: break-word;
}

.bubble-left {
  align-self: flex-start;
  background-color: #121824;
  color: var(--text-main);
  border-top-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.bubble-right {
  align-self: flex-end;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-main);
  border-top-right-radius: 2px;
}

.bubble-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
}

.bubble-time {
  font-size: 9px;
  color: #718096;
}

.double-check {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}

.double-check svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@keyframes bubbleReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Bento Grid */
.bento-section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 40px;
  letter-spacing: -0.02em;
}

.bento-section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 16.5px;
  line-height: 1.6;
}

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

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

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

.bento-card {
  background-color: rgba(10, 14, 26, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.05);
}

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

.bento-card-2row {
  grid-row: span 2;
}

@media (max-width: 968px) {
  .bento-card-2col {
    grid-column: span 2;
  }
  .bento-card-2row {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .bento-card-2col {
    grid-column: span 1;
  }
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}

.bento-card:hover .bento-icon {
  transform: scale(1.05);
  border-color: currentColor;
}

.bento-card:nth-child(1) .bento-icon { color: var(--primary); box-shadow: 0 0 15px rgba(16, 185, 129, 0.1); }
.bento-card:nth-child(2) .bento-icon { color: var(--secondary); box-shadow: 0 0 15px rgba(129, 140, 248, 0.1); }
.bento-card:nth-child(3) .bento-icon { color: #fbbf24; box-shadow: 0 0 15px rgba(251, 191, 36, 0.1); }
.bento-card:nth-child(4) .bento-icon { color: #38bdf8; box-shadow: 0 0 15px rgba(56, 189, 248, 0.1); }

.bento-title {
  font-size: 21px;
  margin-bottom: 10px;
  z-index: 2;
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
  z-index: 2;
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), rgba(255,255,255,0.02));
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 56px;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--bg);
  border: 3.5px solid var(--primary);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 15px currentColor;
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--secondary); box-shadow: 0 0 10px rgba(129, 140, 248, 0.4); }
.timeline-item:nth-child(3) .timeline-dot { border-color: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }

.timeline-card {
  background-color: rgba(10, 14, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.timeline-phase {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.timeline-item:nth-child(2) .timeline-phase { 
  color: var(--secondary); 
  background-color: rgba(129, 140, 248, 0.08);
  border-color: rgba(129, 140, 248, 0.15);
}
.timeline-item:nth-child(3) .timeline-phase { 
  color: #fbbf24; 
  background-color: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.15);
}

.timeline-title {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trial / Coach Widget */
.trial-card {
  background-color: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 60px auto 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(129, 140, 248, 0.08);
  position: relative;
  overflow: hidden;
}

.trial-header {
  text-align: center;
  margin-bottom: 40px;
}

.trial-title {
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.trial-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.trial-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.input-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.input-text {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: white;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.input-text:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.6);
}

/* AI Preview Response Mockup */
.preview-result-container {
  display: none; /* Controlled by JS/Stimulus */
  margin-top: 8px;
  background-color: #080b14;
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preview-result-header {
  padding: 12px 18px;
  background-color: rgba(129, 140, 248, 0.05);
  border-bottom: 1px solid rgba(129, 140, 248, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a5b4fc;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.preview-result-body {
  padding: 24px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #c7d2fe;
}

.enrollment-fields {
  display: none; /* Controlled by JS/Stimulus */
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
  animation: fadeIn 0.5s ease forwards;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Success View */
.success-card {
  background-color: rgba(10, 14, 26, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  max-width: 640px;
  margin: 100px auto;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(16, 185, 129, 0.05);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-light);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 30px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.success-title {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.success-desc {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.success-steps {
  text-align: left;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}

.success-step {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.success-step:last-child {
  margin-bottom: 0;
}

.success-step::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.success-step strong {
  color: var(--text-main);
}

/* Floating Alerts / Flashes */
.flash-container-public {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: 100%;
}

.toast-public {
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-alert-public {
  border-left: 4px solid var(--error);
  background-color: var(--error-bg);
  border-color: rgba(248, 113, 113, 0.2);
}

.toast-close-public {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Loader */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-left-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Hero Simulator Selectors */
.simulator-selector-container {
  margin: 40px 0;
  text-align: left;
  width: 100%;
}

.selector-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.simulator-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .simulator-selector-grid {
    grid-template-columns: 1fr;
  }
}

.selector-card {
  background-color: rgba(10, 14, 26, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
  outline: none;
}

.selector-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.selector-card.active {
  border-color: var(--primary);
  background-color: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.selector-card-icon {
  font-size: 22px;
  line-height: 1;
}

.selector-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selector-card-text strong {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
}

.selector-card-text span {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Typing bubble for simulator */
.typing-bubble-sim {
  align-self: flex-start;
  background-color: #121824;
  padding: 10px 14px;
  border-radius: 14px;
  border-top-left-radius: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.typing-bubble-sim .dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-bubble-sim .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-bubble-sim .dot:nth-child(2) { animation-delay: -0.16s; }

/* Problem Section styling */
.problem-section {
  border-top: 1px solid var(--border);
  padding: 120px 8%;
}

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

.section-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

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

@media (max-width: 968px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.problem-card {
  background-color: rgba(10, 14, 26, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.problem-num {
  font-family: var(--font-title);
  font-size: 54px;
  font-weight: 800;
  color: rgba(129, 140, 248, 0.12);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.problem-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

.problem-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* B2B form grid */
.form-grid-b2b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-grid-b2b {
    grid-template-columns: 1fr;
  }
}

.input-help {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.dot-blink {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* B2B Trust Section (Logo Wall) */
.trust-section {
  padding: 60px 8% 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

.logo-grid-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .logo-grid-custom {
    gap: 40px;
  }
}

.logo-item-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  user-select: none;
}

.logo-item-custom svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  opacity: 0.7;
}

.logo-item-custom:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: scale(1.03);
}

/* ROI Metrics Section */
.metrics-section {
  padding: 40px 8% 80px;
  margin-bottom: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.metric-card {
  background-color: rgba(10, 14, 26, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.01);
}

.metric-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

.metric-value.emerald-gradient {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-value.indigo-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-value.yellow-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.metric-detail {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}
