/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #070F1A;
  --surface:     #0D1B2E;
  --surface-2:   #112035;
  --border:      #1C3352;
  --text:        #E8F2FF;
  --muted:       #6B8CAE;
  --accent:      #5B9AD5;
  --accent-light: #7EB8F7;
  --accent-dim:  #1A3554;
  --glow:        rgba(91, 154, 213, 0.15);
  --font:        'Inter', system-ui, sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:      4px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Typography ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 8rem 0 6rem;
  background:
    radial-gradient(ellipse 90% 70% at 20% 60%, rgba(91,154,213,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(126,184,247,0.07) 0%, transparent 60%),
    linear-gradient(rgba(91,154,213,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,154,213,0.04) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.hero-inner { max-width: 900px; }

.hero-logo {
  width: clamp(200px, 35vw, 420px);
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(91,154,213,0.3));
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent-dim));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ── BRANDS ── */
.brands {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.brand-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: background 0.3s, box-shadow 0.3s;
}
.brand-card:hover {
  background: var(--surface-2);
  box-shadow: inset 0 0 40px rgba(91,154,213,0.05);
}

.brand-logo-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
  background: #050D18;
}
.brand-logo {
  max-height: 140px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.brand-card:hover .brand-logo { transform: scale(1.04); }

.brand-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--border);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  width: fit-content;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.brand-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.brand-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, opacity 0.2s;
  margin-top: auto;
}
.brand-link:hover { gap: 0.7rem; opacity: 0.8; }
.arrow { transition: transform 0.2s; }
.brand-link:hover .arrow { transform: translateX(3px); }

.brand-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #1a1a1a;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-top: auto;
  width: fit-content;
}

/* ── ABOUT ── */
.about {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

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

.about-text p:last-of-type {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  background: var(--surface);
  box-shadow: 0 0 20px rgba(91,154,213,0.06);
}

.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CONTACT ── */
.contact {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-form {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input, select, textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #555;
}
input::placeholder, textarea::placeholder {
  color: #2a4060;
}
select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 140px; }
select option { background: var(--surface); }

.form-success {
  max-width: 720px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.form-success p { font-size: 1rem; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

.footer-logo {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-brands {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brands a,
.footer-brands span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-brands a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.5rem; }
  .nav-toggle { display: flex; }

  .hero-title { letter-spacing: -0.03em; }
  .hero-sub br { display: none; }

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

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