/* Astrum Design System
 * Primary styles for Astrum pages
 * Will eventually apply site-wide
 */

/* ========================================
   Self-hosted Fonts (for OpenType features)
   ======================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/Plus_Jakarta_Sans/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */

:root {
  /* Colors */
  --color-background: #050607;
  --color-background-card: #18191B;
  --color-card: #18191B;
  --color-accent: #D2FF00;
  --color-heading: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-text-muted: #FFFFFFCC;
  --color-text-subtle: #FFFFFF29;

  /* Typography - Font Families */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Typography - Font Sizes */
  --text-h1: 90px;
  --text-h2: 48px;
  --text-h3: 32px;
  --text-h2-v2: 32px;
  --text-h3-v2: 22px;
  --text-h4: 18px;
  --text-body: 18px;
  --text-card-heading: 22px;
  --text-price: 56px;
  --text-button: 18px;
}

/* Light Mode */
body.light-mode {
  --color-accent: #1f67f1;
}

/* ========================================
   Base Styles
   ======================================== */

body {
  background-color: var(--color-background);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
  font-weight: 700;
}

h4 {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.1;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

h4 {
  font-size: var(--text-h4);
  line-height: 1.4;
}

/* H2 Version 2 - Plus Jakarta Sans 32px */
.h2-v2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2-v2);
  color: var(--color-heading);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1;
}

/* H3 Version 2 - Inter 22px White */
.h3-v2 {
  font-family: var(--font-body);
  font-size: var(--text-h3-v2);
  color: var(--color-heading);
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

/* Price Style - Inter 56px */
.price {
  font-family: var(--font-body);
  font-size: var(--text-price);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.06em;
  margin: 0;
  line-height: 1;
}

/* Button Text - Inter 18px, 600 weight, -0.04em letter-spacing */
.btn-text {
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0;
}

p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   Utility Classes
   ======================================== */

/* Colors */
.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-heading);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-subtle {
  color: var(--color-text-subtle);
}

.bg-card {
  background-color: var(--color-background-card);
}

/* OpenType Features - for Plus Jakarta Sans stylistic alternates */
.opentype {
  -webkit-font-feature-settings: "ss01" on, "liga" on, "calt" on, "kern" on;
  -moz-font-feature-settings: "ss01" on, "liga" on, "calt" on, "kern" on;
  font-feature-settings: "ss01" on, "liga" on, "calt" on, "kern" on;
}

/* ========================================
   Components
   ======================================== */

.card {
  background-color: var(--color-background-card);
  border-radius: 12px;
  padding: 24px;
}

/* Card heading variant - Inter 22px */
.card-heading {
  font-family: var(--font-body);
  font-size: var(--text-card-heading);
  color: var(--color-heading);
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* ========================================
   Layout
   ======================================== */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 50px 0 80px 0;
}

.hero h3 {
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0;
  padding-bottom: 0.1em;
  /* Gradient fade from white (left) to transparent (right) */
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================
   Header & Navigation
   ======================================== */

/* Header Wrapper - contains header and hero with shared background */
.header-hero-wrapper {
  background: var(--color-background);
}

body.light-mode .header-hero-wrapper {
  background: #f5f5f5;
}

/* Header */
.astrum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 29px 30px 24px 30px;
  position: relative;
  z-index: 10;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-container a {
  display: block;
}

.logo-container svg {
  display: block;
}

/* Menu Icon (Hamburger) */
.menu-icon {
  width: 42px;
  height: 31px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.menu-icon span {
  display: block;
  height: 2.6px;
  background: #888;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-radius: 2px;
}

.menu-icon span:nth-child(1) {
  width: 42px;
}

.menu-icon span:nth-child(2) {
  width: 31px;
}

.menu-icon span:nth-child(3) {
  width: 21px;
}

.menu-icon:hover span:nth-child(1) {
  width: 31px;
}

.menu-icon:hover span:nth-child(2) {
  width: 42px;
}

.menu-icon:hover span:nth-child(3) {
  width: 16px;
}

/* Menu Open State (X) */
body.menu-open .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
  width: 42px;
  background: #F0F0F0;
}

body.menu-open .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

body.menu-open .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
  width: 42px;
  background: #F0F0F0;
}

/* Light mode menu icon */
body.light-mode .menu-icon span {
  background: #121212;
}

body.light-mode.menu-open .menu-icon span {
  background: #121212;
}

