:root {
  --bg: #fcfaf8;
  --ink: #2c1e16;
  --muted: #8c7a6b;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-strong: #ffffff;
  --line: rgba(44, 30, 22, 0.08);
  --accent: #E64A19;
  --accent-deep: #BF360C;
  --mint: #2E7D32;
  --shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  --font-body: "Sora", "Inter", "Segoe UI", sans-serif;
  --font-display: "Outfit", "Sora", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-base: 340ms;
  --dur-slow: 520ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Page Load Animation */
.topbar, main {
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  transition-delay: 0.8s;
}

body.loading .topbar,
body.loading main {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}


body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(230, 74, 25, 0.08), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(46, 125, 50, 0.06), transparent 25%),
    linear-gradient(180deg, #fcfaf8 0%, #f4ede4 100%);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}

h1, h2, h3, h4, h5, h6, strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.ambient {
  position: fixed;
  width: 32vw;
  height: 32vw;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -8vw;
  left: -10vw;
  background: rgba(230, 74, 25, 0.15);
}

.ambient-right {
  top: 18vh;
  right: -12vw;
  background: rgba(46, 125, 50, 0.15);
}

.garland-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, 100%);
  height: 120vh;
  pointer-events: none;
  z-index: 15;
  overflow: visible;
}

.live-element {
  position: absolute;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  opacity: 0.95;
  filter: contrast(1.2) brightness(1.05);
}

.live-flower { background-image: url('./assets/asset_flower.png'); }
.live-leaf { background-image: url('./assets/asset_leaf.png'); }
.live-light { background-image: url('./assets/asset_light.png'); }

#particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}


.topbar,
main,
.purchase-modal {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(1220px, calc(100vw - 28px));
  margin: 14px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(44, 30, 22, 0.04);
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth), background-color var(--dur-base) ease;
}

.topbar:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(44, 30, 22, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff8ef;
  font-weight: 800;
  transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 14px 28px rgba(191, 54, 12, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.topnav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.topnav a:hover {
  color: var(--accent-deep);
}

.topnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.session-shell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.session-login-link,
.session-sign-out {
  min-height: 40px;
}

.nav-cta,
.primary,
.ghost,
.inline-link-button {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-smooth), opacity var(--dur-fast) ease, box-shadow var(--dur-base) ease, border-color var(--dur-base) ease, background-color var(--dur-base) ease;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.nav-cta,
.primary,
.inline-link-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7ef;
}

.nav-cta::before,
.primary::before,
.inline-link-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26) 48%, transparent 76%);
  transform: translateX(-110%);
  transition: transform var(--dur-slow) var(--ease-smooth);
  pointer-events: none;
  z-index: -1;
}

.nav-cta:hover,
.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 74, 25, 0.25);
}

.nav-cta:hover::before,
.primary:hover::before,
.inline-link-button:hover::before {
  transform: translateX(110%);
}

.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(191, 54, 12, 0.2);
  color: var(--accent-deep);
}

.tiny-button {
  padding: 8px 12px;
  min-height: 0;
  margin-top: 10px;
  font-size: 0.8rem;
}

button:hover,
.inline-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.nav-cta:active,
.primary:active,
.ghost:active,
.inline-link-button:active {
  transform: translateY(0) scale(0.985);
}

.primary:hover, .nav-cta:hover {
  box-shadow: 0 12px 24px rgba(199, 79, 44, 0.25);
}

main {
  width: min(1220px, calc(100vw - 28px));
  margin: 22px auto 56px;
}

.hero,
.section,
.account-card,
.purchase-shell {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth), border-color var(--dur-base) ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 22px;
  padding: 34px;
  align-items: stretch;
  overflow: hidden;
}

.hero-text,
.hero-visual {
  position: relative;
  z-index: 10;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font: 500 0.72rem var(--font-mono);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 10ch;
  margin-bottom: 16px;
}

h2 {
  letter-spacing: -0.03em;
}

h3 {
  letter-spacing: -0.02em;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1rem;
}

.hero-actions,
.hero-pills,
.inline-note,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 22px 0 18px;
}

.hero-pills span,
.inline-note,
.product-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-size: 0.84rem;
  transition: transform var(--dur-fast) var(--ease-smooth), background-color var(--dur-base) ease, border-color var(--dur-base) ease;
}

.hero-pills span:hover,
.inline-note:hover,
.product-badge:hover,
.status-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 54, 12, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: grid;
}

