:root {
  --orange: #ff5a0a;
  --navy: #0f1f3d;
  --blue: #1e88f5;
  --grey: #5b6578;
  --peach: #fff0e4;
  --sky: #e8f2fd;
  --lav: #eeeefc;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

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

h1 span, h2 span {
  color: var(--orange);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 66px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.logo b {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.logo small {
  font-size: 11px;
  color: var(--grey);
  font-weight: 400;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a.active, .nav a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 15px;
  transition: .2s;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #e04b00;
}

.btn-outline {
  border: 1.5px solid var(--orange);
  color: var(--orange);
}

.btn-outline:hover {
  background: var(--peach);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 76px 30px;
  background: linear-gradient(120deg, #fff0e2, #fff 50%, #e7f2ff);
  gap: 40px;
}

.hero-text {
  max-width: 520px;
}

.crumbs {
  font-size: 13px;
  margin-bottom: 10px;
}

.crumbs a {
  color: var(--grey);
}

.crumbs span {
  font-weight: 500;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 14px;
}

.lead {
  color: var(--grey);
  font-size: 17px;
  margin-bottom: 24px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 480px;
  height: 310px;
  flex: none;
}

/* Realistic Laptop Mockup */
.laptop {
  position: absolute;
  left: 0;
  top: 10px;
  width: 340px;
  background: #1e293b;
  border-radius: 14px;
  padding: 12px 12px 0 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  border: 2px solid #334155;
  overflow: hidden;
  z-index: 1;
}

.screen {
  background: #0b1220;
  border-radius: 8px;
  padding: 14px;
  height: 180px;
  font-size: 11px;
  box-shadow: inset 0 0 10px rgba(0,0,0,.5);
}
.screen pre {
  color: #4ade80;
  font: 10px/1.6 monospace;
}

.laptop-base {
  height: 20px;
  background: linear-gradient(180deg, #36393d, #3c4d65);
  border-radius: 0 0 12px 12px;
  position: relative;
  margin: 10px -12px 0 -12px;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.4);
  border-top: 1px solid #64748b;
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #94a3b8;
  border-radius: 0 0 4px 4px;
}

.trackpad {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 8px;
  background: #bcccdc;
  border-radius: 3px;
}

.phone {
  position: absolute;
  right: 0;
  top: 10px;
  width: 140px;
  height: 280px;
  background: #fff;
  border: 6px solid #111;
  border-radius: 24px;
  padding: 14px 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  font-size: 12px;
  z-index: 2;
  overflow: hidden;
}

.mini-logo {
  color: #7b1fa2;
  font-size: 14px;
  font-weight: 700;
}

.rank {
  background: #fdf0c8;
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
  font-size: 10px;
}

.rank strong {
  display: block;
  font-size: 15px;
}

.grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.grid4 i {
  font-style: normal;
  font-size: 8px;
  text-align: center;
  background: #fff4ea;
  border-radius: 6px;
  padding: 12px 2px;
}

/* Sections */
.block {
  padding: 24px 62px 10px 70px;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.sub {
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 20px;
}

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

.card {
  border-radius: 10px;
  padding: 16px 20px;
  min-height: 160px;
}

.card.o { background: var(--peach); }
.card.b { background: var(--sky); }
.card.p { background: var(--lav); }

.ci {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.o .ci { background: #ffd9bd; color: var(--orange); }
.b .ci { background: #cfe4fb; color: var(--blue); }
.p .ci { background: #dcdcfa; color: #5b3fd9; }

.card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
}

.card p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.4;
}

/* Process */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 6px;
}

.sico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  position: relative;
}

.sico.blue { background: var(--blue); }
.sico.org { background: var(--orange); }

.sico em {
  position: absolute;
  left: -24px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: inherit;
  font: 600 12px/22px 'Poppins';
  font-style: normal;
}

.step h4 { font-size: 15px; font-weight: 600; }
.step p { color: var(--grey); font-size: 14px; line-height: 1.4; }
.sarrow { color: #c3c9d4; margin-top: 20px; font-size: 22px; }

/* Technologies */
.techs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.techs div {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(15,31,61,.08);
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  color: var(--grey);
}

.techs b { font-size: 28px; line-height: 1.1; display: grid; place-items: center; }

/* Projects */
.carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -10px;
}

.track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  flex: 1;
}

.track::-webkit-scrollbar { display: none; }

.proj {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(15,31,61,.1);
  padding: 8px 8px 10px;
}

.shot { height: 98px; border-radius: 6px; margin-bottom: 10px; background-size: cover; }
.s1 { background: linear-gradient(135deg,#0f1b33,#2a3f6b); }
.s2 { background: linear-gradient(135deg,#334155,#7aa7d9); }
.s3 { background: linear-gradient(135deg,#e2e8f0,#cbd5e1); }
.s4 { background: linear-gradient(135deg,#0b1730,#1e5fbf); }

.proj h4 { font-size: 14px; font-weight: 600; padding: 0 4px; }
.proj p { font-size: 13px; color: var(--grey); padding: 0 4px; }

.nav-arrow {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

.nav-arrow:hover { background: var(--peach); color: var(--orange); }

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 70px;
  background: linear-gradient(90deg, #e6f1fd, #fff0e4);
  flex-wrap: wrap;
}

.cta-left { display: flex; align-items: center; gap: 20px; }
.plane { width: 68px; height: 68px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 28px; flex: none; }
.cta h2 { font-size: 30px; font-weight: 600; }
.cta p { color: var(--grey); font-size: 18px; }
.cta .btn { width: 278px; max-width: 100%; padding: 14px; font-size: 18px; }

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .techs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
  .header, .hero, .block, .cta { padding-left: 24px; padding-right: 24px; }
  .hero { flex-direction: column; align-items: center; text-align: center; padding-top: 24px; }
  .hero-text { max-width: 100%; padding-bottom: 10px; }
  .hero-btns { justify-content: center; }
  .hero-visual { width: 100%; max-width: 440px; height: 290px; margin-top: 20px; }
  .laptop { width: 300px; }
  .screen { height: 160px; }
  .phone { width: 125px; height: 250px; }
  .steps { flex-direction: column; align-items: center; }
  .sarrow { transform: rotate(90deg); margin: 0; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 12px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .header > .btn { display: none; }
}

@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
  .techs { grid-template-columns: repeat(2, 1fr); }
  .proj { flex-basis: calc(50% - 10px); }
  .cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 32px; }
  .hero-visual { width: 100%; max-width: 340px; height: 230px; }
  .laptop { width: 230px; }
  .screen { height: 120px; font-size: 9px; }
  .phone { width: 100px; height: 200px; border-width: 4px; padding: 10px 6px; }
  .mini-logo { font-size: 10px; }
  .rank { padding: 4px; font-size: 8px; }
  .rank strong { font-size: 11px; }
  .grid4 i { padding: 6px 2px; font-size: 7px; }
  .cards { grid-template-columns: 1fr; }
  .cta h2 { font-size: 24px; }
  .cta p { font-size: 16px; }
}