﻿:root {
  --theme-color: #f5f5ff;
  --background: #f5f5ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #14152a;
  --soft: #62647a;
  --border: rgba(61, 61, 104, 0.16);
  --purple: #7657ff;
  --cyan: #00b8d9;
  --pink: #e55dff;
  --header: rgba(245, 245, 255, 0.8);
  --shadow: 0 30px 80px rgba(74, 57, 153, 0.16);
}

html[data-theme="dark"] {
  --theme-color: #080918;
  --background: #080918;
  --surface: rgba(21, 22, 49, 0.7);
  --surface-solid: #11132c;
  --text: #f5f4ff;
  --soft: #a4a6c1;
  --border: rgba(183, 180, 255, 0.16);
  --purple: #9279ff;
  --cyan: #41d9f5;
  --pink: #ed75ff;
  --header: rgba(8, 9, 24, 0.78);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.page-glow {
  width: 600px;
  height: 600px;
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-one {
  top: -200px;
  left: -200px;
  background: var(--purple);
}

.glow-two {
  top: 35%;
  right: -300px;
  background: var(--cyan);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: var(--header);
  backdrop-filter: blur(20px);
}

.header-content {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  box-shadow: 0 8px 25px rgba(118, 87, 255, 0.35);
  font-weight: 900;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.brand strong span {
  color: var(--purple);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navigation > a {
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.navigation > a:hover {
  color: var(--purple);
}

.theme-button {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}

.menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 72px 0 110px;
  display: flex;
  align-items: center;
}

.announcement {
  width: fit-content;
  margin: 0 auto 60px;
  padding: 8px 15px;
  color: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(15px);
  font-size: 0.75rem;
}

.announcement span {
  margin-right: 7px;
  color: var(--cyan);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 70px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content > p {
  max-width: 650px;
  color: var(--soft);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 51px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: white;
  background: linear-gradient(90deg, var(--purple), #9c58ee);
  box-shadow: 0 15px 35px rgba(118, 87, 255, 0.32);
}

.button.ghost {
  border: 1px solid var(--border);
  background: var(--surface);
}

.trusted {
  margin-top: 55px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--soft);
}

.trusted > span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.trusted > div {
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-visual {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.glass-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(25px);
}

.main-card {
  width: min(100%, 450px);
  padding: 25px;
  position: relative;
  z-index: 2;
  border-radius: 26px;
  transform: rotate(2deg);
}

.card-header {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.card-header small {
  margin-left: auto;
  color: var(--cyan);
  font-size: 0.62rem;
}

.ai-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 15px var(--purple);
}

.prompt {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(118, 87, 255, 0.1);
}

.prompt span {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.prompt p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.processing {
  padding: 22px 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: 0.72rem;
}

.processing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.result {
  display: grid;
  gap: 9px;
}

.result > div {
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-solid);
}

.result span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 9px;
  background: var(--purple);
  font-size: 0.68rem;
}

.result p {
  margin: 0;
  font-size: 0.8rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  font-size: 0.75rem;
  font-weight: 800;
}

.card-python {
  top: 8%;
  left: 0;
  color: var(--cyan);
}

.card-data {
  right: -3%;
  bottom: 12%;
  color: var(--pink);
}

.card-web {
  bottom: 3%;
  left: 5%;
  color: var(--purple);
  font-size: 1.1rem;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 50px;
}

.section-heading > span {
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.case-content h2,
.cta h2 {
  margin: 14px 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.bento-card.large {
  grid-row: span 2;
  min-height: 558px;
}

.bento-card.wide {
  grid-column: span 2;
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.bento-card.wide p {
  max-width: 360px;
}

.bento-card.accent-card {
  color: white;
  background: linear-gradient(145deg, var(--purple), #bd4bdd);
}

.card-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 55px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-solid);
  font-weight: 900;
}

.accent-card .card-icon {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.bento-card h3 {
  font-size: 1.35rem;
}

.bento-card p {
  color: var(--soft);
  font-size: 0.9rem;
}

.accent-card p {
  color: rgba(255, 255, 255, 0.78);
}

.mini-interface {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-solid);
}

.mini-interface span {
  height: 45px;
  margin-bottom: 10px;
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(118, 87, 255, 0.22), transparent);
}

.mini-interface span:nth-child(2) {
  width: 75%;
}

.mini-interface span:nth-child(3) {
  width: 45%;
  margin-bottom: 0;
}

.process {
  border-block: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  min-height: 260px;
  padding: 28px;
  border-left: 1px solid var(--border);
}

.process-grid article:last-child {
  border-right: 1px solid var(--border);
}

.process-grid span {
  color: var(--purple);
  font-size: 0.75rem;
}

.process-grid h3 {
  margin-top: 80px;
}

.process-grid p {
  color: var(--soft);
  font-size: 0.85rem;
}

.case-section {
  padding: 110px 0;
}

.case-card {
  min-height: 520px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  color: white;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(65, 217, 245, 0.4), transparent 32%),
    linear-gradient(135deg, #4c2dcc, #8f3ed4 65%, #cf4cbb);
}

.case-label {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-content p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.76);
}

.case-content .button {
  margin-top: 20px;
  color: #3d238f;
  background: white;
}

.case-visual {
  min-height: 380px;
  position: relative;
  display: grid;
  place-items: center;
}

.case-visual strong {
  position: relative;
  z-index: 3;
  font-size: clamp(1.3rem, 3vw, 2.5rem);
}

.case-orbit {
  width: 330px;
  height: 330px;
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.case-orbit.second {
  width: 230px;
  height: 230px;
}

.cta {
  padding: 120px 0;
  text-align: center;
}

.cta span {
  color: var(--purple);
  font-weight: 700;
}

.cta h2 {
  max-width: 800px;
  margin: 20px auto 40px;
}

.cta a {
  padding-bottom: 6px;
  color: var(--purple);
  border-bottom: 1px solid var(--purple);
  font-weight: 800;
}

footer {
  border-top: 1px solid var(--border);
}

.footer-content {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft);
  font-size: 0.8rem;
}

.footer-content p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: var(--surface-solid);
  }

  .navigation.is-open {
    display: flex;
  }

  .hero-grid,
  .case-card {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card.large {
    grid-row: auto;
    min-height: 400px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid article {
    border: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 55px 0 80px;
  }

  .announcement {
    margin-bottom: 40px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .ai-visual {
    min-height: 430px;
  }

  .main-card {
    transform: none;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .bento-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.wide {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .case-card {
    padding: 38px 22px;
  }

  .case-visual {
    min-height: 300px;
  }

  .case-orbit {
    width: 280px;
    height: 280px;
  }

  .footer-content {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}