/* ============================================================
   Zhuangwei.mom - Professional IT & Computer Systems Design
   Original Design - No Templates Used
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  background-color: #f8fafd;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul {
  list-style: none;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #00c896;
  color: #0a1628;
  padding: 8px 20px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a1628;
  border-bottom: 2px solid #00c896;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00c896 0%, #00a67d 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-icon-inner {
  width: 20px;
  height: 20px;
  border: 3px solid #0a1628;
  border-radius: 4px;
  position: relative;
}
.nav-brand-icon-inner::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #0a1628;
  border-radius: 1px;
  top: 5px;
  left: 5px;
}

.nav-brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.nav-brand-text span {
  color: #00c896;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00c896;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: #00c896;
  color: #0a1628 !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.25s, transform 0.2s !important;
}

.nav-cta:hover {
  background: #00e0a8;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  background: #0a1628;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(#00c896 1px, transparent 1px),
    linear-gradient(90deg, #00c896 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -30px -30px;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: #f8fafd;
  clip-path: polygon(0% 80%, 4% 30%, 8% 60%, 12% 20%, 16% 55%, 20% 10%, 24% 50%, 28% 25%, 32% 60%, 36% 15%, 40% 45%, 44% 30%, 48% 55%, 52% 20%, 56% 50%, 60% 10%, 64% 45%, 68% 30%, 72% 55%, 76% 15%, 80% 40%, 84% 25%, 88% 50%, 92% 20%, 96% 45%, 100% 10%, 100% 100%, 0% 100%);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: #1a2a41;
  border: 1px solid #00c896;
  color: #00c896;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: #00c896;
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: #00c896;
  opacity: 0.25;
  border-radius: 4px;
}

.hero-desc {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #00c896;
  color: #0a1628;
}

.btn-primary:hover {
  background: #00e0a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 150, 0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #334155;
}

.btn-outline:hover {
  border-color: #00c896;
  color: #00c896;
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 440px;
  height: 440px;
}

.hero-card {
  position: absolute;
  background: #1a2a41;
  border: 1px solid #243452;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-card-1 {
  top: 20px;
  left: 20px;
  right: 60px;
  bottom: 60px;
  z-index: 3;
}

.hero-card-2 {
  top: 60px;
  left: 60px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  opacity: 0.7;
}

.hero-card-3 {
  top: 100px;
  left: 100px;
  right: 40px;
  bottom: 40px;
  z-index: 1;
  opacity: 0.4;
}

.card-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.card-dot.green { background: #00c896; }
.card-dot.amber { background: #f59e0b; }
.card-dot.coral { background: #ff6b4a; }

.card-bar {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.card-bar.w-80 { width: 80%; background: #334155; }
.card-bar.w-60 { width: 60%; background: #334155; }
.card-bar.w-40 { width: 40%; background: #334155; }
.card-bar.w-50 { width: 50%; background: #334155; }
.card-bar.w-30 { width: 30%; background: #334155; }

.card-bar-teal {
  width: 65%;
  height: 4px;
  background: #00c896;
  border-radius: 2px;
  margin-bottom: 12px;
}

.card-node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.card-node {
  width: 100%;
  aspect-ratio: 1;
  background: #243452;
  border-radius: 6px;
  transition: background 0.3s;
}
.card-node.teal { background: #00c896; }
.card-node.coral { background: #ff6b4a; }
.card-node.amber { background: #f59e0b; }

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 96px 24px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00a67d;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: #0a1628;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- SERVICES SECTION ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 30px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00c896, #00a67d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
  border-color: #cbd5e1;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon {
  width: 28px;
  height: 28px;
  background: #00c896;
  border-radius: 6px;
  position: relative;
}

.service-icon.cpu::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, #ffffff 0px, #ffffff 3px, transparent 3px, transparent 6px);
  border-radius: 6px;
}

.service-icon.network {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.service-icon.data {
  border-radius: 50%;
}
.service-icon.data::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service-icon.security {
  clip-path: polygon(50% 0%, 0% 30%, 0% 70%, 50% 100%, 100% 70%, 100% 30%);
}

.service-icon.cloud {
  border-radius: 50% 50% 50% 0;
}

.service-icon.ai {
  border-radius: 8px;
  transform: rotate(45deg);
}

.service-name {
  font-size: 19px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: #0a1628;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #00c896 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #00c896;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
}

.stat-label {
  font-size: 15px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- PROCESS SECTION ---------- */
