/* MUN Cyber Technologies — production stylesheet */

:root {
  --bg: #07111f;
  --bg-elevated: #0b1728;
  --bg-deep: #050d17;
  --bg-about: #091626;
  --text: #edf5ff;
  --muted: #9fb0c4;
  --muted-2: #7f91a7;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #45c7ff;
  --accent-deep: #1aa3d9;
  --accent-2: #7c5cff;
  --card: #0d1b2d;
  --white: #ffffff;
  --success: #62d8a1;
  --max: 1120px;
  --header-h: 72px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --focus-ring: 0 0 0 3px rgba(69, 199, 255, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--white);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #04101c;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  box-shadow: var(--focus-ring);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand:focus-visible {
  border-radius: 8px;
}

.brand-logo {
  height: 52px;
  display: flex;
  align-items: center;
}

.header-logo {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(69, 199, 255, 0.55);
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(69, 199, 255, 0.18), rgba(124, 92, 255, 0.18));
  font-weight: 800;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand strong {
  display: block;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 8px 28px;
  align-items: center;
  color: #c4d0df;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 16px !important;
  border: 1px solid rgba(69, 199, 255, 0.5);
  border-radius: 8px;
  color: var(--text) !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-cta:hover {
  background: rgba(69, 199, 255, 0.1);
  border-color: var(--accent);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.menu-toggle:focus-visible {
  box-shadow: var(--focus-ring);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: max(640px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 78% 32%, rgba(69, 199, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 12% 78%, rgba(124, 92, 255, 0.12), transparent 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px 56px;
  align-items: center;
  padding: 72px 0 88px;
  width: 100%;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 16px 0 20px;
  max-width: 18ch;
  font-weight: 750;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.button:focus-visible {
  box-shadow: var(--focus-ring);
}

.button.primary {
  background: var(--accent);
  color: #04101c;
}

.button.primary:hover {
  background: #6ad4ff;
  color: #04101c;
}

.button.secondary {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: #07111f;
}

.button.light:hover {
  background: #e8f4ff;
  color: #07111f;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.trust-row span {
  position: relative;
}

.trust-row span:not(:last-child)::after {
  content: "";
  display: none;
}

.hero-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}

.logo-glow {
  position: absolute;
  width: min(430px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 255, 0.16), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  width: min(460px, 100%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(0, 120, 255, 0.2));
  border-radius: 14px;
}

.floating-card {
  position: absolute;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(9, 23, 39, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8195ab;
  z-index: 3;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  line-height: 1.45;
}

.floating-card strong {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.floating-card.one {
  top: 36px;
  right: 0;
}

.floating-card.two {
  bottom: 40px;
  left: 0;
}

/* Sections */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.intro {
  text-align: center;
}

.intro h2,
.section-heading h2,
.tech-grid h2,
.about h2,
.contact h2,
.cta h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 14px 0;
  font-weight: 700;
}

.intro p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 0 auto;
  max-width: 42rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading > p {
  max-width: 400px;
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.section-heading.center {
  display: block;
  text-align: center;
}

.section-heading.center h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(69, 199, 255, 0.28);
  transform: translateY(-2px);
}

.service-card.featured {
  background: linear-gradient(160deg, #102943, #0d1b2d);
  border-color: rgba(69, 199, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(69, 199, 255, 0.08), var(--shadow-soft);
}

.icon {
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 18px 0 10px;
  letter-spacing: -0.02em;
}

.service-card p,
.service-card li {
  color: var(--muted);
  font-size: 0.9375rem;
}

.service-card p {
  margin: 0;
}

.service-card ul {
  padding-left: 1.15rem;
  margin: 20px 0 0;
}

.service-card li {
  margin: 8px 0;
}

/* Technology */
.technology {
  background: var(--bg-elevated);
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px 64px;
  align-items: center;
}

.tech-grid p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-top: 8px;
  font-size: 0.95rem;
}

.text-link:hover {
  color: #7ad8ff;
}

.tech-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #081525;
  box-shadow: var(--shadow-soft);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8799ae;
  font-weight: 600;
}

.live {
  color: var(--success);
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin: 36px 0 28px;
}

.flow-node {
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.flow-node span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-node b {
  display: block;
  font-size: 13px;
  margin: 8px 0 4px;
}

.flow-node small {
  display: block;
  color: #70849a;
  font-size: 10px;
  line-height: 1.35;
}

.flow-arrow {
  color: #50657d;
  font-size: 14px;
  text-align: center;
}

.panel-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #8a9cb0;
  font-size: 13px;
  line-height: 1.5;
}

/* Approach */
.steps {
  max-width: 820px;
  margin: 36px auto 0;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

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

.step > span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* About */
.about {
  background: var(--bg-about);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
  align-items: start;
}

.about p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

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

/* CTA */
.cta {
  border-top: 0;
  padding-top: 0;
}

.cta-box {
  padding: 48px 52px;
  border: 1px solid rgba(69, 199, 255, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #0d2942 0%, #111a35 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-soft);
}

.cta h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 18ch;
}

.cta p {
  margin: 0;
  color: #9db0c4;
  max-width: 40rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  align-items: start;
}

.contact-grid > div > p {
  color: var(--muted);
  margin: 0;
}

.contact-email {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--accent);
  margin-top: 18px;
  letter-spacing: -0.02em;
}

.contact-email:hover {
  color: #7ad8ff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form .field {
  display: grid;
  gap: 7px;
}

.contact-form label {
  font-size: 11px;
  color: #94a7bc;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  background: #091727;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5d7086;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(69, 199, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(69, 199, 255, 0.18);
}

.contact-form .form-note {
  color: #7a8fa5;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.form-status {
  font-size: 13px;
  color: var(--success);
  margin: 0;
  min-height: 1.2em;
}

.form-status[hidden] {
  display: none;
}

/* Footer */
.footer {
  padding: 52px 0 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer p {
  color: #6f8196;
  font-size: 13px;
  max-width: 28rem;
  margin: 0;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: start;
  color: #91a2b6;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #506174;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .tech-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 56px 0 64px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .flow-arrow {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .cta-box .button {
    margin-top: 4px;
  }
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 24px 20px;
    background: rgba(7, 17, 31, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero-text {
    font-size: 1rem;
  }

  .trust-row {
    flex-direction: column;
    gap: 8px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-logo-wrap {
    max-width: 320px;
  }

  .logo-glow {
    width: 280px;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .contact-email {
    font-size: 1.15rem;
  }

  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }

  .header-logo {
    height: 42px;
    max-width: 165px;
  }
}

@media (min-width: 801px) {
  .nav-links {
    display: flex !important;
  }
}

/* Ordered approach list reset */
ol.steps {
  list-style: none;
  padding: 0;
}

/* Multi-page: active nav */
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a[aria-current="page"]:not(.nav-cta) {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-cta[aria-current="page"] {
  background: rgba(69, 199, 255, 0.12);
  border-color: var(--accent);
  color: var(--white) !important;
}

/* Service cards as links (home teaser) */
a.service-card {
  color: inherit;
  display: block;
  height: 100%;
}

a.service-card:hover {
  color: inherit;
}

a.service-card:focus-visible {
  box-shadow: var(--focus-ring);
}

/* Inner pages: first main section breathing room */
main > .section:first-child {
  border-top: none;
  padding-top: 72px;
}

.tech-teaser .tech-grid {
  grid-template-columns: 1fr;
}

.tech-teaser .tech-grid > div {
  max-width: 720px;
}

.section-more {
  margin-top: 28px;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: rgba(69, 199, 255, 0.32);
  transform: translateY(-2px);
}

.product-card.featured {
  background: linear-gradient(160deg, #102943, #0d1b2d);
  border-color: rgba(69, 199, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(69, 199, 255, 0.08), var(--shadow-soft);
}

a.product-card {
  color: inherit;
  text-decoration: none;
}

a.product-card:hover {
  color: inherit;
}

a.product-card:focus-visible {
  box-shadow: var(--focus-ring);
}

.product-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.product-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(69, 199, 255, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(69, 199, 255, 0.08);
}

.product-purchased-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.02em;
}

.product-card h3 {
  font-size: 1.45rem;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}

.product-summary {
  color: var(--muted);
  font-size: 0.975rem;
  margin: 0 0 16px;
  flex-grow: 1;
}

.product-points {
  padding-left: 1.15rem;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.product-points li {
  margin: 7px 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 20px;
}

.product-price {
  font-weight: 750;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.product-price-note {
  font-size: 12px;
  color: var(--muted-2);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.products-footnote {
  margin-top: 28px;
  color: #7a8fa5;
  font-size: 13px;
  max-width: 52rem;
  line-height: 1.55;
}

.products-teaser .teaser-grid .text-link {
  margin-top: 8px;
}

.products h2,
.products-teaser h2,
.purchase h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 14px 0;
  font-weight: 700;
}

/* ---------- Purchase ---------- */
.narrow-form {
  max-width: 640px;
}

.purchase-summary {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.purchase-license-line {
  margin: 0 0 20px;
}

.purchase-honest-note {
  background: rgba(69, 199, 255, 0.06);
  border: 1px solid rgba(69, 199, 255, 0.22);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #9fb0c4;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.purchase-honest-note a {
  color: var(--accent);
  font-weight: 600;
}

.purchase-honest-note a:hover {
  color: #7ad8ff;
}

.purchase-fallback p {
  color: var(--muted);
}

.purchase-fallback .button {
  margin-top: 12px;
}

.download-area {
  margin-top: 28px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(98, 216, 161, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(98, 216, 161, 0.06);
}

.download-heading {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.download-copy {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

/* ---------- Auth / Sign in ---------- */
.auth-section {
  padding-top: 56px;
  padding-bottom: 72px;
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.auth-shell {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.auth-card-mark {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}

.auth-card-mark .auth-logo {
  width: 88px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.auth-title {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 700;
  text-align: center;
}

.auth-section h2,
.auth-section .auth-title {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 700;
}

.auth-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 22px;
}

.auth-card .contact-form .button {
  margin-top: 4px;
}

.button.block {
  width: 100%;
  display: flex;
}

.button.create-account {
  border-color: rgba(98, 216, 161, 0.45);
  color: #b8f0d4;
  background: rgba(98, 216, 161, 0.08);
  font-weight: 700;
}

.button.create-account:hover {
  border-color: rgba(98, 216, 161, 0.7);
  background: rgba(98, 216, 161, 0.16);
  color: #d8ffe9;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  flex: 0 0 auto;
}

.auth-switch {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-switch-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-switch-link:hover {
  color: #7ad8ff;
}

.auth-switch-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.auth-card [hidden],
.auth-section [hidden] {
  display: none !important;
}

.optional-tag {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #6f8196;
}

.form-status-error {
  color: #ff8f8f !important;
}

@media (max-width: 480px) {
  .auth-section {
    padding-top: 36px;
    padding-bottom: 48px;
    min-height: 0;
    align-items: flex-start;
  }

  .auth-card {
    padding: 26px 18px 22px;
  }
}

/* ---------- Nav auth state ---------- */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: 4px;
}

.nav-auth-label {
  font-size: 12px;
  color: var(--muted);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-signout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-admin-link {
  color: var(--accent) !important;
  font-weight: 700;
  border: 1px solid rgba(69, 199, 255, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
}

.nav-admin-link:hover {
  background: rgba(69, 199, 255, 0.12);
  color: var(--white) !important;
}



.nav-signout:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.nav-signout:focus-visible {
  box-shadow: var(--focus-ring);
}

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

@media (max-width: 800px) {
  .nav-auth {
    margin-left: 0;
    padding: 8px 10px 4px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
  }

  .nav-auth-label {
    max-width: none;
  }
}
