/* ============================================
   Elevare Performance — styles.css
   Premium dashboard aesthetic, no stock imagery
   ============================================ */

/* --- Reset & Variables --- */
:root {
  --navy: #0B1F3B;
  --navy-mid: #142d51;
  --navy-light: #1a3561;
  --navy-deep: #081729;
  --steel: #71849e;
  --accent: #316fc6;
  --accent-hover: #4a85d6;
  --accent-dim: rgba(49, 111, 198, 0.15);
  --accent-glow: rgba(49, 111, 198, 0.08);
  --white: #FFFFFF;
  --off-white: #F5F4F0;
  --gray-light: #E8EBF0;
  --text-body: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --section-pad: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 3rem);
  --max-w: 1080px;
  --radius: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { max-width: 640px; }
p + p { margin-top: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1.05rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(49, 111, 198, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 6px 32px rgba(49, 111, 198, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(49, 111, 198, 0.5);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-sub {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--steel);
  font-weight: 400;
}

/* --- Layout --- */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section--alt {
  background: var(--navy-mid);
}

.section--light {
  background: var(--off-white);
  color: var(--navy);
}

.section--light p { color: #3a4556; }
.section--light .btn-sub { color: var(--steel); }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 31, 59, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--accent);
  font-weight: 400;
  margin-left: 0.15em;
}

.nav-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
}


/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem clamp(1.25rem, 5vw, 3rem) 4rem;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(49, 111, 198, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 111, 198, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 55%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 111, 198, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating dashboard cards in background */
.hero-float-cards {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(4px);
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.float-card .fc-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.2rem;
  letter-spacing: -0.02em;
}

.float-card:nth-child(1) { top: 18%; right: 12%; animation: float-drift 8s ease-in-out infinite; }
.float-card:nth-child(2) { top: 32%; right: 32%; animation: float-drift 9s ease-in-out 1s infinite; }
.float-card:nth-child(3) { top: 50%; right: 8%; animation: float-drift 7s ease-in-out 2s infinite; }
.float-card:nth-child(4) { top: 64%; right: 26%; animation: float-drift 10s ease-in-out 0.5s infinite; }
.float-card:nth-child(5) { top: 42%; right: 52%; animation: float-drift 8.5s ease-in-out 1.5s infinite; }

@keyframes float-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}

.hero .btn { margin-bottom: 0.25rem; }

.proof-strip {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proof-strip li {
  list-style: none;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.5;
}

.proof-strip li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}


/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem p {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.7;
}

.problem p strong {
  color: var(--white);
  font-weight: 600;
}


/* ============================================
   OPERATOR SCORE MOCKUP
   ============================================ */
.score-mockup {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  margin: 3rem auto 0;
}

.score-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.score-mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.score-big {
  text-align: center;
  margin-bottom: 0.25rem;
}

.score-big .number {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--white) 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-big .label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.score-bars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.score-bar-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--steel);
}

.score-bar-label {
  width: 80px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  flex-shrink: 0;
}

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

.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.score-bar-fill.animated { /* set via JS */ }

.score-bar-val {
  width: 28px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}


/* ============================================
   SYSTEM MAP — Radial Diagram
   ============================================ */
.system-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.system-text p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

.system-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.system-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

.system-center-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(49, 111, 198, 0.3);
  background: rgba(49, 111, 198, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.system-center-text {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  line-height: 1.3;
}

.system-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.system-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  transition: border-color 0.3s, background 0.3s;
}

.system-node-icon svg {
  width: 20px;
  height: 20px;
}

.system-node:hover .system-node-icon {
  border-color: rgba(49, 111, 198, 0.4);
  background: rgba(49, 111, 198, 0.08);
  color: var(--accent);
}

.system-node-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.system-node.highlight .system-node-icon {
  border-color: var(--accent);
  background: rgba(49, 111, 198, 0.12);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(49, 111, 198, 0.2);
}

.system-node.highlight .system-node-label {
  color: var(--accent);
  font-weight: 700;
}

/* Node positions — clock positions around center */
.system-node:nth-child(1)  { top: 2%;  left: 50%; transform: translateX(-50%); }
.system-node:nth-child(2)  { top: 12%; right: 6%; }
.system-node:nth-child(3)  { top: 40%; right: -2%; }
.system-node:nth-child(4)  { bottom: 12%; right: 6%; }
.system-node:nth-child(5)  { bottom: 2%; left: 50%; transform: translateX(-50%); }
.system-node:nth-child(6)  { bottom: 12%; left: 6%; }
.system-node:nth-child(7)  { top: 40%; left: -2%; }
.system-node:nth-child(8)  { top: 12%; left: 6%; }

/* Connecting lines from center */
.system-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.callout {
  margin-top: 2.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  max-width: 600px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}


/* ============================================
   DAILY PROTOCOL MOCKUP
   ============================================ */
.protocol-mockup {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 340px;
  margin: 2.5rem auto 0;
}

