:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --text: #10151f;
  --muted: #5c6672;
  --line: #e2e8f2;
  --blue: #2f6fe0;
  --blue-deep: #1c3f8a;
  --sky: #7fb4ff;
  --amber: #e8a33d;
  --coral: #ef7f6b;
  --shadow: 0 20px 60px rgba(18, 40, 80, 0.14);
  /* Octopuxx Labs company brand-mark colors — shared identity, same values as Orbix */
  --ink: #111820;
  --teal: #0a8f8c;
  --brand-coral: #ff6d55;
  --gold: #d7a84c;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.section-pad {
  padding: 80px 48px;
}

@media (max-width: 640px) {
  .section-pad {
    padding: 56px 24px;
  }
}

/* Header — same Octopuxx Labs company identity used across every app page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 56px;
  padding: 0 48px;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(60, 120, 230, 0.22) 0%, transparent 70%),
    rgba(15, 30, 60, 0.78);
  border-bottom: 1px solid rgba(110, 160, 240, 0.22);
  backdrop-filter: blur(20px);
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }
}

/* Octopuxx Labs brand mark — identical to Orbix's header, shared company identity */
.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 22px;
  font-weight: 400;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark span {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.brand-mark span:nth-child(1) {
  left: -5px;
  bottom: -4px;
  background: var(--teal);
}

.brand-mark span:nth-child(2) {
  right: -3px;
  top: 3px;
  background: var(--brand-coral);
}

.brand-mark span:nth-child(3) {
  right: 8px;
  bottom: -9px;
  background: var(--gold);
}

.brand-text {
  --text-glow-x: 50%;
  --text-glow-y: 50%;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  transform-style: preserve-3d;
  perspective: 520px;
  text-shadow: 0 10px 22px rgba(22, 10, 52, 0.2);
}

.brand-text::after {
  content: "";
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at var(--text-glow-x) var(--text-glow-y),
      rgba(255, 255, 255, 0.32),
      rgba(212, 184, 255, 0.16) 32%,
      transparent 68%
    );
  opacity: 0;
  filter: blur(10px);
  transition: opacity 180ms ease;
}

.brand-text.is-lit::after {
  opacity: 1;
}

.brand-letter {
  display: inline-block;
  color: var(--letter-color, #ffffff);
  transform:
    translateY(var(--letter-y, 0))
    rotateX(var(--letter-rx, 0deg))
    rotateY(var(--letter-ry, 0deg))
    translateZ(var(--letter-z, 0));
  transition:
    color 140ms ease,
    text-shadow 140ms ease,
    transform 140ms ease;
  will-change: transform, color;
}

.brand-letter.is-spark {
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.78),
    0 0 18px rgba(212, 184, 255, 0.62),
    0 10px 22px rgba(22, 10, 52, 0.24);
}

.brand-space {
  width: 0.32em;
}

@media (prefers-reduced-motion: reduce) {
  .brand-text::after {
    display: none;
  }

  .brand-letter {
    color: #ffffff;
    transform: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }
}

.header-contact {
  justify-self: end;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: 0.88;
  transition: opacity 160ms ease;
}

.header-contact:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-top: 120px;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(127, 180, 255, 0.35) 0%, transparent 65%),
    var(--bg-soft);
}

.app-icon {
  width: 176px;
  height: 176px;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .app-icon {
    width: 128px;
    height: 128px;
    border-radius: 30px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(18, 40, 80, 0.08);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.eyebrow-text {
  animation: blink-text 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

@keyframes blink-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot,
  .eyebrow-text {
    animation: none;
  }
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero p.lede {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.link-button {
  font: inherit;
  font-weight: 700;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

/* Notify modal */
#notify-modal {
  position: relative;
  width: min(420px, calc(100vw - 48px));
  padding: 32px;
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #ffffff;
  color: var(--text);
}

#notify-modal::backdrop {
  background: rgba(10, 18, 32, 0.5);
  backdrop-filter: blur(4px);
}

#notify-modal h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

#notify-modal > p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

.notify-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.notify-close:hover {
  background: var(--line);
  color: var(--text);
}

.notify-close svg {
  width: 12px;
  height: 12px;
}

#notify-form {
  display: flex;
  gap: 8px;
}

#notify-form[hidden],
#notify-intro[hidden] {
  display: none;
}

#notify-email {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-soft);
}

#notify-email:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

#notify-form button[type="submit"] {
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

#notify-form button[type="submit"]:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.notify-hint {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--text);
  min-height: 1em;
}

.notify-hint.is-error {
  color: var(--coral);
}

#notify-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

@media (max-width: 460px) {
  #notify-form {
    flex-direction: column;
  }
}

/* Preview teaser */
.teaser {
  text-align: center;
}

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

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.reason-card {
  padding: 26px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 40, 80, 0.06);
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 14px;
  color: #ffffff;
}

.reason-icon svg {
  width: 18px;
  height: 18px;
}

.reason-icon.icon-notes { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.reason-icon.icon-sync { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.reason-icon.icon-lock { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.reason-icon.icon-image { background: linear-gradient(135deg, var(--amber), var(--sky)); }

.reason-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.reason-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Contact */
.contact {
  text-align: center;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #10151f;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 21, 31, 0.28);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }
}

.footer-brand {
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer nav a:hover {
  color: var(--text);
}
