/* === FONTS === */
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === VARIABLES === */
:root {
  --bg:           #0c1526;
  --bg-alt:       #101c30;
  --bg-card:      #142038;
  --bg-input:     #0e1929;
  --accent:       #10c4a8;
  --accent-hover: #0da891;
  --accent-glow:  rgba(16, 196, 168, 0.12);
  --accent-border:rgba(16, 196, 168, 0.3);
  --white:        #f0f5fc;
  --text:         #a8bdd0;
  --text-strong:  #dce8f5;
  --text-muted:   #4e657a;
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --danger:       #f05c5c;
  --warning:      #f0a840;
  --info:         #5b9bf6;
  --radius:       10px;
  --radius-lg:    16px;
  --font:         'DM Sans', system-ui, -apple-system, sans-serif;
  --transition:   0.2s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.mt-xl { margin-top: 3.5rem; }

/* === TYPOGRAPHY === */
h1, h2, h3 { color: var(--text-strong); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #0a1a2e;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 196, 168, 0.28);
  text-decoration: none;
  color: #0a1a2e;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn--ghost:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.2);
  text-decoration: none;
  color: var(--text-strong);
}
.btn--lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 21, 38, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}
.nav__logo:hover { text-decoration: none; color: var(--white); }
.nav__logo-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }

/* === HERO === */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 196, 168, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 196, 168, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 10%, transparent 75%);
}
.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__content { max-width: 580px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero__headline {
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  background: linear-gradient(140deg, var(--white) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === TERMINAL === */
.terminal {
  background: #0a1520;
  border: 1px solid rgba(16, 196, 168, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(16,196,168,0.1);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
}
.terminal__bar {
  background: #0f1e30;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal__dot--red    { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green  { background: #28c840; }
.terminal__title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font);
}
.terminal__body { padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.terminal__line { display: flex; gap: 0; }
.t-key  { color: #7eb8f7; min-width: 170px; }
.t-sep  { color: #4e657a; }
.t-ok   { color: var(--accent); font-weight: 500; }
.t-err  { color: #f05c5c; }
.t-val  { color: #f0d060; }
.terminal__line--cursor { margin-top: 0.4rem; }
.t-prompt { color: var(--accent); margin-right: 0.5rem; }
.cursor {
  color: var(--accent);
  animation: cursor-blink 1.1s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === SECTIONS === */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title  { text-align: center; margin-bottom: 0.75rem; }
.section__subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* === GRID === */
.grid--3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 20px; height: 20px; }
.card__icon--danger  { background: rgba(240,92,92,0.12);  color: var(--danger); }
.card__icon--warning { background: rgba(240,168,64,0.12); color: var(--warning); }
.card__icon--info    { background: rgba(91,155,246,0.12); color: var(--info); }
.card p { color: var(--text); font-size: 0.95rem; line-height: 1.65; }

/* === SOLUTION GRID === */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.solution-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.solution-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.solution-card:hover::after { opacity: 1; }
.solution-card__num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(16, 196, 168, 0.13);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.solution-card h3 { margin-bottom: 0.5rem; }
.solution-card p { color: var(--text); font-size: 0.95rem; line-height: 1.65; }

/* === TRUST GRID === */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: border-color var(--transition);
}
.trust-item:hover { border-color: var(--accent-border); }
.trust-item__icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.trust-item div { display: flex; flex-direction: column; gap: 0.2rem; }
.trust-item strong { color: var(--text-strong); font-weight: 500; font-size: 0.95rem; }
.trust-item span   { color: var(--text-muted); font-size: 0.875rem; }

/* === LOCATIONS === */
.locations { display: flex; flex-direction: column; gap: 1rem; max-width: 580px; }
.location-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}
.location-card--placeholder { opacity: 0.55; }
.location-card__flag { font-size: 1.4rem; line-height: 1; }
.location-card > div:not([class]) { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.location-card strong { color: var(--text-strong); font-size: 0.95rem; }
.location-card span   { color: var(--text-muted); font-size: 0.85rem; }
.location-card__status {
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  white-space: nowrap;
}
.location-card__status--future {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border-color: var(--border);
}

/* === LOCATION PARTNER === */
.location-partner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.location-partner__text h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.location-partner__text p { color: var(--text); font-size: 0.95rem; line-height: 1.7; }

/* === INTEREST SECTION === */
.section--interest { background: var(--bg-alt); }
.interest-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.interest-text h2  { margin-bottom: 1rem; }
.interest-text p   { color: var(--text); line-height: 1.75; margin-bottom: 1.5rem; }
.interest-bullets  { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.interest-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.interest-bullets li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* === FORMS === */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form--prominent {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.875rem; font-weight: 500; color: var(--text-strong); }
.required { color: var(--accent); }

input, select, textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234e657a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
select option { background: #142038; }
textarea { resize: vertical; min-height: 80px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  padding: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.form__status { font-size: 0.875rem; min-height: 1.4rem; }
.form__status--success { color: var(--accent); }
.form__status--error   { color: var(--danger); }

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand { color: var(--text-muted); font-size: 0.875rem; }
.footer__nav { display: flex; gap: 1.5rem; }
.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--text); text-decoration: none; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === LEGAL PAGES === */
.legal-content h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
.legal-content p  { color: var(--text); line-height: 1.75; margin-bottom: 0.75rem; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero__layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero__terminal { max-width: 480px; }
  .location-partner { grid-template-columns: 1fr; gap: 2rem; }
  .interest-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .hero { padding: 8rem 0 4rem; min-height: auto; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 4rem 0; }
  .nav .btn--primary { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .location-partner { padding: 1.5rem; }
  .form--prominent { padding: 1.5rem; }
}
