/* =============================================
   DEFI SOLUTIONS INC. — Main Stylesheet
   Clean, modern fintech aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --teal:        #0D7377;
  --teal-light:  #14A8AE;
  --teal-dark:   #085A5D;
  --black:       #0A0F0F;
  --dark:        #111718;
  --mid:         #1E2829;
  --surface:     #F7FAFA;
  --white:       #FFFFFF;
  --gray-100:    #F0F4F4;
  --gray-200:    #DDE5E5;
  --gray-400:    #8FA5A5;
  --gray-600:    #4A6363;
  --text:        #1A2424;
  --text-soft:   #4A6363;
  --accent:      #00C9D4;
  --green:       #10B981;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(13,115,119,0.10);
  --shadow-lg:   0 12px 48px rgba(13,115,119,0.16);
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-soft); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  background: rgba(13,115,119,0.08); border: 1px solid rgba(13,115,119,0.18);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--teal); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 16px rgba(13,115,119,0.30);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,115,119,0.35); }
.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--teal); font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem;
  color: var(--black);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--teal);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-soft);
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #F7FAFA 0%, #EDF5F5 50%, #F7FAFA 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,115,119,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,201,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 24px; color: var(--black); }
.hero h1 span { color: var(--teal); }
.hero p { font-size: 1.125rem; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--gray-200);
  border-radius: 100px; padding: 8px 16px; margin-bottom: 32px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--gray-200);
}
.hero-stat-num { font-family: 'Syne',sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--black); }
.hero-stat-label { font-size: 0.8rem; color: var(--text-soft); margin-top: 2px; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--dark); padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.65);
}
.trust-item svg { width: 16px; height: 16px; fill: var(--teal-light); flex-shrink:0; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.card:hover { border-color: var(--teal-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(13,115,119,0.08); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: var(--teal); }

/* ── Steps ── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: white;
  font-family: 'Syne',sans-serif; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h4 { margin-bottom: 6px; color: var(--black); }

/* ── Dark section ── */
.dark-section {
  background: var(--dark); color: white;
}
.dark-section h2 { color: white; }
.dark-section p  { color: rgba(255,255,255,0.65); }
.dark-section .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--accent); }
.dark-section .eyebrow::before { background: var(--accent); }

/* ── Teal section ── */
.teal-section { background: var(--teal); }
.teal-section h2, .teal-section p { color: white; }
.teal-section p { color: rgba(255,255,255,0.8); }

/* ── Team cards ── */
.team-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  margin: 0 auto 16px; display: flex; align-items: center;
  justify-content: center; font-family: 'Syne',sans-serif;
  font-size: 1.6rem; font-weight: 800; color: white;
}
.team-name { font-family: 'Syne',sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--black); margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--teal); font-weight: 500; margin-bottom: 12px; }
.team-bio { font-size: 0.875rem; color: var(--text-soft); }

/* ── Compliance badge ── */
.compliance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.compliance-badge {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.compliance-badge .badge-icon { font-size: 2rem; margin-bottom: 10px; }
.compliance-badge h4 { color: white; font-size: 0.95rem; margin-bottom: 4px; }
.compliance-badge p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── Regulatory page ── */
.reg-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; gap: 24px; align-items: flex-start;
}
.reg-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(13,115,119,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}

/* ── Contact ── */
.contact-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 40px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); border-color: var(--teal-light); }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(13,115,119,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 4px; }
.contact-value { font-weight: 600; color: var(--black); font-size: 1rem; }

/* ── Legal pages ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--black); padding-bottom: 8px; border-bottom: 1px solid var(--gray-200); }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--black); }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { color: var(--text-soft); margin-bottom: 6px; }
.legal-content .legal-meta {
  background: var(--gray-100); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 40px; font-size: 0.875rem;
}
.legal-content .legal-meta strong { color: var(--black); }

/* ── Page header ── */
.page-header {
  padding: 140px 0 72px;
  background: linear-gradient(160deg, #F7FAFA 0%, #EDF5F5 100%);
  border-bottom: 1px solid var(--gray-200);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; max-width: 560px; }

/* ── Footer ── */
.footer { background: var(--black); color: white; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin: 16px 0 24px; max-width: 260px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-fintrac {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; padding: 6px 14px;
}
.footer-fintrac::before { content:'🛡️'; font-size: 0.85rem; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-white { color: white; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.section-header { max-width: 600px; margin-bottom: 56px; }
.section-header.center { margin: 0 auto 56px; text-align: center; }
.divider { height: 1px; background: var(--gray-200); margin: 48px 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 72px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .trust-bar-inner { gap: 24px; justify-content: flex-start; overflow-x: auto; }
  .compliance-grid { grid-template-columns: 1fr; }
}