@keyframes float-img {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth);
  position: relative;
  animation: float-img 6.2s var(--ease-smooth) infinite;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 40px 80px rgba(44, 30, 22, 0.15);
  transition: transform var(--dur-slow) var(--ease-smooth), box-shadow var(--dur-slow) var(--ease-smooth), border-color var(--dur-base) ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.015);
  box-shadow: 0 48px 88px rgba(44, 30, 22, 0.2);
  border-color: rgba(255, 255, 255, 0.96);
}

.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 32px rgba(44, 30, 22, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float-card 4s ease-in-out infinite alternate;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) ease;
}

.floating-stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(44, 30, 22, 0.16);
}

@keyframes float-card {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.floating-stat-card.float-left {
  top: 40px;
  left: -40px;
  animation-delay: 0.5s;
}

.floating-stat-card.float-right {
  bottom: 60px;
  right: -40px;
  animation-delay: 1.5s;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-info strong {
  font-size: 1.1rem;
  color: var(--ink);
}

.stat-info span {
  font-size: 0.85rem;
  color: var(--muted);
}


.stat-card,
.feature-card,
.product-card,
.workflow-grid article,
.result-grid article,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) var(--ease-smooth), border-color var(--dur-base) ease, background-color var(--dur-base) ease;
}

.stat-card {
  padding: 22px;
}

.stat-label,
.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.stat-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.6rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-grid article {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.stat-grid strong {
  display: block;
  margin-top: 6px;
}

.section {
  margin-top: 18px;
  padding: 30px;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.04;
  text-wrap: balance;
}

.feature-grid,
.product-grid,
.workflow-grid,
.result-grid,
.form-grid,
.dashboard-summary,
.licenses-grid,
.license-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  border-color: rgba(191, 54, 12, 0.18);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font: 600 0.85rem var(--font-mono);
}

.feature-card p,
.workflow-grid p,
.product-card p,
.account-card p,
.microcopy {
  color: var(--muted);
  line-height: 1.65;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--dur-base) var(--ease-smooth), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(44, 30, 22, 0.08);
  border-color: rgba(191, 54, 12, 0.18);
}

.product-card-featured {
  background: rgba(255, 255, 255, 1);
  border: 2px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(230, 74, 25, 0.15);
}

.product-card-featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 32px 60px rgba(230, 74, 25, 0.2);
}

.product-top h3 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.product-card ul {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-row strong {
  font-size: 1.55rem;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.workflow-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(44, 30, 22, 0.08);
  border-color: rgba(191, 54, 12, 0.18);
}

.workflow-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--mint);
  font: 500 0.82rem var(--font-mono);
}

.account-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 28px;
}

.account-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.account-list span {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-smooth), background-color var(--dur-base) ease, border-color var(--dur-base) ease;
}

.account-list span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(191, 54, 12, 0.14);
}

.purchase-modal[hidden] {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  padding: 20px;
  background: rgba(20, 14, 10, 0.44);
  backdrop-filter: blur(10px);
}

.purchase-shell {
  position: relative;
  width: min(860px, 100%);
  margin: 4vh auto 0;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-smooth), background-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 20px rgba(44, 30, 22, 0.12);
}

.purchase-form,
.dashboard-login {
  margin-top: 18px;
}

.purchase-checkout {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(17, 17, 17, 0.03);
  border: 1px solid var(--line);
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.embedded-checkout-frame {
  min-height: 180px;
  margin: 16px 0 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(199, 79, 44, 0.07), rgba(255, 255, 255, 0.65)),
    var(--panel-strong);
  border: 1px dashed rgba(17, 17, 17, 0.16);
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.88rem;
  color: var(--muted);
}

input,
select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) var(--ease-smooth), background-color var(--dur-base) ease;
}

input:focus,
select:focus {
  outline: 2px solid rgba(199, 79, 44, 0.18);
  border-color: rgba(199, 79, 44, 0.34);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(44, 30, 22, 0.08);
}

.purchase-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(31, 122, 103, 0.1);
  border: 1px solid rgba(31, 122, 103, 0.18);
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.result-grid article {
  padding: 16px;
}

.result-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  word-break: break-word;
}

.next-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

.dashboard-subsection {
  display: grid;
  gap: 16px;
}

.subsection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.subsection-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.subsection-actions .microcopy {
  margin-bottom: 0;
  max-width: 32rem;
}

.subsection-head h3 {
  margin-bottom: 0;
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card:hover,
.license-card:hover,
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(44, 30, 22, 0.1);
  border-color: rgba(191, 54, 12, 0.16);
}