/* Navigation Overlay */
.nav-overlay {
  position: absolute;
  top: 100px;
  left: 30px;
  width: fit-content;
  height: fit-content;
  background: var(--color-background);
  border-radius: 12px;
  z-index: 90;
  transform: translateY(-100%);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.175, 1), transform 0s 0.4s;
  display: flex;
  align-items: flex-start;
  padding: 20px 80px 20px 0;
}

body.menu-open .nav-overlay {
  transform: translateY(0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

body.light-mode .nav-overlay {
  background: #f5f5f5;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-heading);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.2s ease;
  letter-spacing: -0.02em;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
}

body.light-mode .nav-link {
  color: #121212;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: var(--color-accent);
}

/* Logo animation */
.logo-anim {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 6s ease-in-out infinite;
}

@keyframes draw {
  0% {
    stroke-dashoffset: 1;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 1;
  }
}

/* Color switcher - pill toggle */
.toggle-switch {
  width: 70px;
  height: 36px;
  background: #333;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 4px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

body.light-mode .toggle-switch::after {
  transform: translateX(-34px);
}

body.light-mode {
  background-color: #f5f5f5;
}

body.light-mode .astrum-header {
  background: transparent;
}

body.light-mode .logo-bg {
  stroke: #121212;
  stroke-opacity: 0.3;
}

body.light-mode .logo-anim {
  stroke: #121212;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
  color: #121212;
}

body.light-mode .hero-headline {
  background: linear-gradient(90deg, #121212 0%, #121212 40%, rgba(18, 18, 18, 0.5) 80%, rgba(18, 18, 18, 0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .text-accent {
  color: var(--color-accent);
}

body.light-mode h4,
body.light-mode p {
  color: #121212CC;
}

body.light-mode .hero-bg {
  background: #FFFFFF;
}

/* ========================================
   Hero Section (Extended)
   ======================================== */

/* Hero Subheadline - H3 style */
.hero-subheadline {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--color-heading);
  margin: 40px 0 0 0;
}

body.light-mode .hero-subheadline {
  color: #121212;
}

/* Social Proof Row */
.social-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.social-proof-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
}

/* Avatar Stack */
.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: -8px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

/* Scroll Button */
.scroll-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s ease;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.scroll-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-heading);
}

/* Hero Background Container */
.hero {
  position: relative;
  background: var(--color-background);
}

body.light-mode .hero {
  background: #f5f5f5;
}

.hero-bg {
  position: absolute;
  top: -116px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  bottom: 0;
  background: linear-gradient(180deg, #0f1112 62%, #acb3b6 100%);
  border-radius: 32px;
  z-index: 0;
  overflow: hidden;
}

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

/* Hero Background Decoration Layers - 3D perspective effect */
.hero-bg-decoration {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 16px;
  border-radius: 0 0 12px 12px;
  z-index: -1;
}

.hero-bg-decoration-1 {
  width: calc(100% - 40px);
  max-width: calc(1280px - 40px);
  bottom: -12px;
  background: rgba(172, 179, 182, 0.5);
}

.hero-bg-decoration-2 {
  width: calc(100% - 80px);
  max-width: calc(1280px - 80px);
  bottom: -24px;
  background: rgba(172, 179, 182, 0.25);
}

.hero-bg-decoration-3 {
  width: calc(100% - 120px);
  max-width: calc(1280px - 120px);
  bottom: -36px;
  background: rgba(172, 179, 182, 0.1);
}

/* ========================================
   Content Section - Scroll Reveal Text
   ======================================== */

.content-section {
  padding: 120px 0 84px 0;
  background: var(--color-background);
}

body.light-mode .content-section {
  background: #f5f5f5;
}

.reveal-text {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.16);
  margin: 0;
  max-width: 76%;
}

.reveal-text .word {
  display: inline-block;
  transition: color 0.3s ease;
}

.reveal-text .word.revealed {
  color: #FFFFFF;
}

.reveal-text .highlight {
  color: var(--color-accent);
  font-family: inherit;
}

.reveal-text .highlight.revealed {
  color: var(--color-accent);
}

body.light-mode .reveal-text {
  color: rgba(18, 18, 18, 0.16);
}

body.light-mode .reveal-text .word.revealed {
  color: #121212;
}

body.light-mode .reveal-text .highlight {
  color: var(--color-accent);
}

/* ========================================
   Why Section
   ======================================== */

.why-section {
  padding: 120px 0;
  background: #0a0b0c;
}

