/* === CSS Variables === */
:root {
  --bg:           #F5F4F0;
  --bg-1:         #FFFFFF;
  --bg-2:         #EEEDE9;
  --glass:        rgba(0, 0, 0, 0.03);
  --glass-border: rgba(0, 0, 0, 0.09);
  --glass-hover:  rgba(0, 0, 0, 0.05);

  --gold:         #F5A623;
  --gold-dim:     rgba(245, 166, 35, 0.12);
  --gold-glow:    rgba(245, 166, 35, 0.4);
  --cyan:         #00C8FF;
  --cyan-dim:     rgba(0, 200, 255, 0.08);

  --text:         #0D0D0D;
  --text-muted:   rgba(13, 13, 13, 0.65);
  --text-faint:   rgba(13, 13, 13, 0.45);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Instrument Sans', 'DM Sans', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --nav-h:     64px;
}

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

html { scroll-behavior: smooth; }

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

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.15;
}

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

/* === Typography === */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* === Layout === */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 820px; }
.section          { padding: 8rem 0; }

/* === Glass === */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-frame {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.glass-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  z-index: 1;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm  { padding: 0.45rem 0.95rem; font-size: 0.82rem; }
.btn--lg  { padding: 0.85rem 1.75rem; font-size: 1rem; }

.btn--primary {
  background: var(--gold);
  color: #0A0800;
  font-weight: 600;
}
.btn--primary:hover {
  background: #FFB93A;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn--ghost:hover {
  background: var(--glass-hover);
  border-color: rgba(0,0,0,0.18);
}

.btn__arrow { transition: transform 0.2s; }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: auto;
}
.nav__logo-mark {
  width: 30px; height: 30px;
  background: var(--gold);
  color: #0A0800;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.nav__logo-text { color: var(--text); }
.nav__logo-img { height: 40px; width: auto; display: block; }

.nav__links { display: flex; list-style: none; gap: 2rem; }
.nav__links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

/* === Hero === */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}

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

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, black 20%, transparent 80%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  top: 5%; left: 50%; transform: translateX(-50%);
}
.hero__glow--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,200,255,0.07) 0%, transparent 70%);
  top: 20%; right: 8%;
}
.hero__glow--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  bottom: 20%; left: 5%;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-dim);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--gold); font-style: normal; }

.hero__sub {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero__platforms {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}
.hero__platform-badge {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  color: var(--text-muted);
}
.hero__screenshot {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 860px;
}
.hero__screenshot-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  display: block;
}

.hero__mockup {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 2rem;
}

/* Browser mockup */
.mockup-browser {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(0,0,0,0.04);
}
.mockup-browser__bar {
  height: 40px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}
.mockup-browser__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
}
.mockup-browser__dot:nth-child(1) { background: #FF5F57; }
.mockup-browser__dot:nth-child(2) { background: #FFBD2E; }
.mockup-browser__dot:nth-child(3) { background: #28C840; }

.mockup-browser__url {
  flex: 1;
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-faint);
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
  padding: 0.2rem 0.8rem;
  max-width: 280px;
  margin: 0 auto;
}
.mockup-browser__screen { overflow: hidden; }
.mockup-browser__screenshot { width: 100%; height: auto; display: block; cursor: zoom-in; }

/* App screen mockup */
.mockup-screen {
  display: flex;
  height: 100%;
}
.mockup-screen__sidebar {
  width: 52px;
  background: rgba(0,0,0,0.04);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0;
  gap: 0.4rem;
}
.mockup-screen__logo {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.mockup-screen__nav-item {
  font-size: 1rem;
  opacity: 0.35;
  padding: 0.4rem;
  border-radius: 6px;
  cursor: default;
  transition: opacity 0.2s;
}
.mockup-screen__nav-item--active {
  opacity: 1;
  background: var(--gold-dim);
}

.mockup-screen__content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}
.mockup-screen__header { display: flex; flex-direction: column; gap: 0.5rem; }
.mockup-screen__title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-screen__title-text {
  height: 13px; width: 160px;
  background: rgba(0,0,0,0.08);
  border-radius: 3px;
}
.mockup-screen__title-btn {
  height: 26px; width: 80px;
  background: var(--gold-dim);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 6px;
}
.mockup-screen__cards { display: flex; flex-direction: column; gap: 0.6rem; }
.mockup-screen__card {
  height: 58px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}
.mockup-screen__card--featured {
  height: 80px;
  background: rgba(245,166,35,0.05);
  border-color: rgba(245,166,35,0.18);
}

/* Card shimmer lines */
.mockup-screen__card::after,
.mockup-screen__card--featured::after {
  content: '';
  display: block;
  height: 8px;
  width: 60%;
  background: rgba(0,0,0,0.07);
  border-radius: 2px;
  margin: 1rem 1rem 0;
}

/* === Marquee === */
.marquee {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.02);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee__dot { color: var(--gold); font-size: 0.45rem; vertical-align: middle; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === Pillars === */
.pillars {
  padding: 5rem 0 4rem;
  overflow-x: clip;
}
.pillars__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.pillars__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.pillars__headline em {
  color: var(--gold);
  font-style: italic;
}
.pillars__cols {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.pillars__col {
  flex: 1;
  padding: 2rem;
  text-align: left;
}
.pillars__col .eyebrow {
  margin-bottom: 1.25rem;
}
.pillars__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pillars__list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.pillars__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 0.05em;
}
.pillars__plus {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-faint);
  flex-shrink: 0;
}
.pillars__swipe-hint {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.pillars__sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}
/* Phone carousel */
.phone-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
}

.phone-carousel__stage {
  position: relative;
  height: 520px;
  width: 100%;
  max-width: 860px;
  overflow: visible;
}


.phone-carousel__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 440px;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.45s ease;
  cursor: pointer;
}


