/* ===================================================
   Hoffman Data – Main Stylesheet
   Color palette matched to logo
   =================================================== */

:root {
  --navy:       #0d1b2a;
  --navy-light: #162336;
  --navy-card:  #1a2d42;
  --blue:       #1a8fe3;
  --blue-light: #3eb8ff;
  --blue-glow:  rgba(26, 143, 227, 0.25);
  --white:      #ffffff;
  --gray-100:   #f0f4f8;
  --gray-300:   #94a3b8;
  --gray-400:   #64748b;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 0 20px var(--blue-glow);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gray-300);
  border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ── Section helpers ──────────────────────────────── */

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 580px;
  margin-bottom: 56px;
}

.accent { color: var(--blue-light); }

/* ── Navigation ───────────────────────────────────── */

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), height 0.3s ease;
}
.nav-wrapper.scrolled {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  transition: height 0.3s ease;
}
.nav-wrapper.scrolled .nav {
  height: 64px;
}

.nav-logo .logo-img {
  height: 72px;
  width: auto;
  transition: height 0.3s ease;
}
.nav-wrapper.scrolled .nav-logo .logo-img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--white); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(26,143,227,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 480px;
  margin-bottom: 36px;
}

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

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

.glow-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,143,227,0.18) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.7; }
}

.hero-logo-large {
  width: 420px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 48px rgba(26,143,227,0.5));
}

.hero-gradient-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), transparent);
  margin-top: 80px;
  opacity: 0.5;
}

/* ── Services ─────────────────────────────────────── */

.services {
  padding: 100px 0;
}

.services .section-sub { margin-bottom: 56px; }

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

.service-card {
  position: relative;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(26,143,227,0.4);
  box-shadow: 0 8px 32px rgba(26,143,227,0.12);
  transform: translateY(-4px);
}
.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(145deg, var(--navy-card), #1a3050);
  box-shadow: 0 0 0 1px rgba(26,143,227,0.3), 0 8px 32px rgba(26,143,227,0.15);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,143,227,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-light);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-bullets li {
  font-size: 0.85rem;
  color: var(--gray-300);
  padding-left: 16px;
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── About ────────────────────────────────────────── */

.about {
  padding: 100px 0;
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.about-text p {
  color: var(--gray-300);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-light);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}
.about-card:hover { border-color: rgba(26,143,227,0.3); }

.about-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,143,227,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.about-card-icon svg { width: 22px; height: 22px; }

.about-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.about-card-body {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ── Contact ──────────────────────────────────────── */

.contact {
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(26,143,227,0.08) 0%, transparent 70%);
}

.contact-inner { max-width: 640px; margin: 0 auto; }
.contact .section-sub { margin: 0 auto 40px; }

/* ── Footer ───────────────────────────────────────── */

.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
}

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

.footer-logo { height: 36px; width: auto; }

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub { max-width: 100%; }

  .hero-cta { justify-content: center; }

  .hero-visual { display: none; }

  .about-stats { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .footer-inner { flex-direction: column; text-align: center; }

  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 96px 0 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 32px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { display: block; padding: 16px; font-size: 1.1rem; }

  .nav-hamburger { display: block; }

  .hero { padding: 72px 0 60px; }
}