.why-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 80px 0;
  letter-spacing: -0.06em;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  fill: none;
}

.feature-card h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFFCC;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

body.light-mode .why-section {
  background: #e8e8e8;
}

body.light-mode .why-section h2 {
  color: var(--color-accent);
}

body.light-mode .feature-card h4 {
  color: #121212CC;
}

body.light-mode .feature-card p {
  color: #121212CC;
}

body.light-mode .feature-icon svg {
  stroke: #121212;
}

/* ========================================
   How It Works Section
   ======================================== */

.how-section {
  padding: 120px 0;
  background: var(--color-background);
}

body.light-mode .how-section {
  background: #f5f5f5;
}

.how-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 80px 0;
  letter-spacing: -0.06em;
}

/* Steps Grid - 2x2 layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

/* Step Card Base */
.step-card {
  background-color: var(--color-background-card);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Accent Card (Step 1) */
.step-card.accent {
  background-color: var(--color-accent);
}

.step-card.accent .step-badge {
  border-color: #050607;
  color: #050607;
}

.step-card.accent .step-title {
  color: #050607;
}

.step-card.accent .step-text {
  color: #050607CC;
}

/* Step Badge */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 8px;
  border: 1px solid var(--color-text-muted);
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  width: min-content;
  white-space: nowrap;
}

/* Step Title */
.step-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

/* Step Text */
.step-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0 0 24px 0;
}

.step-text:last-child {
  margin-bottom: 0;
}

/* Step 4 - Taller card with graphic */
.step-card.with-graphic {
  justify-content: flex-start;
}

.step-card.with-graphic .step-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  flex: 1;
}

.step-card.with-graphic .step-graphic {
  align-self: center;
}

.step-card-content {
  flex: 1;
}

.step-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 1;
}

.step-graphic svg {
  width: 200px;
  height: 200px;
}

.step-footer-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

/* Light mode adjustments */
body.light-mode .step-card {
  background-color: #e8e8e8;
}

body.light-mode .step-card.accent {
  background-color: var(--color-accent);
}

body.light-mode .step-card.accent .step-badge {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

body.light-mode .step-card.accent .step-title {
  color: #FFFFFF;
}

body.light-mode .step-card.accent .step-text {
  color: #FFFFFFCC;
}

body.light-mode .step-badge {
  border-color: #121212CC;
  color: #121212CC;
}

body.light-mode .step-title {
  color: #121212;
}

body.light-mode .step-text {
  color: #121212CC;
}

body.light-mode .step-footer-text {
  color: #121212;
}

body.light-mode .step-graphic svg {
  stroke: #121212;
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
  padding: 120px 0;
  background: var(--color-background);
}

body.light-mode .features-section {
  background: #f5f5f5;
}

.features-section > .container > h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 80px 0;
  letter-spacing: -0.06em;
}

/* Features Grid - 3x2 layout */
.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Numbered Circle Icon */
.feature-number {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
}

/* Accent title for the last feature */
.feature-item h3.text-accent {
  color: var(--color-accent);
}

.feature-item p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

.feature-item ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.feature-item ul li {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.feature-item ul li:last-child {
  margin-bottom: 0;
}

/* Light mode */
body.light-mode .features-section > .container > h2 {
  color: var(--color-accent);
}

body.light-mode .feature-number {
  border-color: #121212CC;
  color: #121212CC;
}

body.light-mode .feature-item h3 {
  color: #121212;
}

body.light-mode .feature-item h3.text-accent {
  color: var(--color-accent);
}

body.light-mode .feature-item p,
body.light-mode .feature-item ul li {
  color: #121212CC;
}

/* ========================================
   Why Partner Up Section
   ======================================== */

.partner-section {
  padding: 120px 0;
  background: var(--color-background);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: start;
}

.partner-heading {
  position: sticky;
  top: 200px;
  align-self: start;
}

.partner-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: #050607;
  margin: 0;
  letter-spacing: -0.06em;
}

/* Cards Column */
.partner-cards {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* White Card */
.partner-card {
  background-color: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.partner-card > div {
  width: 100%;
}

.partner-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #050607;
  margin: 0;
  letter-spacing: -0.02em;
}

.partner-card-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0 40px 0;
}

.partner-card-graphic svg {
  width: 160px;
  height: 160px;
}

/* Light mode - Validation Framework card graphic should be white */
body.light-mode .partner-card.accent .partner-card-graphic svg {
  stroke: #FFFFFF;
}