.dashboard-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

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

.license-card {
  display: grid;
  gap: 18px;
}

.download-card {
  display: grid;
  gap: 18px;
}

.pending-card {
  background:
    linear-gradient(180deg, rgba(31, 122, 103, 0.08), rgba(255, 255, 255, 0.4)),
    var(--panel-strong);
}

.license-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.license-head strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.license-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-chip-list {
  display: grid;
  gap: 10px;
}

.admin-chip {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.admin-chip strong {
  font-size: 0.95rem;
}

.admin-chip span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.license-grid div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.license-grid strong,
.license-grid code {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
  word-break: break-word;
}

code {
  font-family: var(--font-mono);
}

@media (max-width: 1060px) {
  .hero,
  .account-card,
  .feature-grid,
  .product-grid,
  .workflow-grid,
  .result-grid,
  .compact-grid,
  .dashboard-summary,
  .license-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-rows: minmax(380px, 1fr) auto;
  }

  .product-card-featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: center;
  }

  .hero,
  .section,
  .purchase-shell {
    padding: 22px;
  }

  .hero-stage-shell {
    min-height: 380px;
  }

  .hero-stage-hud {
    position: static;
    max-width: none;
    margin: 14px;
  }

  .form-grid.two,
  .stat-grid,
  .account-list {
    grid-template-columns: 1fr;
  }

  .license-head,
  .price-row,
  .subsection-head,
  .subsection-actions,
  .session-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }

  .hero-actions .primary,
  .hero-actions .ghost,
  .form-actions .primary,
  .form-actions .ghost,
  .form-actions .inline-link-button,
  .license-card .primary,
  .license-card .ghost {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-stage-hud,
  .topbar,
  .hero,
  .section,
  .purchase-shell,
  .brand,
  .brand-mark,
  .nav-cta,
  .primary,
  .ghost,
  .inline-link-button,
  .feature-card,
  .product-card,
  .workflow-grid article,
  .hero-image,
  .floating-stat-card,
  .dashboard-card,
  input,
  select {
    transition: none;
  }

  .slide,
  .floating-stat-card,
  .ambient,
  .login-ambient-1,
  .login-ambient-2 {
    animation: none !important;
  }
}

/* Mobile Toggle Defaults */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.mobile-only-cta { display: none; }

@media (max-width: 992px) {
  h1 { font-size: 3.5rem; }
  .hero {
    grid-template-columns: 1fr;
  }
  .floating-stat-card {
    position: relative;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    margin: 10px auto;
    animation: none;
    justify-content: center;
    transform: scale(0.9);
  }
  .feature-grid, .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-card {
    grid-template-columns: 1fr;
  }
  .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-cta { display: none !important; }
  .mobile-toggle { display: block; }
  
  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 20px;
    border-radius: 24px;
    gap: 12px;
  }
  
  .brand {
    margin: 0;
  }

  .mobile-toggle {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .topnav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 16px;
    gap: 12px;
  }
  
  .topnav.open {
    display: flex;
  }
  
  .mobile-only-cta {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
  }
  
  .feature-grid, .workflow-grid, .product-grid, .account-list, .form-grid.two, .result-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 20px 16px;
  }
  
  .purchase-shell {
    padding: 20px;
    margin: 2vh auto 0;
  }
  
  h1 { font-size: 2.8rem; }
}

/* Glassmorphic Loader & Skeleton Styles */
.dashboard-loader-container {
  padding: 40px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 34px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

@keyframes spin-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-glow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(230, 74, 25, 0.1);
  border-top-color: var(--accent);
  border-right-color: var(--accent-deep);
  animation: spin-glow 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(230, 74, 25, 0.2);
}

.skeleton-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 32px;
}

@keyframes skeleton-pulse {
  0% { background-color: rgba(44, 30, 22, 0.04); }
  50% { background-color: rgba(44, 30, 22, 0.08); }
  100% { background-color: rgba(44, 30, 22, 0.04); }
}

.skeleton-card {
  height: 120px;
  border-radius: 20px;
  border: 1px solid var(--line);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@media (max-width: 1060px) {
  .skeleton-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Error View */
.error-card-container {
  padding: 48px 32px;
  border-radius: 34px;
  background: rgba(255, 243, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 60, 10, 0.18);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  animation: float-img 5s ease-in-out infinite;
}

.error-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: rgba(220, 60, 10, 0.1);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
  border: 1px solid rgba(220, 60, 10, 0.15);
}

.error-card-container h3 {
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-card-container p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}
