/* Satyatechlab — Dark Luxury Enterprise */
:root {
  --navy: #041C32;
  --navy-mid: #062a48;
  --navy-light: #0a3558;
  --blue: #00C6FF;
  --blue-dim: rgba(0, 198, 255, 0.15);
  --blue-glow: rgba(0, 198, 255, 0.45);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --header-h: 80px;
  --font: 'Inter', 'IBM Plex Sans', system-ui, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 var(--glass-highlight);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; font-weight: 600; font-size: 0.9375rem;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0099cc);
  color: var(--navy);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(0, 198, 255, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  padding-top: env(safe-area-inset-top);
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
}
.header.scrolled,
.header.menu-open {
  background: rgba(4, 28, 50, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.header.scrolled {
  background: rgba(4, 28, 50, 0.85);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.brand {
  flex: 1 1 auto;
  min-width: 0;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700;
}
.brand-text {
  font-size: 1.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 993px) {
  .header-inner { gap: 16px; }
  .brand { flex: 0 0 auto; }
  .nav {
    flex: 1;
    justify-content: center;
    order: 2;
  }
  .nav-toggle { order: 3; }
}
.brand-logo {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #0066aa);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--navy);
  box-shadow: 0 4px 20px var(--blue-glow);
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  order: 3;
}
.nav-link {
  padding: 8px 14px; font-size: 0.875rem; font-weight: 500;
  color: var(--muted); border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--blue); }
.nav-toggle {
  display: none;
  order: 2;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 198, 255, 0.45);
  border-radius: 10px;
  background: rgba(0, 198, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(0, 198, 255, 0.22);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.25);
  outline: none;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 22px;
}
.nav-toggle-bars span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active .nav-toggle-bars span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bars span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: var(--header-h) 0 48px;
  overflow-x: clip;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.desc-short { display: none; }
.hero-lead { display: block; }
#hero-particles {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -100px; top: 20%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
  filter: blur(80px);
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100%{ opacity: 0.5; transform: scale(1); } 50%{ opacity: 0.8; transform: scale(1.1); } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1,
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.text-glow {
  background: linear-gradient(135deg, var(--blue), #66e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-list li {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.trust-list .check { color: var(--blue); font-weight: 700; }

/* Hero — always visible (no AOS fade on above-the-fold content) */
.hero [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Hero visual — desktop only */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.hero-hub {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hub-ring {
  position: absolute; inset: -20px;
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 50%;
  animation: hubSpin 12s linear infinite;
}
.hub-core {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), #0088bb);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--blue-glow);
  animation: hubPulse 3s ease infinite;
}
@keyframes hubSpin { to { transform: rotate(360deg); } }
@keyframes hubPulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.08); } }

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8125rem;
  animation: floatCard 5s ease-in-out infinite;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.float-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.fc-icon { font-size: 1.125rem; }
.fc-1 { top: 5%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 15%; right: 0; animation-delay: -1s; }
.fc-3 { top: 45%; left: -5%; animation-delay: -2s; }
.fc-4 { bottom: 25%; right: 5%; animation-delay: -3s; }
.fc-5 { bottom: 8%; left: 15%; animation-delay: -4s; }
.fc-6 { top: 38%; right: 12%; animation-delay: -2.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-dim { background: rgba(0, 0, 0, 0.2); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2, .section h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p { color: var(--muted); font-size: 1.0625rem; }
.center-lead { color: var(--muted); font-size: 1.125rem; }

/* Tech grid */
.tech-section { background: linear-gradient(180deg, transparent, rgba(0,198,255,0.03)); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tech-card {
  padding: 24px 16px;
  border-radius: 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--blue);
  box-shadow: 0 16px 48px var(--blue-glow);
}
.tech-card span { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.tech-card:hover span { color: var(--white); }
.tech-ai {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), #0066aa);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.875rem; color: var(--navy);
}

/* Stats */
.stats-section { padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.stat-card {
  padding: 32px 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,198,255,0.15); }
.stat-val {
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
  margin-bottom: 8px;
}
.counter { font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--blue); }
.stat-suf { font-size: 1.25rem; font-weight: 700; color: var(--blue); }
.stat-card p { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 32px;
  border-radius: 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 198, 255, 0.12);
}
.svc-ico { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-family: var(--display); font-size: 1.125rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--muted); }

/* Compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { padding: 32px; border-radius: 20px; }
.compare-col h3 { font-family: var(--display); margin-bottom: 20px; font-size: 1.25rem; }
.compare-old h3 { color: rgba(255,255,255,0.5); }
.compare-old li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.9375rem;
}
.compare-new { border-color: rgba(0, 198, 255, 0.35); background: rgba(0, 198, 255, 0.06); }
.compare-new h3 { color: var(--blue); }
.compare-plus li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 0.9375rem;
  font-weight: 500;
}
.compare-plus span { color: var(--blue); font-weight: 700; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.project-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-body { padding: 24px; }
.project-tag {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue);
}
.project-body h3 { font-family: var(--display); font-size: 1.25rem; margin: 8px 0 12px; }
.project-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.project-tech span {
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 10px;
  background: var(--blue-dim);
  border-radius: 6px;
  color: var(--blue);
}
.project-result { font-size: 0.875rem; color: var(--muted); }
.project-result strong { color: var(--blue); font-size: 1.125rem; }

/* Nav overlay — mobile only */
.nav-overlay { display: none; }