/* Light mode - Expertise Shared card graphic should be dark */
body.light-mode .partner-card.dark .partner-card-graphic svg {
  stroke: #121212;
}

.partner-card p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #050607CC;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.partner-card p:last-child {
  margin-bottom: 0;
}

/* Accent Card Variant */
.partner-card.accent {
  background-color: var(--color-accent);
}

.partner-card.accent .partner-card-title {
  color: #050607;
}

.partner-card.accent p {
  color: #050607CC;
}

/* Dark Card Variant */
.partner-card.dark {
  background-color: var(--color-background-card);
}

.partner-card.dark .partner-card-title {
  color: var(--color-heading);
}

.partner-card.dark p {
  color: var(--color-text-muted);
}

/* Light mode */
body.light-mode .partner-section {
  background: #f5f5f5;
}

body.light-mode .partner-card.accent {
  background-color: var(--color-accent);
}

body.light-mode .partner-card.accent .partner-card-title {
  color: #FFFFFF;
}

body.light-mode .partner-card.accent p {
  color: #FFFFFFCC;
}

body.light-mode .partner-card.dark {
  background-color: #e8e8e8;
}

body.light-mode .partner-card.dark .partner-card-title {
  color: #121212;
}

body.light-mode .partner-card.dark p {
  color: #121212CC;
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-section {
  padding: 120px 0;
  background: var(--color-background);
}

.pricing-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 24px 0;
  letter-spacing: -0.06em;
}

.pricing-intro {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 66%;
}

body.light-mode .pricing-section {
  background: #f5f5f5;
}

body.light-mode .pricing-section h2 {
  color: #121212;
}

body.light-mode .pricing-intro {
  color: #121212CC;
}

/* Pricing Cards Grid */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 60px;
}

/* Pricing Card Base */
.pricing-card {
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.pricing-card.dark {
  background-color: var(--color-background-card);
}

.pricing-card.light {
  background-color: #FFFFFF;
}

/* Pricing Card Header */
.pricing-card-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 8px 0;
}

.pricing-card.dark .pricing-card-label {
  color: var(--color-text-muted);
}

.pricing-card.light .pricing-card-label {
  color: #050607CC;
}

.pricing-card-price {
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.06em;
  margin: 0;
  line-height: 1;
}

.pricing-card.dark .pricing-card-price {
  color: var(--color-heading);
}

.pricing-card.light .pricing-card-price {
  color: #050607;
}

.pricing-card-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  margin: 12px 0 0 0;
}

.pricing-card.dark .pricing-card-subtitle {
  color: var(--color-text-muted);
}

.pricing-card.light .pricing-card-subtitle {
  color: #050607CC;
}

/* CTA Button */
.pricing-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #050607;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 40px;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.pricing-cta:hover {
  opacity: 0.9;
}

body.light-mode .pricing-cta {
  color: #FFFFFF;
}

/* Not Offered State */
.pricing-not-offered {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #050607;
  margin-top: 40px;
}

/* Divider */
.pricing-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-text-subtle);
  margin: 40px 0;
}

.pricing-card.light .pricing-divider {
  background-color: #05060729;
}

/* Features List */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-card.dark .pricing-features li {
  color: var(--color-text-muted);
}

.pricing-card.light .pricing-features li {
  color: #050607CC;
}

.pricing-features li::before {
  content: '○';
  flex-shrink: 0;
}

/* Light mode adjustments */
body.light-mode .pricing-card.dark {
  background-color: #e8e8e8;
}

body.light-mode .pricing-card.dark .pricing-card-label,
body.light-mode .pricing-card.dark .pricing-card-subtitle,
body.light-mode .pricing-card.dark .pricing-features li {
  color: #121212CC;
}

body.light-mode .pricing-card.dark .pricing-card-price {
  color: #121212;
}

body.light-mode .pricing-card.dark .pricing-divider {
  background-color: #12121229;
}

/* Full-width Card */
.pricing-card.full-width {
  grid-column: 1 / -1;
  margin-top: -1px;
}

.pricing-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.pricing-card.dark .pricing-card-title {
  color: var(--color-heading);
}

.pricing-card-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin: 0;
  max-width: 60%;
}

.pricing-card.dark .pricing-card-text {
  color: var(--color-text-muted);
}

body.light-mode .pricing-card.dark .pricing-card-title {
  color: #121212;
}

body.light-mode .pricing-card.dark .pricing-card-text {
  color: #121212CC;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
  padding: 120px 0;
  background: var(--color-background);
}

