/* SubnetJoe shared styles (moved out of index.html, unchanged) */
:root {
  --navy: #0f1f5c;
  --navy-dark: #090f30;
  --navy-mid: #1a2e7a;
  --sky: #00b4e6;
  --sky-light: #33d4ff;
  --sky-pale: #e8f8ff;
  --white: #ffffff;
  --gray-100: #f4f7fb;
  --gray-200: #e8edf5;
  --gray-400: #8a96b0;
  --gray-700: #3a4560;
  --text: #1a2240;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15,31,92,0.10);
  --shadow-lg: 0 12px 48px rgba(15,31,92,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

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

.nav-logo-icon {
  width: 36px; height: 36px;
}

.nav-brand {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 1.4rem;
  color: var(--white); letter-spacing: 1px;
}

.nav-brand span { color: var(--sky); }

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

.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--sky-light); }

.nav-cta {
  background: var(--sky) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
}

.nav-cta:hover { background: var(--sky-light) !important; }

/* ─── PAGE SYSTEM ─────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── SHARED COMPONENTS ───────────────────────────── */
.section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 60px 40px; max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--sky);
}

h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p { line-height: 1.72; color: var(--gray-700); }

.lead {
  font-size: 1.15rem; line-height: 1.7;
  color: var(--gray-700); max-width: 640px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s;
}

.btn-primary {
  background: var(--sky); color: var(--navy-dark);
}
.btn-primary:hover { background: var(--sky-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,180,230,0.35); }

.btn-secondary {
  background: transparent;
  border: 2px solid var(--sky);
  color: var(--sky);
}
.btn-secondary:hover { background: var(--sky); color: var(--navy-dark); }

.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover { background: var(--sky-pale); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--sky-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.6rem;
}

.tag {
  display: inline-block;
  background: var(--sky-pale); color: var(--navy-mid);
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.5px;
}

.divider {
  width: 60px; height: 4px;
  background: var(--sky);
  border-radius: 2px;
  margin: 20px 0;
}

/* ─── HERO VARIANTS ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a4080 100%);
  position: relative; overflow: hidden;
  padding: 100px 40px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4e6' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,180,230,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,180,230,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}

.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.82); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,230,0.15);
  border: 1px solid rgba(0,180,230,0.3);
  color: var(--sky-light);
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 24px; letter-spacing: 0.5px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ─── PAGE HERO (smaller) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,180,230,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,180,230,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .lead { color: rgba(255,255,255,0.78); margin-top: 16px; }

/* ─── TRUST BAR ───────────────────────────────────── */
.trust-bar {
  background: var(--navy-dark);
  padding: 20px 40px;
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem; font-weight: 500;
}
.trust-item span { color: var(--sky); font-size: 1.1rem; }

/* ─── CTA BAND ────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4080 100%);
  padding: 72px 40px; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); margin: 16px auto 32px; max-width: 560px; font-size: 1.05rem; }

/* ─── TESTIMONIAL ─────────────────────────────────── */
.testimonial {
  background: var(--sky-pale);
  border-left: 4px solid var(--sky);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
}
.testimonial blockquote {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--gray-700); font-style: italic;
  margin-bottom: 14px;
}
.testimonial cite {
  font-size: 0.875rem; font-weight: 600;
  color: var(--navy); font-style: normal;
}

/* ─── PRICING CARD ────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px; padding: 36px 32px;
  text-align: center;
  transition: all 0.2s;
}
.pricing-card.featured {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0,180,230,0.1);
}
.pricing-card .price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem; font-weight: 700; color: var(--navy);
  line-height: 1;
}
.pricing-card .price span { font-size: 1.1rem; font-weight: 500; color: var(--gray-400); }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card li {
  padding: 8px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem; color: var(--gray-700);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card li::before { content: '✓'; color: var(--sky); font-weight: 700; }

/* ─── FORM ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-weight: 600; font-size: 0.875rem; color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0,180,230,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ─── UTILITY ─────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-16 { gap: 16px; }

.bg-gray { background: var(--gray-100); }
.bg-sky-pale { background: var(--sky-pale); }

.highlight { color: var(--sky); }

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

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  padding: 48px 40px 28px;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: var(--white);
  letter-spacing: 1px;
}
.footer-brand-name span { color: var(--sky); }
.footer-tagline { font-size: 0.85rem; margin-top: 6px; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; margin-top: 14px; }
.footer-heading { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1rem; color: var(--white); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}

/* ─── ICON SVG INLINE ─────────────────────────────── */
.icon-shield {
  display: inline-block; width: 1em; height: 1em;
  vertical-align: middle;
}

/* ─── SERVICE LIST ────────────────────────────────── */
.service-list { list-style: none; }
.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--gray-700);
}
.service-list li:last-child { border-bottom: none; }
.service-list .check { color: var(--sky); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ─── STAT BOX ────────────────────────────────────── */
.stat-box {
  background: var(--navy-dark);
  border-radius: 12px; padding: 28px;
  text-align: center;
}
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem; font-weight: 700; color: var(--sky);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-top: 6px; }

/* ─── AREA PILL ───────────────────────────────────── */
.area-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 40px; padding: 10px 20px;
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.area-pill:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.area-pill span { color: var(--sky); }

.areas-grid {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
}

/* ─── PROCESS STEP ────────────────────────────────── */
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px; background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px; box-shadow: var(--shadow);
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sky); color: var(--navy-dark);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── CONTACT LAYOUT ──────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start;
}
.contact-method {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--gray-100);
  border-radius: 10px; margin-bottom: 16px;
}
.contact-method-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--sky-pale); color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-method-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); }
.contact-method-value { font-weight: 600; color: var(--navy); font-size: 1rem; margin-top: 2px; }

/* ─── ABOUT LAYOUT ────────────────────────────────── */
.about-profile {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px; padding: 40px;
  text-align: center; color: var(--white);
}
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(0,180,230,0.2);
  border: 4px solid var(--sky);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.profile-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--white);
}
.profile-title { color: var(--sky-light); font-size: 0.9rem; margin-top: 4px; }
.profile-badge {
  display: inline-block;
  background: rgba(0,180,230,0.15);
  border: 1px solid rgba(0,180,230,0.3);
  border-radius: 6px; padding: 6px 14px;
  font-size: 0.8rem; color: var(--sky-light);
  margin: 6px 4px;
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 10px; overflow: hidden;
  margin-bottom: 12px;
}
.faq-q {
  padding: 18px 24px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.95rem; color: var(--navy);
  background: var(--white);
  user-select: none;
}
.faq-q:hover { background: var(--sky-pale); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem; line-height: 1.7; color: var(--gray-700);
  background: var(--white);
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.2s; color: var(--sky); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.page.active > * { animation: fadeIn 0.35s ease forwards; }
