/* ============================================
   Glidyr Landing Page Styles
   ============================================ */

:root {
  --bg: #0c0f1a;
  --bg-2: #13172a;
  --surface: #1a1e30;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.06);
  --ivory: #faf7f0;
  --muted: #a8adc4;
  --subtle: #5c6380;
  --border: rgba(168, 173, 196, 0.1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(12, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Shared Section ---- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 173, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 173, 196, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  background: var(--amber-dim);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 1.75rem;
  max-width: 820px;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-categories span {
  font-size: 0.72rem;
  color: var(--subtle);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  letter-spacing: 0.03em;
}

/* ---- What It Does ---- */
.what-it-does {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.what-it-does-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.what-it-does-item {
  background: var(--bg-2);
  padding: 2.25rem;
}

.what-it-does-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.what-it-does-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.what-it-does-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.what-it-does-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--subtle);
  padding: 0 0.5rem;
}

.note-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Process ---- */
.process {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

.process-header {
  margin-bottom: 4rem;
}

.process-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.process-header p {
  font-size: 1rem;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.12);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Principles ---- */
.principles {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.principles-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.principles-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.25rem;
}

.label-line {
  width: 2rem;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.principles-label span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.principles-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.principle h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.principle p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Outcomes ---- */
.outcomes {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

.outcomes h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 3rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.outcome {
  background: var(--bg);
  padding: 2rem;
}

.outcome-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.outcome-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Closing ---- */
.closing {
  padding: 8rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ---- Footer ---- */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer .section-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ivory);
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--subtle);
}

.footer-note {
  font-size: 0.78rem;
  color: var(--subtle);
  font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .what-it-does-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .principles-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .principles-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .footer .section-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
  }
}

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

  .hero-headline {
    font-size: 2.4rem;
  }
}