/* Morpheus Dynamics — landing styles.
   Ported from the design canvas: inline styles became classes so :hover and
   media queries work, and so the markup stays readable. */

:root {
  --bg: #0A0B0D;
  --panel: #131519;
  --panel2: #191C21;
  --accent: #34E19A;
  --accent-dim: #1D9E6C;
  --ink: #F2F4F0;
  --slate: #9BA3A9;
  --line: rgba(255, 255, 255, 0.08);
  --pad-x: 64px;
  --display: 'Wix Madefor Display', 'Segoe UI', system-ui, sans-serif;
  --text: 'Wix Madefor Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #9CF7D2; }
::selection { background: var(--accent); color: #0A0B0D; }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: #0A0B0D;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #0A0B0D; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 6px var(--accent); } 50% { box-shadow: 0 0 16px var(--accent); } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 22px rgba(52, 225, 154, 0.35); } 50% { box-shadow: 0 0 40px rgba(52, 225, 154, 0.6); } }
@keyframes borderSweep { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ---------- shared bits ---------- */

.wrap { max-width: 1240px; margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: linear-gradient(100deg, var(--accent), #1FEFAE);
  color: #0A0B0D;
  animation: glowPulse 3s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-2px); color: #0A0B0D; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 15px; }

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark i {
  width: 11px;
  height: 11px;
  border: 2px solid #0A0B0D;
  border-radius: 2px;
  transform: rotate(45deg);
  display: block;
}
.logo-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
}

section { border-bottom: 1px solid var(--line); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--pad-x);
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nav-links a { color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 11px 22px;
  background: linear-gradient(100deg, var(--accent), #1FEFAE);
  color: #0A0B0D !important;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(52, 225, 154, 0.35);
}
.lang-switch {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate) !important;
  letter-spacing: 0.5px;
}
.lang-switch:hover { border-color: var(--accent); color: var(--ink) !important; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 130px var(--pad-x) 90px; overflow: hidden; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.glow-a {
  top: -260px; right: -180px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(52, 225, 154, 0.22), transparent 70%);
}
.glow-b {
  bottom: -320px; left: 10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90, 255, 110, 0.12), transparent 70%);
}
.glow-c {
  bottom: -260px; left: -180px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(52, 225, 154, 0.2), transparent 70%);
}
.glow-d {
  top: -220px; right: 5%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(90, 255, 110, 0.1), transparent 70%);
}
.hero-inner { position: relative; max-width: 920px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(52, 225, 154, 0.35);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(52, 225, 154, 0.28);
}
.badge-quiet {
  border-color: var(--line);
  box-shadow: none;
  margin-bottom: 24px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--display);
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 0 0 28px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(100deg, #F2F4F0 30%, var(--accent) 75%, #B9FBDD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.7s ease both;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 620px;
  margin: 0 0 40px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.12s;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.22s;
}
.hero-note {
  position: relative;
  margin: 80px 0 0;
  font-size: 13px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- about ---------- */

.about { padding: 100px var(--pad-x); max-width: 1240px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.about h2 {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--slate);
  padding-top: 8px;
}
.about-body p { margin: 0; }

/* ---------- services ---------- */

.services { padding: 100px var(--pad-x); }
.services-head { max-width: 640px; margin: 0 0 56px; }
.services-head h2 {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.services-head p { color: var(--slate); font-size: 16.5px; line-height: 1.6; margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.6s ease both;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(52, 225, 154, 0.18);
}
.card-ghost-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.05;
  line-height: 1;
  user-select: none;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(52, 225, 154, 0.1);
  border: 1px solid rgba(52, 225, 154, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(52, 225, 154, 0.18);
}
.card-rule {
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.card:hover .card-rule { width: 64px; }
.card-mark { font-family: var(--mono); font-size: 12.5px; color: var(--accent-dim); letter-spacing: 1px; }
.card h3 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  position: relative;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
}
.card li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
}
.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1.5px;
  background: var(--accent);
}

/* ---------- legal strip ---------- */

