/* =====================
   CUSTOM PROPERTIES
   ===================== */
:root {
  --bg: #ffffff;
  --surface: #f4f4f4;
  --surface-2: #e8e8e8;
  --text: #0a0a0a;
  --text-muted: #b0b0b0;
  --text-secondary: #5a5a5a;
  --accent: #1dcfb8;
  --accent-dim: rgba(29, 207, 184, 0.1);
  --border: rgba(0, 0, 0, 0.07);
  --border-soft: rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Titillium Web', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }

p {
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.75;
  font-size: 0.95rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}

section { padding: 110px 0; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Titillium Web', sans-serif;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--dark {
  background: var(--text);
  color: #ffffff;
}
.btn--dark:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.2);
}
.btn--outline-dark:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.04);
}

.btn--full { width: 100%; justify-content: center; }

.arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* =====================
   ANIMATIONS
   ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: padding 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 36px;
}

.nav-cta { margin-left: auto; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.25s var(--ease);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 5% 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.97);
}
.nav-mobile.open { display: flex; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

/* Hero canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 207, 184, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(29, 207, 184, 0); }
}

.hero-title {
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(3.8rem, 9vw, 9rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 3rem;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 640px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* MARQUEE */
.marquee-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
.marquee-track span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 400;
}
.marquee-track .sep {
  color: var(--accent);
  font-size: 0.65rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================
   VALUES
   ===================== */
.values {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.value-item {
  padding: 60px 48px;
}
.value-item + .value-item {
  border-left: 1px solid var(--border);
}

.value-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.value-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.value-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* =====================
   FORM SECTION
   ===================== */
.form-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 1.5rem; }

label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

input, textarea, select {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}
select { color: var(--text-secondary); cursor: pointer; }
select option { color: var(--text); background: var(--bg); }

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 207, 184, 0.1);
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(29, 207, 184, 0.08);
  border: 1px solid rgba(29, 207, 184, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #0fa896;
  font-weight: 600;
}
.form-success.visible { display: flex; }
.success-icon { font-weight: 700; }

/* =====================
   FOOTER
   ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 860px) {
  section { padding: 80px 0; }

  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: clamp(3rem, 12vw, 6rem); }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-actions { justify-content: center; }

  .values-grid { grid-template-columns: 1fr; }
  .value-item + .value-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .value-item { padding: 44px 0; }

  .form-wrap { padding: 1.75rem; }
}

@media (max-width: 580px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.25rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
