/* International Partner — Design System */
:root {
  --navy: #0c1a2e;
  --navy-light: #152238;
  --navy-mid: #1e3354;
  --cream: #f7f5f0;
  --cream-dark: #ebe8e0;
  --gold: #c4a035;
  --gold-light: #e8d48a;
  --gold-dark: #9a7b1f;
  --teal: #2a6b6b;
  --teal-light: #3d8f8f;
  --text: #1a2638;
  --text-muted: #5a6b7d;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(12, 26, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(12, 26, 46, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 160, 53, 0.15);
  transition: background var(--transition);
}

.site-header.scrolled { background: rgba(12, 26, 46, 0.98); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo:hover { color: var(--gold-light); }

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-cta { display: flex; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 160, 53, 0.35);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

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

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 160, 53, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(42, 107, 107, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 160, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 160, 53, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(196, 160, 53, 0.15);
  border: 1px solid rgba(196, 160, 53, 0.3);
  border-radius: 100px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Sections */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 26, 46, 0.06);
  transition: all var(--transition);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(196, 160, 53, 0.2) 0%, rgba(42, 107, 107, 0.15) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: 0.75rem; }

.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Countries strip */
.countries-strip {
  background: var(--white);
  padding: 3rem 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--cream);
  border-radius: 100px;
  font-weight: 600;
  color: var(--navy);
}

.country-flag {
  font-size: 1.5rem;
  line-height: 1;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(196, 160, 53, 0.25);
  display: block;
  margin-bottom: 0.5rem;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* Partner visual steps */
.partner-visual-section { padding: 5rem 0; }

.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 100px;
  text-align: center;
}

.flow-node--client { background: rgba(42, 107, 107, 0.12); }
.flow-node--partner { background: rgba(99, 91, 255, 0.12); }
.flow-node--cut { background: rgba(196, 160, 53, 0.2); }
.flow-node--cut .flow-icon { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-dark); }
.flow-node--biz { background: rgba(12, 26, 46, 0.08); }

.flow-icon { font-size: 1.5rem; line-height: 1; }

.flow-arrow {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
  padding: 0 0.25rem;
}

@media (max-width: 640px) {
  .flow-arrow { display: none; }
  .flow-diagram { gap: 0.75rem; }
}

.visual-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.visual-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 26, 46, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

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

.visual-step-art {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 0.5rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-step-art svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.visual-step-art--stripe { background: linear-gradient(180deg, rgba(99, 91, 255, 0.06) 0%, var(--cream) 100%); }
.visual-step-art--square { background: linear-gradient(180deg, rgba(0, 106, 255, 0.06) 0%, var(--cream) 100%); }

.platform-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--white);
}

.platform-badge--stripe { background: #635bff; }
.platform-badge--square { background: #006aff; }

.visual-step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.visual-step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.visual-step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.visual-step-card p strong { color: var(--navy); }

.visual-steps-note {
  text-align: center;
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px dashed var(--gold);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
}

.cta-band .btn-primary { margin: 0 0.5rem 0.5rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(196, 160, 53, 0.1) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); font-size: 1.15rem; max-width: 600px; }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* Earnings highlight */
.earnings-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  text-align: center;
}

.earnings-box .percent {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.earnings-box p { color: rgba(255, 255, 255, 0.8); margin-top: 1rem; }

.earnings-box .btn-outline {
  color: var(--gold-light);
  border-color: rgba(255, 255, 255, 0.45);
}

.earnings-box .btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--white);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--cream); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Trust badges */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.info-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--cream); }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 968px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-main.mobile-open {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    overflow-y: auto;
  }

  .nav-main.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav-main.mobile-open .nav-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-main.mobile-open .nav-cta .btn { width: 100%; }
}

/* Utility */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-content ul { margin-left: 1.5rem; }

.alert-box {
  padding: 1.25rem 1.5rem;
  background: rgba(42, 107, 107, 0.1);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
}
