
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --bg: #09091b;
  --bg-soft: #10102c;
  --text: #f7f5ff;
  --muted: #b0aacb;
  --blue: #4376ff;
  --purple: #a354ff;
  --pink: #f55bca;
  --cyan: #7feaff;
  --border: rgba(195,177,255,.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) .6px, transparent .6px);
  background-size: 36px 36px;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  filter: blur(125px);
  opacity: .17;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ambient-one { background: #6437f5; top: -180px; right: -160px; }
.ambient-two { background: #b729aa; bottom: -260px; left: -170px; }

main, .navbar, .footer { position: relative; z-index: 1; }

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.navbar {
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 0;
  padding: 16px 24px;
  border: 1px solid var(--border);
  background: rgba(27,22,62,.7);
  backdrop-filter: blur(22px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
}
.brand span { color: var(--pink); }

.back-link {
  font-size: 13px;
  color: #d6d0f5;
  transition: color .3s;
}
.back-link:hover { color: var(--cyan); }

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 105px 120px;
}

.eyebrow, .section-index, .screen-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.3px;
  color: #bda6ff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: rgba(113,77,204,.11);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 { letter-spacing: -1.6px; }

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(65px, 7.5vw, 110px);
  line-height: 1.12;
  margin: 25px 0;
}

h1 em, h2 em {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  background: linear-gradient(115deg, #8feaff, #a9a0ff, #f49de6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  max-width: 530px;
}

.hero-description, .section-heading p,
.screen-copy p, .info-card p,
.feature p, .process p, .ending p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-description { max-width: 520px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(110deg, #4a6dff, #a34aff);
  box-shadow: 0 10px 30px rgba(84,75,245,.25);
}
.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
}

.hero-tags, .screen-keywords, .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.hero-tags span, .screen-keywords span, .stack span {
  font-size: 11px;
  color: #cbc3e9;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  padding: 7px 12px;
  border-radius: 30px;
}

.hero-art {
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glass {
  width: min(100%, 490px);
  padding: 17px;
  border: 1px solid rgba(169,151,255,.3);
  background: linear-gradient(140deg, rgba(60,47,121,.75), rgba(19,20,59,.85));
  border-radius: 26px;
  box-shadow: 0 35px 100px rgba(0,0,0,.4), 0 0 75px rgba(97,69,243,.14);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  animation: heroFloat 6s ease-in-out infinite;
}

.glass-top, .glass-footer {
  display: flex;
  justify-content: space-between;
  color: #c9b9ff;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 4px 3px 13px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 15px;
  background: #12112f;
}

.glass-footer { padding: 13px 3px 3px; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(133,118,255,.22);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 115%; aspect-ratio: 1; }
.orbit-two { width: 88%; aspect-ratio: 1; }

.floating-chip {
  position: absolute;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(31,27,78,.9);
  border: 1px solid rgba(172,158,255,.3);
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
  font-size: 11px;
  font-weight: 700;
}
.chip-one { top: 13%; right: -2%; }
.chip-two { bottom: 12%; left: -4%; }

@keyframes heroFloat {
  0%,100% { transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}

.concept, .screens, .features, .process { padding-block: 80px; }

.section-heading { max-width: 750px; margin-bottom: 42px; }

.section-heading h2, .process h2, .ending h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
  margin: 18px 0;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.info-card, .feature {
  padding: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(49,39,101,.3), rgba(14,14,42,.7));
  border-radius: 22px;
  transition: transform .3s, border-color .3s;
}
.info-card:hover, .feature:hover {
  transform: translateY(-5px);
  border-color: rgba(168,135,255,.45);
}
.info-icon {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 45px;
}
.info-card h3, .feature h3 { font-size: 19px; margin-bottom: 12px; }
.info-card p, .feature p { margin-bottom: 0; }

.screen-gallery { display: grid; gap: 28px; }

.screen-feature {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  align-items: center;
  gap: 55px;
  padding: 30px;
  background: rgba(22,20,57,.65);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.screen-feature.reverse {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
}
.screen-feature.reverse .screen-visual { order: 2; }
.screen-feature.reverse .screen-copy { order: 1; }

.screen-visual {
  min-height: 320px;
  border-radius: 20px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
}

.visual-blue { background: radial-gradient(ellipse at 50% 40%, #3748b0, #141039 75%); }
.visual-purple { background: radial-gradient(ellipse at 50% 40%, #6940b4, #1b103b 75%); }
.visual-pink { background: radial-gradient(ellipse at 50% 40%, #8e387d, #241037 75%); }
.visual-indigo { background: radial-gradient(ellipse at 50% 40%, #343d9e, #111535 75%); }

.visual-label {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  z-index: 2;
}

.screen-visual img {
  max-height: 310px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  cursor: zoom-in;
  transition: transform .35s ease;
  margin-top: 18px;
}
.screen-visual img:hover { transform: scale(1.035); }

.screen-copy { min-width: 0; padding: 20px 0; }
.screen-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.3;
  margin: 18px 0;
}
.screen-keywords { margin-top: 24px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.feature { padding: 25px; }
.feature-symbol {
  display: inline-block;
  font-size: 30px;
  color: #a9a0ff;
  margin-bottom: 35px;
}

.process-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  padding: 55px;
  border: 1px solid rgba(164,140,255,.3);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(56,40,125,.6), rgba(24,19,62,.8));
}
.process-panel p { max-width: 550px; }
.stack { align-content: center; }
.stack span { font-size: 13px; padding: 11px 15px; }

.ending {
  text-align: center;
  padding-block: 110px 140px;
}
.ending p { max-width: 580px; margin: 0 auto 30px; }

.footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(24px, calc((100% - 1180px)/2));
  color: #a8a0c8;
  font-size: 11px;
  letter-spacing: 1px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

.image-modal {
  border: 1px solid rgba(190,175,255,.3);
  border-radius: 18px;
  padding: 45px 15px 15px;
  background: #101027;
  max-width: min(94vw, 1200px);
  max-height: 92vh;
  position: fixed;
  color: white;
}
.image-modal::backdrop {
  background: rgba(2,2,14,.88);
  backdrop-filter: blur(12px);
}
.image-modal img {
  max-height: calc(92vh - 75px);
  max-width: 100%;
  object-fit: contain;
  margin: auto;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  color: white;
  border: 0;
  cursor: pointer;
  font-size: 21px;
  padding: 5px 10px;
}

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-block: 80px; }
  .hero-art { max-width: 550px; width: 100%; margin: auto; }
  .concept-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .screen-feature, .screen-feature.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .screen-feature.reverse .screen-visual,
  .screen-feature.reverse .screen-copy { order: initial; }
  .process-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section-shell, .navbar { width: calc(100% - 30px); }
  .navbar { padding: 13px 15px; }
  .brand { font-size: 21px; }
  .back-link { font-size: 11px; }
  .hero { padding-block: 65px 85px; }
  h1 { font-size: 66px; }
  .hero-description { font-size: 14px; }
  .hero-glass { transform: none; animation: none; }
  .floating-chip { font-size: 9px; padding: 8px; }
  .chip-one { right: -1%; top: 4%; }
  .chip-two { left: -1%; bottom: 3%; }
  .concept, .screens, .features, .process { padding-block: 55px; }
  .screen-feature { padding: 14px; border-radius: 20px; }
  .screen-visual { min-height: 245px; padding: 15px; }
  .screen-visual img { max-height: 250px; }
  .screen-copy { padding: 15px 7px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .process-panel { padding: 25px; }
  .ending { padding-block: 75px 100px; }
  .footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}