/* ============================================================
   ARES DYNAMICS — INNER PAGE STYLES
   Shared styles for all non-homepage pages.
   ============================================================ */

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 140px 0 56px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
}

.page-hero-sub {
  font-size: 20px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
}

/* ─── PAGE CONTENT ─── */
.page-section {
  padding: 72px 0 var(--section-pad);
  background: var(--black);
}

.page-section.surface {
  background: var(--surface);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

/* ─── WAITLIST / CONTACT FORM PAGE ─── */
.waitlist-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}

.waitlist-left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.waitlist-left p {
  font-size: 19px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}

.waitlist-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.waitlist-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: #B0B0B0;
}

.waitlist-detail-item svg {
  width: 17px; height: 17px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── RESOURCE CARDS ─── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-top: 2px solid var(--red);
  border-radius: 0 0 16px 16px;
  padding: 32px;
  transition: border-color var(--transition-base);
}

.resource-card:hover { border-color: rgba(192,39,45,0.5); }

.resource-tag {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.resource-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── SERVICE DETAIL PAGE ─── */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

.service-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
}

.service-body > p {
  font-size: 19px;
  color: #D0D0D0;
  line-height: 1.85;
  margin-bottom: 16px;
  font-weight: 300;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.service-feature {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.service-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.service-feature:hover {
  border-color: rgba(192,39,45,0.3);
  background: var(--surface-2);
}

.service-feature:hover::before { opacity: 1; }

.service-feature h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.service-feature p {
  font-size: 17px;
  color: #D0D0D0;
  line-height: 1.75;
  margin-bottom: 0;
  font-weight: 300;
}

/* ─── SERVICE SIDEBAR ─── */
.service-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-cta-card {
  background: var(--surface);
  border: 1px solid rgba(192,39,45,0.25);
  border-top: 2px solid var(--red);
  border-radius: 0 0 16px 16px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
}

.service-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(192,39,45,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.service-cta-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  position: relative;
}

.service-cta-card p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
  position: relative;
}

.service-nav-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  overflow: hidden;
}

.service-nav-card-label {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  display: block;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-dim);
  background: var(--surface-2);
}

.service-nav-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 300;
  color: var(--grey);
  text-decoration: none;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-dim);
  transition: color var(--transition-fast), background var(--transition-fast), padding-left var(--transition-fast);
  line-height: 1.4;
}

.service-nav-card a:last-child { border-bottom: none; }

.service-nav-card a:hover {
  color: var(--white);
  background: var(--surface-2);
  padding-left: 26px;
}

.service-nav-card a.active {
  color: var(--white);
  background: rgba(192,39,45,0.08);
  border-left: 2px solid var(--red);
  padding-left: 18px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .waitlist-layout { grid-template-columns: 1fr; gap: 48px; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

@media (max-width: 600px) {
  .resource-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 0 40px; }
}