.phone-carousel__item .device-phone {
  width: 100%;
  height: 100%;
}

.phone-carousel__btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--bg-1);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  z-index: 10;
  position: relative;
}
.phone-carousel__btn:hover {
  border-color: var(--gold);
  color: var(--text);
}

.phone-carousel__item.is-active.is-expanded {
  transform: translate(-50%, -50%) scale(1.5) !important;
}
@media (max-width: 600px) {
  .pillars__cols { flex-direction: column; }
  .pillars__plus { font-size: 2rem; }
}

/* === Overview === */
.overview .container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
}
.overview__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* === Placeholder screens === */
.placeholder-screen {
  background: var(--bg-1);
  border-radius: 8px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
}
.placeholder-screen__header {
  height: 38px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.4rem;
  flex-shrink: 0;
}
.placeholder-screen__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.placeholder-screen__title {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-left: 0.5rem;
}
.placeholder-screen__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-screen__body--img {
  align-items: flex-start;
  overflow: hidden;
}
.placeholder-screen__body--lg {
  min-height: 200px;
}
.feature-screenshot {
  width: 100%;
  height: auto;
  display: block;
}
.placeholder-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
  text-align: center;
  padding: 1rem;
  line-height: 1.5;
}
.placeholder-screen--sm { aspect-ratio: auto; height: 100%; }

/* === Feature Categories (tabbed) === */
.tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.22rem 0.65rem;
}

.feature-categories { padding-bottom: 8rem; }

.feature-category {
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

/* Subtle alternating section bg */
.feature-category:nth-child(even) {
  background: linear-gradient(180deg, rgba(0,0,0,0.015) 0%, transparent 100%);
}

.feature-category__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-category__header { order: 1; }
.feature-category__display { order: 2; margin-bottom: -1.5rem; }
.feature-tabs { order: 3; }
.role-tip-trigger { order: 4; }

.feature-category__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 3rem;
  align-items: start;
}

.feature-category__number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--text-faint);
  letter-spacing: -0.04em;
  user-select: none;
}

.feature-category__meta { display: flex; flex-direction: column; gap: 0.6rem; }

.feature-category__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.feature-category__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 520px;
}

/* Tab bar — Railway style bottom bar */
.feature-tabs {
  display: flex;
  order: 3;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}

.feature-tab {
  flex: 1;
  position: relative;
  padding: 0.75rem 1rem;
  border: none;
  border-right: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  outline: none;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-tab:last-child {
  border-right: none;
}
.feature-tab:hover {
  background: var(--glass);
  color: var(--text);
}
.feature-tab.active {
  background: var(--gold-dim);
  color: var(--text);
}

/* Per-tab progress fill at bottom of active segment */
.feature-tab__fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  border-radius: 0;
}
.feature-tab.active .feature-tab__fill {
  animation: tabProgress 10s linear forwards;
}

