/* Custom CSS for 193labs Website */
/* Minimal Design */

:root {
  --ink: #1a1538;
  --ink-soft: #6b6884;
  --primary: #2a2dd1;
  --primary-dark: #1f22b8;
  --accent-red: #ee5a5a;
  --accent-yellow: #ffd84d;
  --accent-mint: #5dd5c4;
  --accent-pink: #ff8fa3;
  --suit: #e6e2f0;
  --suit-shadow: #c9c4d8;
  --bg: #fafbfd;
  --cloud: #eef0f6;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 80px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-item-has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 14px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 8px;
  min-width: 190px;
  list-style: none;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 5px 5px 0 var(--ink);
  z-index: 100;
}

.nav-item-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown li + li {
  border-top: 1px solid rgba(26, 21, 56, 0.08);
}

.nav-dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown a:hover {
  background: var(--cloud);
  color: var(--primary);
  padding-left: 24px;
}

/* ── Pre-footer CTA ── */
.pre-footer-cta {
  padding: 80px 80px 100px;
  text-align: center;
  position: relative;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.cta-btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 52px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(42,45,209,0.28);
  transition: all 0.3s;
}
.cta-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42,45,209,0.38);
}

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 50px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s;
}
.cta-btn-outline:hover {
  background: var(--primary);
  color: white;
}

.cta-or {
  font-size: 13px;
  color: var(--ink-soft);
}

.cta-deco {
  position: absolute;
  color: var(--ink-soft);
  opacity: 0.3;
  pointer-events: none;
}
.cta-deco svg { display: block; }
.cta-deco.cd1 { top: 24px;  left:  10%; width: 22px; height: 22px; }
.cta-deco.cd2 { top: 16px;  right: 14%; width: 26px; height: 26px; }
.cta-deco.cd3 { bottom: 36px; right:  8%; width: 20px; height: 20px; }
.cta-deco.cdx { top: 48px;  left:  20%; font-size: 12px; }

/* ── Site Footer ── */
.site-footer {
  background: var(--ink);
  border-radius: 22% 0 0 0;
  padding: 90px 80px 50px;
  position: relative;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.footer-logo {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 22px;
  color: white;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 40px;
}

.footer-address {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 40px;

  a {
    color: rgba(255,255,255,0.5);
  }
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
}

.footer-col {
  text-align: center;
}

.footer-col h4 {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 13px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.hero {
  position: relative;
  padding: 40px 80px 120px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  min-height: 600px;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-left: 40px;
}

.hero h1 {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 36px;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(42, 45, 209, 0.25);
  transition: all 0.3s;
}

.cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 45, 209, 0.35);
}

.hero-illustration {
  position: relative;
  height: 580px;
}

.cloud-blob {
  position: absolute;
  background: var(--cloud);
  width: 540px;
  height: 500px;
  top: 20px;
  right: -40px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.7;
  z-index: 1;
}

.monitor {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-55%);
  width: 380px;
  z-index: 3;
}

.monitor-screen {
  width: 100%;
  height: 240px;
  background: var(--accent-mint);
  border: 4px solid var(--ink);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.monitor-dots {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  gap: 5px;
}

.monitor-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.email-window {
  position: absolute;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 4px;
}

.email-window.w1 {
  top: 40px;
  left: 30px;
  width: 130px;
  height: 60px;
}

.email-window.w1::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 22px;
  background: var(--accent-red);
  border-radius: 2px;
}

.email-window.w1::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 45px;
  right: 8px;
  height: 3px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 12px 0 rgba(26,21,56,0.4);
}

.email-window.w2 {
  top: 30px;
  right: 20px;
  width: 140px;
  height: 70px;
}

.email-window.w2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--accent-red);
  border-bottom: 3px solid var(--ink);
}

.email-window.w2::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 16px 0 var(--ink), 0 24px 0 rgba(26,21,56,0.4);
}