.process {
  background: #f1f5f9;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: #cbd5e1;
}

.process-circle {
  width: 72px;
  height: 72px;
  background: #ffffff;
  border: 3px solid #00c896;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  position: relative;
  z-index: 2;
}

.process-step.current .process-circle {
  background: #00c896;
  color: #0a1628;
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ---------- TECH STACK ---------- */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.tech-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: #00c896;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
  transform: translateY(-3px);
}

.tech-shape {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-shape-inner {
  width: 22px;
  height: 22px;
  background: #00c896;
  border-radius: 5px;
}

.tech-shape-inner.circle { border-radius: 50%; }
.tech-shape-inner.triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 0;
}
.tech-shape-inner.hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border-radius: 0;
}
.tech-shape-inner.cross {
  clip-path: polygon(20% 0%, 80% 0%, 80% 40%, 100% 40%, 100% 60%, 80% 60%, 80% 100%, 20% 100%, 20% 60%, 0% 60%, 0% 40%, 20% 40%);
  border-radius: 0;
}
.tech-shape-inner.diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}
.tech-shape-inner.ring {
  border-radius: 50%;
  background: transparent;
  border: 5px solid #00c896;
}

.tech-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* ---------- WHY US / FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.feature-row:hover {
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.08);
  border-color: #cbd5e1;
}

.feature-marker {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #ecfdf5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-marker-dot {
  width: 8px;
  height: 8px;
  background: #00c896;
  border-radius: 2px;
}

.feature-text-title {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 6px;
}

.feature-text-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: #f1f5f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: #00c896;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-quote {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #334155;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
}

.testimonial-role {
  font-size: 13px;
  color: #64748b;
}

/* ---------- CONTACT / CTA ---------- */
.contact-cta {
  background: linear-gradient(160deg, #0a1628 0%, #0f1f3a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(30deg, #00c896 2px, transparent 2px),
    linear-gradient(-30deg, #00c896 2px, transparent 2px);
  background-size: 80px 80px;
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-content .section-title {
  color: #ffffff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.contact-info-card {
  background: #1a2a41;
  border: 1px solid #243452;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.contact-info-card:hover {
  border-color: #00c896;
}

.contact-icon-circle {
  width: 52px;
  height: 52px;
  background: #0a1628;
  border: 2px solid #00c896;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-dot {
  width: 10px;
  height: 10px;
  background: #00c896;
  border-radius: 2px;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #00c896;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 16px;
  color: #e2e8f0;
  font-weight: 500;
  word-break: break-all;
}

.contact-value a:hover {
  color: #00c896;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  font-size: 14px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand-name span {
  color: #00c896;
}

.footer-brand-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #64748b;
  font-size: 14px;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: #00c896;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
  font-size: 13px;
  transition: color 0.25s;
}

.footer-bottom-links a:hover {
  color: #00c896;
}

/* ---------- LEGAL PAGES ---------- */
.legal-hero {
  background: #0a1628;
  padding: 72px 24px;
  text-align: center;
  position: relative;
}

.legal-hero-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.legal-hero-sub {
  font-size: 15px;
  color: #94a3b8;
}

.legal-hero-date {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00c896;
  display: inline-block;
}

.legal-section p {
  font-size: 16px;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.legal-section ul li {
  font-size: 16px;
  color: #475569;
  line-height: 1.85;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #00c896;
  border-radius: 2px;
}

.legal-section strong {
  color: #0a1628;
}

.legal-toc {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-toc h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 12px;
}

.legal-toc ol {
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.legal-toc ol li {
  font-size: 15px;
  color: #475569;
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-toc ol li a {
  color: #00a67d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-toc ol li a:hover {
  color: #0a1628;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #00c896;
  color: #0a1628;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.35);
  transition: all 0.3s ease;
  z-index: 999;
  display: none;
}

.back-to-top.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 200, 150, 0.45);
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .process-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

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

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

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 40px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0a1628;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 2px solid #00c896;
    border-bottom: 2px solid #00c896;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .process-flow {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-toc ol {
    columns: 1;
  }

  .section {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .stat-number {
    font-size: 36px;
  }
}

/* ---------- PRINT ---------- */
@media print {
  .site-header,
  .back-to-top,
  .hero-wave,
  .hero-grid-bg,
  .contact-cta::before,
  .stats-band::before {
    display: none;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  .legal-body {
    padding: 0;
  }
}
