/* ============================================================
   CODENTA — Style Sheet
   Apple / Linear / Raycast inspired dark theme
   ============================================================ */

/* ---------- Custom properties ---------- */
:root {
  --color-bg: #0b0b0e;
  --color-surface: #141316;
  --color-card: #1a1a20;
  --color-border: #222228;
  --color-border-hover: #2e2e34;

  --color-text-primary: #f4f4f5;
  --color-text-secondary: #d4d4d8;
  --color-text-tertiary: #a1a1aa;
  --color-text-muted: #71717a;

  --color-accent: #7c6ff0;
  --color-accent-hover: #9b8cf5;
  --color-accent-subtle: rgba(124, 111, 240, 0.12);
  --color-accent-glow: rgba(124, 111, 240, 0.3);

  --color-gradient-1: #7c6ff0;
  --color-gradient-2: #b084f0;
  --color-gradient-3: #e08fc4;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    "Roboto", Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

  --transition-base: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --max-width: 1120px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: #080312;
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Site-wide geometric grid background ---------- */
.bg-grid {
  position: fixed;
  inset: -50px;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(124, 111, 240, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  animation: gridDrift 25s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 50px 50px; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/codentablur.jpg") center / cover no-repeat;
  opacity: 0.9;
}

/* Dark overlay scrim for text readability */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 20%,
    rgba(8, 3, 18, 0.55) 70%,
    rgba(8, 3, 18, 0.85) 100%
  );
}

/* ---------- Liquid glass fractal background ---------- */
.bg-liquid {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-liquid__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  will-change: transform;
}

.bg-liquid__blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 111, 240, 0.3), rgba(124, 111, 240, 0.05));
  top: -10%;
  left: -5%;
  animation: blobFloat1 20s ease-in-out infinite;
}

.bg-liquid__blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(176, 132, 240, 0.25), rgba(176, 132, 240, 0.03));
  top: 40%;
  right: -8%;
  animation: blobFloat2 25s ease-in-out infinite;
}

.bg-liquid__blob--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(224, 143, 196, 0.2), rgba(224, 143, 196, 0.02));
  bottom: -5%;
  left: 20%;
  animation: blobFloat3 22s ease-in-out infinite;
}

.bg-liquid__blob--4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 111, 240, 0.2), transparent);
  top: 60%;
  left: 10%;
  animation: blobFloat4 18s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(80px, -60px) scale(1.1) rotate(5deg); }
  50% { transform: translate(40px, 80px) scale(0.95) rotate(-3deg); }
  75% { transform: translate(-60px, 20px) scale(1.05) rotate(8deg); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(-70px, 50px) scale(1.15) rotate(-6deg); }
  50% { transform: translate(50px, -40px) scale(0.9) rotate(4deg); }
  75% { transform: translate(30px, 70px) scale(1.1) rotate(-2deg); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(60px, -50px) scale(1.05) rotate(7deg); }
  66% { transform: translate(-40px, 60px) scale(0.95) rotate(-5deg); }
}

@keyframes blobFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -30px) scale(1.2); }
}

/* Scrim to keep content readable over blobs */
.bg-liquid-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(11, 11, 14, 0.3) 70%,
    rgba(11, 11, 14, 0.85) 100%
  );
  pointer-events: none;
}

/* Ensure content sits above background layers */
body > header,
body > section,
body > footer {
  position: relative;
  z-index: 3;
}


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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}


/* ---------- Liquid hover effect ---------- */
.liquid-hover {
  position: relative;
  overflow: hidden;
}

.liquid-hover::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(99, 102, 241, 0.08) 0%,
    rgba(168, 85, 247, 0.04) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.liquid-hover:hover::after {
  opacity: 1;
}

