:root {
  --bg: #0b0b0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a22;
  --border: #2a2a35;
  --text: #f0f0f2;
  --text-muted: #a0a0a8;
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-glow: rgba(124, 58, 237, 0.4);
  --success: #22c55e;
  --radius: 10px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
  color: var(--accent);
}

.logo-css {
  --logo-size: 32px;
  width: var(--logo-size);
  height: var(--logo-size);
  min-width: var(--logo-size);
  min-height: var(--logo-size);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.logo-css__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 2px 8px var(--accent-glow);
}
.logo-css__cell {
  background: rgba(15, 15, 18, 0.85);
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-slot {
  display: inline-flex;
  align-items: center;
}

/* `[hidden]` is otherwise overridden by the `display: inline-flex` rule above
   and by `.user-menu`'s own positioning rules. Force it. */
.auth-slot[hidden],
.user-menu[hidden] {
  display: none !important;
}

.gsi-btn-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  min-width: 140px;
}

.gsi-btn-wrap > div {
  border-radius: 999px !important;
}

.user-pill {
  position: relative;
}

.user-pill__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.user-pill__trigger:hover {
  border-color: var(--accent);
}

.user-pill__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  object-fit: cover;
  flex-shrink: 0;
}

.user-pill__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill__chev {
  color: var(--text-muted);
}

.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  z-index: 110;
}

.user-menu__head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.user-menu__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.user-menu__email {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  word-break: break-all;
}

.user-menu__item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.user-menu__item:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.user-menu__item--primary {
  color: var(--accent);
  font-weight: 600;
}

.user-menu__item--danger {
  color: #fca5a5;
}

.user-menu__item--danger:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.build-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.55);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.08));
  color: #e9ddff;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.2) inset, 0 6px 18px rgba(124, 58, 237, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.build-alert:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.95);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3) inset, 0 10px 22px rgba(124, 58, 237, 0.3);
}

.build-alert__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 500;
  padding: 14px 20px;
}

.btn-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.15), transparent);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.8; }
  to   { opacity: 1; }
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: heroTitle 1s ease-out;
}

.hero-title-accent {
  color: var(--accent);
  display: inline-block;
  animation: pulseAccent 2.5s ease-in-out infinite;
}

@keyframes pulseAccent {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--accent-glow); }
  50%     { opacity: 0.9; text-shadow: 0 0 30px var(--accent-glow); }
}

@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
  animation: heroTitle 1s ease-out 0.15s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  animation: heroTitle 1s ease-out 0.3s both;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  animation: heroTitle 1s ease-out 0.35s both;
}

.hero-screenshot {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-screenshot.revealed {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.hero-screenshot .screenshot-img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #0f111a;
}

.screenshot-img-sm {
  max-width: 480px;
  margin: 0 auto;
}

.feature-visual .screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #0f111a;
}

.screenshot-wrap {
  position: relative;
}

.screenshot-wrap.screenshot-glow {
  overflow: visible;
}

.screenshot-mock {
  background: var(--bg-card);
  padding: 20px;
}

.mock-sidebar {
  width: 160px;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-elevated);
  margin-bottom: 16px;
}

.mock-nav-item {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 6px;
  margin-bottom: 4px;
}

.mock-nav-item.active {
  background: var(--accent);
  color: #fff;
}

.mock-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mock-list {
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 16px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-row:last-child { border-bottom: none; }

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.mock-status {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.mock-status.ok {
  background: var(--success);
}

.mock-status.warn {
  background: #eab308;
}

.mock-status.fail {
  background: #ef4444;
}

.mock-badge {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg);
}

.mock-panels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-panel {
  height: 80px;
  border-radius: 8px;
  background: var(--bg-elevated);
}

.mock-code {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.mock-chart {
  height: 100px;
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  background-size: 20% 100%;
  opacity: 0.6;
}

.screenshot-mock-sm {
  max-width: 420px;
  margin: 0 auto;
}

.screenshot-glow {
  position: relative;
  overflow: visible;
}

.screenshot-glow::after {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124, 58, 237, 0.25), transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}

.mock-catalog {
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 12px;
}

.mock-catalog-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-catalog-row:last-child { border-bottom: none; }

.mock-version {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
}

.mock-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

.mock-btn.installed {
  background: var(--success);
}

.screenshot-diagnostics .mock-checks {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: 8px;
  margin-bottom: 16px;
}

.mock-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
}

.mock-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mock-install-all {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: var(--success);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.section {
  padding: 100px 0;
}

.section-feature .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-feature-alt .section-inner {
  direction: rtl;
}

.section-feature-alt .section-inner > * {
  direction: ltr;
}

.section-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-title.center,
.section-text.center {
  text-align: center;
}

.section-intro {
  max-width: 560px;
  margin: 0 auto 48px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 24px 0;
}

.badge-dot {
  color: var(--border);
  font-size: 12px;
}

.section-grid {
  padding: 100px 0 120px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-pricing {
  padding: 100px 0 80px;
  position: relative;
}

.section-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(124, 58, 237, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.2);
  background: linear-gradient(160deg, var(--bg-card), rgba(124, 58, 237, 0.07));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
}

.pricing-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-cadence {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.pricing-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
}

.pricing-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.pricing-features li.pricing-feature-muted {
  color: var(--text-muted);
}

.pricing-features li.pricing-feature-muted::before {
  background: rgba(160, 160, 168, 0.1);
  border-color: var(--text-muted);
}

.pricing-features li.pricing-feature-muted::after {
  display: none;
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
  padding: 12px 18px;
}

.pricing-footnote {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-footnote strong {
  color: var(--text);
}

.section-cta {
  padding: 80px 0 100px;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

.cta-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s ease;
}

.cta-link:hover {
  color: var(--accent-hover);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-brand .logo-css {
  --logo-size: 28px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal__dialog {
  width: min(980px, 100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.demo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.demo-modal__header h3 {
  font-size: 18px;
  font-weight: 600;
}

.demo-modal__close {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.demo-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.demo-modal__video {
  width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #000;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .build-alert { display: none; }
  .section-feature .section-inner,
  .section-feature-alt .section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  .section-feature-alt .section-inner {
    direction: ltr;
  }
  .feature-visual { order: -1; }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .mock-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 22px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .demo-modal { padding: 14px; }
  .demo-modal__dialog { padding: 12px; }
  .gsi-btn-wrap { min-width: 0; }
  .user-pill__name { display: none; }
  .header-actions .btn-primary { padding: 10px 14px; }
}
