﻿/* ============================================================
   Monarch Financial Exchange - Main Stylesheet
   ============================================================ */

:root {
  --navy:       #08101f;
  --navy-mid:   #0d1a2e;
  --navy-light: #152236;
  --gold:       #c9a227;
  --gold-light: #e0bc5a;
  --gold-dim:   #8a6e1a;
  --white:      #ffffff;
  --off-white:  #e8ecf0;
  --muted:      #8fa3b8;
  --border:     rgba(201,162,39,0.18);
  --card-bg:    rgba(21,34,54,0.85);
  --shadow:     0 4px 32px rgba(0,0,0,0.45);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4, h5 {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(1.65rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.3rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(0.95rem, 2vw, 1.1rem); }

p { color: var(--off-white); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,16,31,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201,162,39,0.1);
  color: var(--gold-light);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/home-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(201,162,39,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(13,26,46,0.9) 0%, transparent 60%),
    linear-gradient(165deg, rgba(10,18,34,0.88) 0%, rgba(10,22,37,0.82) 50%, rgba(13,31,58,0.80) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  flex: 1 1 0;
  min-width: 0;
}

.hero-image {
  flex: 0 0 auto;
  width: 44%;
  max-width: 540px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  text-align: center;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 18px;
}

.section-title span {
  color: var(--gold);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(201,162,39,0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   PRODUCTS / PLATFORM SECTION
   ============================================================ */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-tag {
  display: inline-block;
  background: rgba(201,162,39,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-features {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-features li::before {
  content: '→';
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TOKENIZATION APPROACH
   ============================================================ */
.token-principle {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.token-principle:hover {
  border-color: rgba(201,162,39,0.3);
}

.token-principle-num {
  width: 40px;
  height: 40px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.token-principle-body h4 {
  margin-bottom: 6px;
  color: var(--white);
}

.token-principle-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.step-num {
  width: 46px;
  height: 46px;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h4 {
  margin-bottom: 6px;
  padding-top: 10px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================================
   TABLE
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: rgba(201,162,39,0.08);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(201,162,39,0.08);
  color: var(--off-white);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(201,162,39,0.03);
}

.table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.roadmap-item {
  position: relative;
  text-align: center;
}

.roadmap-dot {
  width: 44px;
  height: 44px;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.roadmap-period {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.roadmap-item h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.roadmap-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   FINANCIALS
   ============================================================ */
.financial-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.financial-year {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.financial-year:hover {
  border-color: rgba(201,162,39,0.35);
  transform: translateY(-3px);
}

.financial-year-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.financial-users {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.financial-revenue {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============================================================
   PARTNER SECTION
   ============================================================ */
.partner-category {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.partner-category h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.partner-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partner-category li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.partner-category li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,162,39,0.06), transparent);
}

.cta-section h2 {
  position: relative;
  margin-bottom: 18px;
}

.cta-section p {
  position: relative;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   COMPLIANCE / TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-items {
  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.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.trust-item-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer-col li a:hover { color: var(--off-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-links a:hover { color: var(--off-white); }

.footer-disclaimer {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #5a6e82;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(201,162,39,0.06);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 30%, rgba(201,162,39,0.06), transparent);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb-sep { color: var(--muted); }

/* ============================================================
   UTILITY
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .roadmap  { grid-template-columns: repeat(2, 1fr); }
  .roadmap::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .financial-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section   { padding: 56px 0; }
  .section-sm { padding: 40px 0; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .roadmap  { grid-template-columns: 1fr; }
  .financial-row { grid-template-columns: 1fr 1fr; }

  /* Navigation */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 24px;
    gap: 18px;
    z-index: 999;
  }

  .nav-links.open::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--border);
    margin-top: 4px;
  }

  .nav-cta.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 0 24px 24px;
    gap: 10px;
    z-index: 999;
  }

  .nav-cta.mobile-open .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero { padding: 90px 0 56px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 100px 0 52px; }
  .mb-64 { margin-bottom: 40px; }

  /* Cards */
  .card { padding: 24px; }
  .product-card { padding: 28px; }
  .partner-category { padding: 24px; }
  .token-principle { padding: 20px; }

  /* CTA */
  .cta-section { padding: 48px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Trust strip */
  .trust-items { gap: 20px; justify-content: flex-start; padding: 0 4px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 16px; }

  /* Tables */
  .data-table th, .data-table td { padding: 10px 14px; }

  /* Inline flex headings (logos next to text) */
  .section-title { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  /* Hero — stack image below buttons */
  .hero { padding: 86px 0 48px; min-height: auto; }
  .hero-body { flex-direction: column; gap: 32px; }
  .hero-image { width: 100%; max-width: 100%; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; margin-top: 48px; padding-top: 32px; }
  .trust-items { gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .section   { padding: 48px 0; }
  .section-sm { padding: 32px 0; }

  .page-hero { padding: 88px 0 44px; }

  .hero-stats { grid-template-columns: 1fr; }
  .financial-row { grid-template-columns: 1fr; }

  .card { padding: 20px; }
  .product-card { padding: 24px; }

  .cta-section { padding: 36px 20px; }

  .footer-bottom-links { flex-direction: column; align-items: center; gap: 12px; }
}
