/* ============================================================
   Trivio Technologies CMS - Main Stylesheet
   ============================================================ */
:root {
  --bg: #04050a;
  --surface: #0b0d17;
  --surface2: #111426;
  --border: rgba(255,255,255,0.07);
  --primary: #3d7fff;
  --accent2: #00e5b0;
  --accent3: #a259ff;
  --text: #f0f2ff;
  --muted: #7b83a6;
  --card-glow: rgba(61,127,255,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}
.grid-bg {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(61,127,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(61,127,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { line-height: 1.7; }
a { color: var(--primary); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--muted); }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.py-section { padding: 100px 0; }
section { position: relative; z-index: 1; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
  background: rgba(4,5,10,0.8);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-dot { color: var(--primary); }
.blink-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  margin-left: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0.6} }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #5590ff !important; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; display: block; transition: all 0.3s; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: all 0.2s; border: none; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #5590ff; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(61,127,255,0.35); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-center { text-align: center; }
.section-center .section-label { justify-content: center; }
.section-center .section-sub { margin: 0 auto; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 520px; font-weight: 300; margin-top: 12px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,127,255,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)} 50%{opacity:0.7;transform:translate(-50%,-50%) scale(1.1)} }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,127,255,0.1);
  border: 1px solid rgba(61,127,255,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #90b8ff;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease forwards;
}
.hero-badge .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); animation: pulse 1.5s infinite; }
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero h1 { margin-bottom: 24px; animation: fadeUp 0.9s ease 0.2s both; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin: 0 auto 40px; font-weight: 300; animation: fadeUp 0.9s ease 0.4s both; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.9s ease 0.6s both; }

/* ===== STATS STRIP ===== */
.stats-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--text), var(--muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(61,127,255,0.25); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 56px; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 22px; }
.icon-blue { background: rgba(61,127,255,0.12); }
.icon-green { background: rgba(0,229,176,0.1); }
.icon-purple { background: rgba(162,89,255,0.1); }
.icon-orange { background: rgba(255,135,66,0.1); }
.icon-pink { background: rgba(255,70,130,0.1); }
.icon-cyan { background: rgba(0,200,255,0.1); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; }
.service-tag { display: inline-block; margin-top: 18px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px; font-size: 0.75rem; color: var(--muted); }
.service-price { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.service-link:hover { gap: 10px; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.process-step { padding: 36px 24px; border-right: 1px solid var(--border); transition: background 0.2s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface2); }
.step-num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.05); line-height: 1; margin-bottom: 14px; }
.step-icon { font-size: 1.4rem; margin-bottom: 10px; }
.process-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ===== TECH MARQUEE ===== */
.tech-marquee-wrapper { overflow: hidden; margin-top: 48px; position: relative; }
.tech-marquee-wrapper::before, .tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.tech-marquee-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tech-marquee-wrapper::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.tech-marquee { display: flex; gap: 16px; animation: marquee 30s linear infinite; width: max-content; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tech-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 12px 24px; font-size: 0.88rem; font-weight: 500; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tech-pill .tech-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; transition: border-color 0.2s; }
.why-item:hover { border-color: rgba(61,127,255,0.25); }
.why-icon { font-size: 1.6rem; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.why-item h4 { font-size: 1rem; margin-bottom: 6px; }
.why-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; max-width: 800px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; transition: background 0.2s; }
.faq-question:hover { background: var(--surface2); }
.faq-question .arrow { transition: transform 0.3s; font-size: 0.8rem; color: var(--primary); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; color: var(--muted); font-size: 0.93rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-label .req { color: var(--primary); }
.form-control {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(61,127,255,0.15); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #ff6b6b; font-size: 0.8rem; margin-top: 5px; }
.checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.checkbox-item span { font-size: 0.88rem; color: var(--muted); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--primary); }

/* ===== SURFACE SECTION ===== */
.surface-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== CTA SECTION ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(61,127,255,0.1) 0%, rgba(162,89,255,0.08) 50%, rgba(0,229,176,0.06) 100%);
  border: 1px solid rgba(61,127,255,0.2);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:600px; height:1px; background:linear-gradient(90deg,transparent,rgba(61,127,255,0.5),transparent); }
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--muted); margin-bottom: 36px; font-size: 1.05rem; }

/* ===== CHIPS ===== */
.chip { background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 8px 18px; font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 0.93rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  max-width: 380px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: var(--accent2); color: var(--accent2); }
.toast.error { border-color: #ff6b6b; color: #ff6b6b; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 70px 0 36px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text); margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-contact-info { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info a { color: var(--muted); text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-contact-info a:hover { color: var(--text); }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 700; transition: all 0.2s; }
.social-link:hover { border-color: var(--primary); color: var(--primary); }
.footer-newsletter { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.newsletter-text { font-size: 0.95rem; color: var(--muted); }
.newsletter-text strong { color: var(--text); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 18px; color: var(--text); font-size: 0.9rem; outline: none; width: 260px; font-family: inherit; transition: border-color 0.2s; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { background: var(--primary); color: #fff; border: none; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9rem; transition: background 0.2s; }
.newsletter-form button:hover { background: #5590ff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.pagination a:hover, .pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== BADGE ===== */
.badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-blue { background: rgba(61,127,255,0.15); color: #90b8ff; }
.badge-green { background: rgba(0,229,176,0.1); color: var(--accent2); }
.badge-purple { background: rgba(162,89,255,0.1); color: #c49dff; }
.badge-orange { background: rgba(255,135,66,0.1); color: #ffb38a; }

/* ===== LOADING SPINNER ===== */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step { border-bottom: 1px solid var(--border); }
}
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: rgba(4,5,10,0.97);
    backdrop-filter: blur(24px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { padding: 36px 24px; gap: 40px; }
  .cta-box { padding: 48px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 20px 60px; }
  .services-grid, .why-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .py-section { padding: 70px 0; }
}
