@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Syne:wght@500;600;700;800&display=swap");

/* Kyro Marketing — studio-grade dark UI */
:root {
  --bg: #070a09;
  --bg-elevated: #0e1412;
  --surface: rgba(18, 26, 23, 0.65);
  --surface-strong: rgba(28, 38, 34, 0.85);
  --surface-solid: #121a17;
  --text: #eef4f1;
  --text-dim: rgba(238, 244, 241, 0.72);
  --muted: #8a9892;
  --accent: #3ee0d0;
  --accent-dim: #2bb8a8;
  --accent-deep: #0d4f4f;
  --gold: #e8c547;
  --coral: #ff8b6a;
  --violet: #a78bfa;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(62, 224, 208, 0.35);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --max: 72rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}

@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;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Layered atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(62, 224, 208, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(167, 139, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(232, 197, 71, 0.08), transparent 45%),
    linear-gradient(180deg, #070a09 0%, #0a100e 40%, #070a09 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.grid-floor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 15%, transparent 70%);
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: #7ef3e8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.65rem 1.25rem;
  background: rgba(7, 10, 9, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-deep) 0%, #1a6b5c 45%, var(--accent-dim) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(62, 224, 208, 0.25),
    0 12px 32px rgba(13, 79, 79, 0.45);
}

.logo-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #fff;
}

.nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-weight: 500;
  justify-content: flex-end;
  max-width: 100%;
}

@media (min-width: 900px) {
  .nav {
    font-size: 0.8125rem;
    gap: 0.2rem;
  }
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
  background: rgba(62, 224, 208, 0.08);
  border-color: rgba(62, 224, 208, 0.15);
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* --- Hero --- */
.hero-wrap {
  position: relative;
  margin-bottom: 3.5rem;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 52rem);
  height: 70%;
  background: radial-gradient(ellipse, rgba(62, 224, 208, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.hero h1 .gradient-text {
  color: var(--accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .gradient-text {
    background: linear-gradient(105deg, var(--text) 0%, var(--accent) 45%, var(--gold) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn--primary {
  color: #051312;
  background: linear-gradient(135deg, var(--accent) 0%, #5af0e3 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px rgba(62, 224, 208, 0.25);
}

.btn--primary:hover {
  color: #051312;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 16px 48px rgba(62, 224, 208, 0.35);
  text-decoration: none;
}

.btn--ghost {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(62, 224, 208, 0.25);
  background: rgba(62, 224, 208, 0.06);
  text-decoration: none;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.hero-art {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.65));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    animation: hero-float 8s ease-in-out infinite;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

.hero__glow-ring {
  position: absolute;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 224, 208, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.hero__visual-badge {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(62, 224, 208, 0.25);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

@media (min-width: 960px) {
  .hero__visual-badge {
    left: auto;
    right: 4%;
    bottom: 14%;
    transform: none;
  }
}

/* Marquee */
.marquee-wrap {
  margin: 0 0 3rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0.85rem 1.5rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee span strong {
  color: var(--accent);
  font-weight: 700;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--coral));
  opacity: 0.7;
}

.stat__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat__hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Section + Bento */
.section {
  margin-top: 1rem;
}

.section__head {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
}

.section__sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  max-width: 38rem;
}

.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
}

@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }

  .bento .card:nth-child(1) {
    grid-column: span 2;
  }

  .bento .card:nth-child(4) {
    grid-column: span 2;
  }
}

.card {
  position: relative;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(62, 224, 208, 0.2), transparent 40%, transparent 60%, rgba(232, 197, 71, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(62, 224, 208, 0.2);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  }

  .card:hover::after {
    opacity: 1;
  }
}

.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  background: rgba(62, 224, 208, 0.1);
  color: var(--accent);
  border: 1px solid rgba(62, 224, 208, 0.15);
}

.card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.card:nth-child(2) .card__icon {
  background: rgba(232, 197, 71, 0.1);
  color: var(--gold);
  border-color: rgba(232, 197, 71, 0.2);
}

.card:nth-child(3) .card__icon {
  background: rgba(167, 139, 250, 0.1);
  color: var(--violet);
  border-color: rgba(167, 139, 250, 0.2);
}

.card:nth-child(4) .card__icon {
  background: rgba(255, 139, 106, 0.1);
  color: var(--coral);
  border-color: rgba(255, 139, 106, 0.2);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Trust */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-item svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

/* CTA panel */
.cta {
  margin-top: 3rem;
  padding: 2rem 2rem 2rem 2.25rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62, 224, 208, 0.08) 0%, rgba(167, 139, 250, 0.06) 50%, rgba(232, 197, 71, 0.06) 100%);
  border: 1px solid rgba(62, 224, 208, 0.18);
  box-shadow: var(--shadow-soft);
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 40%, rgba(62, 224, 208, 0.12), transparent 45%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.cta p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 36rem;
}

.cta strong {
  color: var(--text);
  font-weight: 600;
}

/* Legal */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.35rem;
}

.updated {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.85rem 0 0.55rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-doc .company-block {
  background: var(--surface-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-soft);
}

.legal-doc .company-block p {
  margin: 0 0 0.4rem;
}

.legal-doc .company-block p:last-child {
  margin-bottom: 0;
}

.legal-hero-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(62, 224, 208, 0.15), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(62, 224, 208, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  color: var(--accent);
}

.legal-hero-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 7, 0.85);
  backdrop-filter: blur(16px);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.site-footer strong {
  font-family: var(--font-display);
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-links {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.footer-links a {
  margin: 0 0.4rem;
  font-weight: 500;
}

/* Content lists & page intros */
.content-block {
  margin-bottom: 2rem;
}

.content-block p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 44rem;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 12px rgba(62, 224, 208, 0.35);
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro .lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 42rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.contact-page__cta {
  margin-top: 2rem;
}

.legal-doc .policy-list {
  margin: 0.5rem 0 1rem 1.15rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-doc .policy-list li {
  margin-bottom: 0.4rem;
}

.legal-doc .policy-list strong {
  color: var(--text-dim);
}

.page-intro--flush {
  margin-top: 0.5rem;
}

.card--span-full {
  grid-column: 1 / -1;
}

.hero .lead + .lead {
  margin-top: 0.75rem;
}

.page-intro .company-block {
  margin-top: 1rem;
}

.contact-lead-after {
  margin-top: 1.5rem;
}

.services-title {
  margin-bottom: 0.5rem;
}

.about-page .cta {
  margin-top: 2.5rem;
}