.legal { padding: 64px var(--pad-x); }
.legal-frame {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(100deg, var(--accent), transparent 30%, transparent 70%, var(--accent));
  background-size: 200% 100%;
  animation: borderSweep 6s linear infinite;
}
.legal-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 38px 44px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 0 50px rgba(52, 225, 154, 0.14);
}
.legal-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #1FEFAE);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 26px rgba(52, 225, 154, 0.5);
}
.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.legal h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}
.legal p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.legal-badge {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 8px 18px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(52, 225, 154, 0.25);
}

/* ---------- cryptic ai ---------- */

.cryptic { position: relative; padding: 110px var(--pad-x); overflow: hidden; }
.cryptic-grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cryptic h2 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.cryptic-body { font-size: 17px; line-height: 1.7; color: var(--slate); margin: 0 0 32px; }
.cryptic-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.cryptic-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink);
}
.cryptic-points span { color: var(--accent); font-family: var(--mono); font-size: 13px; }
.cryptic-shot {
  border: 1px solid rgba(52, 225, 154, 0.3);
  background: var(--panel);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(52, 225, 154, 0.12), inset 0 0 40px rgba(47, 168, 255, 0.03);
}
.cryptic-shot img { width: 100%; display: block; border-radius: 6px; }
.shot-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, rgba(52, 225, 154, 0.05) 0 12px, transparent 12px 24px),
    var(--panel2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px dashed rgba(52, 225, 154, 0.25);
}

/* ---------- trusted ---------- */

.trusted { padding: 88px var(--pad-x); }
.trusted-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.trusted-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trusted-list li {
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--slate);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.trusted-list li:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }

/* ---------- cta ---------- */

.cta { padding: 100px var(--pad-x); text-align: center; }
.cta h2 {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.cta p { color: var(--slate); font-size: 16.5px; margin: 0 0 32px; }

/* ---------- contact ---------- */

.contact { padding: 100px var(--pad-x); position: relative; overflow: hidden; }
.contact-grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact h2 {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-lead { color: var(--slate); font-size: 16.5px; line-height: 1.6; margin: 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), 0 0 24px rgba(52, 225, 154, 0.14);
}
.contact-card-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.contact-card-value {
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}
.contact-card-value a { color: var(--ink); }
.contact-card-value a:hover { color: var(--accent); }
.contact-card-wide { grid-column: 1 / -1; }
.contact-card-value address { font-style: normal; font-weight: 600; }

/* ---------- footer ---------- */

.footer {
  padding: 48px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { width: 24px; height: 24px; border-radius: 5px; }
.footer-brand .logo-mark i { width: 9px; height: 9px; border-width: 1.5px; }
.footer-brand .logo-word { font-size: 14px; letter-spacing: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
.footer-nav a { color: var(--slate); }
.footer-nav a:hover { color: var(--ink); }
.footer-rights { font-size: 12.5px; color: #5A6066; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cryptic-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-grid { gap: 48px; }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 860px) {
  /* Two-row nav would pin ~150px of a phone screen; let it scroll away. */
  .nav { position: static; flex-wrap: wrap; padding: 16px var(--pad-x); }
  .nav-links { gap: 20px; font-size: 12.5px; flex-wrap: wrap; justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-inner { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .legal-badge { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --pad-x: 22px; }
  .hero { padding: 72px var(--pad-x) 64px; }
  .hero h1 { font-size: 38px; letter-spacing: -0.5px; }
  .hero-lead { font-size: 17px; }
  .hero-note { margin-top: 48px; }
  .hero-actions .btn { width: 100%; }
  .about, .services, .cryptic, .cta, .contact { padding: 64px var(--pad-x); }
  .trusted { padding: 56px var(--pad-x); }
  .services-grid, .contact-cards { grid-template-columns: 1fr; }
  .services-head h2, .contact h2 { font-size: 28px; }
  .about h2, .cta h2 { font-size: 26px; }
  .cryptic h2 { font-size: 34px; }
  .legal-inner { padding: 28px 24px; }
  .card { padding: 28px 24px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Visually hidden but still exposed to assistive tech and crawlers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
