/* ==========================================================================
   Sola SG — Landing Page Stylesheet
   Architecture derived from landing-page-playbook & motionsites-catalog
   ========================================================================== */

:root {
  --bg-sand: #f5f0e8;
  --bg-sand-light: #faf7f2;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.72);
  --border-subtle: rgba(43, 34, 24, 0.08);
  --border-card: rgba(43, 34, 24, 0.12);

  --text-ink: #1b1610;
  --text-muted: #5f5446;
  --text-faint: #8e8273;

  --accent-gold: #b0883f;
  --accent-gold-soft: #e4c78d;
  --accent-terracotta: #c6623c;
  --accent-sage: #4e7a5d;
  --accent-blue: #38678f;

  --shadow-sm: 0 4px 12px rgba(43, 34, 24, 0.04);
  --shadow-md: 0 12px 32px rgba(43, 34, 24, 0.07);
  --shadow-lg: 0 24px 60px rgba(43, 34, 24, 0.11);
  --shadow-float: 0 30px 80px rgba(43, 34, 24, 0.13);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --ease-playbook: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-scroll: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-sand);
  color: var(--text-ink);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar at the top edge */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-terracotta));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(176, 136, 63, 0.4);
}

/* ==========================================================================
   Preloader (000 -> 100 rAF Counter + Word Rotator)
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #f4efe7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4rem;
  transition: opacity 0.65s var(--ease-playbook), visibility 0.65s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-top-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.loader-center {
  text-align: center;
}

.loader-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--text-ink);
  line-height: 1;
  transition: opacity 0.25s var(--ease-playbook), transform 0.25s var(--ease-playbook);
}

.loader-sub {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.loader-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.loader-count {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--text-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
}

.loader-bar-wrap {
  width: 100%;
  height: 3px;
  background: var(--border-card);
  overflow: hidden;
  border-radius: var(--radius-full);
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-terracotta));
  transition: width 0.08s linear;
}

/* ==========================================================================
   Navigation (Split Glassmorphic Pill)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 240, 232, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-ink);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(176, 136, 63, 0.3);
  box-shadow: 0 2px 8px rgba(176, 136, 63, 0.15);
  transition: transform 0.4s var(--ease-playbook);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(25deg) scale(1.12);
}

.logo-dot {
  color: var(--accent-gold);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--text-ink);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(27, 22, 16, 0.15);
  transition: all 0.25s var(--ease-playbook);
}

.nav-cta:hover {
  background: #322b22;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 22, 16, 0.25);
}

/* ==========================================================================
   Hero Section + Canvas Signature Mechanic
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-card);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 0 0 rgba(176, 136, 63, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 136, 63, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(176, 136, 63, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 136, 63, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-ink);
  margin-bottom: 1.5rem;
}

.italic-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
}

.gradient-text {
  background: linear-gradient(135deg, #1b1610 20%, #b0883f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-playbook), box-shadow 0.25s ease, background 0.2s;
  border: 1px solid transparent;
  will-change: transform;
}

.btn-primary {
  background: var(--text-ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(43, 34, 24, 0.2), inset 0 2px 6px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #322b22;
  box-shadow: 0 10px 28px rgba(43, 34, 24, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-ink);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Metrics Ribbon */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 640px;
  margin: 0 auto;
  gap: 1.2rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-ink);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text-faint);
  z-index: 2;
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: var(--border-card);
  overflow: hidden;
  position: relative;
}

.scroll-cue-line i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  animation: scrolldown 1.6s ease-in-out infinite;
}

@keyframes scrolldown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(180%); }
}

/* ==========================================================================
   Dual Infinite Scroll-Linked Marquees
   ========================================================================== */
.marquee-section {
  padding: 3rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-card);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* ==========================================================================
   Manifesto / Char-by-Char Scroll Reveal
   ========================================================================== */
.manifesto-section {
  max-width: 920px;
  margin: 4rem auto 6rem;
  padding: 3rem 1.5rem;
  text-align: center;
}

.char-reveal-paragraph {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-family: var(--font-serif);
  line-height: 1.55;
  color: var(--text-ink);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
}

.char-reveal-paragraph .ch {
  opacity: 0.15;
  transition: opacity 0.18s linear;
}

/* ==========================================================================
   Apps Showcase Section
   ========================================================================== */
.section-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature Row */
.app-feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 6rem;
  padding: 2.8rem;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-playbook), box-shadow 0.4s ease;
}

.app-feature-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.app-feature-row.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.app-feature-row.reverse .feature-info {
  order: 2;
}

.app-feature-row.reverse .feature-visual {
  order: 1;
}

