
:root {
  --bg: #100e22;
  --surface: #1a1831;
  --ink: #f8f6ff;
  --muted: #c7c5db;
  --blue: #7779f4;
  --pink: #e4a3c8;
  --line: rgba(255,255,255,.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 4%, #34234e 0, transparent 34%),
    radial-gradient(ellipse at 96% 30%, #182a5d 0, transparent 36%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.wrap {
  width: min(1140px, calc(100% - 44px));
  margin-inline: auto;
}

/* Navigation */
.site-header {
  max-width: 1200px;
  margin: 20px auto 0;
  width: calc(100% - 32px);
  padding: 14px 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.brand span {
  color: var(--pink);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

nav a:hover,
footer a:hover {
  color: var(--pink);
}

.nav-back {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Hero */
.hero {
  min-height: 700px;
  padding-block: 96px 90px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 62px;
}

.eyebrow {
  display: inline-block;
  color: #e7bad9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1,
.intro h2,
.section-heading h2,
.closing h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.09;
}

.hero h1 {
  font-size: clamp(54px, 6vw, 94px);
  margin: 25px 0;
}

.hero h1 em,
.intro h2 em,
.section-heading h2 em,
.closing h2 em {
  color: #b8b5ff;
  font-weight: 400;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 470px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(110deg, #8586fa, #c58ce7);
  color: #16132e;
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  font-size: 11px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
}

/* Browser preview */
.hero-visual {
  position: relative;
  min-width: 0;
}

.browser {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.3);
  background: #f8f8fd;
  box-shadow: 0 35px 85px rgba(0,0,0,.42);
  transform: rotate(2deg);
}

.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  background: #eeeff8;
  color: #67687c;
  font-size: 11px;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3bddb;
}

.dots i:first-child {
  background: #e8a2a7;
}

.dots i:nth-child(2) {
  background: #e9c38e;
}

.dots i:nth-child(3) {
  background: #a4d1b0;
}

.browser-content {
  height: 420px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #b6b6d7 transparent;
}

.browser-content img {
  display: block;
  width: 100%;
  height: auto;
}

.float-note {
  position: absolute;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 100px;
  background: rgba(239,234,255,.92);
  color: #352b65;
  box-shadow: 0 10px 25px #0b0a223b;
  font-size: 12px;
  font-weight: 750;
}

.note-a {
  left: -32px;
  top: 16%;
}

.note-b {
  right: -22px;
  bottom: 13%;
}

/* Project details */
.summary {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary > div {
  padding: 12px 22px;
  border-right: 1px solid var(--line);
}

.summary > div:last-child {
  border: 0;
}

.summary-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #bdb9d2;
}

.summary strong {
  font-size: 14px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-block: 110px;
}

.intro h2,
.section-heading h2,
.closing h2 {
  font-size: clamp(38px,4.8vw,68px);
  margin: 20px 0;
}

.intro-text {
  padding-top: 20px;
  color: var(--muted);
  font-size: 16px;
}

/* Screens */
.showcase {
  padding: 100px 0 110px;
  background: linear-gradient(
    180deg,
    rgba(113,103,198,.09),
    rgba(19,17,38,.1)
  );
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading p {
  color: var(--muted);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
}

.screen-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  transition: transform .25s, border-color .25s;
}

.screen-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197,176,255,.5);
}

.screen-card.featured {
  grid-column: span 2;
}

.screen-image {
  width: 100%;
  height: 330px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(
    circle at 50% 45%,
    #6767c3 0%,
    #29254f 80%
  );
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.screen-card.featured .screen-image {
  height: 430px;
}

.screen-image img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 17px rgba(0,0,0,.25));
}

.screen-copy {
  padding: 22px 23px 25px;
}

.screen-count {
  color: #c4b1ef;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 800;
}

.screen-copy h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.25;
  margin: 9px 0;
}

.screen-copy p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Ending */
.closing {
  text-align: center;
  padding-block: 110px 130px;
}

.closing p {
  max-width: 540px;
  margin: 0 auto 25px;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 25px max(22px,calc((100% - 1140px)/2));
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

footer span:first-child {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 19px;
}

/* Image popup */
.lightbox {
  position: fixed;
  max-width: min(95vw,780px);
  max-height: 94vh;
  padding: 50px 18px 20px;
  border: 1px solid #aaa1db;
  border-radius: 18px;
  background: #17162b;
  color: #fff;
  box-shadow: 0 20px 100px #0009;
}

.lightbox::backdrop {
  background: #090718dd;
  backdrop-filter: blur(8px);
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: auto;
  object-fit: contain;
}

.lightbox p {
  text-align: center;
  margin: 12px 0 0;
}

.close-lightbox {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  border-radius: 50%;
  background: #ffffff20;
  color: #fff;
  padding: 7px 13px;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 70px;
    gap: 65px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-visual {
    max-width: 660px;
    width: 90%;
    margin: auto;
  }

  .intro {
    gap: 30px;
  }

  .screens-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .screen-card.featured {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .site-header {
    padding: 12px 15px;
  }

  nav {
    gap: 10px;
  }

  nav a:not(.nav-back) {
    display: none;
  }

  .brand {
    font-size: 21px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding-block: 65px 75px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-visual {
    width: 95%;
  }

  .browser-content {
    height: 350px;
  }

  .float-note {
    font-size: 10px;
    padding: 8px 10px;
  }

  .note-a {
    left: -12px;
  }

  .note-b {
    right: -12px;
  }

  .summary {
    grid-template-columns: repeat(2,1fr);
  }

  .summary > div:nth-child(2) {
    border-right: 0;
  }

  .summary > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .intro {
    grid-template-columns: 1fr;
    padding-block: 75px;
  }

  .showcase {
    padding-block: 75px;
  }

  .screens-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .screen-card.featured {
    grid-column: auto;
  }

  .screen-image,
  .screen-card.featured .screen-image {
    height: 340px;
  }

  .closing {
    padding-block: 80px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
 






