/* -- RESET & BASE -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --cobalt: #1a56db;
  --cobalt-light: #3b82f6;
  --white: #ffffff;
  --off-white: #f4f7ff;
  --grey: #64748b;
  --light-grey: #e2e8f0;
  --font: Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* -- FADE IN ANIMATION -- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- NAV -- */
nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
  padding: 16px 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 36px; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links li a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.nav-links li a:hover { color: var(--white); }

.nav-cta {
  background: var(--cobalt);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--cobalt-light); }

/* -- HAMBURGER -- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- HERO -- */
#hero {
  background: var(--navy);
  background-image: url('Anec_system_banner.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  padding: 100px 0 90px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.82);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text { max-width: 620px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cobalt-light);
  margin-bottom: 20px;
}

#hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--cobalt);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--cobalt-light); }

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--white); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--cobalt);
  color: var(--cobalt);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.btn-outline:hover { background: var(--cobalt); color: var(--white); }

.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 200px;
}

.badge-inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
}

.badge-stat {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cobalt-light);
  line-height: 1;
  margin-bottom: 6px;
}

.badge-label {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* -- SECTION SHARED -- */
section { padding: 90px 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 12px;
}

section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 48px;
  max-width: 600px;
}

/* -- SERVICES -- */
#services { background: var(--off-white); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 24px rgba(26,86,219,0.1); }

.card-icon {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 16px;
}

.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 0.88rem; color: var(--grey); line-height: 1.7; }

/* -- PROCESS -- */
#process { background: var(--white); }

.steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--light-grey);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cobalt);
  min-width: 56px;
  line-height: 1;
  padding-top: 4px;
}

.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-body p { font-size: 0.88rem; color: var(--grey); }

/* -- RESULTS -- */
#results { background: var(--cobalt); color: var(--white); }

#results .section-label { color: rgba(255,255,255,0.6); }
#results h2 { color: var(--white); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.result-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}

.result-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1;
}

.result-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* -- WHY -- */
#why { background: var(--navy); color: var(--white); }

#why .section-label { color: var(--cobalt-light); }
#why h2 { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-item {
  border-left: 3px solid var(--cobalt);
  padding-left: 20px;
}

.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.why-item p { font-size: 0.88rem; color: #94a3b8; line-height: 1.7; }

/* -- PRICING -- */
#pricing { background: var(--off-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}

.price-card.featured { border: 2px solid var(--cobalt); }

.feat-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.price-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 16px;
}

.price-card p { font-size: 0.86rem; color: var(--grey); margin-bottom: 20px; line-height: 1.6; }

.price-card ul { display: flex; flex-direction: column; gap: 8px; }

.price-card ul li {
  font-size: 0.86rem;
  color: var(--navy);
  padding-left: 18px;
  position: relative;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
}

/* -- CONTACT -- */
#contact { background: var(--white); }

.contact-sub {
  font-size: 0.98rem;
  color: var(--grey);
  max-width: 600px;
  margin-bottom: 36px;
}

.contact-details { display: flex; gap: 16px; flex-wrap: wrap; }

/* -- FOOTER -- */
footer { background: var(--navy); color: #64748b; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 60px 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand img.footer-logo { height: 32px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #64748b;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-contact a {
  font-size: 0.84rem;
  color: #64748b;
  transition: color 0.2s;
}

.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 20px 24px;
}

.footer-bottom p { font-size: 0.8rem; color: #475569; }

/* -- RESPONSIVE -- */
@media (max-width: 768px) {

  /* NAV */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 4px;
  }

  /* HERO */
  #hero { padding: 60px 0 50px; }
  .hero-inner { flex-direction: column; gap: 32px; }
  #hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .hero-badge { flex-direction: row; flex-wrap: wrap; min-width: unset; width: 100%; }
  .badge-inner { flex: 1; min-width: 120px; }

  /* SECTIONS */
  section { padding: 60px 0; }
  section h2 { font-size: 1.4rem; margin-bottom: 28px; }

  /* CARDS */
  .cards, .pricing-grid { grid-template-columns: 1fr; }

  /* RESULTS */
  .results-grid { grid-template-columns: repeat(2, 1fr); }

  /* PROCESS */
  .step { flex-direction: column; gap: 8px; padding: 24px 0; }
  .step-num { font-size: 1.6rem; min-width: unset; }

  /* WHY */
  .why-grid { grid-template-columns: 1fr; gap: 24px; }

  /* CONTACT */
  .contact-details { flex-direction: column; }
  .contact-details .btn-primary,
  .contact-details .btn-outline { width: 100%; text-align: center; }

  /* FOOTER */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
}

@media (max-width: 400px) {
  .results-grid { grid-template-columns: 1fr; }
  #hero h1 { font-size: 1.4rem; }
}
