/* ============================================================
   VONO AFRICA — MAIN DESIGN SYSTEM
   Afro-futuristic · Mobile-first · Premium SaaS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Backgrounds */
  --bg-deep:     #1C2B42;
  --bg-dark:     #243554;
  --bg-card:     #2D4168;
  --bg-card-2:   #344B78;
  --bg-light:    #FFFDF8;
  --bg-off:      #F9FAFB;

  /* Accents */
  --orange:      #FF7A00;
  --orange-glow: rgba(255,122,0,0.18);
  --orange-soft: rgba(255,122,0,0.08);
  --yellow:      #FFC83D;
  --green:       #16C47F;
  --green-glow:  rgba(22,196,127,0.15);
  --purple:      #7C3AED;
  --purple-glow: rgba(124,58,237,0.15);
  --blue:        #3B82F6;
  --blue-glow:   rgba(59,130,246,0.15);
  --burgundy:    #8B1E3F;
  --copper:      #C97B36;

  /* Text */
  --text-white:  #FFFFFF;
  --text-bright: #F1F5FF;
  --text-mid:    #94A3B8;
  --text-dim:    #4A5568;
  --text-dark:   #0F172A;

  /* Borders */
  --border:      rgba(255,255,255,0.10);
  --border-glow: rgba(255,122,0,0.30);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Grotesk', sans-serif;

  /* Spacing */
  --section-y:   120px;
  --container:   1200px;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Transitions */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur:         0.4s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-bright);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

h1 { font-size: clamp(2.6rem, 4.8vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-mid); line-height: 1.8; }

.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

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

section { padding: var(--section-y) 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: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 0 0 0 var(--orange-glow);
}
.btn-primary:hover {
  background: #FF9130;
  box-shadow: 0 0 40px var(--orange-glow), 0 8px 24px rgba(255,122,0,0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--border);
  color: var(--text-bright);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange-soft);
  box-shadow: 0 0 20px var(--orange-glow);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255,122,0,0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,122,0,0.1);
}

.card-glass {
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.badge-orange { background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange-glow); }
.badge-green  { background: var(--green-glow);  color: var(--green);  border: 1px solid rgba(22,196,127,0.2); }
.badge-purple { background: var(--purple-glow); color: #A78BFA;       border: 1px solid rgba(124,58,237,0.2); }
.badge-blue   { background: var(--blue-glow);   color: #60A5FA;       border: 1px solid rgba(59,130,246,0.2); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background: rgba(8,14,28,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--text-white); background: rgba(255,255,255,0.06); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  min-width: 440px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 32px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  border-top: 2px solid var(--orange);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Bridge pseudo-element prevents gap from killing hover state */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 8px;
  background: transparent;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-mid) !important;
  font-size: 0.88rem;
}

.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.07); color: var(--text-white) !important; }
.nav-dropdown-menu .drop-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.nav-dropdown-menu a span strong { color: white; font-size: .88rem; display: block; margin-bottom: 2px; }
.nav-dropdown-menu a span > span { font-size: .78rem; color: var(--text-dim); white-space: nowrap; }


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

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 999;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-family: var(--font-display);
}
.mobile-menu a:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-glow-1 {
  position: absolute;
  top: -200px; left: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,122,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(22,196,127,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-stat {}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-val span { color: var(--orange); }
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 400;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

/* ── TRUSTED SECTION ── */
.trusted-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.trusted-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scroll-x 20s linear infinite;
  flex-shrink: 0;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s;
}

.trust-logo:hover { color: var(--text-mid); }

.trusted-scroll {
  display: flex;
  gap: 48px;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

/* ── PRODUCTS SECTION ── */
.products-section {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--dur);
  pointer-events: none;
}

.product-card-cashbook::after  { background: radial-gradient(circle at 50% 0%, rgba(22,196,127,0.08), transparent 60%); }
.product-card-bos::after       { background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.08), transparent 60%); }
.product-card-hr::after        { background: radial-gradient(circle at 50% 0%, rgba(139,30,63,0.15), transparent 60%); }

.product-card:hover::after { opacity: 1; }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.product-card-cashbook:hover { border-color: rgba(22,196,127,0.3); }
.product-card-bos:hover       { border-color: rgba(59,130,246,0.3); }
.product-card-hr:hover        { border-color: rgba(201,123,54,0.3); }

.product-card-header {
  padding: 32px 32px 0;
}

