/* ═══════════════════════════════════════════════
   Mwananchi Telecom — Main Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --deep-blue: #1E3A8A;
  --calm-blue: #2563EB;
  --green: #16A34A;
  --green-light: #22C55E;
  --green-glow: #4ADE80;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --shadow-card-hover: 0 16px 48px rgba(30,58,138,0.16), 0 4px 12px rgba(30,58,138,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--slate-800);
  overflow-x: hidden;
}

/* ══════════════ NAVBAR ══════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,58,138,0.07);
  box-shadow: 0 2px 24px rgba(30,58,138,0.06);
}

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

.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--deep-blue), var(--calm-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.logo-mark::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--green-glow);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--deep-blue);
  letter-spacing: -0.3px;
}
.logo-text span:last-child {
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--calm-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-menu a:hover { color: var(--calm-blue); }
.nav-menu a:hover::after { transform: scaleX(1); }

/* ══════════════ BUTTONS ══════════════ */
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
  white-space: nowrap;
}
.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}
.btn-green-lg { padding: 16px 36px; font-size: 16px; border-radius: 50px; }

.btn-outline-white {
  padding: 16px 28px;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.55);
}

/* ══════════════ HERO ══════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--calm-blue) 60%, #3B82F6 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 5% 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(99,179,237,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74,222,128,0.08) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}
.hero-badge span { font-size: 12.5px; color: rgba(255,255,255,0.9); font-weight: 500; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-headline .accent { color: var(--green-glow); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Hero visual / widget */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
}
.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.device-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.device-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green-light);
  font-weight: 500;
}
.speed-meter { text-align: center; margin-bottom: 28px; }
.speed-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
}
.speed-unit { font-size: 18px; color: rgba(255,255,255,0.5); font-weight: 300; letter-spacing: 1px; }
.speed-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

.signal-bars { display: flex; align-items: flex-end; justify-content: center; gap: 5px; margin: 20px 0; height: 40px; }
.bar { width: 10px; background: rgba(255,255,255,0.15); border-radius: 3px; position: relative; overflow: hidden; }
.bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--green-light), var(--green-glow));
  border-radius: 3px;
  animation: barFill 1.5s ease-out forwards;
}
.bar:nth-child(1) { height: 16px; } .bar:nth-child(2) { height: 22px; }
.bar:nth-child(3) { height: 28px; } .bar:nth-child(4) { height: 34px; } .bar:nth-child(5) { height: 40px; }
.bar:nth-child(1)::after { height: 100%; }
.bar:nth-child(2)::after { animation-delay: .1s; height: 100%; }
.bar:nth-child(3)::after { animation-delay: .2s; height: 100%; }
.bar:nth-child(4)::after { animation-delay: .3s; height: 85%; }
.bar:nth-child(5)::after { animation-delay: .4s; height: 75%; }

.device-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.metric-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.metric-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.metric-icon.down { background: rgba(34,197,94,0.2); }
.metric-icon.up { background: rgba(99,179,237,0.2); }
.metric-icon.ping { background: rgba(251,191,36,0.2); }
.metric-icon.devices { background: rgba(167,139,250,0.2); }
.metric-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.metric-lbl { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; text-transform: uppercase; }

.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  animation: floatY 4s ease-in-out infinite;
}
.float-badge.top-right { top: -20px; right: -20px; animation-delay: 0.5s; }
.float-badge.bottom-left { bottom: -16px; left: -20px; animation-delay: 1.5s; }
.float-icon { font-size: 18px; }
.float-sub { font-size: 11px; color: var(--slate-400); font-weight: 400; }

/* ══════════════ SECTION SHARED ══════════════ */
section { padding: 96px 5%; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--calm-blue);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.7;
  font-weight: 300;
  max-width: 540px;
}
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .section-sub { margin: 0 auto; }

/* ══════════════ TRUST STRIP ══════════════ */
.trust-strip {
  background: var(--slate-50);
  padding: 28px 5%;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate-600); font-weight: 500; }
.trust-item .icon { font-size: 20px; }

