:root {
  --bg: #050611;
  --bg-soft: #0b0d20;
  --text: #f7f7ff;
  --muted: #b6b7ca;
  --cyan: #29e6ff;
  --blue: #2878ff;
  --purple: #9a35ff;
  --pink: #f44cff;
  --orange: #ff9b2f;
  --line: rgba(255,255,255,.11);
  --glass: rgba(9, 11, 29, .72);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(40,120,255,.14), transparent 30%),
    radial-gradient(circle at 85% 35%, rgba(154,53,255,.12), transparent 32%),
    linear-gradient(135deg, #03040c 0%, #07091a 48%, #050611 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.ambient {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  animation: drift 12s ease-in-out infinite alternate;
}
.ambient-1 { background: var(--blue); left: -170px; top: 35%; }
.ambient-2 { background: var(--purple); right: -170px; top: 10%; animation-delay: -4s; }

.topbar {
  width: min(calc(100% - 32px), var(--max));
  height: 82px;
  margin: 16px auto 0;
  padding: 10px 14px 10px 16px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px) 1fr;
  align-items: center;
  gap: 22px;
  position: sticky;
  top: 12px;
  z-index: 100;
  background: rgba(4, 5, 15, .74);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.brand { display: flex; align-items: center; width: fit-content; }
.logo {
  width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(41,230,255,.18));
}

.google-search {
  display: flex;
  height: 44px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.055);
  border-radius: 999px;
  overflow: hidden;
  transition: .25s ease;
}
.google-search:focus-within {
  border-color: rgba(41,230,255,.6);
  box-shadow: 0 0 0 4px rgba(41,230,255,.07);
}
.google-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  padding: 0 18px;
  font-size: 14px;
}
.google-search input::placeholder { color: #999db8; }
.google-search button {
  width: 52px;
  border: 0;
  color: white;
  background: linear-gradient(135deg, rgba(41,230,255,.25), rgba(154,53,255,.3));
  cursor: pointer;
  font-size: 23px;
}

.right-tools { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.socials { display: flex; gap: 7px; }
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #e7e8ff;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255,255,255,.035);
  transition: .25s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(41,230,255,.6);
  color: var(--cyan);
}

.menu-wrap { position: relative; }
.menu-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .12em;
}
.menu-button span { margin-left: 7px; font-size: 15px; }

.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 8px;
  display: grid;
  background: rgba(6,7,18,.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transition: .2s ease;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown a {
  padding: 12px 13px;
  border-radius: 10px;
  color: #dfe1f5;
  font-size: 14px;
}
.dropdown a:hover { background: rgba(41,230,255,.08); color: var(--cyan); }

.hero {
  width: min(calc(100% - 32px), var(--max));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  position: relative;
}

.hero-content { max-width: 690px; padding: 70px 0; }
.eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .28em;
  margin-bottom: 17px;
}
.hero h1, .section h2, .contact-section h2 {
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 {
  font-size: clamp(54px, 7vw, 94px);
  max-width: 750px;
}
.hero h1 span, .fluid-copy h2 span {
  background: linear-gradient(90deg, var(--cyan), #8c75ff 45%, var(--pink) 75%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 25px;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta {
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition: .25s ease;
}
.cta.primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
  box-shadow: 0 12px 40px rgba(40,120,255,.22);
}
.cta.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.cta:hover { transform: translateY(-3px); }

.magic-orb {
  width: min(45vw, 510px);
  aspect-ratio: 1;
  justify-self: center;
  position: relative;
  display: grid;
  place-items: center;
}
.orb-core {
  width: 48%;
  height: 48%;
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 30% 25%, #fff, transparent 8%),
    linear-gradient(135deg, #28eaff, #436cff 38%, #a035ff 72%, #ff8d2c);
  filter: saturate(1.2);
  box-shadow:
    0 0 50px rgba(41,230,255,.38),
    0 0 110px rgba(154,53,255,.22);
  animation: morph 7s ease-in-out infinite;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(41,230,255,.55);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-a { width: 92%; height: 34%; animation: spin 12s linear infinite; }
.orbit-b { width: 70%; height: 92%; border-color: rgba(244,76,255,.45); transform: rotate(55deg); animation: spin 17s linear infinite reverse; }
.spark {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 18px 5px var(--cyan);
}
.spark-a { left: 8%; top: 35%; }
.spark-b { right: 10%; top: 18%; box-shadow: 0 0 18px 5px var(--pink); }
.spark-c { right: 21%; bottom: 14%; box-shadow: 0 0 18px 5px var(--orange); }

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section h2, .contact-section h2 { font-size: clamp(38px, 5vw, 64px); }
.section-heading p, .fluid-copy p, .contact-section p {
  margin-top: 17px;
  color: var(--muted);
  line-height: 1.8;
}

.fantasy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fantasy-card {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease, border-color .3s ease;
}
.fantasy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.03) 20%, rgba(3,4,12,.92) 100%);
}
.fantasy-card:hover { transform: translateY(-8px); border-color: rgba(41,230,255,.35); }
.card-one {
  background-image:
    radial-gradient(circle at 70% 25%, rgba(40,230,255,.32), transparent 24%),
    linear-gradient(135deg, #07142c, #5b16a5 55%, #ff6b31);
}
.card-two {
  background-image:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.35), transparent 7%),
    radial-gradient(circle at 25% 65%, rgba(41,230,255,.5), transparent 20%),
    linear-gradient(135deg, #071a27, #153a7c 45%, #b92aff);
}
.card-three {
  background-image:
    radial-gradient(circle at 75% 20%, rgba(255,169,54,.45), transparent 20%),
    linear-gradient(135deg, #101027, #4221a3 48%, #e83298);
}
.card-overlay { position: absolute; inset: auto 25px 25px; }
.card-overlay span { color: var(--cyan); font-size: 10px; letter-spacing: .2em; font-weight: 800; }
.card-overlay h3 { font-size: 25px; margin-top: 10px; line-height: 1.08; }
.card-overlay p { color: #c8c9d9; margin-top: 10px; line-height: 1.6; font-size: 14px; }

.fluid-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.fluid-copy h2 { font-size: clamp(40px, 5vw, 68px); }
.fluid-art {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(40,120,255,.13), transparent 45%),
    rgba(255,255,255,.018);
}
.fluid-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 8s ease-in-out infinite alternate;
}
.shape-a {
  width: 250px; height: 250px;
  background: linear-gradient(135deg, rgba(41,230,255,.82), rgba(40,120,255,.3));
  transform: translate(-100px, -40px);
  border-radius: 45% 55% 65% 35%;
}
.shape-b {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, rgba(244,76,255,.7), rgba(154,53,255,.25));
  transform: translate(100px, 55px);
  animation-delay: -2s;
  border-radius: 55% 45% 35% 65%;
}
.shape-c {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, rgba(255,155,47,.8), rgba(244,76,255,.25));
  transform: translate(10px, -90px);
  animation-delay: -4s;
}
.fluid-ring {
  width: 76%; height: 45%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transform: rotate(-18deg);
  box-shadow: 0 0 60px rgba(41,230,255,.12);
}

