/* ─── HERO PRICE ─── */
.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-price-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-price-value {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
}
.hero-prices { margin-bottom: 6px; }
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

/* ─── HERO CARD · forecast model ─── */
.hc-sheet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -18px -20px 14px;
  padding: 10px 14px;
  background: rgba(5, 10, 27, 0.55);
  border-bottom: 1px solid var(--border-color);
}
.hc-sheet-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  min-width: 0;
}
.hc-sheet-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-blue-soft);
  flex-shrink: 0;
}
.hc-sheet-fname {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Forecast chart SVG */
.forecast-chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 8px 0 14px;
  overflow: visible;
}
.fc-grid {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 0.6;
  stroke-dasharray: 2 4;
}
.fc-separator {
  stroke: rgba(96, 160, 255, 0.45);
  stroke-width: 0.7;
  stroke-dasharray: 3 3;
}
.fc-area {
  fill: url(#fc-actual-fill);
  opacity: 0;
  animation: fc-fade-in 700ms 1500ms ease-out forwards;
}
.fc-pred-area {
  fill: url(#fc-pred-fill);
  opacity: 0;
  animation: fc-fade-in 700ms 1900ms ease-out forwards;
}
.fc-line {
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: fc-draw 1600ms 200ms cubic-bezier(.4,0,.2,1) forwards;
}
.fc-pred-line {
  fill: none;
  stroke: var(--accent-blue-soft);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 3;
  opacity: 0;
  animation: fc-fade-in 700ms 1800ms ease-out forwards;
}
.fc-pulse {
  fill: var(--accent-blue-soft);
  opacity: 0;
  animation: fc-fade-in 400ms 2400ms ease-out forwards;
}
.fc-pulse-ring {
  fill: none;
  stroke: var(--accent-blue-soft);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: 466px 16px;
  animation: fc-ring 2.4s 2600ms ease-out infinite;
}
@keyframes fc-draw    { to { stroke-dashoffset: 0; } }
@keyframes fc-fade-in { to { opacity: 1; } }
@keyframes fc-ring {
  0%   { opacity: 0.7; transform: scale(0.4); }
  70%  { opacity: 0;   transform: scale(2.4); }
  100% { opacity: 0;   transform: scale(2.4); }
}
.fc-x-labels text {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: var(--text-muted);
  letter-spacing: 0.1em;
  text-anchor: middle;
}
.fc-x-labels text.pred {
  fill: var(--accent-blue-soft);
  opacity: 0.75;
}
.fc-today {
  font-family: var(--font-mono);
  font-size: 6px;
  fill: var(--accent-blue-soft);
  letter-spacing: 0.16em;
  text-anchor: middle;
  text-transform: uppercase;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .fc-line { stroke-dashoffset: 0; animation: none; }
  .fc-pred-line, .fc-area, .fc-pred-area, .fc-pulse { opacity: 1; animation: none; }
  .fc-pulse-ring { animation: none; }
}

/* ─── FEATURES · what you get ─── */
.features { padding: 100px 0 60px; }
.features-header { text-align: center; margin-bottom: 48px; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.12);
  border: 1px solid rgba(96, 160, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .features { padding: 56px 0 24px; }
  .features-header { margin-bottom: 32px; }
}

/* ─── HOW IT WORKS ─── */
.how-it-works { padding: 80px 0; }
.hiw-header { text-align: center; margin-bottom: 56px; }
.hiw-header .section-subtitle { margin: 0 auto; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hiw-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.hiw-step-num {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hiw-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hiw-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .how-it-works { padding: 56px 0; }
  .hiw-header { margin-bottom: 32px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 16px; }
  .hiw-step { padding: 20px; }
  .hiw-step-num { font-size: 2rem; margin-bottom: 12px; }
}

/* ─── CASE STUDY · long-form ─── */
.cs-intro {
  text-align: center;
  margin-bottom: 56px;
}
.cs-intro .section-subtitle { margin: 0 auto; }

/* Sub-section header (Challenge / Approach / Results / Impact) */
.cs-block {
  margin-bottom: 32px;
}
.cs-block-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}
.cs-block-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.cs-block-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
}

.cs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 160, 255, 0.30), transparent);
  margin: 56px 0;
}

/* Cards used for pain / signal / impact patterns */
.cs-text-card,
.cs-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.cs-text-card:hover,
.cs-icon-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}
.cs-text-card h4,
.cs-icon-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cs-text-card p,
.cs-icon-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.cs-icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.10);
  border: 1px solid rgba(96, 160, 255, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 14px;
}
.cs-icon-tile svg { width: 20px; height: 20px; }

.cs-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cs-signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cs-disclaimer {
  margin-top: 40px;
  padding: 16px 20px;
  background: rgba(5, 10, 27, 0.40);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .cs-pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .cs-signals-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cs-stats-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
  .cs-impact-grid { grid-template-columns: 1fr; gap: 16px; }
  .cs-divider { margin: 40px 0; }
}
@media (max-width: 768px) {
  .cs-block-title { font-size: 1.35rem; }
  .cs-block-desc { font-size: 0.95rem; }
  .cs-text-card,
  .cs-icon-card { padding: 20px 22px; }
}

/* ─── OTHER SERVICES ─── */
.other-services { padding: 80px 0 60px; }
.os-header { text-align: center; margin-bottom: 48px; }
.os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.os-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.os-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.os-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.12);
  border: 1px solid rgba(96, 160, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 18px;
}
.os-card-icon svg { width: 22px; height: 22px; }
.os-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.os-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.os-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.os-card:hover .os-link .chevron {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .os-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .other-services { padding: 56px 0 24px; }
  .os-header { margin-bottom: 32px; }
}

/* ─── BOTTOM CTA ─── */
.bottom-cta { padding: 60px 0 100px; }
.bottom-cta-card {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.10), transparent 60%),
    linear-gradient(135deg, rgba(11,27,57,0.55) 0%, rgba(7,15,38,0.55) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.bottom-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bottom-cta-card .section-label { display: inline-block; }
.bottom-cta-card .section-title {
  max-width: 720px;
  margin: 0 auto 16px;
}
.bottom-cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.bottom-cta-card .btn-primary {
  padding: 10px 28px 10px 46px;
}
.bottom-cta-card .price-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .bottom-cta { padding: 48px 0 64px; }
  .bottom-cta-card { padding: 40px 24px; }
}
