:root {
  --black: #060608;
  --near-black: #0b0d12;
  --panel: #10131a;
  --panel-2: #14181f;
  --border: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --blue-bright: #5aa2ff;
  --blue-deep: #1d4ed8;
  --white: #f5f7fa;
  --muted: #9aa4b2;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: relative;
  background: radial-gradient(ellipse at top, #0d1220 0%, var(--black) 60%);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(90, 162, 255, 0.4);
  padding: 8px 18px;
  border-radius: 5px;
  color: var(--blue-bright) !important;
}

.nav-cta:hover {
  background: rgba(59, 130, 246, 0.22);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 24px 120px;
  text-align: center;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-waves span {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-bright), transparent);
  animation: wave 2.4s ease-in-out infinite;
}

.hero-waves span:nth-child(odd) { animation-duration: 1.8s; }
.hero-waves span:nth-child(3n) { animation-duration: 2.6s; }
.hero-waves span:nth-child(4n) { animation-duration: 2.1s; }

.hero-waves span:nth-child(1) { height: 30px; animation-delay: 0.1s; }
.hero-waves span:nth-child(2) { height: 60px; animation-delay: 0.3s; }
.hero-waves span:nth-child(3) { height: 90px; animation-delay: 0.05s; }
.hero-waves span:nth-child(4) { height: 40px; animation-delay: 0.4s; }
.hero-waves span:nth-child(5) { height: 110px; animation-delay: 0.2s; }
.hero-waves span:nth-child(6) { height: 55px; animation-delay: 0.6s; }
.hero-waves span:nth-child(7) { height: 80px; animation-delay: 0.15s; }
.hero-waves span:nth-child(8) { height: 130px; animation-delay: 0.35s; }
.hero-waves span:nth-child(9) { height: 60px; animation-delay: 0.25s; }
.hero-waves span:nth-child(10) { height: 95px; animation-delay: 0.5s; }
.hero-waves span:nth-child(11) { height: 140px; animation-delay: 0.1s; }
.hero-waves span:nth-child(12) { height: 70px; animation-delay: 0.45s; }
.hero-waves span:nth-child(13) { height: 100px; animation-delay: 0.2s; }
.hero-waves span:nth-child(14) { height: 50px; animation-delay: 0.3s; }
.hero-waves span:nth-child(15) { height: 120px; animation-delay: 0.05s; }
.hero-waves span:nth-child(16) { height: 65px; animation-delay: 0.4s; }
.hero-waves span:nth-child(17) { height: 90px; animation-delay: 0.15s; }
.hero-waves span:nth-child(18) { height: 45px; animation-delay: 0.55s; }
.hero-waves span:nth-child(19) { height: 75px; animation-delay: 0.25s; }
.hero-waves span:nth-child(20) { height: 35px; animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 480px;
  width: 90%;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.25));
}

.eyebrow {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

/* ---------- Generic Sections ---------- */

.section {
  padding: 90px 0;
}

.section .container {
  text-align: center;
}

.kicker {
  display: inline-block;
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About ---------- */

.about {
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Tagline ---------- */

.tagline {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--black) 0%, #0a0f1a 100%);
  overflow: hidden;
}

.tagline-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.tagline-mark {
  position: relative;
  width: 120px;
  margin: 0 auto 24px;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
}

.tagline-text {
  position: relative;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Services ---------- */

.services {
  background: var(--near-black);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 162, 255, 0.4);
  background: var(--panel-2);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--black);
}

.contact-form {
  margin: 36px auto 0;
  max-width: 640px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  text-align: left;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--near-black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 240px;
    background: var(--near-black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px 80px;
  }
}