.team-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 24px 0;
  letter-spacing: -0.06em;
}

.team-intro {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 60px 0;
  max-width: 66%;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

/* Team Member Card */
.team-member {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.team-member-image {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background-color: var(--color-background-card);
  transition: transform 0.2s ease;
}

.team-member:hover .team-member-image {
  transform: scale(0.98);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  padding: 24px 0;
  text-align: center;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 8px 0;
}

.team-member-bio {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Light mode */
body.light-mode .team-section {
  background: #f5f5f5;
}

body.light-mode .team-section h2 {
  color: #121212;
}

body.light-mode .team-intro {
  color: #121212CC;
}

body.light-mode .team-member-image {
  background-color: #e8e8e8;
}

body.light-mode .team-member-name {
  color: #121212;
}

body.light-mode .team-member-bio {
  color: #121212CC;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
  padding: 120px 0;
  background: var(--color-background);
}

.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 60px 0;
  letter-spacing: -0.06em;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* FAQ Item */
.faq-item {
  background-color: var(--color-background-card);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-item:not(.active) .faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-heading);
  margin: 0;
  transition: font-weight 0.2s ease;
}

.faq-item.active .faq-question-text {
  font-weight: 700;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-heading);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 2px;
  height: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 16px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 32px 24px 32px;
}

.faq-answer-content p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* Light mode */
body.light-mode .faq-section {
  background: #f5f5f5;
}

body.light-mode .faq-section h2 {
  color: #121212;
}

body.light-mode .faq-item {
  background-color: #e8e8e8;
}

body.light-mode .faq-item:not(.active) .faq-question:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .faq-question-text {
  color: #121212;
}

body.light-mode .faq-icon::before,
body.light-mode .faq-icon::after {
  background-color: #121212;
}

body.light-mode .faq-answer-content p {
  color: #121212CC;
}

/* ========================================
   Next Step Section
   ======================================== */

.next-step-section {
  padding: 120px 0;
  background: var(--color-background);
}

.next-step-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 60px 0;
  letter-spacing: -0.06em;
}

.next-step-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  border-radius: 32px;
  height: 240px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.next-step-cta:hover {
  transform: scale(0.98);
}

.next-step-cta h3 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #050607;
  margin: 0;
  letter-spacing: -0.02em;
}

.next-step-email {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-muted);
  text-align: center;
  margin: 40px 0 0 0;
}

.next-step-email a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.next-step-email a:hover {
  color: var(--color-heading);
}

/* Light mode */
body.light-mode .next-step-section {
  background: #f5f5f5;
}

body.light-mode .next-step-section h2 {
  color: #121212;
}

body.light-mode .next-step-email {
  color: #121212CC;
}

body.light-mode .next-step-email a {
  color: #121212CC;
}

body.light-mode .next-step-email a:hover {
  color: #121212;
}

body.light-mode .next-step-cta h3 {
  color: #FFFFFF;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  padding: 60px 0 40px;
  background: var(--color-background);
}

.site-footer .container {
  border-top: 1px solid #222;
}

.footer-top {
  text-align: center;
  padding: 20px 0;
}

.footer-top p {
  font-family: var(--font-body);
  font-size: 12px;
  color: #666;
  margin: 0;
}

.footer-bullet {
  font-size: 12px;
  margin: 0 8px;
  opacity: 0.5;
}

.footer-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--color-heading);
}

.footer-brand {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-brand:hover {
  color: var(--color-heading);
}

.footer-gif {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
  transform: translate(-50%, -120%);
}

.footer-gif img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  filter: grayscale(100%);
}

.footer-gif.active {
  opacity: 1;
}

/* Light mode */
body.light-mode .site-footer {
  background: #f5f5f5;
}

body.light-mode .site-footer .container {
  border-top-color: #ddd;
}

body.light-mode .footer-link {
  color: #666;
}

body.light-mode .footer-link:hover {
  color: #121212;
}

