/* ======================================================
   OneLoop Labs — Design System + Styles
   Dark theme, teal accent, enterprise premium feel
   ====================================================== */

/* === CSS Custom Properties === */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-subtle: #1a1a26;
  --text: #f0f0f5;
  --text-muted: #8a8a9a;
  --accent: #0ea5a0;
  --accent-hover: #14c4be;
  --accent-glow: rgba(14, 165, 160, 0.15);
  --border: #1e1e2e;
  --success: #22c55e;
  --card: #14141e;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --transition: 0.25s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* === Utilities === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* === Badge === */
.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(14, 165, 160, 0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px var(--accent-glow), 0 4px 16px rgba(14, 165, 160, 0.2);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* === Section === */
.section {
  padding: 100px 0;
}

.section__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.section__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 56px;
  color: var(--text);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 30, 46, 0.5);
  transition: background var(--transition);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}

.nav__logo-icon {
  color: var(--accent);
  font-size: 24px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--text);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin: 24px 0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === PARTNERS === */
.partners {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners__label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partners__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partners__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.partners__badge:hover {
  opacity: 1;
}

.partners__icon {
  flex-shrink: 0;
  opacity: 0.7;
}

/* === PRODUCT CARDS === */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
}

.card:hover {
  border-color: rgba(14, 165, 160, 0.4);
  box-shadow: 0 0 32px var(--accent-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(14, 165, 160, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(14, 165, 160, 0.2);
  font-family: var(--font-mono);
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === WHY SECTION === */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why__card {
  text-align: center;
  padding: 40px 24px;
}

.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border: 1px solid rgba(14, 165, 160, 0.2);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 24px;
}

.why__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.why__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.cta {
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta__alt {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

/* === FOOTER === */
.footer {
  padding: 64px 0 32px;
}

.footer__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 32px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--text);
}

.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.footer__social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ======================================================
   RESPONSIVE — Breakpoints: 1200px, 900px, 640px
   ====================================================== */

@media (max-width: 1200px) {
  .hero__title {
    font-size: 48px;
  }

  .section__title {
    font-size: 36px;
  }
}

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

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

  .hero__title {
    font-size: 40px;
  }

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

  .section {
    padding: 80px 0;
  }

  .section__title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .partners__grid {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav__menu.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 18px;
  }

  .nav__cta {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  /* Mobile hamburger animation */
  .nav__toggle.is-active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.is-active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.is-active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero mobile */
  .hero {
    padding: 120px 0 64px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__glow {
    width: 400px;
    height: 400px;
    top: -100px;
  }

  /* Cards mobile */
  .products__grid {
    grid-template-columns: 1fr;
  }

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

  .why__card {
    padding: 32px 16px;
  }

  /* Partners mobile */
  .partners__grid {
    flex-direction: column;
    gap: 20px;
  }

  /* Section mobile */
  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  /* CTA mobile */
  .cta__title {
    font-size: 28px;
  }

  /* Footer mobile */
  .footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 16px;
  }
}

/* === Scroll padding for anchor links (accounts for sticky nav) === */
html {
  scroll-padding-top: 88px;
}

/* === Selection color === */
::selection {
  background: rgba(14, 165, 160, 0.3);
  color: var(--text);
}

/* ======================================================
   PHASE 2-4 STYLES — Product, Contact, About, Blog
   ====================================================== */

/* === Narrow container for blog posts === */
.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === PRODUCT HERO === */
.product-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-hero__content {
  position: relative;
  z-index: 1;
}

.product-hero__mockup {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* Mockup Card (Teams Adaptive Card preview) */
.mockup-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px var(--accent-glow);
}

.mockup-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.mockup-card__body {
  padding: 20px;
}

.mockup-card__label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.mockup-card__value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.mockup-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}

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

.mockup-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.mockup-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.mockup-btn--approve {
  background: var(--success);
  color: #fff;
}

.mockup-btn--reject {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* === PROBLEM SECTION === */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.problem__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.problem__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: #ef4444;
  margin-bottom: 20px;
}

.problem__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.problem__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === HOW IT WORKS / STEPS === */
.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step__number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
}

