/* ============================================
   AIMAS - AI Automation Company
   styles.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary:     #0a0e1a;
  --bg-secondary:   #0d1117;
  --bg-card:        rgba(255, 255, 255, 0.04);
  --bg-card-hover:  rgba(255, 255, 255, 0.08);
  --border-glass:   rgba(255, 255, 255, 0.08);
  --border-hover:   rgba(0, 212, 255, 0.4);

  --blue:           #00d4ff;
  --blue-dim:       rgba(0, 212, 255, 0.15);
  --blue-glow:      rgba(0, 212, 255, 0.3);
  --purple:         #7c3aed;
  --purple-dim:     rgba(124, 58, 237, 0.15);
  --purple-glow:    rgba(124, 58, 237, 0.4);
  --pink:           #ec4899;

  --text-primary:   #f0f6ff;
  --text-secondary: #8b9cbf;
  --text-muted:     #4a5568;

  --gradient-main:  linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-hero:  linear-gradient(135deg, rgba(0,212,255,0.12) 0%, rgba(124,58,237,0.12) 100%);
  --gradient-card:  linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.06) 100%);

  --nav-height:     72px;
  --radius-card:    20px;
  --radius-btn:     12px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow:    0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 60px;
}

/* ---- Ambient background blobs ---- */
.ambient {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.blob-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -200px; left: -150px;
}

.blob-2 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: 30%; right: -200px;
}

.blob-3 {
  width: 400px; height: 400px;
  background: var(--purple);
  bottom: -100px; left: 30%;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--bg-primary);
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--blue-glow);
}

.logo-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: all var(--transition);
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu ul a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all var(--transition);
}

.mobile-menu ul a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 100px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeIn 1.2s ease 1s both;
  cursor: pointer;
}

.scroll-wheel {
  width: 26px; height: 42px;
  border: 2px solid var(--border-glass);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel::after {
  content: '';
  width: 4px; height: 8px;
  background: var(--blue);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero floating cards */
.hero-visual {
  display: none; /* shown on lg */
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-6px);
}

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

/* Card shine effect */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::after {
  left: 150%;
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.icon-blue  { background: var(--blue-dim);   box-shadow: 0 0 20px var(--blue-glow); }
.icon-purple { background: var(--purple-dim); box-shadow: 0 0 20px var(--purple-glow); }

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

/* ============================================
   WHY AIMAS
   ============================================ */
.why {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-left .section-label { margin-bottom: 24px; }
.why-left .section-title { text-align: left; }
.why-left .section-sub   { text-align: left; margin: 0 0 40px; }

.why-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.benefit-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg { width: 22px; height: 22px; }

.benefit-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Why right - visual */
.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.why-main-card {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 60px rgba(124,58,237,0.15);
  position: relative;
  z-index: 2;
}

.why-main-card .card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.card-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--bg-primary);
}

.card-title-group h4 { font-size: 0.95rem; font-weight: 700; }
.card-title-group p  { font-size: 0.8rem; color: var(--text-secondary); }

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.metric-box .val {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-box .lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-group { display: flex; flex-direction: column; gap: 12px; }
.progress-item  {}
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 6px; }
.progress-label span:last-child { color: var(--blue); font-weight: 600; }
.progress-bar   { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill  { height: 100%; border-radius: 3px; background: var(--gradient-main); }

.why-float-card {
  position: absolute;
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  z-index: 3;
  white-space: nowrap;
}

.float-1 { bottom: -20px; left: -30px; animation: float 4s ease-in-out infinite; }
.float-2 { top: -20px;   right: -20px; animation: float 4s ease-in-out 2s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.float-info .title { font-size: 0.78rem; font-weight: 700; }
.float-info .sub   { font-size: 0.68rem; color: var(--text-secondary); }

/* ============================================
   STATS
   ============================================ */
.stats {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.stats-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  overflow: hidden;
}

.stats-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  border-radius: inherit;
}

.stat-item {
  text-align: center;
  padding: 20px 30px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border-glass);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 900;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-main);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
}

.contact-btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.contact-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.contact-btn-email {
  background: var(--gradient-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--blue-glow);
}

.contact-btn-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

.contact-btn svg { width: 22px; height: 22px; }

.contact-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-mark { width: 32px; height: 32px; font-size: 0.7rem; }
.footer-logo .logo-text { font-size: 1.2rem; font-weight: 800; }

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--blue); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1024px) {
  .hero-visual { display: block; }
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-visual { order: -1; }
  .why-main-card { max-width: 100%; }
  .why-float-card { display: none; }

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

  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(2) { border-left: 1px solid var(--border-glass); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-glass); }
  .stat-item:nth-child(4) { border-left: 1px solid var(--border-glass); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }

  .stats-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px;
  }

  .contact-card { padding: 40px 24px; }

  .hero-cta { flex-direction: column; }
  .btn-lg   { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .metric-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .stats-wrapper { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border-glass); }
  .stat-item:nth-child(2) { border-left: none; }
  .stat-item:nth-child(4) { border-left: none; }
}
