@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700;800&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  /* Backgrounds */
  --bg: #02040d;
  --surface: #071033;
  --surface-alt: #0b153d;
  --surface-hover: #101b4b;

  /* Borders */
  --border: rgba(255, 255, 255, 0.16);
  --border-hover: rgba(255, 255, 255, 0.28);

  /* Text */
  --text: #f8f3ea;
  --text-secondary: #c3c8d7;
  --text-tertiary: #8f98b4;

  /* Accent */
  --accent: #f08a54;
  --accent-hover: #ff9c68;
  --accent-strong: #ffd8be;
  --accent-soft: #32204d;

  /* RGB variants for rgba() */
  --bg-rgb: 2, 4, 13;
  --surface-rgb: 7, 16, 51;
  --accent-rgb: 240, 138, 84;
  --text-rgb: 248, 243, 234;

  /* Semantic */
  --success: #9ce0c3;
  --error: #ff8c86;
  --warning: #ffd08a;

  /* Effects */
  --beam: rgba(153, 196, 255, 0.16);
  --glow: rgba(var(--accent-rgb), 0.24);
  --shadow-xl: 0 50px 140px rgba(0, 0, 0, 0.5);

  --container: 1240px;
  --container-narrow: 820px;
  --radius-xs: 16px;
  --radius-sm: 22px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 40px 120px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #02040d;
  background-image:
    radial-gradient(circle at 0% 25%, rgba(220, 95, 35, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 100% 25%, rgba(150, 195, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(15, 30, 70, 0.6) 0%, transparent 65%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Noto Sans SC", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.82;
  letter-spacing: 0.02em;
  min-width: 320px;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.82);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 2 * clamp(20px, 4vw, 40px)));
  margin: 0 auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - 2 * clamp(20px, 4vw, 40px)));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 140px) 0;
}

.section--tight {
  padding: 72px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.015);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(var(--text-rgb), 0.78);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(var(--text-rgb), 0.42);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.section-heading p,
.lede {
  margin: 0;
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1.03rem;
}

.page-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(var(--bg-rgb), 0.18);
  backdrop-filter: saturate(140%) blur(10px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-nav.is-scrolled {
  border-color: rgba(var(--text-rgb), 0.06);
  background: rgba(var(--bg-rgb), 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
  object-fit: contain;
}

.site-nav .brand-logo {
  width: 176px;
}

.site-footer .brand-logo {
  width: 208px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.24s ease, transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(var(--text-rgb), 0.03);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-rgb), 0.34);
  transform: translateY(-1px);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: 600 0.95rem/1 "Inter", "Noto Sans SC", sans-serif;
  text-decoration: none;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
  box-shadow: 0 12px 30px rgba(var(--bg-rgb), 0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.44;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn--primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 18px 40px rgba(var(--accent-rgb), 0.24);
}

.btn--ghost {
  background: rgba(var(--text-rgb), 0.02);
  color: var(--text);
}

.btn .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.hero-shell {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  background: transparent;
}
.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100vh - 82px);
  padding: 42px 0 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6% auto auto -8%;
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), 0.56), rgba(255, 246, 232, 0.18) 35%, transparent 66%);
  filter: blur(24px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 4% -4% auto auto;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 245, 229, 0.56), rgba(128, 175, 255, 0.2) 28%, transparent 68%);
  filter: blur(34px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  border: 1px solid rgba(var(--text-rgb), 0.16);
  border-radius: 10px;
  padding: clamp(26px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(3, 10, 34, 0.8), rgba(3, 9, 29, 0.62));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.3);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding-top: clamp(66px, 10vw, 132px);
  text-align: center;
}

.hero-kicker {
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.36rem 0.8rem;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(4rem, 9.2vw, 6.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
}

.hero-title-script {
  font-style: italic;
}

.hero-title-main {
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(3rem, 7vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero p {
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.hero-stage {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 46px 18px 26px;
  --hero-x: 50%;
  --hero-y: 50%;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 2% 4% auto;
  height: 62%;
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(255, 249, 241, 0.08), transparent 26%);
  pointer-events: none;
}

.hero-product-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  display: block;
}

.marquee-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(var(--text-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(8px);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: max-content;
  padding: 1rem 0;
  animation: marquee-run 26s linear infinite;
}

.marquee-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(var(--text-rgb), 0.58);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "•";
  margin-left: 1.4rem;
  color: rgba(var(--accent-rgb), 0.74);
}

.stats-grid,
.principles-grid,
.contact-grid,
.case-grid {
  display: grid;
  gap: 20px;
}

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

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

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(7, 16, 51, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  padding: clamp(22px, 3vw, 32px);
  --spot-x: 50%;
  --spot-y: 50%;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.32s ease,
    background-color 0.32s ease,
    box-shadow 0.4s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.34), transparent);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(7, 16, 51, 0.55);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 246, 231, 0.1), transparent 34%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spotlight-card:hover::after,
