:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --accent: #0071e3;
  --accent-dark: #0058b0;
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.8);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --max-width: 1120px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.brand-suffix { color: var(--text-muted); font-weight: 400; margin-left: 2px; }

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.nav-cta {
  font-size: 13px;
  padding: 8px 16px;
}

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.lang-switch-mobile {
  margin-top: 16px;
  align-self: flex-start;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

@media (max-width: 780px) {
  .main-nav, .nav-cta, .header-inner > .lang-switch { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  padding: 11px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-text {
  background: transparent;
  color: var(--accent);
  padding: 11px 8px;
}
.btn-text:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,113,227,0.16), transparent);
  z-index: -1;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.08;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 19px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ---------- Trustbar ---------- */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trustbar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 32px 24px;
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trust-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.section-title.center { text-align: center; }

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-sub.center { text-align: center; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 19px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.card p:last-child {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- About ---------- */
.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--border);
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.fact-list span { color: var(--text-muted); }

.about-visual {
  display: flex;
  justify-content: center;
}

.orbit-card {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

.orbit-ring-2 {
  width: 70%;
  height: 70%;
  border-color: rgba(0,113,227,0.3);
  animation-duration: 14s;
  animation-direction: reverse;
}

.orbit-core {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

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

/* ---------- Compliance ---------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

.compliance-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: var(--card-bg);
}

.compliance-item h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 10px;
}

.compliance-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.compliance-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Contact ---------- */
.contact-inner { max-width: 560px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  background: var(--card-bg);
  color: var(--text);
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox input { margin-top: 3px; }

.checkbox a { color: var(--accent); text-decoration: underline; }

.form-status {
  font-size: 14px;
  color: var(--accent);
  min-height: 20px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.footer-col a, .footer-address {
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-legal {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: 22px 26px;
}

.cookie-inner p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.cookie-inner a { color: var(--accent); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Cookie modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.cookie-modal-panel {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 460px;
  width: 90%;
  box-shadow: var(--shadow-md);
}

.cookie-modal-panel h3 { margin: 0 0 10px; }
.cookie-modal-panel > p { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.cookie-option p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-page h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 40px;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--accent);
}

/* ---------- Hero split (copy + illustration) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  text-align: left;
}

.hero-copy .eyebrow,
.hero-copy .hero-actions { justify-content: flex-start; }

.hero-media img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- Service card icons ---------- */
.card-icon-svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  background: var(--card-bg);
}

.process-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.process-step svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- About visual with skyline ---------- */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.skyline-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.about-visual .orbit-card {
  margin-top: -30px;
}

/* ---------- Markets ---------- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
}

.market-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: var(--card-bg);
}

.market-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.market-item h4 {
  font-size: 16px;
  margin: 0 0 6px;
}

.market-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  background: var(--card-bg);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}
