:root {
  --bg-0: #07090f;
  --bg-1: #0b0f1a;
  --bg-2: #111729;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e6ebf5;
  --text-muted: #99a3b8;
  --text-dim: #6b7489;
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --accent-grad: linear-gradient(135deg, #60a5fa 0%, #5eead4 100%);
  --danger: #f87171;
  --success: #34d399;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle background accents */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(96, 165, 250, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 10%, rgba(94, 234, 212, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(124, 58, 237, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

.brand__mark svg { width: 18px; height: 18px; color: #0b0f1a; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a:not(.btn) {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__links a:not(.btn):hover {
  color: var(--text);
  background: var(--surface);
}

.nav__links a:not(.btn).active {
  color: var(--text);
  background: var(--surface-strong);
}

.nav__cta {
  margin-left: 12px;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 44px;
  user-select: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent-grad);
  color: #0a0f1c;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(96, 165, 250, 0.45);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.btn svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
}

.hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(94, 234, 212, 0.10));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 8px; color: var(--text); }

.card p { margin: 0; font-size: 0.95rem; }

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Page header ---------- */
.page-header {
  padding: 96px 0 56px;
  text-align: center;
}

.page-header h1 { margin-bottom: 12px; }

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid h2 { margin-bottom: 16px; }

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

.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.value h3 { font-size: 1rem; margin-bottom: 4px; }

.value p { font-size: 0.9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(94, 234, 212, 0.10));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item__icon svg { width: 18px; height: 18px; }

.contact-item h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
  color: var(--text);
}

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

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(7, 9, 15, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent-2);
  background: rgba(7, 9, 15, 0.75);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.field textarea { resize: vertical; min-height: 120px; }

.field select option,
.field select optgroup {
  background: #0b0f1a;
  color: var(--text);
}

.field select optgroup {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--success);
  display: none;
}

.form-status.show { display: block; }

.form-status.error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 72px 32px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.10), rgba(94, 234, 212, 0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.cta-banner h2 { margin-bottom: 12px; }

.cta-banner p { max-width: 520px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer small { color: var(--text-dim); font-size: 0.85rem; }

.footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .values { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; }

  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    background: rgba(7, 9, 15, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin-left: 0; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
