/* ─────────────────────────────────────────────
   Design Tokens
───────────────────────────────────────────── */
:root {
  --bg:         #080c14;
  --bg-2:       #0d1526;
  --surface:    #111827;
  --surface-2:  #1a2235;
  --border:     rgba(255,255,255,0.07);
  --text:       #f1f5f9;
  --muted:      #94a3b8;
  --accent:     #4f78ff;
  --accent-2:   #818cf8;
  --success:    #10b981;
  --error:      #ef4444;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --trans:      200ms var(--ease);
}

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

/* Honour the HTML `hidden` attribute even when an element has display set */
[hidden] { display: none !important; }

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

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

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

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

ul { list-style: none; }

h1,h2,h3 { line-height: 1.15; font-weight: 700; }

/* ─────────────────────────────────────────────
   Layout
───────────────────────────────────────────── */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 8rem);
}

/* ─────────────────────────────────────────────
   Typography helpers
───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(79,120,255,0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-2);
  background: rgba(79,120,255,0.08);
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.section-sub {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--trans);
  transition-property: background, box-shadow, transform, opacity;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(79,120,255,0.5);
}
.btn--primary:hover {
  background: #3a63e8;
  box-shadow: 0 4px 24px rgba(79,120,255,0.4);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.btn--sm  { padding: 0.45rem 1.1rem; font-size: 0.875rem; }
.btn--lg  { padding: 0.875rem 2rem;  font-size: 1.0625rem; }

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,12,20,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav__logo-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

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

.nav__links a:not(.btn) {
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color var(--trans);
}
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

.nav__mobile {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(8,12,20,0.95);
}
.nav__mobile a {
  font-size: 1rem;
  color: var(--muted);
  padding: 0.25rem 0;
  transition: color var(--trans);
}
.nav__mobile a:hover { color: var(--text); }

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 4rem;  /* nav height */
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(79,120,255,0.18);
  top: -100px;
  right: -100px;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: rgba(129,140,248,0.12);
  bottom: 0;
  left: -150px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 12vw, 8rem);
  max-width: 780px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.25));
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%,100% { opacity: 0; transform: scaleY(1); }
  50%      { opacity: 1; }
}

/* ─────────────────────────────────────────────
   About
───────────────────────────────────────────── */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.about__text p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.about__text p + p { margin-top: 1rem; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat__number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__plus {
  font-size: 1.5rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Focus Cards
───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.card:hover {
  border-color: rgba(79,120,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card__icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: rgba(79,120,255,0.12);
  border-radius: var(--radius);
  color: var(--accent);
  flex-shrink: 0;
}

.card__icon svg { width: 100%; height: 100%; }

.card__title { font-size: 1.125rem; }

.card__body { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ─────────────────────────────────────────────
   Inquiry Section
───────────────────────────────────────────── */
.inquire {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.inquire__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.inquire__intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.inquire__intro > p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.inquire__reasons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inquire__reasons li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.inquire__reasons li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   Form
───────────────────────────────────────────── */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  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.875rem;
  font-weight: 500;
  color: var(--text);
}

.form__field label span {
  color: var(--accent);
}

.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  appearance: none;
}

.form__field textarea { resize: vertical; min-height: 130px; }

.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M4.22 5.72a.75.75 0 011.06 0L8 8.44l2.72-2.72a.75.75 0 011.06 1.06l-3.25 3.25a.75.75 0 01-1.06 0L4.22 6.78a.75.75 0 010-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(148,163,184,0.5);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,120,255,0.18);
}

.form__field input.is-invalid,
.form__field select.is-invalid,
.form__field textarea.is-invalid {
  border-color: var(--error);
}

.form__error {
  font-size: 0.8125rem;
  color: var(--error);
  min-height: 1rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.25rem;
  position: relative;
}

.btn__spinner {
  width: 18px;
  height: 18px;
  display: none;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.form__submit.is-loading .btn__label { opacity: 0; }
.form__submit.is-loading .btn__spinner { display: block; }
.form__submit.is-loading .btn__label,
.form__submit.is-loading .btn__spinner {
  position: absolute;
}
.form__submit.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form__feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.form__feedback[hidden] { display: none; }

.form__feedback svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.form__feedback strong { display: block; font-weight: 600; margin-bottom: 0.125rem; }
.form__feedback p { color: var(--muted); font-size: 0.875rem; }

.form__feedback--success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
}
.form__feedback--success svg { color: var(--success); }

.form__feedback--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}
.form__feedback--error svg { color: var(--error); }

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer__logo svg { width: 22px; height: 22px; color: var(--accent); }

.footer__copy, .footer__tagline {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links  { display: none; }
  .nav__hamburger { display: flex; }

  .about__inner    { grid-template-columns: 1fr; }
  .about__stats    { grid-template-columns: 1fr 1fr; }

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

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

  .footer__inner   { flex-direction: column; align-items: flex-start; }

  .hero__title     { -webkit-text-fill-color: var(--text); background: none; }
}

@media (max-width: 480px) {
  .about__stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────
   Focus-visible accessibility ring
───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