.person-bubble {
  position: absolute;
  bottom: 18px;
  width: 50px;
  height: 50px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-bubble.p1 { left: 60px; }
.person-bubble.p2 { left: 130px; }
.person-bubble.p3 { left: 200px; }
.person-bubble.p4 { left: 270px; }

.person-bubble .head {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: relative;
  top: -3px;
}

.person-bubble.p1 .head { background: #ff9b76; }
.person-bubble.p2 .head { background: #ffc56d; }
.person-bubble.p3 .head { background: #ff7b7b; }
.person-bubble.p4 .head { background: #b07d62; }

.person-bubble::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 14px;
  background: var(--accent-yellow);
  border: 2px solid var(--ink);
  border-radius: 14px 14px 0 0;
  border-bottom: none;
}

.person-bubble.p2::after { background: var(--accent-mint); }
.person-bubble.p3::after { background: var(--accent-pink); }
.person-bubble.p4::after { background: #c4a3e8; }

.monitor-stand {
  width: 80px;
  height: 50px;
  background: var(--ink);
  margin: -4px auto 0;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.monitor-base {
  width: 160px;
  height: 12px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 4px;
}

/* Astronauts */
.astronaut {
  position: absolute;
  z-index: 4;
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 3deg)); }
}

.astro-1 { top: 10px;  right: 110px; width: 110px; --rot: 12deg;  animation-delay: 0s; }
.astro-2 { top: 130px; right: 30px;  width: 100px; --rot: 22deg;  animation-delay: 1s; }
.astro-3 { top: 250px; right: 0px;   width: 95px;  --rot: -8deg;  animation-delay: 2s; }
.astro-4 { top: 380px; right: 80px;  width: 110px; --rot: 28deg;  animation-delay: 1.5s; }
.astro-5 { top: 140px; left: 20px;   width: 100px; --rot: -25deg; animation-delay: 0.5s; }
.astro-6 { bottom: 30px; left: 70px; width: 130px; --rot: 8deg;   animation-delay: 2.5s; }

.planet {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 20px;
  left: 70px;
  z-index: 2;
}

.sparkle {
  position: absolute;
  z-index: 2;
  color: var(--ink);
}
.sparkle svg { display: block; width: 100%; height: 100%; }

.sparkle.d1 { top: 76px;  left: 280px; width: 22px; height: 22px; }
.sparkle.d2 { top: 196px; left: 4px;   width: 32px; height: 32px; }
.sparkle.d3 { top: 318px; left: 318px; width: 26px; height: 26px; }

.x-mark {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
}
.x-mark::before, .x-mark::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: var(--ink);
}
.x-mark::before { transform: rotate(45deg); }
.x-mark::after { transform: rotate(-45deg); }
.x-mark.x1 { top: 80px; right: 220px; }
.x-mark.x2 { top: 320px; right: 380px; }

.dotted-curve {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.features {
  position: relative;
  padding: 80px 80px 140px;
  min-height: 500px;
}

.features-blob-1 {
  position: absolute;
  width: 480px;
  height: 380px;
  background: var(--cloud);
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  top: 80px;
  left: -120px;
  z-index: 1;
  opacity: 0.6;
}

.features-blob-2 {
  position: absolute;
  width: 360px;
  height: 300px;
  background: var(--cloud);
  border-radius: 50% 60% 45% 55% / 60% 50% 50% 40%;
  bottom: 100px;
  right: -80px;
  z-index: 1;
  opacity: 0.5;
}

.features-header {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.features-header h2 {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 48px;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.features-header .eyebrow {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-left: 28px;
}

.features-header .eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.features-header p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 460px;
}

.features-header .see-more {
  margin-top: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 36px 32px 32px;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(26, 21, 56, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--ink);
}

/* Featured (larger) card spans two columns */
.service-card.featured {
  grid-column: span 2;
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.service-card.featured::before {
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card.featured:hover {
  box-shadow: 8px 8px 0 var(--primary);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 1px;
}

.service-card.featured .service-number {
  color: rgba(255, 255, 255, 0.5);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
}

.service-card.featured .service-icon-wrap {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card.featured h3 {
  color: white;
  font-size: 22px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  max-width: 460px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.2s;
}

.service-link:hover { gap: 12px; }

.service-card.featured .service-link {
  color: var(--accent-yellow);
}

.see-more {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.see-more:hover { gap: 12px; }

.feat-sparkle {
  position: absolute;
  z-index: 2;
  color: var(--ink);
}
.feat-sparkle svg { display: block; width: 100%; height: 100%; }
.feat-sparkle.fd1 { top: 60px; left: 40%; width: 24px; height: 24px; opacity: 0.4; }
.feat-sparkle.fd2 { bottom: 60px; left: 18%; width: 28px; height: 28px; opacity: 0.5; }
.feat-sparkle.fd3 { top: 200px; right: 8%; width: 22px; height: 22px; opacity: 0.4; }

.feature-dots {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.why-choose {
  padding: 80px 80px 100px;
  position: relative;
  background: var(--bg);
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-choose h2 {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 42px;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.why-choose .subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 64px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.reason-card {
  background: transparent;
  padding: 0 16px;
  text-align: center;
  transition: transform 0.3s;
  position: relative;
}

.reason-card:hover {
  transform: translateY(-6px);
}

.reason-icon-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* small decorative sparkle marks */
.reason-icon-wrap::before,
.reason-icon-wrap::after {
  content: '✦';
  position: absolute;
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.3;
}
.reason-icon-wrap::before { top: 2px; right: 2px; }
.reason-icon-wrap::after  { bottom: 2px; left: 2px; }

.reason-card h3 {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.reason-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ── Mobile hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px 7px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 24px 28px 40px;
  overflow-y: auto;
  flex-direction: column;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.nav-mobile-logo {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.nav-mobile-close {
  width: 36px;
  height: 36px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  line-height: 1;
}

.nav-mobile-links {
  list-style: none;
  flex: 1;
}

.nav-mobile-links > li {
  border-bottom: 1px solid rgba(26, 21, 56, 0.1);
}

/* Top-level accordion toggle */
.nav-mobile-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.nav-mobile-chevron {
  font-size: 18px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.nav-mobile-item-btn.open .nav-mobile-chevron {
  transform: rotate(180deg);
}

/* Accordion sub-links */
.nav-mobile-sub {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.nav-mobile-sub.open {
  max-height: 200px;
}

.nav-mobile-sub li {
  border-top: 1px solid rgba(26, 21, 56, 0.06);
}

.nav-mobile-sub a {
  display: block;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}

.nav-mobile-sub a:hover {
  color: var(--primary);
  padding-left: 24px;
}

.nav-mobile-cta {
  margin-top: 40px;
}

.nav-mobile-cta a {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 4px 4px 0 var(--ink);
}

@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  .hero { grid-template-columns: 1fr; padding: 40px 32px 80px; }
  .hero-content { padding-left: 0; }
  .hero h1 { font-size: 42px; }
  .hero-illustration { height: 460px; }
  .cloud-blob { width: 420px; height: 380px; }
  .monitor { width: 300px; top: 80px; }
  .monitor-screen { height: 190px; }
  .astro-1 { top: 0px;   right: 70px;  width: 88px; }
  .astro-2 { top: 100px; right: 10px;  width: 80px; }
  .astro-3 { top: 200px; right: -10px; width: 76px; }
  .astro-4 { top: 310px; right: 50px;  width: 88px; }
  .astro-5 { top: 110px; left: 0px;    width: 80px; }
  .astro-6 { bottom: 20px; left: 40px; width: 100px; }
  .why-choose { padding: 60px 32px 80px; }
  .why-choose h2 { font-size: 36px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .features { padding: 60px 32px 100px; }
  .features-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .features-header h2 { font-size: 36px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card.featured { grid-column: span 1; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .site-footer { padding: 70px 32px 40px; border-radius: 18% 0 0 0; }
  .pre-footer-cta { padding: 60px 32px 80px; }
}

@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .hero { padding: 24px 24px 60px; gap: 24px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 13px; max-width: 100%; }
  .hero-illustration { height: 360px; }
  .cloud-blob { width: 340px; height: 300px; top: 10px; right: -20px; }
  .monitor { width: 240px; top: 60px; transform: translateX(-52%); }
  .monitor-screen { height: 150px; }
  .monitor-stand { width: 64px; height: 40px; }
  .monitor-base { width: 130px; height: 10px; }
  .person-bubble { width: 40px; height: 40px; }
  .person-bubble.p1 { left: 36px; }
  .person-bubble.p2 { left: 90px; }
  .person-bubble.p3 { left: 144px; }
  .person-bubble.p4 { display: none; }
  .astro-1 { top: -10px;  right: 40px;  width: 70px; }
  .astro-2 { top: 80px;   right: 0px;   width: 60px; }
  .astro-3 { display: none; }
  .astro-4 { top: 256px;  right: 24px;  width: 70px; }
  .astro-5 { top: 80px;   left: -10px;  width: 64px; }
  .astro-6 { bottom: 10px; left: 20px;  width: 80px; }
  .why-choose { padding: 50px 24px 60px; }
  .why-choose h2 { font-size: 32px; }
  .why-choose .subtitle { font-size: 13px; margin-bottom: 40px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .reason-card { padding: 0 8px; }
  .site-footer { padding: 60px 24px 36px; border-radius: 14% 0 0 0; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pre-footer-cta { padding: 48px 24px 60px; }
}

@media (max-width: 480px) {
  nav { padding: 16px 20px; }
  .hero { padding: 16px 20px 48px; }
  .hero h1 { font-size: 28px; margin-bottom: 18px; }
  .hero p { font-size: 13px; margin-bottom: 24px; }
  .hero-illustration { height: 280px; }
  .cloud-blob { width: 260px; height: 240px; top: 0px; right: -16px; }
  .monitor { width: 190px; top: 44px; transform: translateX(-50%); }
  .monitor-screen { height: 118px; }
  .monitor-dots span { width: 6px; height: 6px; }
  .email-window.w1 { width: 90px; height: 42px; top: 26px; left: 16px; }
  .email-window.w2 { width: 90px; height: 46px; top: 18px; right: 10px; }
  .person-bubble { width: 32px; height: 32px; }
  .person-bubble .head { width: 13px; height: 13px; }
  .person-bubble::after { width: 20px; height: 10px; }
  .person-bubble.p1 { left: 20px; }
  .person-bubble.p2 { left: 62px; }
  .person-bubble.p3 { left: 104px; }
  .person-bubble.p4 { display: none; }
  .monitor-stand { width: 50px; height: 32px; }
  .monitor-base { width: 100px; height: 8px; }
  .astro-1 { top: -8px;  right: 16px;  width: 56px; }
  .astro-2 { top: 60px;  right: -4px;  width: 48px; }
  .astro-3 { display: none; }
  .astro-4 { top: 196px; right: 10px;  width: 56px; }
  .astro-5 { top: 56px;  left: -8px;   width: 50px; }
  .astro-6 { bottom: 4px; left: 8px;   width: 60px; }
  .planet { width: 40px; height: 40px; top: 10px; left: 40px; }
  .sparkle.d1 { width: 14px; height: 14px; }
  .sparkle.d2 { width: 20px; height: 20px; }
  .sparkle.d3 { width: 16px; height: 16px; }
  .why-choose { padding: 40px 16px 50px; }
  .why-choose h2 { font-size: 28px; }
  .why-choose .subtitle { font-size: 13px; margin-bottom: 32px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 32px; }
  .reason-card { padding: 0; }
  .reason-icon-wrap { width: 100px; height: 100px; }
  .reason-card h3 { font-size: 17px; margin-bottom: 10px; }
  .reason-card p { font-size: 13px; }
  .cta { display: block; text-align: center; }
  .cta-btns { flex-direction: column; gap: 14px; }
  .cta-btn-primary, .cta-btn-outline { display: block; text-align: center; padding: 14px 24px; }
  .features { padding: 40px 20px 80px; }
  .site-footer { padding: 50px 20px 28px; border-radius: 10% 0 0 0; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .pre-footer-cta { padding: 36px 16px 50px; }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: span 2; }
}