.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.product-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.product-card p  { font-size: 0.93rem; margin-bottom: 24px; line-height: 1.7; }

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.product-feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.product-card-screen {
  margin-top: 8px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: gap 0.2s;
  margin-bottom: 28px;
}
.product-link:hover { gap: 10px; }

/* ── WHY VONO ── */
.why-section {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,122,0,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--dur) var(--ease);
}

.why-card:hover {
  border-color: rgba(255,122,0,0.2);
  background: var(--bg-card-2);
  transform: translateY(-4px);
}

.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.why-card h4 { font-size: 1rem; margin-bottom: 8px; }
.why-card p  { font-size: 0.85rem; line-height: 1.6; }

/* ── INDUSTRIES ── */
.industries-section {}

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

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.industry-card:hover {
  border-color: rgba(255,122,0,0.2);
  background: var(--bg-card-2);
  transform: translateX(4px);
}

.industry-emoji {
  font-size: 28px;
  width: 52px; height: 52px;
  background: var(--bg-deep);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.industry-card h4 { font-size: 1rem; margin-bottom: 4px; }
.industry-card p  { font-size: 0.82rem; }

/* ── FINANCE SECTION ── */
.finance-section {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.finance-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 48px 0;
  position: relative;
}

.finance-flow::before {
  content: '';
  position: absolute;
  top: 50%; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--purple));
  transform: translateY(-50%);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
  transition: all 0.3s;
}

.flow-step:hover .flow-icon {
  border-color: var(--orange);
  box-shadow: 0 0 24px var(--orange-glow);
}

.flow-step h4 { font-size: 0.88rem; margin-bottom: 4px; }
.flow-step p  { font-size: 0.78rem; color: var(--text-dim); }

.flow-arrow {
  color: var(--text-dim);
  font-size: 20px;
  flex-shrink: 0;
}

/* ── AFRICA STORY ── */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-big-stat {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(255,122,0,0.2), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.story-floating-cards {
  position: absolute;
  inset: 0;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--bg-deep);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-bright);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.author-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.author-role { font-size: 0.78rem; color: var(--text-dim); }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,122,0,0.08) 0%, transparent 70%);
}

.cta-border {
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 80px 48px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.cta-border::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 0.88rem; max-width: 240px; margin-bottom: 20px; }

.footer-newsletter input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.2s;
}
.footer-newsletter input:focus { border-color: rgba(255,122,0,0.4); }
.footer-newsletter input::placeholder { color: var(--text-dim); }
.footer-newsletter .btn { width: 100%; justify-content: center; padding: 11px; }

.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-white); }

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

.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-dim);
  transition: all 0.2s;
}
.social-icon:hover {
  background: var(--orange-soft);
  border-color: var(--orange-glow);
  color: var(--orange);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FLOATING ANIMATION ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 24px rgba(255,122,0,0.2); }
  50% { box-shadow: 0 0 48px rgba(255,122,0,0.4); }
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── DIVIDERS ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── UTILITY ── */
.text-orange  { color: var(--orange); }
.text-green   { color: var(--green); }
.text-yellow  { color: var(--yellow); }
.text-mid     { color: var(--text-mid); }
.text-center  { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 900;
  gap: 10px;
}

/* ── INNER PAGE HERO (About, Contact, Resources, Legal) ── */
.inner-hero {
  padding: 140px 0 72px;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,122,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,0,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}