.step__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === FEATURES GRID === */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.feature:hover {
  border-color: rgba(14, 165, 160, 0.3);
  transform: translateY(-2px);
}

.feature__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* === ARCHITECTURE DIAGRAM === */
.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 32px;
  text-align: center;
}

.arch-node__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.arch-node__icon--accent {
  background: var(--accent-glow);
  border-color: rgba(14, 165, 160, 0.3);
  color: var(--accent);
}

.arch-node__label {
  font-size: 16px;
  font-weight: 600;
}

.arch-node__sub {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.arch-arrow__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.arch-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
}

/* === PRICING === */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pricing__card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.pricing__popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing__tier {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.pricing__price {
  margin-bottom: 16px;
}

.pricing__amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
}

.pricing__period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing__features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing__features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing__cta {
  width: 100%;
  text-align: center;
}

/* === FAQ ACCORDION === */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

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

.faq__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

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

.faq__item.is-open .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* === CONTACT PAGE === */
.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto 64px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-alt {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-alt__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-alt__desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-alt__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-alt__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-alt__item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* === ABOUT PAGE === */
.story__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.story__text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.story__stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.story__stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.story__stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Mission */
.about-mission {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.mission__quote {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
}

/* Founder */
.founder__layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 800px;
}

.founder__avatar-placeholder {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.founder__name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.founder__role {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.founder__bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.founder__links {
  margin-top: 8px;
}

/* Values */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value__card {
  text-align: center;
  padding: 40px 24px;
}

.value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border: 1px solid rgba(14, 165, 160, 0.2);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 24px;
}

.value__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.value__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === BLOG LISTING === */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.blog-card {
  display: block;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
}

.blog-card:first-child {
  padding-top: 0;
}

.blog-card:hover .blog-card__title {
  color: var(--accent);
}

.blog-card__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.blog-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
  transition: color var(--transition);
}

.blog-card__excerpt {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 700px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card__sep {
  opacity: 0.4;
}

.blog__rss {
  padding-top: 32px;
  text-align: center;
}

/* === BLOG POST === */
.blog-post__header {
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--border);
}

.blog-post__back {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.blog-post__back:hover {
  color: var(--accent);
}

.blog-post__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.blog-post__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.blog-post__sep {
  opacity: 0.4;
}

.blog-post__body {
  padding: 56px 0;
}

.blog-post__lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 500;
}

.blog-post__body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
}

.blog-post__body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

.blog-post__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 24px 24px;
  color: var(--text-muted);
}

.blog-post__body li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.blog-post__body strong {
  color: var(--text);
  font-weight: 600;
}

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

.blog-post__body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.blog-post__body pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
  overflow-x: auto;
}

.blog-post__body pre code {
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ======================================================
   PHASE 2-4 RESPONSIVE
   ====================================================== */

@media (max-width: 1200px) {
  .blog-post__title {
    font-size: 36px;
  }
}

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

  .product-hero__mockup {
    order: -1;
  }

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

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

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .story__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder__layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .blog-post__title {
    font-size: 32px;
  }

  .arch-diagram {
    flex-direction: column;
    gap: 8px;
  }

  .arch-arrow svg {
    transform: rotate(90deg);
  }

  .mission__quote {
    font-size: 22px;
  }

  .blog-card__title {
    font-size: 24px;
  }
}

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

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

  .blog-post__title {
    font-size: 28px;
  }

  .blog-post__body h2 {
    font-size: 22px;
  }

  .blog-post__lead {
    font-size: 17px;
  }

  .blog-post__body p {
    font-size: 16px;
  }

  .blog-card__title {
    font-size: 22px;
  }

  .mission__quote {
    font-size: 20px;
  }

  .pricing__card {
    padding: 32px 24px;
  }

  .founder__avatar-placeholder {
    width: 96px;
    height: 96px;
    min-width: 96px;
    font-size: 28px;
  }

  .step {
    gap: 16px;
  }

  .step__number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
  }

  .blog-post__header {
    padding: 120px 0 32px;
  }
}
