/* ===========================
   ArcNetworks — styles.css
   =========================== */

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

:root {
  --blue:       #1D4ED8;
  --blue-dark:  #1E40AF;
  --blue-light: #DBEAFE;
  --blue-mid:   #3B82F6;
  --text:       #111827;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --bg-alt:     #F9FAFB;
  --white:      #FFFFFF;
  --green:      #16A34A;
  --amber:      #D97706;
  --radius:     10px;
}

html { scroll-behavior: smooth; }

/* ===== SKIP NAV ===== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
}
.skip-nav:focus { top: 0; }

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

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

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

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 20px;
  font-size: 15px;
  border-radius: 8px;
}
.btn-nav:hover { background: var(--blue-dark); color: var(--white) !important; }

.btn-large { padding: 16px 36px; font-size: 18px; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.logo-mark {
  color: var(--blue);
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}
.logo-text span { color: var(--blue); }
.logo-footer .logo-mark { color: var(--blue-light); }
.logo-footer .logo-text { color: var(--white); }
.logo-footer .logo-text span { color: var(--blue-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--blue); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 60%, #3B82F6 100%);
  padding: 96px 0 88px;
  color: var(--white);
}

.hero-content { max-width: 680px; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 580px;
}

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

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.trust-icon { font-size: 20px; }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 18px;
  color: var(--muted);
}

/* ===== SERVICES / PLANS ===== */
.services { padding: 88px 0; background: var(--white); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-featured {
  border-color: var(--blue);
  position: relative;
  box-shadow: 0 8px 32px rgba(29, 78, 216, 0.15);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-price {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}
.plan-price span { font-size: 20px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
  font-size: 16px;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== WHY US ===== */
.why-us { padding: 88px 0; background: var(--bg-alt); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.feature-icon { font-size: 36px; margin-bottom: 14px; }

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature p { color: var(--muted); font-size: 16px; }

/* ===== FAMILIES ===== */
.families { padding: 88px 0; background: var(--white); }

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

.families-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.families-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 17px;
}

.families-text .btn { margin-top: 8px; }

.report-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
}

.report-preview {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.report-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.report-client {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.report-item {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.report-item.good { background: #F0FDF4; color: #166534; }
.report-item.warn { background: #FFFBEB; color: #92400E; }

.report-footer {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
  padding: 88px 0;
  color: var(--white);
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.contact-inner p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.contact .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.contact .btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); }

.contact-sub {
  margin-top: 20px !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.85) !important;
}

/* ===== FOOTER ===== */
footer {
  background: #111827;
  padding: 32px 0;
  color: rgba(255,255,255,0.75);
}

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

.footer-inner p { font-size: 14px; }

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-links .btn-nav { margin-top: 8px; text-align: center; }

  .trust-inner { gap: 20px; }
  .families-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
