* {
  box-sizing: border-box;
}

:root {
  --ink: #20202a;
  --muted: #737381;
  --paper: #f7f7fb;
  --white: #fff;
  --accent: #6c5ce7;
  --accent-dark: #5646d5;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(7vw, 24px);
  background: rgb(21 21 29 / 92%);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--white);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.06em;
  text-decoration: none;
}

.brand span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  padding: 8px 12px;
  color: #c7c6d0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #c0b7ff;
  background: rgb(169 156 255 / 12%);
}
.main-nav a:hover { transform: translateY(-1px); }

.menu-toggle {
  display: none;
  padding: 8px 13px;
  color: #c0b7ff;
  background: rgb(169 156 255 / 10%);
  border: 1px solid rgb(169 156 255 / 30%);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 590px;
  overflow: hidden;
  padding: 90px max(10vw, 28px);
  background: var(--white);
}

.hero-content { position: relative; z-index: 1; max-width: 620px; }
.eyebrow, .section-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { margin: 0 0 18px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -.075em;
  line-height: 1.02;
}

h1 span { color: var(--accent); }
.page-title { max-width: 760px; }
.hero-description { max-width: 470px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.button:hover { background: var(--accent-dark); transform: translateY(-2px); }

.home-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  min-height: 650px;
  padding-top: 78px;
  padding-bottom: 78px;
  color: var(--white);
  background: #15151d;
}
.home-hero::before {
  position: absolute;
  top: -230px;
  right: 8%;
  width: 660px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(255 255 255 / 2%), 0 0 0 140px rgb(255 255 255 / 2%);
  content: "";
}
.home-hero .hero-content {
  max-width: 660px;
  animation: rise-in .8s both;
}
.home-hero .eyebrow { color: #b7afff; }
.home-hero h1 { margin-bottom: 24px; font-size: clamp(48px, 6.6vw, 78px); }
.home-hero h1 span { color: #a99cff; }
.home-hero .hero-description { max-width: 510px; color: #c1c0ca; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-actions .button { background: #7968f2; }
.hero-actions .button:hover { background: #6655df; }
.text-link { color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 5px; color: #a99cff; transition: margin .2s ease; }
.text-link:hover span { margin-left: 10px; }
.hero-note { margin: 38px 0 0; color: #888794; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.hero-note span { padding: 0 7px; color: #a99cff; }
.hero-visual {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: center;
  animation: rise-in .9s .15s both;
}
.visual-orbit { position: absolute; width: 355px; aspect-ratio: 1; border: 1px solid rgb(169 156 255 / 19%); border-radius: 50%; animation: orbit-pulse 7s ease-in-out infinite; }
.orbit-two { width: 440px; border-color: rgb(255 255 255 / 7%); }
.visual-card { position: relative; z-index: 1; width: min(100%, 360px); min-height: 335px; padding: 24px; overflow: hidden; background: linear-gradient(145deg, #24232f, #1c1b25); border: 1px solid rgb(255 255 255 / 13%); border-radius: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / 30%); transform: rotate(3deg); animation: card-float 5s ease-in-out 1s infinite; }
.visual-card::after { position: absolute; right: -50px; bottom: -110px; width: 245px; aspect-ratio: 1; background: linear-gradient(135deg, rgb(121 104 242 / 40%), rgb(121 104 242 / 0%)); border-radius: 50%; content: ""; }
.visual-card-top, .visual-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.visual-mark { font-size: 19px; font-weight: 900; letter-spacing: -.08em; }
.visual-mark span { color: #a99cff; }
.visual-caption, .visual-card-bottom { color: #9997a7; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.visual-core { position: relative; z-index: 1; padding: 50px 0 42px; }
.visual-spark { position: absolute; top: 38px; right: 15px; color: #a99cff; font-size: 31px; }
.visual-core p { margin-bottom: 15px; color: #b2afc2; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.visual-core p span { color: #a99cff; }
.visual-line { width: 45px; height: 2px; margin-bottom: 18px; background: #a99cff; }
.visual-core strong { font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -.06em; line-height: 1.05; }
.visual-card-bottom { padding-top: 15px; border-top: 1px solid rgb(255 255 255 / 12%); }
.visual-arrow { color: #a99cff; font-size: 18px; }
.visual-tag { position: absolute; z-index: 2; right: -5px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 12px 15px; color: #e4e2ed; background: #292833; border: 1px solid rgb(255 255 255 / 12%); border-radius: 7px; font-size: 9px; font-weight: 800; letter-spacing: .1em; animation: tag-float 3.5s ease-in-out infinite; }
.tag-dot { width: 7px; height: 7px; background: #a99cff; border-radius: 50%; box-shadow: 0 0 12px #a99cff; }
.home-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px max(10vw, 28px); background: #fff; }
.home-intro p { margin: 0; color: #71707d; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.home-intro p span { padding: 0 8px; color: var(--accent); }
.home-intro a { color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.home-intro a span { color: var(--accent); }

.section { padding: 100px max(10vw, 28px); }
.about { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; align-items: start; }
.about h2, .section-heading h2, .contact h2 { margin: 12px 0 18px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.15; }
.about > div:last-child { max-width: 720px; }
.about p, .section-heading > p:last-child, .content-card p, .contact > p { color: var(--muted); }

.content-section { background: #eeedf7; }
.section-heading { max-width: 620px; margin-bottom: 36px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.content-card { min-height: 235px; padding: 26px; background: var(--white); border: 1px solid #e9e8f1; border-radius: 12px; }
.card-number { display: inline-block; margin-bottom: 25px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.content-card h3,
.content-card h2 { margin-bottom: 8px; font-size: 20px; }
.content-card p { min-height: 48px; margin-bottom: 18px; font-size: 14px; }
.content-card a { color: var(--accent); font-size: 13px; font-weight: 800; text-decoration: none; }

.contact { padding: 86px max(10vw, 28px); color: var(--white); background: var(--ink); text-align: center; }
.page-contact { display: flex; min-height: 58vh; align-items: center; flex-direction: column; justify-content: center; }
.contact .section-label { color: #b7afff; }
.contact h2 { margin: 12px auto; }
.contact > p { color: #c3c2cc; }
.contact-form { display: grid; width: min(100%, 540px); gap: 9px; margin-top: 24px; text-align: left; }
.contact-form label { color: #e4e2ed; font-size: 13px; font-weight: 700; }
.contact-form input,
.contact-form textarea { width: 100%; margin-bottom: 10px; padding: 12px 14px; color: var(--white); background: #292833; border: 1px solid rgb(255 255 255 / 18%); border-radius: 8px; font: inherit; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid #a99cff; outline-offset: 2px; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-note { margin: 4px 0 0; color: #aaa8b7; font-size: 12px; }
.contact-email { margin-top: 18px; color: #c3c2cc; font-size: 14px; }
.button-light { margin-top: 8px; color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px max(7vw, 24px); background: var(--white); }
.footer-brand { font-size: 18px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer > a:last-child { color: var(--muted); font-size: 13px; text-decoration: none; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.045); opacity: 1; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .main-nav { display: none; flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-top: 10px; }
  .main-nav.is-open { display: flex; padding-bottom: 8px; }
  .main-nav a { padding: 10px 12px; }
  .hero { min-height: 550px; padding: 70px 28px; }
  .hero-art { top: auto; right: -9%; bottom: -25%; width: 55vw; transform: none; opacity: .5; }
  .home-hero { grid-template-columns: 1fr; gap: 18px; padding: 66px 28px 38px; }
  .home-hero h1 { font-size: clamp(45px, 11vw, 68px); }
  .hero-note { line-height: 2; }
  .hero-visual { min-height: 350px; }
  .visual-card { max-width: 330px; }
  .visual-tag { right: 0; bottom: 4px; }
  .home-intro { align-items: flex-start; flex-direction: column; }
  .home-intro p { line-height: 2; }
  .about { grid-template-columns: 1fr; gap: 15px; }
  .card-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 0; }
  .site-footer { flex-direction: column; text-align: center; }
}

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