/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --midnight: #0A1628;
  --dark-card: #0D1F3C;
  --electric-amber: #F59E0B;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --amber-glow-strong: rgba(245, 158, 11, 0.22);
  --sky-blue: #60A5FA;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-amber: rgba(245, 158, 11, 0.25);
  --green: #22C55E;
  --orange: #F97316;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--text-primary);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 600; font-family: 'DM Sans', sans-serif; }

p { color: var(--text-secondary); }

a { color: inherit; text-decoration: none; }

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 22, 40, 0.85);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: white; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-amber);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--electric-amber);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
}

/* ==================== SCHEDULE CARD ==================== */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.schedule-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(245,158,11,0.05);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.schedule-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

.schedule-card-badge {
  background: rgba(245,158,11,0.15);
  border: 1px solid var(--border-amber);
  color: var(--electric-amber);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
}

.schedule-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px 72px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  margin-bottom: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
}

.schedule-row.alert {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.05);
}

.schedule-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.schedule-role {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: white;
}

.schedule-count {
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-secondary);
  text-align: center;
}

.sched-need {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.schedule-status {
  font-size: 0.72rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center;
}

.schedule-status.filled {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.schedule-status.warning {
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
}

.schedule-status.processing {
  background: rgba(96, 165, 250, 0.12);
  color: var(--sky-blue);
}

.ai-fill-chip {
  font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--electric-amber);
}

.schedule-ai-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.ai-bar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  min-width: 100px;
}

.ai-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.ai-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--electric-amber), #FBBF24);
  border-radius: 100px;
}

.ai-bar-pct {
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--electric-amber);
  min-width: 36px;
  text-align: right;
}

/* ==================== STATS ROW ==================== */
.stats-row {
  background: var(--dark-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  gap: 0;
}

.stat-card {
  padding: 0 64px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

.stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--electric-amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 140px;
  line-height: 1.4;
}

/* ==================== SECTIONS ==================== */
.section-header {
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-amber);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header.centered p {
  margin: 16px auto 0;
}

/* ==================== FEATURES ==================== */
.features {
  padding: 120px 0;
}

.features .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

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

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.1);
  border: 1px solid var(--border-amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--electric-amber);
}

.feature-card h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==================== HOW IT WORKS ==================== */
.howitworks {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--midnight) 0%, #071220 100%);
}

.howitworks .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.steps-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 32px;
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.step:hover { border-color: var(--border-amber); }

.step-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--electric-amber);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-content h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1rem;
}

.step-content p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.step-connector {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.step-connector::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-amber), transparent);
  border-radius: 2px;
}

/* ==================== INDUSTRIES ==================== */
.industries {
  padding: 120px 0;
}

.industries-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.industries-left h2 { margin-top: 16px; margin-bottom: 20px; }
.industries-left p { font-size: 1rem; line-height: 1.7; }

.industries-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.industry-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.industry-item:hover { border-color: var(--border-amber); }

.industry-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.08);
  border: 1px solid var(--border-amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-item h4 {
  color: white;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.industry-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==================== PRICING ==================== */
.pricing {
  padding: 120px 0;
  background: linear-gradient(180deg, #071220 0%, var(--midnight) 100%);
}

.pricing .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.pricing-sub {
  font-size: 1.05rem;
  margin-top: 8px;
}

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

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.3s;
}

.pricing-card:hover { border-color: var(--border-amber); }

.pricing-card.featured {
  border-color: var(--border-amber);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--dark-card) 60%);
}

.pricing-tier {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-amber);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: rgba(245,158,11,0.12);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 5-5' stroke='%23F59E0B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric-amber);
  color: var(--midnight);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ==================== CLOSING ==================== */
.closing {
  padding: 120px 0;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.closing h2 {
  margin-bottom: 24px;
}

.closing p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-cta-group { }

.closing-cta {
  display: inline-block;
  background: var(--dark-card);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  text-align: left;
}

.closing-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-amber);
  margin-bottom: 8px;
}

.closing-cta-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { justify-content: flex-start; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .industries-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .features { padding: 80px 0; }
  .howitworks, .industries, .pricing, .closing { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .stat-card { padding: 0 32px; }
  .stat-divider { display: none; }
  .nav-links { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .pricing-price { font-size: 2.4rem; }
  .schedule-row { grid-template-columns: 80px 1fr 50px; }
  .schedule-status { display: none; }
}