:root {
  --bg: #03050b;
  --cyan: #24f4ff;
  --blue: #2688ff;
  --pink: #ff4df3;
  --purple: #9f3cff;
  --green: #25ff67;
  --text: #ffffff;
  --muted: #b9c5dd;
  --border: rgba(36, 244, 255, 0.35);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 10%, rgba(36, 244, 255, 0.16), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(255, 77, 243, 0.13), transparent 34%),
    linear-gradient(180deg, #02030a 0%, #071022 58%, #03050b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(36, 244, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 244, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

.omo-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: calc(18px + var(--safe-top)) 18px calc(24px + var(--safe-bottom));
}

.hero {
  position: relative;
  min-height: 320px;
  padding: 24px 22px 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 8, 20, 0.96), rgba(10, 20, 45, 0.7)),
    radial-gradient(circle at 52% 10%, rgba(36, 244, 255, 0.18), transparent 28%);
  box-shadow: 0 0 45px rgba(36, 244, 255, 0.16), inset 0 0 40px rgba(36, 244, 255, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(circle at 20% 35%, rgba(36,244,255,0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 25%, rgba(255,77,243,0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 80%, rgba(255,255,255,0.45) 0 1px, transparent 2px);
  background-size: 36px 36px, 48px 48px, 28px 28px;
}

.hero-top, .brand-lockup, .status-pill, .app-grid, .social-row {
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(36, 244, 255, 0.7));
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 10vw, 96px);
  line-height: 0.88;
  font-weight: 1000;
  letter-spacing: -0.06em;
  text-shadow: 0 0 26px rgba(36,244,255,0.35);
}

h1 span {
  color: var(--cyan);
  font-style: italic;
  text-shadow: 0 0 28px rgba(36,244,255,0.75);
}

.status-pill {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(36, 244, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #dffcff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mascot-orb {
  position: absolute;
  right: clamp(18px, 7vw, 88px);
  top: 82px;
  width: clamp(130px, 28vw, 250px);
  height: clamp(130px, 28vw, 250px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255,255,255,0.96) 0 38%, rgba(36,244,255,0.18) 39% 52%, transparent 53%),
    conic-gradient(from 0deg, var(--cyan), var(--purple), var(--cyan));
  box-shadow: 0 0 34px rgba(36,244,255,0.6), 0 0 100px rgba(151,60,255,0.25);
  animation: floatOrb 4s ease-in-out infinite;
}

.mascot-orb::before,
.mascot-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(36,244,255,0.55);
  inset: -12px;
  filter: drop-shadow(0 0 10px var(--cyan));
}

.mascot-orb::after {
  inset: -26px;
  border-color: rgba(255,77,243,0.38);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 40%);
}

.orb-face {
  font-size: clamp(22px, 5vw, 42px);
  font-weight: 1000;
  color: #05060b;
  letter-spacing: -0.08em;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.tagline {
  position: relative;
  z-index: 2;
  margin: 115px 0 8px;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 1000;
  letter-spacing: 0.18em;
}

.subtag {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 9px 18px;
  border: 1px solid rgba(36,244,255,0.45);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0,0,0,0.35);
  font-weight: 800;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.app-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 25, 52, 0.88), rgba(5, 8, 18, 0.96));
  box-shadow: 0 18px 70px rgba(0,0,0,0.45), inset 0 0 34px rgba(255,255,255,0.03);
}

.canvas-card { --accent: var(--purple); }
.run-card { --accent: var(--blue); }
.chat-card { --accent: var(--green); }

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 16%, color-mix(in srgb, var(--accent), transparent 42%), transparent 45%);
  opacity: 0.78;
}

.app-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background: radial-gradient(circle, rgba(36,244,255,0.15), transparent 55%), rgba(0,0,0,0.25);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.card-icon {
  position: absolute;
  right: 18px;
  top: -52px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent), white 15%);
  background: rgba(0,0,0,0.62);
  font-size: 28px;
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent), transparent 35%);
}

h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.card-punch {
  margin: 12px 0 10px;
  color: var(--accent);
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.card-content p:not(.card-punch) {
  min-height: 54px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 650;
}

.open-btn {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 14px;
  color: white;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent), #00eaff 45%), color-mix(in srgb, var(--accent), #ff4df3 28%));
  font-size: 17px;
  font-weight: 1000;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent), transparent 55%);
}

.open-btn:active {
  transform: translateY(1px) scale(0.99);
}

.socials {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(36,244,255,0.22);
  border-radius: 24px;
  background: rgba(0,0,0,0.3);
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.section-title h3 {
  margin: 0;
  letter-spacing: 0.22em;
  font-size: 15px;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
}

.social-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.social-link span { font-weight: 900; }

footer {
  margin: 18px 0 0;
  text-align: center;
  color: rgba(255,255,255,0.48);
  font-size: 13px;
}

@media (max-width: 900px) {
  .omo-shell { padding-left: 12px; padding-right: 12px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: auto; }
  .app-art { height: 250px; }
  .tagline { margin-top: 90px; }
  .hero { min-height: 350px; }
}

@media (max-width: 520px) {
  .hero {
    border-radius: 24px;
    padding: 18px 16px 22px;
    min-height: 390px;
  }

  .hero-top { align-items: center; }
  .status-pill { font-size: 10px; padding: 8px 10px; }
  .brand-logo { width: 42px; height: 42px; }

  .mascot-orb {
    top: 96px;
    right: 22px;
    width: 150px;
    height: 150px;
  }

  .tagline {
    margin-top: 150px;
    font-size: 20px;
    line-height: 1.35;
  }

  .subtag {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .app-art { height: 210px; }

  .social-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .social-link {
    padding: 12px 8px;
    font-size: 12px;
  }

  .social-link img {
    width: 36px;
    height: 36px;
  }
}