body.light-mode .footer-brand:hover {
  color: #121212;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Global overflow fix - CRITICAL */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* Ensure all images and elements respect container bounds */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Hero headline scaling */
  .hero-headline {
    font-size: 60px;
  }

  /* Hero background */
  .hero-bg {
    left: 20px;
    right: 20px;
    transform: none;
    width: auto;
    max-width: none;
  }

  .hero-bg-decoration {
    left: 20px;
    right: 20px;
    transform: none;
    width: auto;
    max-width: none;
  }

  .hero-bg-decoration-1 {
    left: 40px;
    right: 40px;
  }

  .hero-bg-decoration-2 {
    left: 60px;
    right: 60px;
  }

  .hero-bg-decoration-3 {
    left: 80px;
    right: 80px;
  }

  /* Pricing text wrap */
  .pricing-intro {
    max-width: 100%;
  }

  .team-intro {
    max-width: 100%;
  }

  .pricing-card-text {
    max-width: 100%;
  }

  /* Section Padding */
  .content-section,
  .why-section,
  .how-section,
  .features-section,
  .partner-section,
  .pricing-section,
  .team-section,
  .faq-section,
  .next-step-section {
    padding: 80px 0;
  }

  /* Typography */
  .reveal-text {
    font-size: 36px;
  }

  .why-section h2,
  .how-section h2,
  .features-section h2,
  .pricing-section h2,
  .team-section h2,
  .faq-section h2,
  .next-step-section h2 {
    font-size: 28px;
    margin-bottom: 48px;
  }

  .hero-subheadline {
    font-size: 28px;
  }

  .pricing-card-price {
    font-size: 48px;
  }

  .next-step-cta h3 {
    font-size: 40px;
  }

  /* Grid Layouts */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards */
  .step-card,
  .partner-card,
  .pricing-card {
    padding: 32px;
  }

  /* Next Step CTA */
  .next-step-cta {
    height: 200px;
  }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  /* Container */
  .container {
    padding: 0 20px;
  }

  /* Hero headline - CRITICAL for mobile */
  .hero-headline {
    font-size: 36px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hero bg for mobile */
  .hero-bg {
    left: 16px;
    right: 16px;
  }

  .hero-bg-decoration-1 {
    left: 28px;
    right: 28px;
  }

  .hero-bg-decoration-2 {
    left: 40px;
    right: 40px;
  }

  .hero-bg-decoration-3 {
    left: 52px;
    right: 52px;
  }

  /* Header */
  .astrum-header {
    padding: 20px 20px 16px 20px;
  }

  .toggle-switch {
    width: 56px;
    height: 28px;
  }

  .toggle-switch::after {
    width: 22px;
    height: 22px;
    right: 3px;
    top: 3px;
  }

  body.light-mode .toggle-switch::after {
    transform: translateX(-26px);
  }

  /* Hero */
  .hero {
    padding: 30px 0 60px 0;
  }

  .hero-bg {
    top: -80px;
    border-radius: 24px;
  }

  .hero-subheadline {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .hero h3 {
    font-size: 18px;
  }

  /* Social Proof */
  .social-proof {
    gap: 16px;
    flex-wrap: wrap;
  }

  .avatar-stack img {
    width: 28px;
    height: 28px;
  }

  .social-proof-text {
    font-size: 14px;
  }

  /* Scroll Button - hide on mobile */
  .scroll-btn {
    display: none;
  }

  /* Section Padding */
  .content-section {
    padding: 60px 0 48px 0;
  }

  .why-section,
  .how-section,
  .features-section,
  .partner-section,
  .pricing-section,
  .team-section,
  .faq-section,
  .next-step-section {
    padding: 60px 0;
  }

  /* Typography */
  .reveal-text {
    font-size: 24px;
    max-width: 100%;
  }

  .why-section h2,
  .how-section h2,
  .features-section h2,
  .pricing-section h2,
  .team-section h2,
  .faq-section h2,
  .next-step-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .pricing-card-price {
    font-size: 40px;
  }

  .next-step-cta h3 {
    font-size: 28px;
  }

  /* Grid Layouts - Single Column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-heading {
    position: static;
    margin-bottom: 32px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .step-card,
  .partner-card,
  .pricing-card {
    padding: 24px;
    border-radius: 24px;
  }

  .step-title,
  .partner-card-title {
    font-size: 20px;
  }

  .step-text,
  .partner-card p {
    font-size: 16px;
  }

  /* Step Graphics */
  .step-graphic svg {
    width: 140px;
    height: 140px;
  }

  /* Partner Card Graphics */
  .partner-card-graphic svg {
    width: 120px;
    height: 120px;
  }

  .partner-card-graphic {
    padding: 16px 0 32px 0;
  }

  /* Feature Icons */
  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Feature List Items */
  .feature-item h3 {
    font-size: 18px;
  }

  .feature-item p {
    font-size: 16px;
  }

  /* Pricing */
  .pricing-card-title {
    font-size: 20px;
  }

  .pricing-card-subtitle {
    font-size: 14px;
  }

  .pricing-cta {
    font-size: 16px;
    padding: 14px 24px;
    margin-top: 24px;
  }

  /* Team */
  .team-member-name {
    font-size: 18px;
  }

  .team-member-role {
    font-size: 14px;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 20px;
  }

  .faq-question-text {
    font-size: 16px;
  }

  .faq-answer-content {
    padding: 0 20px 16px 20px;
  }

  .faq-answer-content p {
    font-size: 16px;
  }

  /* Next Step */
  .next-step-cta {
    height: 160px;
    border-radius: 24px;
  }

  .next-step-email {
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-top p {
    font-size: 11px;
    line-height: 1.6;
  }

  .footer-bullet {
    display: none;
  }

  .footer-top p {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* Extra Small Mobile (max-width: 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }

  /* Even smaller hero headline */
  .hero-headline {
    font-size: 28px;
  }

  /* Hero bg for extra small */
  .hero-bg {
    left: 12px;
    right: 12px;
  }

  .hero-bg-decoration-1 {
    left: 20px;
    right: 20px;
  }

  .hero-bg-decoration-2 {
    left: 28px;
    right: 28px;
  }

  .hero-bg-decoration-3 {
    left: 36px;
    right: 36px;
  }

  .hero-subheadline {
    font-size: 18px;
  }

  .reveal-text {
    font-size: 20px;
  }

  .pricing-card-price {
    font-size: 36px;
  }

  .next-step-cta h3 {
    font-size: 24px;
  }
}

/* ========================================
   Demo Template Page Styles
   ======================================== */

/* Demo Hero */
.demo-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.demo-hero .hero-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 40px;
  border: 3px solid var(--color-accent);
}

.demo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-hero h1 {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.demo-hero .hero-subtitle {
  color: var(--color-accent);
}

/* Demo Section */
.demo-section {
  padding: 80px 0;
}

.demo-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 32px 0;
}

.demo-body-text {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.demo-body-text strong {
  color: var(--color-accent);
}

body.light-mode .demo-body-text {
  color: var(--color-background);
}

/* Loom Section */
.loom-section {
  padding: 60px 0 80px;
}

.loom-label {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.loom-placeholder {
  background: var(--color-card);
  border: 1px solid #333;
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

body.light-mode .loom-placeholder {
  background: #e5e5e5;
  border-color: #ccc;
}

/* App Ideas Box */
.app-idea-box {
  background: var(--color-card);
  border: 1px solid #333;
  border-left: 4px solid var(--color-accent);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

body.light-mode .app-idea-box {
  background: #f5f5f5;
  border-color: #ddd;
  border-left-color: var(--color-accent);
}

.app-idea-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}

.app-idea-box p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

body.light-mode .app-idea-box h3 {
  color: var(--color-background);
}

/* About Steve Grid */
.about-steve-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

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

.about-steve-photo {
  width: 100%;
  border-radius: 12px;
}

.app-icons-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.app-icon-placeholder {
  width: 56px;
  height: 56px;
  background: #333;
  border-radius: 12px;
}

body.light-mode .app-icon-placeholder {
  background: #ddd;
}

/* Playbook Section */
.playbook-section {
  background: var(--color-accent);
  border-radius: 24px;
  padding: 60px;
  margin: 40px 0;
}

.playbook-section h2 {
  color: var(--color-background);
  margin-bottom: 24px;
}

.playbook-section p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-background);
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.85;
}

.playbook-button {
  display: inline-block;
  background: var(--color-background);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 12px;
  margin-top: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playbook-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section p {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cta-section .instagram-handle {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
}

body.light-mode .cta-section p {
  color: var(--color-background);
}

/* Demo FAQ Section */
.demo-faq-section {
  padding: 80px 0;
}

.demo-faq-item {
  border-bottom: 1px solid #333;
}

body.light-mode .demo-faq-item {
  border-bottom-color: #ddd;
}

.demo-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.demo-faq-question h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.4;
}

body.light-mode .demo-faq-question h3 {
  color: var(--color-background);
}

.demo-faq-icon {
  font-size: 24px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.demo-faq-item.open .demo-faq-icon {
  transform: rotate(45deg);
}

.demo-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.demo-faq-item.open .demo-faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.demo-faq-answer p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 60px 0 100px;
}

.final-cta p {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.final-cta .instagram-link {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.final-cta .instagram-link:hover {
  text-decoration: underline;
}

/* Demo Hero Responsive */
@media (max-width: 640px) {
  .demo-hero h1 {
    font-size: 48px;
  }

  .demo-circle {
    width: 150px;
    height: 150px;
  }

  .playbook-section {
    padding: 40px 24px;
  }
}

/* ========================================
   Contact Page Styles
   ======================================== */

/* Page Hero (used for Contact, Resources, etc.) */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 40px 0;
}

.page-hero-diamond {
  display: inline-flex;
  color: var(--color-accent);
}

.page-hero-diamond svg {
  width: 48px;
  height: 48px;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.contact-prompt {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

body.light-mode .contact-prompt {
  color: var(--color-background);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: var(--color-card);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: #f5f5f5;
  border-color: #ddd;
  color: var(--color-background);
}

body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder {
  color: rgba(5, 6, 7, 0.5);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  background: var(--color-accent);
  color: var(--color-background);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(210, 255, 0, 0.3);
}

body.light-mode .contact-form button {
  box-shadow: 0 8px 24px rgba(31, 103, 241, 0.3);
}

/* CTA Card */
.cta-card {
  background: var(--color-accent);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  margin: 60px 0;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.cta-card:hover {
  transform: translateY(-4px);
}

.cta-card p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-background);
  margin: 0 0 12px 0;
  opacity: 0.7;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-background);
  margin: 0;
}

/* Page Hero Responsive */
@media (max-width: 640px) {
  .page-hero-title {
    font-size: 48px;
  }

  .contact-prompt {
    font-size: 20px;
  }
}

/* ========================================
   Resources Page / Blog Grid Styles
   ======================================== */

.blog-grid-section {
  padding: 60px 0;
}

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

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

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

.blog-card {
  background: var(--color-card);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: block;
}

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

.blog-card:visited,
.blog-card:active {
  text-decoration: none;
}

.blog-card:visited h3,
.blog-card:active h3 {
  color: var(--color-text-primary);
}

.blog-card:visited p,
.blog-card:active p {
  color: var(--color-text-muted);
}

body.light-mode .blog-card:visited h3,
body.light-mode .blog-card:active h3 {
  color: var(--color-background);
}

body.light-mode .blog-card:visited p,
body.light-mode .blog-card:active p {
  color: rgba(5, 6, 7, 0.7);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.blog-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

body.light-mode .blog-card {
  background: #f5f5f5;
  border-color: #ddd;
}

body.light-mode .blog-card:hover {
  border-color: var(--color-accent);
}

body.light-mode .blog-card h3 {
  color: var(--color-background);
}

body.light-mode .blog-card p {
  color: rgba(5, 6, 7, 0.7);
}

/* ========================================
   Blog Post Article Styles
   ======================================== */

.blog-article {
  padding: 120px 0 60px;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0 0 48px 0;
}

body.light-mode .blog-post-title {
  color: var(--color-background);
}

.blog-article p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

body.light-mode .blog-article p {
  color: rgba(5, 6, 7, 0.8);
}

.blog-article h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 48px 0 24px 0;
}

body.light-mode .blog-article h2 {
  color: var(--color-background);
}

.blog-article h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 32px 0 16px 0;
}

body.light-mode .blog-article h3 {
  color: var(--color-background);
}

.blog-article strong {
  color: var(--color-accent);
}

.blog-article a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-article a:hover {
  text-decoration-thickness: 2px;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.blog-article li {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

body.light-mode .blog-article li {
  color: rgba(5, 6, 7, 0.8);
}

.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: var(--font-body);
  font-size: 16px;
}

.blog-article th,
.blog-article td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.blog-article th {
  color: var(--color-accent);
  font-weight: 600;
}

.blog-article td {
  color: var(--color-text-muted);
}

body.light-mode .blog-article th,
body.light-mode .blog-article td {
  border-bottom-color: #ddd;
}

body.light-mode .blog-article td {
  color: rgba(5, 6, 7, 0.7);
}

.blog-article em {
  font-style: italic;
}

/* Blog Post Responsive */
@media (max-width: 640px) {
  .blog-post-title {
    font-size: 32px;
  }

  .blog-article h2 {
    font-size: 26px;
  }

  .blog-article h3 {
    font-size: 20px;
  }

  .blog-article table {
    font-size: 14px;
  }

  .blog-article th,
  .blog-article td {
    padding: 12px 8px;
  }
}