/* ══════════════ SERVICES ══════════════ */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-blue), var(--calm-blue));
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(37,99,235,0.25); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.icon-blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.icon-green { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.icon-purple { background: linear-gradient(135deg, #FAF5FF, #EDE9FE); }

.service-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
.service-desc { font-size: 14.5px; color: var(--slate-600); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-700); }
.service-features li::before {
  content: '✓';
  width: 18px; height: 18px;
  background: #DCFCE7;
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 10px 20px;
  background: var(--slate-100);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--calm-blue);
  transition: background 0.2s, gap 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.service-cta:hover { background: #DBEAFE; gap: 10px; }

/* ══════════════ PRICING ══════════════ */
.pricing { background: var(--slate-50); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  cursor: pointer;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.pricing-card.featured {
  background: linear-gradient(160deg, var(--deep-blue) 0%, var(--calm-blue) 100%);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(37,99,235,0.35);
  color: #fff;
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-5px); box-shadow: 0 28px 72px rgba(37,99,235,0.4); }

.plan-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.badge-default { background: var(--slate-100); color: var(--slate-600); }
.badge-popular { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

.plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.plan-name-light { color: var(--slate-900); }
.plan-speed { font-size: 13px; color: var(--slate-500); margin-bottom: 20px; font-weight: 400; }
.plan-speed.light { color: rgba(255,255,255,0.65); }

.plan-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.price-currency { font-size: 18px; font-weight: 600; color: var(--slate-700); }
.price-currency.w { color: rgba(255,255,255,0.8); }
.price-num { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: var(--slate-900); }
.price-num.w { color: #fff; }
.price-period { font-size: 13px; color: var(--slate-500); }
.price-period.w { color: rgba(255,255,255,0.6); }

.plan-divider { height: 1px; background: var(--slate-200); margin: 20px 0; }
.plan-divider.w { background: rgba(255,255,255,0.15); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-700); }
.plan-features li.w { color: rgba(255,255,255,0.85); }
.check-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.check-blue { background: #DBEAFE; color: var(--calm-blue); }
.check-white { background: rgba(255,255,255,0.2); color: #fff; }

.btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-plan-default { background: var(--slate-100); color: var(--slate-800); border: 1.5px solid var(--slate-200); }
.btn-plan-default:hover { background: #DBEAFE; color: var(--calm-blue); transform: translateY(-1px); }
.btn-plan-featured { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; box-shadow: 0 6px 20px rgba(22,163,74,0.35); }
.btn-plan-featured:hover { box-shadow: 0 10px 28px rgba(22,163,74,0.45); transform: translateY(-1px); }

/* ══════════════ ABOUT ══════════════ */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 440px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0F2FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-stat-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-stat-card.card-1 { bottom: -16px; right: -16px; }
.about-stat-card.card-2 { top: -16px; left: -16px; }
.asc-icon { font-size: 22px; }
.asc-val { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--slate-900); line-height: 1; }
.asc-lbl { font-size: 11px; color: var(--slate-500); margin-top: 2px; }

.about-mission { font-size: 16px; color: var(--slate-600); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.value-item { padding: 20px; background: var(--slate-50); border-radius: 14px; border: 1px solid var(--slate-200); }
.value-icon { font-size: 24px; margin-bottom: 10px; }
.value-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.value-text { font-size: 13px; color: var(--slate-600); line-height: 1.6; }

/* ══════════════ TESTIMONIALS ══════════════ */
.testimonials { background: var(--slate-900); padding: 96px 5%; }
.testimonials .section-title { color: #fff; }
.testimonials .section-label { color: var(--green-light); }
.testimonials .section-sub { color: rgba(255,255,255,0.55); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.testi-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 32px; transition: background 0.3s; }
.testi-card:hover { background: rgba(255,255,255,0.08); }
.testi-stars { color: #FCD34D; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-quote { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; font-weight: 300; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-family: var(--font-display); }
.av1 { background: linear-gradient(135deg, #3B82F6, #06B6D4); color: #fff; }
.av2 { background: linear-gradient(135deg, #8B5CF6, #EC4899); color: #fff; }
.av3 { background: linear-gradient(135deg, #F59E0B, #EF4444); color: #fff; }
.testi-name { font-size: 14px; font-weight: 600; color: #fff; }
.testi-location { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ══════════════ FOOTER ══════════════ */
footer { background: var(--slate-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 72px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; max-width: 1200px; margin: 0 auto; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text span:first-child { color: #fff; }
.footer-brand .logo-text span:last-child { color: rgba(255,255,255,0.4); }
.footer-about { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; margin-top: 16px; font-weight: 300; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: background 0.2s; text-decoration: none; color: rgba(255,255,255,0.7); }
.social-btn:hover { background: rgba(255,255,255,0.14); }
.footer-col-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.5px; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.2s; font-weight: 300; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.contact-icon { font-size: 16px; margin-top: 1px; }
.contact-text { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.5; font-weight: 300; }
.newsletter-desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-weight: 300; line-height: 1.6; }
.newsletter-input-wrap { display: flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; overflow: hidden; }
.newsletter-input { flex: 1; background: none; border: none; outline: none; padding: 12px 14px; font-family: var(--font-body); font-size: 13.5px; color: #fff; font-weight: 300; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-btn { background: linear-gradient(135deg, var(--green), var(--green-light)); border: none; padding: 12px 16px; color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity 0.2s; }
.newsletter-btn:hover { opacity: 0.9; }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ══════════════ MODAL OVERLAY ══════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 36px; height: 36px;
  background: var(--slate-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--slate-200); }

/* Modal plan badge at top */
.modal-plan-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: 14px;
  margin-bottom: 28px;
  border: 1px solid #BFDBFE;
}
.modal-plan-icon { font-size: 28px; }
.modal-plan-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--deep-blue); }
.modal-plan-price { font-size: 13px; color: var(--calm-blue); font-weight: 600; margin-top: 2px; }

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.modal-sub { font-size: 14px; color: var(--slate-500); margin-bottom: 28px; font-weight: 300; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--slate-800);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--calm-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-input::placeholder { color: var(--slate-400); }

/* Payment info box */
.payment-box {
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
}
.payment-box-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.payment-row:last-child { margin-bottom: 0; }
.payment-label { font-size: 13px; color: var(--slate-600); font-weight: 400; }
.payment-value { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--slate-900); }
.payment-value.highlight { color: var(--green); font-size: 16px; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--deep-blue), var(--calm-blue));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  margin-top: 4px;
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37,99,235,0.45); }

/* Success state */
.modal-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(22,163,74,0.3);
}
.success-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--slate-900); margin-bottom: 10px; }
.success-msg { font-size: 15px; color: var(--slate-600); line-height: 1.7; font-weight: 300; }
.success-ref { display: inline-block; margin-top: 16px; background: var(--slate-100); border-radius: 8px; padding: 8px 16px; font-size: 13px; color: var(--slate-700); font-weight: 500; }

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes barFill { from { height: 0; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-badge { animation-delay: 0.1s !important; }
.hero-headline { animation-delay: 0.2s !important; }
.hero-sub { animation-delay: 0.3s !important; }
.hero-actions { animation-delay: 0.4s !important; }
.hero-stats { animation-delay: 0.5s !important; }
.hero-visual { animation: fadeUp 0.9s 0.3s ease both; }

/* ══════════════ LOGO IMAGES ══════════════ */
.site-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE STYLES
   Breakpoints:
   — Tablet:  ≤ 1024px
   — Mobile:  ≤ 768px
   — Small:   ≤ 480px
   ═══════════════════════════════════════════════ */

/* ══════════════ TABLET (≤1024px) ══════════════ */
@media (max-width: 1024px) {

  /* Pricing — 2 columns on tablet */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  /* About — stack vertically */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer — 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ══════════════ MOBILE (≤768px) ══════════════ */
@media (max-width: 768px) {

  /* ── Navbar ── */
  nav {
    padding: 0 4%;
    height: 64px;
  }
  .nav-menu { display: none; } /* hidden — hamburger handles it */
  .site-logo { height: 36px; }

  /* Hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
  }
  .hamburger:hover { background: var(--slate-100); }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .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 drawer */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    padding: 20px 4% 28px;
    z-index: 199;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 4px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-700);
    padding: 12px 16px;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu a:hover { background: var(--slate-100); color: var(--calm-blue); }
  .mobile-menu .btn-green {
    margin-top: 8px;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 50px;
    text-align: center;
  }

  /* ── Hero ── */
  .hero {
    padding: 100px 4% 60px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { display: none; } /* hide speed widget on mobile */
  .hero-headline { font-size: clamp(30px, 8vw, 44px); letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-green-lg,
  .hero-actions .btn-outline-white {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 24px; }

  /* ── Trust strip ── */
  .trust-strip {
    gap: 16px;
    padding: 20px 4%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .trust-item { flex-shrink: 0; font-size: 13px; }

  /* ── Sections ── */
  section { padding: 64px 4%; }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card { padding: 28px 24px; }

  /* ── Pricing ── */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 20px;
  }
  .pricing-card.featured {
    transform: scale(1); /* remove scale on mobile */
    box-shadow: 0 12px 40px rgba(37,99,235,0.3);
  }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .price-num { font-size: 38px; }

  /* ── About ── */
  .about-img-wrap { height: 280px; }
  .about-stat-card.card-1 { bottom: -12px; right: 0; }
  .about-stat-card.card-2 { top: -12px; left: 0; }
  .about-values { grid-template-columns: 1fr; }

  /* ── Testimonials ── */
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Footer ── */
  footer { padding: 48px 4% 32px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .f-legal { flex-wrap: wrap; gap: 16px; }

  /* ── Modal ── */
  .modal {
    padding: 32px 24px;
    border-radius: 20px;
    max-height: 95vh;
  }
  .modal-title { font-size: 20px; }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ══════════════ SMALL MOBILE (≤480px) ══════════════ */
@media (max-width: 480px) {

  .hero { padding: 88px 4% 48px; }
  .hero-headline { font-size: clamp(26px, 7vw, 36px); }
  .hero-badge span { font-size: 11px; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 11px; }

  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section-sub { font-size: 15px; }

  .trust-strip { gap: 12px; padding: 16px 4%; }

  .service-card { padding: 24px 20px; }
  .service-icon-wrap { width: 52px; height: 52px; font-size: 22px; }
  .service-title { font-size: 18px; }

  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 24px 20px; }
  .price-num { font-size: 34px; }

  .about-img-wrap { height: 240px; }
  .about-values { gap: 12px; }

  .footer-grid { gap: 24px; }
  .social-links { gap: 8px; }

  .modal { padding: 24px 18px; }
  .modal-plan-header { padding: 12px 14px; }
  .modal-plan-name { font-size: 15px; }
  .payment-box { padding: 16px; }
}

/* Hamburger hidden on desktop */
.hamburger { display: none; }

/* Desktop CTA hidden on mobile (shown via media query above) */
@media (max-width: 768px) {
  .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════ HERO URGENCY ══════════════ */
.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.urgency-dot {
  width: 8px; height: 8px;
  background: #FCD34D;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(252,211,77,0.6);
  animation: pulse 2s ease-in-out infinite;
}

/* ══════════════ WHATSAPP BUTTON (HERO) ══════════════ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}
.wa-icon { font-size: 18px; }

/* ══════════════ CTA BANNER ══════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--calm-blue) 100%);
  padding: 72px 5%;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.cta-banner-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-whatsapp-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  white-space: nowrap;
}
.btn-whatsapp-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

/* ══════════════ FLOATING WHATSAPP BUTTON ══════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, padding 0.3s;
  animation: waEntrance 0.6s 1.5s cubic-bezier(.34,1.56,.64,1) both;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}
.wa-float-label { white-space: nowrap; }

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

/* ══════════════ MOBILE UPDATES ══════════════ */
@media (max-width: 768px) {
  .hero-urgency { font-size: 11.5px; padding: 7px 14px; }
  .btn-whatsapp { padding: 14px 22px; font-size: 14px; width: 100%; justify-content: center; }

  .cta-banner { padding: 48px 4%; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-banner-actions { width: 100%; flex-direction: column; }
  .cta-banner-actions .btn-green-lg,
  .btn-whatsapp-dark { width: 100%; text-align: center; justify-content: center; padding: 14px; }

  .wa-float { bottom: 20px; right: 16px; padding: 12px 16px 12px 14px; }
  .wa-float-label { display: none; }
}

@media (max-width: 480px) {
  .hero-urgency { display: none; } /* too long on very small screens */
}
