* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0E17;
  --bg-card: #111827;
  --bg-card-hover: #1A2332;
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.25);
  --accent-light: #FF9F6B;
  --blue: #3B82F6;
  --green: #10B981;
  --purple: #8B5CF6;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border: #1E293B;
  --border-light: #334155;
  --radius: 16px;
  --radius-sm: 10px;
  --danger: #EF4444;
  --success: #10B981;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; opacity: 1; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9 !important; }

.nav-lang-switch { position: relative; }
.nav-lang-btn {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-muted); padding: 5px 12px; font-size: 13px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; gap: 4px; transition: border-color 0.2s;
}
.nav-lang-btn:hover { border-color: var(--border-light); }
.nav-lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px; min-width: 160px; box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-lang-dropdown.open { display: block; }
.nav-lang-dropdown button {
  display: block; width: 100%; text-align: left; padding: 8px 12px;
  background: none; border: none; color: var(--text-muted); font-size: 13px;
  border-radius: 6px; cursor: pointer; transition: background 0.15s;
}
.nav-lang-dropdown button:hover { background: var(--bg-card-hover); color: var(--text); }
.nav-lang-dropdown button.selected { color: var(--accent); }

.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text); font-size: 24px; cursor: pointer;
}
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(10, 14, 23, 0.95); backdrop-filter: blur(16px);
  z-index: 99; flex-direction: column; padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text); font-size: 18px; font-weight: 600;
  padding: 16px 0; border-bottom: 1px solid var(--border); text-decoration: none;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; position: relative;
}
.page-hero .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-muted);
  max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative;
}

/* ── SECTION ── */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 12px;
}
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-light); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon.orange { background: rgba(255,107,53,0.15); color: var(--accent); }
.card-icon.blue { background: rgba(59,130,246,0.15); color: var(--blue); }
.card-icon.green { background: rgba(16,185,129,0.15); color: var(--green); }
.card-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

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

/* ── IMAGE CARD ── */
.img-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s;
}
.img-card:hover { transform: translateY(-4px); border-color: var(--border-light); }
.img-card img { width: 100%; height: 200px; object-fit: cover; }
.img-card .img-card-body { padding: 24px; }
.img-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.img-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── HERO IMAGE ── */
.hero-img {
  width: 100%; max-height: 360px; object-fit: cover;
  border-radius: var(--radius); margin-top: 40px; border: 1px solid var(--border);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--accent); color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); opacity: 1; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.btn-secondary:hover { border-color: var(--text-dim); background: var(--bg-card); opacity: 1; }

.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 8px; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }

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

.form-success {
  display: none; padding: 16px 20px; background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius-sm);
  color: var(--green); font-size: 14px; font-weight: 500; margin-top: 16px;
}
.form-error {
  display: none; padding: 16px 20px; background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3); border-radius: var(--radius-sm);
  color: var(--danger); font-size: 14px; font-weight: 500; margin-top: 16px;
}

/* ── STATS ── */
.stats-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; padding: 40px 0; }
.stat { text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ── HOW IT WORKS ── */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-item { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,107,53,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; margin: 0 auto 16px;
}
.step-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-item p { font-size: 13px; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1A1F2E 0%, #111827 100%);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 12px; position: relative;
}
.cta-banner p { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* ── INFO LIST ── */
.info-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.info-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,107,53,0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.info-item p { font-size: 13px; color: var(--text-muted); }

/* ── PARTNER CARDS ── */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.partner-card:hover {
  transform: translateY(-6px); border-color: var(--accent);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.partner-card .partner-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,107,53,0.12);
}
.partner-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.partner-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.partner-card .partner-link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ── LEGAL PAGES ── */
.legal-content { padding: 120px 0 80px; }
.legal-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal-content .last-updated { font-size: 14px; color: var(--text-dim); margin-bottom: 40px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.legal-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content li { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.7; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border); padding: 64px 0 32px;
  background: linear-gradient(180deg, var(--bg) 0%, #060910 100%);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 22px; display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-dim); max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: var(--text-dim); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── LOADING OVERLAY ── */
.loading-overlay {
  display: none; position: fixed; inset: 0; background: var(--bg); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.spinner { border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; width: 36px; height: 36px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
}
.badge-accent { background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.2); color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .page-hero { padding: 120px 0 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .stats-row { gap: 24px; }
  .stat-number { font-size: 32px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
}