/* Feature Info */
.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.badge-warm { background: #faeedb; color: #8c5b16; }
.badge-blue { background: #e3effa; color: #215c8e; }
.badge-green { background: #e3f3e8; color: #2c6e3e; }

.feature-heading {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  color: var(--text-ink);
}

.feature-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.feature-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
  line-height: 1.65;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(176, 136, 63, 0.15);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text-ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.pill-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--text-ink);
  gap: 0.65rem;
}

/* Vibe Cafe Showcase */
.vibe-phone-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 480px;
  background: radial-gradient(circle, rgba(176, 136, 63, 0.3) 0%, rgba(245, 240, 232, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.phone-device-card {
  position: relative;
  z-index: 1;
  max-width: 320px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(43, 34, 24, 0.28), 0 0 0 1px rgba(43, 34, 24, 0.08);
  background: #f7f3ec;
  transition: transform 0.4s var(--ease-playbook), box-shadow 0.4s ease;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  will-change: transform;
}

.phone-device-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 0 35px 80px -20px rgba(43, 34, 24, 0.38), 0 0 0 1px rgba(176, 136, 63, 0.3);
}

.vibe-preview-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.early-badge-floating {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(27, 22, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f7f3ec;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Mockup Windows */
.mockup-frame {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-playbook);
}

.mockup-header {
  background: #f8f6f0;
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-header .dot.red { background: #ff5f57; }
.mockup-header .dot.yellow { background: #febc2e; }
.mockup-header .dot.green { background: #28c840; }

.mockup-title {
  margin-left: 0.6rem;
  font-size: 0.76rem;
  color: var(--text-faint);
  font-family: monospace;
}

.mockup-content {
  padding: 1.5rem;
}

/* Tuition Calendar Mockup */
.cal-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.cal-month {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

.cal-sub {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.status-pill-online {
  background: #e3f3e8;
  color: #2c6e3e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.cal-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cal-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-blue);
  background: #fafbfc;
  transition: background 0.2s ease;
}

.cal-item:hover { background: #f1f6fa; }
.cal-item.math { border-left-color: #215c8e; }
.cal-item.physics { border-left-color: #c6623c; }
.cal-item.chemistry { border-left-color: #4e7a5d; }

.cal-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-ink);
  min-width: 65px;
}

.cal-details {
  display: flex;
  flex-direction: column;
}

.cal-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-ink);
}

.cal-loc {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Talent Hub Mockup */
.talent-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.talent-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-card);
  position: relative;
  transition: transform 0.2s ease;
}

.talent-card:hover {
  transform: translateX(4px);
}

.avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4c78d, #b0883f);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.talent-card.secondary .avatar-ring {
  background: linear-gradient(135deg, #74a3ca, #38678f);
}

.talent-meta {
  flex: 1;
}

.talent-meta .name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.talent-meta .role {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}

.talent-meta .tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.talent-meta .tag {
  background: var(--bg-sand);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.match-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2c6e3e;
  background: #e3f3e8;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
}

/* Values Section */
.values-section {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.value-item .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-ink);
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA & Contact */
.cta-section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.cta-box {
  background: linear-gradient(145deg, #ffffff 0%, #faf6f0 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.cta-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.8rem;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.2rem;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.4rem;
}

.contact-details {
  text-align: left;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.contact-email:hover {
  color: var(--accent-gold);
}

.btn-copy {
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  color: var(--text-ink);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--text-ink);
  color: #fff;
}

.domain-note {
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(245, 240, 232, 0.92);
  padding: 3rem 1.5rem 6rem;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-ink);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-ink);
}

/* ==========================================================================
   Playbook Floating Bottom Pill
   ========================================================================== */
.floating-pill {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(27, 22, 16, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.6rem 0.45rem 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s var(--ease-playbook);
  color: #fff;
}

.floating-pill.show {
  transform: translateX(-50%) translateY(0);
}

.pill-brand {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-gold-soft);
}

.pill-divider {
  opacity: 0.25;
}

.pill-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-pill-cta {
  background: #ffffff;
  color: var(--text-ink);
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-pill-cta:hover {
  background: var(--accent-gold-soft);
}

/* ==========================================================================
   Entrance Choreography: Inview Blur-Rise
   ========================================================================== */
.inview {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.85s var(--ease-playbook), transform 0.85s var(--ease-playbook), filter 0.85s var(--ease-playbook);
  will-change: opacity, transform, filter;
}

.inview.on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .inview {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  #loader {
    display: none !important;
  }
  .marquee-track {
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 880px) {
  .app-feature-row,
  .app-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 1.8rem;
  }

  .app-feature-row.reverse .feature-info { order: 1; }
  .app-feature-row.reverse .feature-visual { order: 2; }

  .values-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .main-nav { display: none; }
  .metrics-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .pill-text { display: none; }
}
