/* 
  Goodlife Bulk Enrollor — Modern Landing Page Stylesheet
  Design Theme: Ultra-Crisp Modern Light Theme with Hero Red & Electric Blue Accents
*/

:root {
  /* Color Palette — Modern Light Theme */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-glow: rgba(37, 99, 235, 0.25);
  
  --primary-red: #e11d48;
  --primary-red-hover: #be123c;
  --primary-red-glow: rgba(225, 29, 72, 0.25);
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-blue-glow: rgba(37, 99, 235, 0.25);
  --accent-cyan: #0284c7;
  --accent-green: #059669;
  --accent-amber: #d97706;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Soft Ambient Accents */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: #dbeafe;
  top: -150px;
  right: -100px;
  animation: pulseOrb 14s infinite alternate;
}

.glow-orb-2 {
  width: 650px;
  height: 650px;
  background: #ffe4e6;
  bottom: 5%;
  left: -200px;
  animation: pulseOrb 16s infinite alternate-reverse;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: #e0f2fe;
  top: 45%;
  right: 10%;
  opacity: 0.25;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(30px, 40px); }
}

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

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Typography Gradient Spans */
.text-gradient-red {
  color: var(--primary-red);
}

.text-gradient-blue {
  color: var(--primary-blue);
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.25);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

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

.nav-cta-btn {
  background: var(--primary-blue);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px var(--primary-blue-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.nav-cta-btn:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero {
  padding-top: 170px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px var(--primary-red-glow);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

/* Feature Badges Row */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.pill svg {
  color: var(--primary-blue);
}

/* Showcase Screenshot Frame */
.showcase-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid var(--border-light);
}

/* Floating Stats Cards over Showcase */
.floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  z-index: 2;
  animation: floatStat 4s infinite ease-in-out alternate;
}

.floating-stat-1 {
  top: 15%;
  left: -30px;
  border-left: 4px solid var(--accent-green);
}

.floating-stat-2 {
  bottom: 12%;
  right: -30px;
  border-left: 4px solid var(--primary-blue);
  animation-delay: -2s;
}

@keyframes floatStat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  opacity: 0;
  transition: var(--transition-normal);
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon.red {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--primary-red);
}

.card-icon.cyan {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: var(--accent-cyan);
}

.card-icon.green {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: var(--accent-green);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Interactive Automation Simulator Section */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.sim-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.sim-status-badge {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.sim-status-badge.active {
  background: #ecfdf5;
  color: var(--accent-green);
  border-color: #a7f3d0;
}

.sim-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .sim-controls-grid {
    grid-template-columns: 1fr;
  }
}

.sim-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sim-tab-group {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.sim-tab-btn {
  flex: 1;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sim-tab-btn.active {
  background: var(--primary-blue);
  color: white;
}

.sim-slider {
  width: 100%;
  accent-color: var(--primary-red);
}

.sim-output-console {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.85rem;
  color: #a7f3d0;
  height: 180px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.log-line {
  margin-bottom: 6px;
  display: flex;
  gap: 12px;
}

.log-time {
  color: #64748b;
}

.log-info { color: #60a5fa; }
.log-success { color: #34d399; }
.log-warn { color: #fbbf24; }

.sim-progress-bar {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 24px;
}

.sim-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  transition: width 0.3s ease;
}

/* CSV Guide Table */
.csv-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.csv-tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.csv-tab-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 14px var(--primary-blue-glow);
}

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: #f8fafc;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.data-table td {
  padding: 16px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.req-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.req-yes {
  background: #fff1f2;
  color: var(--primary-red);
  border: 1px solid #fecdd3;
}

.req-no {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* Calculator Card */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .calc-card {
    grid-template-columns: 1fr;
  }
}

.calc-display-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.calc-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 8px;
}

.calc-lbl {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Privacy Policy Box */
.privacy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  line-height: 1.7;
  box-shadow: var(--shadow-card);
}

.privacy-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.privacy-box p, .privacy-box ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.privacy-box ul {
  padding-left: 20px;
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

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

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 16px;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 10px var(--primary-blue-glow);
  background: #ffffff;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

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