/* ── Base ── */
:root {
  --brand:      #0066ff;
  --brand-dark: #0047cc;
  --brand-light:#e6f0ff;
  --accent:     #00c4a7;
  --dark:       #0d1b2a;
  --gray-50:    #f8f9fc;
  --gray-100:   #f0f2f7;
  --gray-200:   #e2e6ef;
  --gray-400:   #9aa3b2;
  --gray-600:   #5a6477;
  --gray-800:   #2c3446;
  --radius:     12px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.13);
  --transition: .22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

/* ── Layout toggle ── */
body.layout-wide .container { max-width: 100% !important; padding-left: 2rem; padding-right: 2rem; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { color: var(--gray-600); }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

/* ── Topbar ── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-info span { color: rgba(255,255,255,.7); }
.topbar-social a {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: color var(--transition);
}
.topbar-social a:hover { color: #fff; }

/* ── Navbar ── */
.main-navbar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.main-navbar .navbar-brand { padding: 14px 0; }
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  margin-right: 8px;
}
.brand-name { font-weight: 800; font-size: 19px; color: var(--dark); letter-spacing: -.4px; }
.nav-link {
  color: var(--gray-600) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 20px 14px !important;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--brand) !important;
  border-bottom-color: var(--brand);
}
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Buttons ── */
.btn { border-radius: 8px; font-weight: 600; transition: all var(--transition); }
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-primary { color: var(--brand); border-color: var(--brand); }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #00a88f; border-color: #00a88f; color: #fff; }

/* ── Section helpers ── */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }
.section-gray { background: var(--gray-50); }
.section-brand { background: linear-gradient(135deg, var(--brand) 0%, #0040bb 100%); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-brand p { color: rgba(255,255,255,.8); }

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}
.section-heading { margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--gray-600); max-width: 600px; }
.section-sub.mx-auto { text-align: center; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #112244 60%, #0a3380 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,102,255,.18), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,167,.15);
  color: var(--accent);
  border: 1px solid rgba(0,196,167,.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-num { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
  max-width: 380px;
  width: 100%;
}
.speed-ring {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}
.speed-ring::after {
  content: '';
  position: absolute; inset: 12px;
  background: #0d1b2a;
  border-radius: 50%;
}
.speed-val { position: relative; z-index: 1; text-align: center; }
.speed-val strong { font-size: 2.8rem; font-weight: 800; color: #fff; display: block; line-height: 1; }
.speed-val span { font-size: 14px; color: rgba(255,255,255,.6); }
.speed-bars { display: flex; flex-direction: column; gap: 10px; }
.speed-bar-row { display: flex; align-items: center; gap: 12px; }
.speed-bar-row label { font-size: 13px; color: rgba(255,255,255,.6); width: 60px; }
.speed-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.speed-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.speed-bar-row span { font-size: 13px; color: rgba(255,255,255,.7); width: 50px; text-align: right; }

/* ── Cards ── */
.card { border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-body { padding: 28px; }

.feature-card { text-align: center; padding: 36px 24px; }
.feature-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.accent { background: rgba(0,196,167,.12); color: var(--accent); }
.feature-icon.warning { background: #fff7e6; color: #e67e00; }
.feature-icon.success { background: #e8f7f0; color: #1a8f5a; }

/* ── Pricing cards ── */
.pricing-card {
  border: 2px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brand); }
.plan-speed { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; margin: 8px 0 4px; }
.plan-speed small { font-size: 1rem; font-weight: 400; color: var(--gray-400); }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--dark); }
.plan-price small { font-size: 14px; font-weight: 400; color: var(--gray-400); }
.plan-features { list-style: none; padding: 0; margin: 24px 0; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--accent); font-size: 14px; }
.plan-features li.muted i { color: var(--gray-400); }
.plan-features li.muted { color: var(--gray-400); text-decoration: line-through; }

/* ── Stats ── */
.stat-box { text-align: center; padding: 32px 20px; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-label { font-size: 15px; color: var(--gray-600); margin-top: 8px; }

/* ── Testimonials ── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f5a623; font-size: 14px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: var(--gray-600); line-height: 1.8; font-style: italic; }
.testimonial-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 15px; color: var(--dark); }
.author-loc { font-size: 13px; color: var(--gray-400); }

/* ── Coverage map placeholder ── */
.coverage-map {
  background: linear-gradient(135deg, var(--brand-light), #e0f7f4);
  border-radius: var(--radius);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  font-size: 48px;
  color: var(--brand);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0a3380 100%);
  padding: 80px 0 70px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.7); }
.breadcrumb { background: none; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,.6); font-size: 14px; }
.breadcrumb-item.active { color: rgba(255,255,255,.9); font-size: 14px; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── Contact form ── */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-label { font-weight: 600; font-size: 14px; color: var(--gray-800); }
.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,102,255,.1);
}

/* ── FAQ ── */
.accordion-item { border: 1px solid var(--gray-200); border-radius: var(--radius) !important; margin-bottom: 10px; overflow: hidden; }
.accordion-button { font-weight: 600; color: var(--dark); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--brand-light); color: var(--brand); box-shadow: none; }
.accordion-button::after { filter: none; }

/* ── Alert ── */
.alert-success-custom {
  background: #e8f7f0;
  border: 1px solid #a3dfc0;
  color: #0d5c36;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
}
.alert-error-custom {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
}

/* ── Footer ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); margin-top: auto; }
.footer-top { padding: 70px 0 50px; }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 12px; align-items: flex-start; }
.footer-contact li i { color: var(--brand); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.55); }
.footer-contact a:hover { color: #fff; }
.footer-newsletter .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; font-size: 13px; }
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter .form-control:focus { border-color: var(--brand); box-shadow: none; background: rgba(255,255,255,.12); }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-legal a { color: rgba(255,255,255,.4); font-size: 13px; transition: color var(--transition); }
.footer-legal a:hover { color: #fff; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 13px; }

/* ── Scroll-to-top ── */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: translateY(-3px); background: var(--brand-dark); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .nav-link { border-bottom: none; padding: 10px 14px !important; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-visual { margin-top: 40px; }
  .section { padding: 60px 0; }
}
@media (max-width: 575px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .plan-speed { font-size: 2.2rem; }
}
