@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0B1F3A;
  --blue: #1E6FC8;
  --blue-mid: #2B7FD4;
  --blue-light: #EBF4FF;
  --accent: #F4A623;
  --green: #1DB36A;
  --white: #FFFFFF;
  --gray-100: #F7F9FC;
  --gray-200: #E8EEF5;
  --gray-500: #7A8FA6;
  --gray-800: #2C3E50;
  --red: #E84040;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(11,31,58,0.13);
  --shadow-sm: 0 2px 10px rgba(11,31,58,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--gray-100);
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { height: 54px; width: auto; }

.header-tagline { display: none; }

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav ul li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

nav ul li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
nav ul li a.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
}
nav ul li a.nav-cta:hover { background: #f5b23e; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url('bug-pattern.png');
  background-size: 420px;
  opacity: 0.045;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--navy) 55%, #0e3360 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244,166,35,0.15);
  border: 1px solid rgba(244,166,35,0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #f5b23e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,166,35,0.35); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}

.trust-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.03em; }

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-truck {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: perspective(800px) rotateY(-6deg);
  transition: transform 0.4s;
}

.hero-truck:hover { transform: perspective(800px) rotateY(0deg); }

.hero-shield {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--green);
  color: white;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
}

.hero-shield strong { display: block; font-size: 1.1rem; }

/* ── SECTION BASICS ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.section-sub { color: var(--gray-500); max-width: 520px; font-size: 1.05rem; }

/* ── SERVICES ── */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-card:hover { border-color: var(--blue); background: var(--white); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.service-card p { color: var(--gray-500); font-size: 0.93rem; line-height: 1.6; margin-bottom: 1rem; }
.service-price { font-weight: 700; color: var(--blue); font-size: 1.05rem; }

/* ── GREEN SHIELD BANNER ── */
.green-banner {
  background: linear-gradient(135deg, #0a2e1a 0%, #0d4020 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.green-banner::before {
  content: '🌿';
  position: absolute;
  font-size: 12rem;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
}
.green-banner .section-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.green-banner .section-title { color: var(--white); margin-bottom: 0.75rem; }
.green-banner .section-sub { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.green-tag { display: inline-block; background: var(--green); color: white; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.green-content { flex: 1; min-width: 280px; }
.green-features { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 1rem; }
.green-feature { display: flex; align-items: flex-start; gap: 1rem; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem 1.25rem; }
.green-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.green-feature h4 { font-size: 0.95rem; font-weight: 600; color: #fff; }
.green-feature p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ── PRICING ── */
.pricing-section { background: var(--gray-100); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.price-card.featured {
  border-color: var(--blue);
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 40px rgba(30,111,200,0.25);
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card:not(.featured):hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.price-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; letter-spacing: 0.02em; }
.price-card.featured h3 { color: rgba(255,255,255,0.7); }
.price-amount { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--blue); line-height: 1; margin: 0.5rem 0 0.15rem; }
.price-card.featured .price-amount { color: var(--accent); }
.price-period { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.price-card.featured .price-period { color: rgba(255,255,255,0.5); }
.price-features { list-style: none; text-align: left; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.price-features li { font-size: 0.9rem; color: var(--gray-800); display: flex; gap: 0.5rem; }
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-card.featured .price-features li { color: rgba(255,255,255,0.75); }
.price-card.featured .price-features li::before { color: var(--accent); }
.btn-card {
  display: block;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-card:hover { background: var(--blue-mid); }
.price-card.featured .btn-card { background: var(--accent); color: var(--navy); }
.price-card.featured .btn-card:hover { background: #f5b23e; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: var(--gray-100); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; }
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.testimonial-text { font-size: 0.98rem; color: var(--gray-800); font-style: italic; line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: white; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.author-loc { font-size: 0.8rem; color: var(--gray-500); }

/* ── CONTACT ── */
.contact-section { background: var(--navy); position: relative; overflow: hidden; }
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('bug-pattern.png');
  background-size: 340px;
  opacity: 0.03;
}
.contact-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info .section-title { color: var(--white); }
.contact-info .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.contact-detail-text { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.contact-detail-text strong { display: block; color: white; font-size: 1rem; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.contact-form-wrap p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0.01em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(30,111,200,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--blue); transform: translateY(-1px); }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--green);
}
.form-success h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-error {
  display: none;
  background: #fff0f0;
  border: 1px solid #fcc;
  color: var(--red);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

/* ── PORTALS (Login, Customer, Admin, Tech) ── */
.portal-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--gray-100);
}
.portal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
}
.portal-card h1 { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--navy); margin-bottom: 0.25rem; letter-spacing: 0.03em; }
.portal-card > p { color: var(--gray-500); font-size: 0.93rem; margin-bottom: 2rem; }
.portal-wide { max-width: 900px; }

.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.5rem; }
.portal-panel { background: var(--gray-100); border: 1.5px solid var(--gray-200); border-radius: 14px; padding: 1.5rem; }
.portal-panel h2 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.portal-panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.portal-panel ul li { background: white; border: 1px solid var(--gray-200); border-radius: 8px; padding: 0.65rem 0.9rem; font-size: 0.88rem; color: var(--gray-800); display: flex; justify-content: space-between; align-items: center; }
.portal-panel ul li a { color: var(--blue); font-weight: 600; font-size: 0.8rem; text-decoration: none; }
.portal-panel ul li a:hover { text-decoration: underline; }
.unpaid { color: var(--red) !important; font-weight: 700 !important; }

.role-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.role-tab { flex: 1; padding: 0.6rem; border: 1.5px solid var(--gray-200); border-radius: 9px; background: transparent; font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--gray-500); cursor: pointer; transition: all 0.2s; }
.role-tab.active { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

/* ── FOOTER ── */
footer {
  background: #07162a;
  color: rgba(255,255,255,0.55);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { height: 42px; margin-bottom: 1rem; opacity: 0.85; }
.footer-tagline { font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 0.5rem; }
.footer-copy a { color: var(--accent); text-decoration: none; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image-wrap { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 0.75rem; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 0.25rem; }
  .price-card.featured { transform: none; }
}
