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

:root {
  --bg: #020817;
  --navy: #06142e;
  --card: rgba(10, 28, 68, .72);
  --card-2: rgba(15, 36, 88, .58);
  --line: rgba(92, 139, 255, .25);
  --text: #ffffff;
  --muted: #c4d3f4;
  --blue: #1475ff;
  --cyan: #35d7ff;
  --purple: #8958ff;
  --pink: #d65cff;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 117, 255, .22), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(137, 88, 255, .26), transparent 24rem),
    radial-gradient(circle at 55% 70%, rgba(53, 215, 255, .10), transparent 28rem),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 38px;
  background: rgba(2, 8, 23, .86);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.brand h2 {
  font-size: 21px;
  line-height: 1.1;
}

.brand p {
  color: var(--muted);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-weight: 800;
}

.main-nav a:first-child {
  color: #fff;
}

.header-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 15px;
  padding: 0 26px;
  font-weight: 900;
}

.header-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.ghost-btn {
  border: 1px solid rgba(137, 88, 255, .55);
  background: rgba(255, 255, 255, .035);
}

.hero,
.services-section,
.feature-band,
.projects-section,
.pricing-section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 650px;
  padding: 64px 38px 48px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .46;
}

.hero-glow.one {
  left: 8%;
  top: 24%;
  width: 280px;
  height: 280px;
  background: var(--blue);
}

.hero-glow.two {
  right: 13%;
  bottom: 14%;
  width: 340px;
  height: 340px;
  background: var(--purple);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(53, 215, 255, .28);
  border-radius: 999px;
  color: #e7f1ff;
  background: rgba(20, 117, 255, .12);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 640px;
  margin: 20px 0 18px;
  font-size: clamp(46px, 5.7vw, 76px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hero h1 strong {
  display: block;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 560px;
  color: #dce7ff;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  margin-top: 54px;
}

.hero-trust div {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 10px;
  align-items: center;
}

.hero-trust i {
  grid-row: span 2;
  color: #d8c8ff;
  font-size: 19px;
}

.hero-trust b {
  font-size: 18px;
}

.hero-trust span {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.laptop-mockup {
  position: absolute;
  right: 30px;
  top: 70px;
  width: min(620px, 92%);
  overflow: hidden;
  border: 2px solid rgba(151, 183, 255, .55);
  border-radius: 24px;
  background: #081633;
  transform: perspective(1100px) rotateX(3deg) rotateZ(-3deg);
}

.laptop-mockup::after {
  content: "";
  display: block;
  height: 28px;
  background: linear-gradient(90deg, #1b2c65, #5f43d9 58%, #0d1e48);
}

.browser-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  background: rgba(2, 8, 23, .82);
}

.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6874;
}

.browser-top span:nth-child(2) { background: #ffd166; }
.browser-top span:nth-child(3) { background: #35d7ff; }
.browser-top small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.mock-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  min-height: 300px;
  padding: 38px;
  background:
    radial-gradient(circle at 76% 25%, rgba(137, 88, 255, .52), transparent 12rem),
    linear-gradient(135deg, rgba(20, 117, 255, .24), rgba(2, 8, 23, .92));
}

.mock-copy small {
  color: var(--cyan);
  font-weight: 900;
}

.mock-copy h2 {
  margin: 12px 0;
  font-size: 34px;
  line-height: 1.06;
}

.mock-copy p {
  color: #cbd9f6;
}

.mock-copy button {
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.mock-panel {
  display: grid;
  gap: 14px;
}

.mock-panel div {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(137,88,255,.25));
}

.floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(92, 139, 255, .38);
  border-radius: 16px;
  background: rgba(10, 28, 68, .78);
  backdrop-filter: blur(16px);
}

.code-icon {
  right: 40px;
  top: 26px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(20,117,255,.86), rgba(137,88,255,.72));
}

.speed-card {
  left: 12px;
  top: 250px;
  width: 132px;
  padding: 15px;
  text-align: center;
}

.speed-card span,
.metric-card span {
  color: #fff;
  font-size: 12px;
}

.speed-card b {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 12px auto 0;
  border: 8px solid rgba(137, 88, 255, .7);
  border-radius: 50%;
  font-size: 20px;
}

.metric-card {
  right: 36px;
  bottom: 66px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
}

.metric-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(137, 88, 255, .22);
  font-size: 24px;
}