/* Ensure content sits above the glow layer */
.liquid-hover > * {
  position: relative;
  z-index: 2;
}
/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(14, 14, 18, 0.78);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-radius 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  animation: navFadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav--scrolled {
  width: auto;
  border-radius: 100px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 4px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  transition: opacity var(--transition-base);
  padding: 0 8px 0 16px;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-icon {
  font-size: 19px;
  color: var(--color-accent);
}

.nav__logo-text {
  color: var(--color-text-primary);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-right: 8px;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.25s ease;
  position: relative;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__link::after {
  display: none;
}

.nav__link:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav__link--active {
  color: var(--color-text-primary);
  background: rgba(124, 111, 240, 0.18);
}

.nav__link--active:hover {
  background: rgba(124, 111, 240, 0.25);
}

/* Mobile toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 110;
}

@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Toggle animation when open */
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-overlay--open {
  opacity: 1;
  pointer-events: all;
}

/* Mobile menu panel */
.nav__links--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav__links--mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__links--mobile .nav__link {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 12px);
  overflow: hidden;
}

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

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0;
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero__title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-gradient-1),
    var(--color-gradient-2),
    var(--color-gradient-3)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 20px;
  }
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  font-size: 14px;
  padding: 10px 20px;
}

.btn__arrow {
  font-size: 16px;
  transition: transform var(--transition-base);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 100px 0;
}

#products,
#featured-products {
  padding-top: calc(var(--nav-height) + 24px + 64px);
}

@media (min-width: 768px) {
  .section {
    padding: 140px 0;
  }

  #products {
    padding-top: calc(var(--nav-height) + 24px + 64px);
    padding-bottom: 140px;
  }
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section__desc {
  font-size: 17px;
  color: var(--color-text-secondary);
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: rgba(22, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.3s ease,
    background 0.3s ease;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(26, 26, 34, 0.7);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.product-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.product-card__tagline {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.product-card__platform {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ============================================================
   ABOUT SECTION (homepage)
   ============================================================ */
.about-section {
  padding: 0 0 120px;
}

.about-section__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: rgba(22, 22, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-section__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.about-section__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .about-section__card {
    padding: 36px 24px;
  }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__card {
  text-align: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  max-width: 520px;
  margin: 0 auto;
  transition: all var(--transition-slow);
}

.contact__card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.contact__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-text-primary);
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================================
   FADE-IN SCROLL ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of .fade-in if needed */
.fade-in .btn {
  transition-delay: 0.1s;
}

/* ============================================================
   RESPONSIVE – SMALL SCREENS
   ============================================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .contact__card {
    padding: 40px 20px;
  }
}

/* ============================================================
   ORBITA TRIAL PAGE
   ============================================================ */

/* ---------- Trial hero ---------- */
.trial-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 12px);
  overflow: hidden;
}

.trial-hero__bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.06) 0%,
    rgba(168, 85, 247, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.trial-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 0;
}

.trial-hero__icon-wrapper {
  margin-bottom: 24px;
}

.trial-hero__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--color-accent);
}

.trial-hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.trial-hero__title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  white-space: nowrap;
}

.trial-hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.trial-hero__actions {
  margin-bottom: 20px;
}

.trial-hero__meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Secret door — tiny dot only visible on hover */
.trial-hero .secret-door {
  display: inline-block;
  font-size: 8px;
  color: var(--color-text-muted);
  opacity: 0.15;
  margin-top: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.trial-hero .secret-door:hover {
  opacity: 0.5;
  color: var(--color-accent);
}

/* Secret knock hint — fades in on logo clicks */
.knock-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, height 0.4s ease;
  pointer-events: none;
}

.knock-hint--visible {
  opacity: 1;
  height: 24px;
}

.knock-hint__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

.knock-hint__dot--lit {
  opacity: 1;
}

.btn--lg {
  font-size: 17px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
}
/* ============================================================
   FEEDBACK PAGE
   ============================================================ */