/* Mobile navigation */
@media (max-width: 992px) {
  .header {
    background: rgba(4, 28, 50, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    overflow: visible;
  }
  .header-inner {
    overflow: visible;
  }
  .nav-overlay {
    display: block;
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(4, 28, 50, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(300px, calc(100vw - 24px));
    height: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex: none;
    order: unset;
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 16px) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px;
    background: var(--navy-mid);
    border-left: 1px solid var(--glass-border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s var(--ease), visibility 0.35s;
    z-index: 1060;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }
  .nav.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1101;
    flex: 0 0 44px;
    order: 2;
    margin-left: 8px;
  }
  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    border-radius: 10px;
    min-height: 48px;
  }
  .nav-link:hover { background: rgba(0, 198, 255, 0.1); color: var(--blue); }
}

/* Testimonials */
.testimonial-wrap { max-width: 800px; margin: 0 auto; }
.testimonial-slide { display: none; padding: 40px; border-radius: 20px; }
.testimonial-slide.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stars { color: #fbbf24; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-slide p { font-size: 1.125rem; line-height: 1.7; color: var(--muted); font-style: italic; margin-bottom: 24px; }
.t-meta { display: flex; align-items: center; gap: 14px; }
.t-meta img { border-radius: 50%; border: 2px solid var(--blue); }
.t-meta strong { display: block; }
.t-meta span { font-size: 0.875rem; color: var(--muted); }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.2s;
}
.t-btn:hover { border-color: var(--blue); color: var(--blue); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.2);
  cursor: pointer; padding: 0;
}
.t-dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* CTA */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,198,255,0.15) 0%, transparent 60%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 32px;
}
.cta-content .hero-actions { justify-content: center; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-form { padding: 32px; border-radius: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-ok { margin-top: 12px; color: #34d399; text-align: center; font-weight: 600; }

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand p { margin: 16px 0; font-size: 0.9rem; color: var(--muted); max-width: 240px; }
.footer-email { margin-top: 0; }
.footer-email a { color: var(--blue); font-weight: 500; }
.footer-email a:hover { color: #66e0ff; }
.social { display: flex; gap: 10px; }
.social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: 0.2s;
}
.social a:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 16px; height: 16px; }
.footer h4 { font-size: 0.875rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer a { font-size: 0.875rem; color: var(--muted); }
.footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 20px 0; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* FAB */
.fab {
  position: fixed; z-index: 999;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.08); }
.top {
  bottom: 24px; right: 24px;
  background: linear-gradient(135deg, var(--blue), #0088bb);
  color: var(--navy);
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.top.visible { opacity: 1; visibility: visible; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc, .trust-list { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .trust-list { max-width: 400px; }
  .hero-visual { min-height: 280px; margin-top: 32px; }
  .compare-grid, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap h2 { text-align: center; }
  .contact-wrap .hero-desc { text-align: center; }
}
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .header .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-logo { width: 36px; height: 36px; font-size: 10px; border-radius: 10px; }
  .brand-text { font-size: 1rem; }
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--header-h) + 16px) 0 32px;
  }
  #hero-particles { opacity: 0.35; pointer-events: none; }
  .hero-grid {
    gap: 0;
    text-align: left;
  }
  .hero-copy { width: 100%; }
  .hero-visual { display: none; }
  .badge {
    font-size: 0.625rem;
    padding: 5px 10px;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
  }
  .hero h1,
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-lead { margin-bottom: 4px; }
  .text-glow {
    background: none;
    -webkit-text-fill-color: #00C6FF;
    color: #00C6FF;
  }
  .desc-long { display: none; }
  .desc-short { display: block; }
  .hero-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 0;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.9375rem;
  }
  .hero .trust-list { display: none; }
  .hero-glow {
    width: 240px; height: 240px;
    right: -40px; top: -20px;
    filter: blur(50px);
    opacity: 0.35;
  }
  .tech-section { padding-top: 40px; }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tech-card { padding: 16px 10px; gap: 8px; }
  .tech-card img { width: 32px; height: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .counter { font-size: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .compare-col { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .stats-section { padding: 40px 0; }
  .cta-banner { padding: 64px 0; }
  .testimonial-slide { padding: 28px 20px; }
  .testimonial-slide p { font-size: 1rem; }
  .contact-form { padding: 24px; }
  .footer { padding-top: 48px; }
  .fab.top {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
}
@media (max-width: 480px) {
  .brand-text { font-size: 0.9375rem; }
  .hero h1,
  .hero-title { font-size: 1.375rem; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:last-child { grid-column: 1 / -1; }
  .center-lead { font-size: 0.9375rem; line-height: 1.7; }
  .project-body { padding: 20px; }
  .project-body h3 { font-size: 1.125rem; }
  .t-meta { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { max-width: none; }
  .social { justify-content: center; }
  .footer-bottom { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .brand-text { display: none; }
  .hero h1,
  .hero-title { font-size: 1.25rem; }
  .hero-desc { font-size: 0.875rem; }
  .btn { padding: 12px 16px; font-size: 0.875rem; }
  .btn-lg { padding: 12px 18px; }
  .section-header h2, .section h2 { font-size: 1.5rem; }
  .cta-content h2 { font-size: 1.5rem; }
}