.video-card {
  min-height: 330px;
  padding: 42px;
  display: flex;
  align-items: flex-end;
  gap: 25px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 30%, rgba(244,76,255,.25), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(41,230,255,.2), transparent 28%),
    linear-gradient(135deg, #091125, #28105b 60%, #11162d);
  position: relative;
  overflow: hidden;
}
.video-card::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  right: -80px; top: -120px;
}
.play-button {
  width: 70px; height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  font-size: 23px;
  box-shadow: 0 15px 45px rgba(40,120,255,.25);
}
.video-card span { color: var(--cyan); font-size: 10px; letter-spacing: .22em; font-weight: 800; }
.video-card h3 { font-size: clamp(30px, 4vw, 52px); margin-top: 9px; }
.video-card p { color: #c4c5d6; margin-top: 10px; line-height: 1.7; }

.contact-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 70px;
  padding: 80px 50px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(41,230,255,.07), rgba(154,53,255,.09), rgba(255,155,47,.05));
}
.contact-section p { max-width: 650px; margin-left: auto; margin-right: auto; }
.contact-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-links a {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-size: 14px;
}
.contact-links a:hover { color: var(--cyan); border-color: rgba(41,230,255,.5); }

footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 35px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #85879c;
  font-size: 12px;
}
.footer-contact { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-contact a:hover { color: var(--cyan); }

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 60% 40% 35% 65%; transform: rotate(12deg) scale(1.06); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(80px, -50px) scale(1.1); } }
@keyframes float { to { transform: translate(50px, -35px) rotate(12deg) scale(1.08); } }

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 12px;
  }
  .google-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .right-tools { justify-self: end; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .magic-orb { width: min(78vw, 460px); }
  .fantasy-grid { grid-template-columns: 1fr 1fr; }
  .fluid-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { width: calc(100% - 18px); top: 7px; margin-top: 8px; border-radius: 17px; }
  .logo { width: 120px; }
  .socials { display: none; }
  .hero, .section, .contact-section, footer { width: calc(100% - 24px); }
  .hero { min-height: auto; padding-top: 35px; }
  .hero-content { padding: 55px 0 20px; }
  .hero h1 { font-size: clamp(45px, 15vw, 66px); }
  .hero p { font-size: 15px; }
  .magic-orb { width: 94vw; margin: 10px auto 20px; }
  .section { padding: 70px 0; }
  .fantasy-grid { grid-template-columns: 1fr; }
  .fantasy-card { min-height: 400px; }
  .fluid-art { min-height: 350px; }
  .video-card { padding: 28px; min-height: 350px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .contact-section { padding: 60px 24px; }
  footer { font-size: 11px; }
}