.metric-card b {
  display: block;
  color: #76b9ff;
  font-size: 22px;
}

.code-window {
  right: 18px;
  top: 180px;
  width: 230px;
  padding: 16px;
}

.code-window > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.code-window pre {
  margin-top: 12px;
  color: #ff8c75;
  white-space: pre-wrap;
  font-size: 12px;
}

.services-section {
  padding: 34px 38px 46px;
  border: 1px solid rgba(92, 139, 255, .18);
  border-radius: 18px;
  background: rgba(4, 15, 38, .35);
}

.section-title {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-title span,
.feature-band > div > span,
.projects-section .section-title span,
.pricing-section > div > span {
  color: #78a8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-title h2,
.feature-band h2,
.pricing-section h2 {
  margin-top: 8px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.section-title p {
  margin-top: 10px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  position: relative;
  min-height: 170px;
  padding: 24px 54px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 36, 88, .68), rgba(5, 16, 42, .72));
}

.service-grid article > i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 13px;
  color: #90c9ff;
  background: radial-gradient(circle, rgba(137,88,255,.5), rgba(20,117,255,.18));
  font-size: 22px;
}

.service-grid h3 {
  font-size: 17px;
}

.service-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.service-grid a {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,139,255,.7);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 117, 255, .18);
  font-size: 12px;
}

.feature-band {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 44px;
  padding: 34px;
  border: 1px solid rgba(92, 139, 255, .18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 60% 20%, rgba(137,88,255,.18), transparent 18rem),
    rgba(8, 21, 52, .66);
}

.feature-band p {
  color: var(--muted);
}

.feature-band .ghost-btn {
  margin-top: 20px;
  min-height: 44px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.feature-list article {
  text-align: left;
}

.feature-list i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #91d8ff;
  background: radial-gradient(circle, rgba(137,88,255,.4), rgba(20,117,255,.16));
  font-size: 25px;
}

.feature-list b {
  display: block;
  margin-bottom: 8px;
}

.feature-list p {
  font-size: 14px;
}

.projects-section,
.pricing-section {
  padding: 44px 38px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(10, 28, 68, .55);
}

.project-thumb {
  height: 140px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, .9);
}

.project-thumb.food { background-image: url("assets/ecommerce-images/food/food_001.svg"); }
.project-thumb.fashion { background-image: url("assets/ecommerce-images/fashion/fashion_004.svg"); }
.project-thumb.corporate { background-image: url("assets/ecommerce-images/electronics/electronics_001.svg"); }
.project-thumb.portfolio { background-image: url("assets/ecommerce-images/mobile_accessories/mobile_accessories_003.svg"); }

.project-grid h3 {
  margin-top: 12px;
  font-size: 16px;
}

.project-grid span {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(92,139,255,.35);
  border-radius: 999px;
  color: #9dbaff;
  font-size: 12px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 390px;
  gap: 28px;
  align-items: center;
}

.pricing-section article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 28, 68, .66);
}

.pricing-section article h3 {
  font-size: 24px;
}

.pricing-section article b {
  display: block;
  margin: 8px 0 18px;
  font-size: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-section li {
  margin: 12px 0;
  color: var(--muted);
  list-style: none;
}

.pricing-section li i {
  color: var(--cyan);
  margin-right: 8px;
}

.pricing-section .primary-btn {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .header,
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .feature-band,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 600px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 100%;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand h2 {
    font-size: 17px;
  }

  .brand p {
    font-size: 14px;
  }

  .main-nav {
    width: 100%;
    gap: 14px;
    font-size: 14px;
  }

  .hero,
  .services-section,
  .projects-section,
  .pricing-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-trust,
  .service-grid,
  .feature-list,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .laptop-mockup,
  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 18px;
    transform: none;
  }

  .mock-content {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .feature-band {
    margin: 28px 18px 0;
    padding: 24px;
  }
}
