/* ═══════════════════════════════════════════════════════════
   CrexiPay Public Website — Design System
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:      #0f1923;
  --secondary:    #1e2d3d;
  --accent:       #00d4aa;
  --accent-dark:  #00a88a;
  --accent-light: rgba(0, 212, 170, 0.12);
  --light:        #f0f4f8;
  --white:        #ffffff;
  --muted:        #6b7f94;
  --border:       #e2e8f0;
  --text:         #0f1923;
  --radius:       8px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.18);
  --shadow-accent:0 8px 32px rgba(0,212,170,0.3);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:   0.22s ease;
  --max-width:    1200px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section-dark  { background: var(--primary); color: var(--white); }
.section-light { background: var(--light); }
.section-white { background: var(--white); }

/* Diagonal section dividers */
.section-angled { position: relative; }
.section-angled-dark::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.section-angled-light::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; opacity: 0.75; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.7; }
.text-muted  { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,25,35,0.4);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: var(--primary);
  padding: 0.7rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  color:#FFFFFF;
}
.nav-brand .accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
}
.nav-mobile .nav-link {
  font-size: 1.4rem;
  font-weight: 700;
}
.nav-mobile .nav-cta { flex-direction: column; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
}
/* Grid mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Gradient glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--accent); }
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Checkout card mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes cpFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(-1deg); }
}
.checkout-preview {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 300px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  animation: cpFloat 5s ease-in-out infinite;
  transform: rotate(-1deg);
}
.cp-header {
  background: var(--primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cp-logo-badge {
  width: 38px; height: 38px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.cp-company { color: var(--white); font-weight: 600; font-size: 0.92rem; }
.cp-body { padding: 1.5rem; }
.cp-row { margin-bottom: 1rem; }
.cp-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.cp-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.cp-amount-box {
  background: #f8faff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-align: center;
  margin: 1.25rem 0;
}
.cp-amount-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.cp-amount { font-size: 1.9rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.cp-pay-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: default;
}
.cp-foot {
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Trust Bar ──────────────────────────────────────────────── */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--light);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.trust-pill i { color: var(--accent); font-size: 1rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-dark {
  background: var(--secondary);
  color: var(--white);
}
.card-accent-border {
  border-top: 3px solid var(--accent);
}

/* ── Step cards ─────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
}
.step-number {
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  margin: 0 auto 1.25rem;
}
.step-icon {
  width: 64px; height: 64px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
}
.step-icon i { color: var(--accent); font-size: 1.75rem; }
.step-card h3 { margin-bottom: 0.75rem; }

/* ── Problem section ────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.problem-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.problem-card p { color: rgba(255,255,255,0.82); margin: 0; }

/* ── Industry grid ──────────────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.industry-card:hover {
  background: rgba(0,212,170,0.08);
  border-color: rgba(0,212,170,0.3);
  transform: translateY(-3px);
}
.industry-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.industry-card h4 { color: var(--white); margin-bottom: 0.35rem; font-size: 0.95rem; }
.industry-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* Industries page detail cards */
.industry-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.industry-detail:last-child { border-bottom: none; }
.industry-detail:nth-child(even) .industry-detail-text { order: 2; }
.industry-detail:nth-child(even) .industry-detail-icon { order: 1; }
.industry-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--accent-light);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  max-width: 220px;
  margin: 0 auto;
}
.industry-detail h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* ── Feature grid ───────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon i { color: var(--accent); font-size: 1.3rem; }
.feature-text h4 { margin-bottom: 0.4rem; }
.feature-text p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--primary); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(15,25,35,0.72); font-size: 1.1rem; margin-bottom: 2rem; }

/* ── Flow diagram (how-it-works) ────────────────────────────── */
.flow-diagram {
  max-width: 480px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--accent);
  font-size: 1.25rem;
}
.flow-callout {
  background: var(--accent-light);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--primary);
}

/* Security pillars */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.security-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.security-card i { color: var(--accent); font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.security-card h4 { color: var(--white); margin-bottom: 0.35rem; }
.security-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 3px solid var(--accent);
}
.contact-card-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon i { color: var(--accent); font-size: 1.1rem; }
.contact-card h4 { margin-bottom: 0.25rem; font-size: 0.95rem; }
.contact-card a { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.contact-card p { font-size: 0.82rem; color: var(--muted); margin: 0.25rem 0 0; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; position: relative; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.15);
}
.form-control::placeholder { color: #a0aec0; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7f94' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

.form-check { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; margin-top: 2px; }
.form-check label { font-size: 0.88rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.form-check a { color: var(--accent); font-weight: 600; }

.form-submit-wrap { margin-top: 1.75rem; }

.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: none;
}
.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}
.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* ── Legal pages ─────────────────────────────────────────────── */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.legal-page h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.legal-meta { color: var(--muted); margin-bottom: 3rem; font-size: 0.9rem; }
.legal-toc {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
}
.legal-toc h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; color: var(--muted); }
.legal-toc ol { list-style: decimal; padding-left: 1.25rem; }
.legal-toc li { margin-bottom: 0.35rem; font-size: 0.9rem; }
.legal-toc a { color: var(--accent); font-weight: 500; }
.legal-toc a:hover { text-decoration: underline; }
.legal-section { margin-bottom: 3rem; }
.legal-section h2 { font-size: 1.35rem; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1.25rem; }
.legal-section p, .legal-section li { font-size: 0.95rem; line-height: 1.8; color: #334155; margin-bottom: 0.75rem; }
.legal-section ul, .legal-section ol { padding-left: 1.5rem; }
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li { margin-bottom: 0.5rem; }
.legal-section strong { color: var(--text); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.footer-brand .brand-name span { color: var(--accent); }
.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.footer-parent { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.6rem; }
.footer-contact-item i { color: var(--accent); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.83rem; color: rgba(255,255,255,0.38); }
.footer-powered { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-powered span { color: var(--accent); }

/* ── Page hero ──────────────────────────────────────────────── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,0.68); max-width: 580px; margin: 0 auto; }

/* ── Fade-in animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Utilities ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; } .gap-2 { gap: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

/* ══════════════════ RESPONSIVE ══════════════════ */

@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { padding: 6rem 0 4rem; }
  .hero .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-visual { order: -1; }
  .checkout-preview { width: 260px; }

  /* Grids */
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .industry-detail { grid-template-columns: 1fr; gap: 2rem; }
  .industry-detail:nth-child(even) .industry-detail-text { order: 0; }
  .industry-detail:nth-child(even) .industry-detail-icon { order: 0; }
  .industry-detail-icon { max-width: 120px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* How it works */
  .how-section-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr; }
  .checkout-preview { width: 240px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .trust-pill { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
}

/* ── Crypto price ticker ─────────────────────────────────────── */
.ticker-strip {
  background: #131f2e;
  border-top:    1px solid rgba(0,212,170,0.15);
  border-bottom: 1px solid rgba(0,212,170,0.15);
  height: 48px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}

.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.ticker-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.ticker-name  { color: #6b7f94; font-size: 12px; }
.ticker-price { color: #ffffff; font-weight: 600; }

.ticker-change.positive { color: #00d4aa; }
.ticker-change.negative { color: #ef4444; }

.ticker-sep {
  color: rgba(0,212,170,0.4);
  padding: 0 8px;
  font-size: 16px;
}

.ticker-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6b7f94;
  font-size: 12px;
  gap: 8px;
}