.spotlight-card:focus-within::after {
  opacity: 1;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.95rem;
  border: 1px solid rgba(var(--text-rgb), 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 233, 214, 0.92);
}

.card-icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.case-card {
  min-height: 280px;
}

.case-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.82);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.1);
}

.case-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.case-head .label {
  margin-bottom: 0.35rem;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.case-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.36rem 0.8rem;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 999px;
  background: rgba(var(--text-rgb), 0.03);
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.card h3,
.card h4 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.card p,
.card li {
  color: var(--text-secondary);
}

.card p:last-child {
  margin-bottom: 0;
}

.evidence-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.evidence-screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 16px;
  background: rgba(10, 20, 60, 0.5);
}

.evidence-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.evidence-screenshot figcaption {
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid rgba(var(--text-rgb), 0.06);
}

.stat-card {
  min-height: 210px;
}

.stat-number {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.label {
  margin-bottom: 0.85rem;
  color: var(--text-tertiary);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.split-layout {
  display: grid;
  gap: 24px;
}

.split-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.pill-list,
.tag-list,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill,
.tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.38rem 0.84rem;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 999px;
  background: rgba(var(--text-rgb), 0.03);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.stack-labels {
  display: grid;
  gap: 0.9rem;
}

.stack-labels .pill {
  justify-content: flex-start;
}

.quote {
  padding: 1.1rem 1.2rem;
  border-left: 2px solid rgba(var(--text-rgb), 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.page-hero {
  position: relative;
  padding: 120px 0 56px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -8% auto auto -6%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.34), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.page-hero h1 {
  margin: 0 0 1rem;
  max-width: 820px;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1.03rem;
}

.feature-list,
.check-list,
.faq-list {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.2rem;
}

.feature-list li::marker,
.check-list li::marker,
.faq-list li::marker {
  color: var(--accent);
}

.site-footer {
  padding: 42px 0 56px;
  border-top: 1px solid rgba(var(--text-rgb), 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.footer-copy p {
  max-width: 520px;
  color: var(--text-secondary);
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--text-rgb), 0.06);
  color: var(--text-tertiary);
  font-size: 0.82rem;
  line-height: 1.7;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(var(--text-rgb), 0.03);
  color: var(--text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.inline-note {
  color: var(--text-tertiary);
  font-size: 0.88rem;
}

.reveal,
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view,
.stagger-reveal.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-title > span,
.hero p,
.hero-actions,
.hero-metrics {
  animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title > span:nth-child(2) {
  animation-delay: 0.08s;
}

.hero p {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.24s;
}

.hero-metrics {
  animation-delay: 0.32s;
}

[data-parallax] {
  will-change: transform;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

@media (max-width: 1199px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .principles-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 20px;
  }

  .hero-stage {
    padding-inline: 0;
  }

  .hero-float-note--left {
    left: 2%;
  }

  .hero-float-note--right {
    right: 2%;
  }

}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 84px;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
    width: 100%;
  }

  .nav-tools {
    margin-left: auto;
  }

  .site-nav.is-open .nav-links,
  .site-nav.is-open .nav-cta,
  .site-nav.is-open .nav-tools {
    display: flex;
  }

  .site-nav.is-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }

  .site-nav.is-open .nav-cta {
    padding-bottom: 0.5rem;
  }

  .hero::before {
    inset: -8% -54% auto 0;
    height: 48vh;
    opacity: 0.76;
  }

  .hero::after {
    width: 70vw;
    height: 70vw;
    inset: auto -16% -16% auto;
  }

  .hero-kicker {
    gap: 0.45rem;
  }

  .hero-float-note {
    position: static;
    width: 100%;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
  }

  .hero-orbit {
    position: static;
    margin-bottom: 0.8rem;
  }

  .hero-grid,
  .stats-grid,
  .case-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .evidence-screenshots,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-lower-panels {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 3.9rem);
  }

  .hero-title-main {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand {
    max-width: calc(100% - 64px);
  }

  .site-nav .brand-logo {
    width: 148px;
  }

  .site-footer .brand-logo {
    width: 180px;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-shell > .container {
    min-height: auto !important;
    padding-top: 104px !important;
    padding-bottom: 24px !important;
  }

  .hero-shell .hero-constellation-container {
    max-width: 100% !important;
    padding-top: 0 !important;
  }

  .hero-shell .hero-title-script {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
  }

  .hero-shell .hero-title-main {
    font-size: clamp(2.4rem, 12vw, 3.4rem) !important;
    line-height: 1.04 !important;
  }

  .hero-shell .hero-actions {
    margin-top: 1.6rem !important;
  }

  .hero-shell .hero-actions .btn {
    min-width: 0 !important;
  }

  .hero-shell > .container > .reveal:last-child {
    padding-top: 28px !important;
    padding-bottom: 8px !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
  }

  .hero-shell > .container > .reveal:last-child > div:last-child {
    width: 100%;
    gap: 1rem !important;
  }

  .hero-shell > .container > .reveal:last-child > div:last-child > div {
    max-width: none !important;
  }

  .page-hero {
    padding: 104px 0 40px;
  }

  .solution-stack {
    gap: 22px;
  }

  .solution-card-large {
    gap: 24px;
    padding: 24px;
  }

  .solution-card-content h3 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .solution-card-content p,
  .page-hero p,
  .section-heading p {
    font-size: 0.96rem;
  }

  .case-card {
    min-height: 0;
  }

  .case-points {
    margin-bottom: 1.2rem;
  }

  .case-metrics span {
    gap: 0.75rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }

  .card,
  .hero-grid {
    border-radius: 22px;
  }

  .marquee-track {
    gap: 1rem;
    animation-duration: 20s;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .stagger-reveal > *,
  [data-parallax] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Enhanced Constellation Animations */
.hero-constellation-enhanced {
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(240, 138, 84, 0.2));
  margin-top: -40px;
  animation: float-constellation-enhanced 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center center;
}

@keyframes float-constellation-enhanced {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-15px) rotate(1deg) scale(1.03); }
  50% { transform: translateY(-5px) rotate(-0.5deg) scale(0.98); }
  75% { transform: translateY(10px) rotate(0.5deg) scale(1.01); }
}

.star-node-intense {
  animation: pulse-star-intense 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  animation-delay: var(--delay, 0s);
  transform-origin: center center;
  transform-box: fill-box;
}

@keyframes pulse-star-intense {
  0% { 
    opacity: 0.3; 
    transform: scale(0.8) rotate(45deg);
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); 
  }
  50% {
    opacity: 1;
    transform: scale(1.5) rotate(45deg);
    filter: drop-shadow(0 0 15px rgba(248, 243, 234, 1)) drop-shadow(0 0 30px rgba(240, 138, 84, 0.8));
  }
  100% { 
    opacity: 0.7; 
    transform: scale(1) rotate(45deg);
    filter: drop-shadow(0 0 8px rgba(240, 138, 84, 0.6)); 
  }
}

.star-line-glow {
  stroke-dasharray: 100 1100;
  stroke-dashoffset: 1200;
  animation: light-flow-main 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.star-line-glow-cross {
  stroke-dasharray: 50 1150;
  stroke-dashoffset: 1200;
  animation: light-flow-cross 8s cubic-bezier(0.4, 0, 0.2, 1) infinite 1s;
}

@keyframes light-flow-main {
  0% { stroke-dashoffset: 1200; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes light-flow-cross {
  0% { stroke-dashoffset: 1200; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.core-pulse {
  animation: core-breathe 4s ease-in-out infinite alternate;
  transform-origin: center center;
  transform-box: fill-box;
}

.core-pulse-inner {
  animation: core-breathe-inner 3s ease-in-out infinite alternate-reverse;
  transform-origin: center center;
  transform-box: fill-box;
}

@keyframes core-breathe {
  0% { transform: scale(0.8); opacity: 0.2; }
  100% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes core-breathe-inner {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

.solution-stack {
  display: grid;
  gap: 40px;
}

.solution-card-large {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(32px, 5vw, 48px);
}

.solution-card-content {
  max-width: 800px;
}

.solution-card-content h3 {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.solution-card-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.evidence-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.evidence-screenshot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.evidence-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.evidence-screenshot figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 1024px) {
  .solution-card-large {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 4, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.is-active .lightbox-img {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05) rotate(90deg);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

/* Make screenshots clickable */
.evidence-screenshot {
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.evidence-screenshot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.evidence-screenshot:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.evidence-screenshot:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 4px;
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.5);
}

.evidence-screenshot:hover::after {
  opacity: 1;
}

/* Enhanced Case Metrics */
.case-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-metrics span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 6px;
}

.case-metrics strong {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