/* Coming soon pill */
.feature-tab--soon {
  position: relative;
}
.feature-tab--soon::after {
  content: 'Soon';
  font-size: 0.6rem;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Role tip trigger */
.role-tip-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.6rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.role-tip-trigger:hover {
  border-color: var(--gold);
  color: var(--text);
}
.role-tip-trigger__dot {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.role-tip-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Role modal */
.role-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 13, 13, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.role-modal.open {
  opacity: 1;
  pointer-events: all;
}
.role-modal__box {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.role-modal.open .role-modal__box {
  transform: translateY(0);
}
.role-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.role-modal__close:hover { color: var(--text); }
.role-modal__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 1px solid var(--glass-border);
}
.role-modal__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.role-modal__text strong { color: var(--text); }

@keyframes tabProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Display area */
.feature-category__display { position: relative; }

.feature-tab-panel {
  display: none;
}
.feature-tab-panel.active {
  display: block;
  animation: panelIn 0.35s ease forwards;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.glass-frame--feature { aspect-ratio: unset; height: auto; }
.glass-frame--feature .placeholder-screen { aspect-ratio: unset; }

/* === Platform === */
.platform {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(245,166,35,0.03) 50%, transparent);
}
.platform .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.platform .section-desc { text-align: center; margin: 0 auto; }

.platform__devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5rem;
  margin: 3rem 0;
}
.platform__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.platform__device-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.device-phone {
  width: 110px; height: 220px;
  background: var(--bg-1);
  border: 2px solid var(--glass-border);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.12), inset 0 1px 0 rgba(0,0,0,0.04);
  position: relative;
}
.device-phone::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}
.device-phone__screen {
  height: 100%;
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
}

.device-laptop { display: flex; flex-direction: column; align-items: center; }
.device-laptop__screen {
  width: 270px; height: 175px;
  background: var(--bg-1);
  border: 2px solid var(--glass-border);
  border-radius: 8px 8px 0 0;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  overflow: hidden;
}
.device-laptop__base {
  width: 310px; height: 10px;
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  border-radius: 0 0 6px 6px;
}

/* URL demo */
.platform__url-demo { margin-top: 0.5rem; }
.url-demo {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  transition: border-color 0.3s;
}
.url-demo:hover { border-color: rgba(245,166,35,0.25); }
.url-demo__label {
  font-size: 0.78rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.url-demo__bar { display: flex; font-size: 0.95rem; font-weight: 500; }
.url-demo__prefix { color: var(--gold); }
.url-demo__suffix { color: var(--text-muted); }

/* === Quote === */
.quote-card {
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.quote-card__mark {
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.25;
  display: block;
  margin-bottom: 1.5rem;
}
.quote-card__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}
.quote-card__sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.75;
  position: relative;
}

/* === CTA === */
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 5rem 3rem;
  text-align: center;
  border: 1px solid var(--glass-border);
}
.cta-card__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 70%),
    var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.cta-card__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cta-desc { color: var(--text-muted); font-size: 1rem; max-width: 400px; }

.cta-form {
  display: flex; gap: 0.75rem;
  margin-top: 0.5rem;
  width: 100%; max-width: 500px;
}
.cta-form__input {
  flex: 1;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form__input::placeholder { color: var(--text-faint); }
.cta-form__input:focus { border-color: rgba(245,166,35,0.4); }
.cta-note { font-size: 0.78rem; color: var(--text-faint); }
.cta-note--success { font-size: 1.1rem; }

/* === Footer === */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__tagline { font-size: 0.83rem; color: var(--text-faint); max-width: 240px; }
.footer__links { display: flex; gap: 4rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.footer__col a { font-size: 0.88rem; color: var(--text-faint); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* === Features page === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-card__icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 12px;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.feature-card__desc { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }
.feature-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* === About page === */
.about-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.about-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
}
.about-hero .hero__glow--1 { opacity: 0.7; }

.about-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}
.about-content p strong { color: var(--text); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.about-stat {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.about-stat__label { font-size: 0.82rem; color: var(--text-muted); }

/* === Page hero (inner pages) === */
.page-hero {
  padding: calc(var(--nav-h) + 6rem) 2rem 4rem;
  text-align: center;
}
.page-hero .section-desc { margin: 1.25rem auto 0; text-align: center; }

/* === Scroll reveal utility === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* === Responsive === */
@media (max-width: 900px) {
  .overview .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .feature-category__header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .feature-category__number { display: none; }
  .platform__devices { gap: 2.5rem; }
  .device-laptop__screen { width: 200px; height: 130px; }
  .device-laptop__base { width: 230px; }
  .footer__inner { flex-direction: column; gap: 2rem; }
  .footer__links { gap: 2rem; }
  .about-stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .cta-form { flex-direction: column; }
  .quote-card { padding: 2.5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platform__devices { flex-direction: column; align-items: center; gap: 3rem; }
  .glass-frame--feature { height: auto; }
  .placeholder-screen__body--img { min-height: 0; }
  .placeholder-screen { aspect-ratio: unset; }
  .feature-screenshot { width: 100%; height: auto; }

  .feature-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-tabs::-webkit-scrollbar { display: none; }
  .feature-tab {
    flex: 0 0 auto;
    min-width: 120px;
  }
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.lightbox.open {
  display: flex;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