.feedback-plain {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feedback-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.feedback-email:hover {
  color: var(--color-accent-hover);
}

.feedback-email .btn__arrow {
  font-size: 20px;
}

.feedback-note {
  font-size: 14px;
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* ============================================================
   ABOUT / DONATE SECTION
   ============================================================ */
.about__plain {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 520px;
}

.about__donate-btn {
  align-self: center;
}

/* ============================================================
   ABOUT PAGE — centered single-column profile
   ============================================================ */
.about-page {
  padding-top: calc(var(--nav-height) + 48px);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  gap: 24px;
}

.about-layout__heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------- Circular profile photo ---------- */
.profile-photo {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 4px 24px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  margin: 16px auto;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Name / subtitle ---------- */
.about-layout__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.about-layout__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.about-layout__subtitle {
  font-size: 15px;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Biography ---------- */
.about-layout__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 520px;
}

/* ---------- Action buttons ---------- */
.about-layout__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .about-page {
    padding-top: calc(var(--nav-height) + 24px);
    align-items: flex-start;
  }

  .profile-photo {
    width: 160px;
    margin: 12px auto;
  }

  .about-layout__heading {
    font-size: 32px;
  }
}

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy {
  padding: 80px 0 40px;
}

.philosophy__content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* ============================================================
   PRODUCT KEY PAGE
   ============================================================ */
.keys-page {
  padding-top: calc(var(--nav-height) + 12px);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.key-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.key-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.key-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.key-card:hover::before {
  opacity: 1;
}

.key-card__icon {
  font-size: 40px;
  margin-bottom: 4px;
}

.key-card__key-display {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", "Menlo", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.15);
  user-select: all;
  word-break: break-all;
}

.key-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.key-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-tertiary);
  max-width: 360px;
}

.key-card__actions {
  margin-top: 8px;
}

.key-card__hint {
  min-height: 20px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .key-card {
    padding: 32px 24px;
  }

  .key-card__key-display {
    font-size: 16px;
    padding: 12px 16px;
  }
}

/* ============================================================
   FAQ SECTION (Orbita page)
   ============================================================ */
.orbita-faq {
  padding: 100px 0 140px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
}

.faq-item[open] {
  border-color: var(--color-border-hover);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  list-style: none;
  user-select: none;
  transition: color var(--transition-base);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  color: var(--color-accent);
}

.faq-item__q {
  line-height: 1.4;
}

.faq-item__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-item__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.faq-item__answer p {
  margin-bottom: 12px;
}

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

@media (max-width: 480px) {
  .faq-item__question {
    padding: 14px 18px;
    font-size: 14px;
  }

  .faq-item__answer {
    padding: 0 18px 16px;
    font-size: 14px;
  }
}

/* ============================================================
   CURSOR GLOW — Subtle radial gradient tracking mouse
   ============================================================ */
.cursor-glow {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 111, 240, 0.06) 0%,
    rgba(124, 111, 240, 0.03) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}

/* ============================================================
   PAGE TRANSITION — Full-screen fade overlay
   ============================================================ */
.page-transition {
  position: fixed !important;
  inset: 0;
  z-index: 9999;
  background: #080312;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition--active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   BUTTON RIPPLE — Material-style expanding circle
   ============================================================ */
.btn {
  position: relative;
  overflow: hidden;
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  animation: rippleExpand 0.6s ease-out forwards;
}

@keyframes rippleExpand {
  from {
    transform: scale(0);
    opacity: 0.6;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ============================================================
   STAGGERED REVEAL — Delay utilities
   ============================================================ */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }

/* ============================================================
   SCREENSHOT SHOWCASE — Apple-style window mockups
   ============================================================ */
.screenshot-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.screenshot-card {
  position: relative;
  text-align: center;
  perspective: 800px;
}

.screenshot-card__glow {
  position: absolute;
  inset: -40px;
  border-radius: 40%;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 111, 240, 0.08) 0%,
    rgba(124, 111, 240, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.screenshot-card:hover .screenshot-card__glow {
  opacity: 1;
}

.screenshot-window {
  position: relative;
  z-index: 1;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screenshot-card:hover .screenshot-window {
  border-color: var(--color-border-hover);
  transform: translateY(-6px) rotateX(2deg);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(99, 102, 241, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.screenshot-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 15px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-bottom: 1px solid var(--color-border);
}

.screenshot-window__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.screenshot-window__dot--red    { background: #ff5f57; }
.screenshot-window__dot--yellow { background: #febc2e; }
.screenshot-window__dot--green  { background: #28c840; }

.screenshot-window__body {
  line-height: 0;
  position: relative;
}

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

.screenshot-card__label {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .screenshot-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 500px;
  }

  .screenshot-card:hover .screenshot-window {
    transform: translateY(-4px);
  }
}

/* ============================================================
   PARALLAX — Base helper
   ============================================================ */
[data-parallax] {
  will-change: transform;
}
