:root {
  --teal: #1bd4a1;
  --teal-dark: #14a882;
  --teal-glow: rgba(27, 212, 161, 0.25);
  --navy: #0b1220;
  --navy-light: #141d2f;
  --slate: #64748b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.04);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--white);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--teal-glow), transparent),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(9, 100, 239, 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero h1 span {
  color: var(--teal);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 32rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Brand cards */
.brands {
  background: var(--navy-light);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.brand-card:hover {
  border-color: rgba(27, 212, 161, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.brand-card-header {
  margin-bottom: 1.25rem;
}

.brand-card img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.brand-card img.brand-logo-wide {
  height: 32px;
  max-width: 180px;
}

.brand-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--white);
}

.brand-card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-weight: 600;
}

.brand-card p {
  margin: 0 0 1.5rem;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.brand-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.brand-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
}

.brand-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.brand-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: rgba(27, 212, 161, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.feature-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--white);
}

.feature-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About */
.about {
  background: var(--navy-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
  color: var(--white);
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cert-badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(27, 212, 161, 0.1);
  border: 1px solid rgba(27, 212, 161, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
}

/* Light partner / tech tiles (logos readable on dark sections) */
.tech-panel {
  padding: 1.5rem;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tech-panel-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: center;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.tech-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-tile:hover {
  border-color: rgba(27, 212, 161, 0.45);
  box-shadow: 0 4px 12px rgba(27, 212, 161, 0.12);
}

.tech-tile img {
  height: 28px;
  max-height: 32px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.tech-tile--text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.02em;
}

/* Infrastructure stats strip */
.infra-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.infra-item {
  text-align: center;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.infra-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.infra-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services grid */
.services {
  background: var(--navy);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(27, 212, 161, 0.35);
  transform: translateY(-2px);
}

.service-card .service-brand {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.service-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--white);
}

.service-card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.service-links a {
  font-size: 0.85rem;
  font-weight: 600;
}

.hardware-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hardware-brands span {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1.1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list strong {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: var(--teal);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(30%) invert(92%) hue-rotate(180deg);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #070b14;
}

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

.footer-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--teal);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .infra-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav .btn-outline {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