.protocol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.protocol-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.protocol-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.protocol-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.protocol-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border-subtle);
}

.protocol-item:first-child { border-top: none; }

.protocol-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 60px;
  font-variant-numeric: tabular-nums;
  padding-top: 0.05rem;
}

.protocol-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}


/* ============================================
   BEFORE / AFTER FRAMEWORK
   ============================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 700px;
}

.ba-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.ba-card--before {
  background: rgba(255, 80, 80, 0.04);
  border: 1px solid rgba(255, 80, 80, 0.12);
}

.ba-card--after {
  background: rgba(49, 111, 198, 0.06);
  border: 1px solid rgba(49, 111, 198, 0.2);
}

.ba-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.ba-card--before .ba-card-title { color: rgba(255, 100, 100, 0.8); }
.ba-card--after .ba-card-title { color: var(--accent); }

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ba-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.45;
}

.ba-card--before .ba-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: rgba(255, 100, 100, 0.6);
  font-weight: 700;
  font-size: 1rem;
}

.ba-card--after .ba-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}


/* ============================================
   ASSESS SECTION
   ============================================ */
.assess {
  text-align: center;
}

.assess .section-inner { max-width: 680px; }

.assess p {
  margin-left: auto;
  margin-right: auto;
  color: #3a4556;
}

.assess .btn { margin-top: 1.75rem; }

.secondary-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--steel);
}

.assess-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  max-width: var(--max-w);
}

.assess-layout .assess-text p { color: var(--text-body); }
.assess-layout .assess-text .secondary-note { color: var(--steel); }


/* ============================================
   PRODUCT CARD — Premium Report Style
   ============================================ */
.product-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 520px;
  margin-top: 1.75rem;
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.product-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.product-report-mock {
  width: 80px;
  height: 100px;
  background: var(--white);
  border-radius: 6px;
  padding: 0.6rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-report-mock .mock-line {
  height: 3px;
  border-radius: 2px;
  background: var(--gray-light);
}

.product-report-mock .mock-line:nth-child(1) { width: 70%; background: var(--accent); }
.product-report-mock .mock-line:nth-child(2) { width: 100%; }
.product-report-mock .mock-line:nth-child(3) { width: 85%; }
.product-report-mock .mock-line:nth-child(4) { width: 60%; }
.product-report-mock .mock-line:nth-child(5) { width: 90%; }
.product-report-mock .mock-line:nth-child(6) { width: 45%; background: var(--accent); opacity: 0.5; }
.product-report-mock .mock-bar {
  margin-top: auto;
  display: flex;
  gap: 3px;
  align-items: flex-end;
}
.product-report-mock .mock-bar span {
  display: block;
  width: 8px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
}
.product-report-mock .mock-bar span:nth-child(1) { height: 12px; opacity: 0.4; }
.product-report-mock .mock-bar span:nth-child(2) { height: 18px; opacity: 0.6; }
.product-report-mock .mock-bar span:nth-child(3) { height: 14px; opacity: 0.8; }
.product-report-mock .mock-bar span:nth-child(4) { height: 22px; }

.product-card-top-text h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.product-card-top-text .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-card-body {
  padding: 2rem 2.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-features li {
  font-size: 0.92rem;
  color: #3a4556;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.product-card-body .btn { width: 100%; }

.product-secondary {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--steel);
  max-width: 520px;
}


/* ============================================
   SUBSCRIPTION
   ============================================ */
.sub-includes {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sub-includes li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-body);
}

.sub-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.sub-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.sub-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--steel);
  margin-left: 0.35rem;
}


/* ============================================
   ABOUT
   ============================================ */
.about p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 3.5rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--border-subtle);
}

.footer-cta {
  font-size: 1.1rem;
  color: var(--white);
}

.footer-cta a {
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.footer-cta a:hover {
  border-color: var(--accent);
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--steel);
}


/* ============================================
   FADE-IN
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero-float-cards { display: none; }

  .btn { padding: 0.95rem 2rem; font-size: 1rem; width: 100%; }

  .system-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .system-visual {
    max-width: 320px;
  }

  .system-node-icon { width: 36px; height: 36px; }
  .system-node-icon svg { width: 16px; height: 16px; }
  .system-node-label { font-size: 0.62rem; }
  .system-center-ring { width: 90px; height: 90px; }
  .system-center-text { font-size: 0.58rem; }

  .ba-grid { grid-template-columns: 1fr; max-width: 400px; }

  .assess-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .score-mockup {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .score-big .number { font-size: 3.8rem; }

  .product-card-top { padding: 1.5rem; gap: 1rem; }
  .product-card-body { padding: 1.5rem; }
  .product-report-mock { width: 64px; height: 82px; }

  .protocol-mockup { max-width: 100%; }

  .section { padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }

  .assess { text-align: left; }
  .assess p { margin-left: 0; }
}

@media (min-width: 769px) and (max-width: 960px) {
  .system-visual { max-width: 360px; }
  .hero-float-cards { width: 45%; }
}
