/* ===================================================================
   SixAM Redesign v3 — Matching brand package exactly
   Font: Outfit | Colors per brand palette
   Primary: #E19234 | Cream: #FCF9F4 | Near Black: #231E1C
   =================================================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #231E1C;
  background-color: #FCF9F4;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
p { max-width: 72ch; }

::selection { background: rgba(225,146,52,0.2); }

:focus-visible {
  outline: 2px solid #E19234;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.section {
  padding: 120px 0;
}
.section-cream {
  background: #F2EEE7;
}
.section-dark {
  background: #231E1C;
}

@media (max-width: 1100px) { .section { padding: 80px 0; } }
@media (max-width: 560px) { .section { padding: 60px 0; } .container, .container-narrow { padding: 0 20px; } }

/* ===== NAV — matches brand package ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252,249,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(208,208,210,0.4);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #231E1C;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: #4B4641;
  transition: color 0.2s;
}
.nav-links a:hover { color: #231E1C; }

.nav-actions {
  display: flex;
  gap: 12px;
}

.mobile-toggle { display: none; color: #231E1C; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: #FCF9F4;
  border-bottom: 1px solid rgba(208,208,210,0.4);
  padding: 24px 40px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 16px; font-weight: 500; color: #231E1C; padding: 8px 0; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; margin-left: auto; }
}

/* ===== BUTTONS — matches brand package ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: #E19234;
  color: #fff;
  border: 1px solid #E19234;
}
.btn-primary:hover { background: #C37823; border-color: #C37823; }

.btn-outline {
  background: transparent;
  color: #231E1C;
  border: 1px solid #D0D0D2;
}
.btn-outline:hover { border-color: #4B4641; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

.btn-full { width: 100%; }

/* ===== HERO — matches brand package ===== */
.hero {
  padding: 120px 0;
  text-align: center;
}
.hero h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.15;
  color: #231E1C;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: #E19234;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #E19234;
  border: 1px solid rgba(225,146,52,0.3);
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.hero-tagline {
  font-size: 22px;
  font-weight: 600;
  color: #231E1C;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #4B4641;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1100px) { .hero { padding: 80px 0; } .hero h1 { font-size: 52px; } .hero-tagline { font-size: 20px; } }
@media (max-width: 560px) { .hero { padding: 60px 0; } .hero h1 { font-size: 38px; } .hero-tagline { font-size: 18px; } }

/* ===== ROI STRIP ===== */
.roi-strip {
  background: #231E1C;
  padding: 48px 0;
}
.roi-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.roi-item {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.roi-item.visible { opacity: 1; transform: none; }
.roi-value {
  font-size: 36px;
  font-weight: 700;
  color: #E19234;
  line-height: 1.2;
}
.roi-label {
  font-size: 12px;
  font-weight: 500;
  color: #8C8782;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}
.roi-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) { .roi-sep { display: none; } .roi-grid { gap: 32px; } }

/* ===== SECTION LABELS & HEADINGS — matches brand package (centered) ===== */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #E19234;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}
.section h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #231E1C;
  margin-bottom: 20px;
  text-align: center;
}
.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #8C8782;
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

@media (max-width: 1100px) { .section h2 { font-size: 36px; } }
@media (max-width: 560px) { .section h2 { font-size: 28px; } .section-subtitle { margin-bottom: 40px; } }

/* ===== PRODUCT CARDS — matches brand package ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.product-card {
  background: #fff;
  border: 1px solid #D0D0D2;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.product-card.visible { opacity: 1; transform: none; }
.product-card:nth-child(2) { transition-delay: 0.05s; }
.product-card:nth-child(3) { transition-delay: 0.1s; }
.product-card:nth-child(4) { transition-delay: 0.15s; }

.product-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(225,146,52,0.08);
  border-radius: 12px;
  color: #E19234;
  margin-bottom: 20px;
}
.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #231E1C;
}
.product-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #8C8782;
  max-width: 100%;
}

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

/* ===== DEMO SECTION ===== */
.demo-links {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.demo-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  background: #E19234;
  color: #fff;
  transition: background 0.2s;
}
.demo-link-btn:hover { background: #C37823; }

/* Brief card — sample Pulse report */
.brief-card {
  background: #fff;
  border: 1px solid #D0D0D2;
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s, transform 0.6s;
}
.brief-card.visible { opacity: 1; transform: none; }

.brief-header {
  background: #231E1C;
  padding: 28px 36px;
}
.brief-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #E19234;
  background: rgba(225,146,52,0.12);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.brief-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.brief-date {
  font-size: 13px;
  color: #8C8782;
  margin-top: 4px;
}

.brief-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.brief-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #231E1C;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-color { color: #C03A3A; }
.action-color { color: #2D7A3A; }

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  padding: 16px;
  background: #FCF9F4;
  border-radius: 12px;
}
.metric-label {
  font-size: 11px;
  font-weight: 600;
  color: #8C8782;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #231E1C;
  margin: 4px 0 2px;
  font-variant-numeric: tabular-nums;
}
.metric-delta {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.positive { color: #2D7A3A; }
.negative { color: #C03A3A; }

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

/* Alerts */
.alerts-list { display: flex; flex-direction: column; gap: 10px; }
.alert-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  background: #FDF5F5;
  border-radius: 10px;
  border-left: 3px solid #C03A3A;
}
.alert-amount {
  font-size: 15px;
  font-weight: 700;
  color: #C03A3A;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.alert-text {
  font-size: 14px;
  color: #4B4641;
  line-height: 1.5;
}

/* VIPs */
.vip-list { display: flex; flex-direction: column; gap: 10px; }
.vip-row {
  padding: 14px 16px;
  background: #FCF9F4;
  border-radius: 8px;
}
.vip-name {
  font-size: 15px;
  font-weight: 600;
  color: #231E1C;
  margin-bottom: 2px;
}
.vip-detail {
  font-size: 13px;
  color: #8C8782;
  line-height: 1.5;
}

/* Actions */
.actions-list { display: flex; flex-direction: column; gap: 10px; }
.action-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: #F2F9F4;
  border-radius: 10px;
  border-left: 3px solid #2D7A3A;
}
.action-rank {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2D7A3A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}
.action-text {
  font-size: 14px;
  font-weight: 500;
  color: #231E1C;
  line-height: 1.4;
}
.action-impact {
  font-size: 12px;
  color: #8C8782;
  margin-top: 2px;
}

/* ===== STEPS / HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  text-align: center;
}
.step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.step.visible { opacity: 1; transform: none; }
.step:nth-child(2) { transition-delay: 0.08s; }
.step:nth-child(3) { transition-delay: 0.16s; }

.step-num {
  font-size: 48px;
  font-weight: 700;
  color: #E19234;
  line-height: 1;
  margin-bottom: 16px;
  text-align: center;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-title-accent {
  color: #E19234;
}
.step p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #8C8782;
  max-width: 100%;
}

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

/* ===== SECURITY GRID ===== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.security-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.security-item.visible { opacity: 1; transform: none; }
.security-item:nth-child(2) { transition-delay: 0.06s; }
.security-item:nth-child(3) { transition-delay: 0.12s; }
.security-item:nth-child(4) { transition-delay: 0.18s; }

.security-item svg {
  color: #E19234;
  margin-bottom: 16px;
  display: inline-block;
}
.security-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.security-item p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #8C8782;
}

@media (max-width: 768px) { .security-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .security-grid { grid-template-columns: 1fr; } }

/* ===== PILOT ===== */
.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
.pilot-text {
  text-align: left;
}
.pilot-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #8C8782;
  margin-bottom: 32px;
}
.pilot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pilot-list li {
  font-size: 16px;
  font-weight: 400;
  color: #231E1C;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.pilot-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #E19234;
  border-radius: 50%;
}

.pilot-card {
  background: #fff;
  border: 2px solid #E19234;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s, transform 0.6s;
}
.pilot-card.visible { opacity: 1; transform: none; }

.pilot-old-price {
  font-size: 14px;
  color: #8C8782;
  text-decoration: line-through;
  margin-bottom: 8px;
}
.pilot-price {
  font-size: 56px;
  font-weight: 700;
  color: #231E1C;
  line-height: 1;
  margin-bottom: 8px;
}
.pilot-price span {
  font-size: 18px;
  font-weight: 400;
  color: #8C8782;
}
.pilot-label {
  font-size: 14px;
  color: #8C8782;
  margin-bottom: 32px;
}
.pilot-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: #2D7A3A;
  background: #F2F9F4;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.pilot-guarantee svg { flex-shrink: 0; color: #2D7A3A; margin-top: 1px; }

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

/* ===== ABOUT ===== */
.about-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #8C8782;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: #231E1C;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.footer-right {
  font-size: 13px;
  color: #8C8782;
}

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
