/* ==========================================================================
   Fulcrum LP - Modern Waitlist Landing Page Stylesheet
   Brand Palette:
   - Primary Blue: #2261FE (Hover: #0249FE)
   - Secondary Orange: #FA7923 (Hover: #FF6501)
   - Tertiary Yellow: #FBB347
   - Blobs: #ABDCFF, #FA9450, #FDF481
   - Dark Navy: #033E97, Near Black: #101828
   - Body Gray: #475569
   - Base Background: #FBFCFF to #F4F9FF
   ========================================================================== */

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

:root {
  /* Color Palette Tokens */
  --bg-gradient-start: #FBFCFF;
  --bg-gradient-end: #F4F9FF;
  
  --blob-blue: #ABDCFF;
  --blob-orange: #FA9450;
  --blob-yellow: #FDF481;
  
  --primary: #2261FE;
  --primary-hover: #0249FE;
  --primary-soft: #EAF2FF;
  
  --secondary: #FA7923;
  --secondary-hover: #FF6501;
  --secondary-soft: #FFF2EA;
  
  --tertiary: #FBB347;
  --tertiary-soft: #FEF8EC;
  
  --text-heading: #033E97;
  --text-dark: #101828;
  --text-body: #475569;
  --text-muted: #64748B;
  
  --surface-card: #FFFFFF;
  --surface-card-alt: #F8FAFC;
  --surface-accent: #EAF4FF;
  
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.6);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(3, 62, 151, 0.06);
  --shadow-lg: 0 20px 40px rgba(3, 62, 151, 0.08);
  --shadow-glow: 0 0 50px rgba(34, 97, 254, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Background Atmospheric Color Blobs */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 550px;
  height: 550px;
  background: var(--blob-blue);
  top: -100px;
  left: 10%;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: var(--blob-orange);
  top: 150px;
  right: 5%;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--blob-yellow);
  top: 600px;
  left: 20%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 40px) scale(1.08);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Decorative Top Accent Pattern */
.top-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 24px;
}

.accent-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 97, 254, 0.1) 0%, var(--primary) 100%);
  border-radius: 2px;
}

.accent-line.reverse {
  background: linear-gradient(90deg, var(--secondary) 0%, rgba(250, 121, 35, 0.1) 100%);
}

.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.accent-dot.orange {
  background-color: var(--secondary);
}

/* Header & Logo */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 10px 0 60px;
}

.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-headline span {
  background: linear-gradient(135deg, var(--text-heading) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Email Form Row (Pill Layout) */
.email-form-wrapper {
  max-width: 520px;
  margin: 0 auto 28px;
}

.email-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(34, 97, 254, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-form:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(34, 97, 254, 0.12);
}

.email-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-dark);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(34, 97, 254, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 97, 254, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Toast Message */
.form-toast {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 24px;
  transition: opacity 0.3s ease;
}

.form-toast.success {
  color: #10B981;
}

.form-toast.error {
  color: #EF4444;
}

/* Waitlist Avatars Row */
.waitlist-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
  background-color: var(--surface-accent);
  object-fit: cover;
}

.avatar-img:first-child {
  margin-left: 0;
}

.waitlist-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.countdown-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  min-width: 100px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.countdown-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 8px;
}

.countdown-separator {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.6;
  margin-top: -12px;
}

/* Product Preview Section */
.preview-section {
  padding: 40px 0 90px;
  position: relative;
}

.device-frame-outer {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(234, 244, 255, 0.7) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: perspective(1000px) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-frame-outer:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-6px);
}

.device-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(171, 220, 255, 0.4) 0%, rgba(250, 148, 80, 0.25) 50%, rgba(253, 244, 129, 0.15) 100%);
  filter: blur(60px);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

/* Dashboard Inner Card */
.dashboard-card {
  position: relative;
  z-index: 1;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--secondary-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.dashboard-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-card-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dashboard-action-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}

/* Dashboard Stat Section */
.dashboard-stat-block {
  margin-bottom: 28px;
}

.stat-figure {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pill-growth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ECFDF5;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Secondary Dashboard Row */
.dashboard-next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dashboard-next-row:hover {
  border-color: rgba(34, 97, 254, 0.3);
  transform: translateX(2px);
}

.next-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.next-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.next-item-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.next-item-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* Progress bar inside preview */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 24px;
}

.progress-bar-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 4px;
}

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

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.faq-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 97, 254, 0.25);
}

.faq-item.active {
  border-color: rgba(34, 97, 254, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.faq-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--surface-card-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: background-color 0.2s ease, transform 0.25s ease, color 0.2s ease;
}

.faq-item.active .faq-toggle-btn {
  background-color: var(--text-dark);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

/* Footer Section */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-dot {
  color: var(--text-muted);
  opacity: 0.4;
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .hero-subtext {
    font-size: 1rem;
  }
  
  .countdown-container {
    gap: 8px;
  }
  
  .countdown-card {
    padding: 14px 16px;
    min-width: 75px;
  }
  
  .countdown-number {
    font-size: 1.75rem;
  }
  
  .countdown-separator {
    font-size: 1.25rem;
  }
  
  .stat-figure {
    font-size: 2.75rem;
  }
  
  .dashboard-card {
    padding: 24px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }
  
  .email-form {
    flex-direction: column;
    padding: 8px;
    border-radius: var(--radius-md);
  }
  
  .email-input {
    width: 100%;
    padding: 12px;
    text-align: center;
  }
  
  .btn-primary {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 12px;
  }
  
  .countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  
  .countdown-separator {
    display: none;
  }

  .countdown-card {
    min-width: unset;
    padding: 12px 6px;
  }
  
  .countdown-number {
    font-size: 1.4rem;
  }
  
  .countdown-label {
    font-size: 0.65rem;
  }
  
  .dashboard-header {
    flex-direction: row;
  }
  
  .next-item-info {
    gap: 10px;
  }
}