.inner-hero .hero-glow {
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,122,0,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── LEGAL PAGES — two-column layout ── */
.legal-two-col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding: var(--section-y) 0;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.legal-toc h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.legal-toc ul li a { font-size: .85rem; color: var(--text-mid); transition: color .2s; display: block; padding: 3px 0; }
.legal-toc ul li a:hover { color: var(--orange); }
.legal-toc ul li a.active { color: var(--orange); font-weight: 600; }

/* ── PROSE (legal content) ── */
.prose { }
.prose h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: white; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.prose h3:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.prose h4 { font-family: var(--font-display); font-size: .96rem; font-weight: 600; color: rgba(255,255,255,.85); margin: 20px 0 8px; }
.prose p { color: var(--text-mid); line-height: 1.85; margin-bottom: 14px; font-size: .96rem; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; color: var(--text-mid); }
.prose ul li { margin-bottom: 6px; line-height: 1.75; font-size: .94rem; }
.prose a { color: var(--orange); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .callout-box { background: rgba(255,122,0,0.07); border: 1px solid rgba(255,122,0,0.18); border-radius: 12px; padding: 18px 22px; margin: 0 0 24px; }
.prose .callout-box p { color: rgba(255,255,255,.78); margin: 0; }

/* ── ABOUT PAGE ── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: all .3s; }
.value-card:hover { border-color: rgba(255,122,0,0.25); transform: translateY(-4px); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ecosystem-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.eco-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; text-align: center; transition: all .3s; }
.eco-card:hover { transform: translateY(-4px); border-color: rgba(255,122,0,0.2); }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: rgba(255,122,0,0.22); line-height: 1; flex-shrink: 0; width: 100px; padding-top: 4px; }
.tl-content h4 { font-size: 1rem; color: white; margin-bottom: 6px; }
.tl-content p { font-size: .88rem; line-height: 1.7; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin-bottom: 14px; display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,122,0,0.1); border: 1px solid rgba(255,122,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 7px; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.form-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; color: white; font-family: var(--font-body); font-size: .95rem; outline: none; transition: border .2s; -webkit-appearance: none; }
.form-input:focus { border-color: rgba(255,122,0,0.4); }
.form-input::placeholder { color: var(--text-dim); }
.form-input option { background: var(--bg-card); color: white; }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inq-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.inq-tab { padding: 7px 15px; border-radius: 20px; font-size: .8rem; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text-mid); font-family: var(--font-mono); transition: all .2s; user-select: none; }
.inq-tab.active { background: rgba(255,122,0,0.12); border-color: rgba(255,122,0,0.3); color: var(--orange); }

/* ── RESOURCES PAGE ── */
.resource-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all .3s; cursor: pointer; }
.resource-card:hover { border-color: rgba(255,122,0,0.25); transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.resource-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.resource-body { padding: 24px; }
.resource-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-mono); padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.resource-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: white; }
.resource-card p { font-size: .85rem; line-height: 1.7; color: var(--text-mid); }
.guide-list { display: flex; flex-direction: column; gap: 14px; }
.guide-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 28px; display: flex; align-items: center; gap: 20px; transition: all .3s; cursor: pointer; }
.guide-item:hover { border-color: rgba(255,122,0,0.22); transform: translateX(4px); }
.guide-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.guide-item h4 { font-size: .95rem; margin-bottom: 4px; color: white; }
.guide-item p { font-size: .82rem; color: var(--text-dim); }


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section-y: 80px; }
  .hero { padding: 120px 0 64px; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-y: 56px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }

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

  .hero { padding: 96px 0 56px; }
  .hero-stats { gap: 20px; }
  .hero-scene { display: none; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .finance-flow { flex-direction: column; gap: 24px; }
  .finance-flow::before { display: none; }

  .cta-border { padding: 44px 20px; }
  .sticky-cta { display: flex; }

  .trusted-inner { gap: 20px; }

  /* Product page feature rows */
  .feature-row { grid-template-columns: 1fr !important; direction: ltr !important; gap: 36px; }
  .feature-row.reverse { direction: ltr !important; }
  .feature-row > * { direction: ltr !important; }

  /* Inner hero pages */
  .inner-hero { padding: 100px 0 48px; }

  /* Legal prose */
  .prose { max-width: 100% !important; padding: var(--section-y) 0; }
  .legal-two-col { grid-template-columns: 1fr !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .form-row { grid-template-columns: 1fr !important; }

  /* About */
  .value-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .ecosystem-row { grid-template-columns: 1fr !important; }
  .timeline .tl-item { flex-direction: column; gap: 8px; }
  .timeline .tl-year { width: auto; font-size: 1.3rem; }

  /* Product pages */
  .segments-grid { grid-template-columns: 1fr !important; }
  .modules-grid { grid-template-columns: 1fr 1fr !important; }
  .compliance-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .flow-steps { grid-template-columns: 1fr 1fr !important; gap: 20px; }
  .flow-steps::before { display: none; }
  .how-steps { grid-template-columns: 1fr !important; }
  .finance-big-grid { grid-template-columns: 1fr !important; gap: 36px; }
  .pos-layout { flex-direction: column; height: auto !important; }
  .pos-sidebar { width: 100%; flex-direction: row; padding: 10px 16px; height: 52px; }
  .mockup-phone { width: 100% !important; max-width: 340px; margin: 0 auto; }
  .hero-visual { display: flex; justify-content: center; }

  /* Resources */
  .resources-grid { grid-template-columns: 1fr !important; }
  .guide-item { flex-direction: column; gap: 12px; }

  /* Sections that need full padding reduction */
  .cta-wrap { padding: 44px 20px; }

  body { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modules-grid { grid-template-columns: 1fr !important; }
  .flow-steps { grid-template-columns: 1fr !important; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; justify-content: center; max-width: 340px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
