/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0a2540;
  background: #f6f9fc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 249, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 24px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; color: #0a2540; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: #425466; transition: background 0.15s;
}
.nav-link:hover { background: rgba(0,0,0,0.04); color: #0a2540; }
.sign-in { font-size: 14px; font-weight: 500; color: #425466; padding: 8px 12px; }
.sign-in:hover { color: #0a2540; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 9999px; font-size: 14px; font-weight: 600;
  transition: all 0.15s; cursor: pointer; border: none;
}
.btn-primary {
  background: #0a2540; color: #fff;
}
.btn-primary:hover { background: #1a3a5c; }
.btn-secondary {
  background: rgba(0,0,0,0.06); color: #0a2540;
}
.btn-secondary:hover { background: rgba(0,0,0,0.1); }
.btn-tertiary {
  background: #fff; color: #0a2540; border: 1px solid rgba(0,0,0,0.12);
}
.btn-tertiary:hover { background: #f6f9fc; border-color: rgba(0,0,0,0.2); }
.btn-large { padding: 12px 24px; font-size: 16px; }
.link-arrow { color: #635bff; font-weight: 600; font-size: 14px; }
.link-arrow:hover { color: #4b45c6; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #f6f9fc 0%, #e3e8ee 100%);
  padding: 80px 24px 40px;
  text-align: center; overflow: hidden; position: relative;
}
.hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1; font-weight: 700;
  color: #0a2540; margin-bottom: 20px;
}
.hero-title em { font-style: italic; }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #425466; max-width: 560px; margin: 0 auto 32px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-graphic {
  margin-top: 60px; position: relative; height: 120px;
}
.wave-visual {
  width: 100%; height: 120px;
  background: linear-gradient(135deg, #635bff 0%, #0a2540 30%, #00d4aa 60%, #7c3aed 100%);
  clip-path: polygon(0 60%, 10% 50%, 20% 55%, 30% 45%, 40% 50%, 50% 40%, 60% 48%, 70% 42%, 80% 50%, 90% 44%, 100% 52%, 100% 100%, 0 100%);
  opacity: 0.15; border-radius: 20px 20px 0 0;
}

/* ===== LOGOS ===== */
.logos-section {
  padding: 48px 24px; text-align: center; overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.logos-label { font-size: 13px; color: #425466; margin-bottom: 24px; font-weight: 500; }
.logos-track { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.logos-slide {
  display: flex; gap: 48px; animation: scroll 30s linear infinite; width: max-content;
}
.logo-item {
  font-size: 18px; font-weight: 700; color: #425466;
  opacity: 0.5; white-space: nowrap; letter-spacing: 0.5px;
  text-transform: uppercase;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PRODUCTS ===== */
.products-section { padding: 100px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: #0a2540; text-align: center; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px; color: #425466; text-align: center;
  max-width: 600px; margin: 0 auto 48px; line-height: 1.6;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  min-height: 260px; transition: box-shadow 0.2s;
}
.bento-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.bento-large { grid-column: span 2; }
.bento-wide { grid-column: span 3; }
.bento-card-content { padding: 28px 28px 16px; }
.bento-card-content h3 { font-size: 20px; font-weight: 600; color: #0a2540; line-height: 1.3; }
.bento-card-visual {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 20px 28px 28px;
}

/* Card mockup */
.payments-visual { background: linear-gradient(135deg, #f6f9fc, #e3e8ee); }
.card-mockup {
  width: 260px; height: 160px; border-radius: 12px; padding: 20px;
  background: linear-gradient(135deg, #635bff, #0a2540);
  color: #fff; position: relative; box-shadow: 0 12px 40px rgba(99,91,255,0.3);
}
.card-chip {
  width: 36px; height: 26px; border-radius: 4px;
  background: linear-gradient(135deg, #ffd700, #daa520);
  margin-bottom: 24px;
}
.card-number { font-size: 16px; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; }
.card-details { font-size: 14px; font-weight: 700; letter-spacing: 1px; }

/* Billing mockup */
.billing-visual { background: #f6f9fc; }
.billing-mockup {
  background: #fff; border-radius: 12px; padding: 20px;
  width: 100%; max-width: 300px; border: 1px solid rgba(0,0,0,0.08);
}
.billing-plan { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.billing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px; color: #425466;
}
.billing-price { font-weight: 600; color: #0a2540; }

/* Agentic */
.agentic-visual { background: linear-gradient(135deg, #e3e8ee, #f6f9fc); }
.agentic-icon { font-size: 64px; opacity: 0.4; }

/* Issuing */
.issuing-visual { background: linear-gradient(135deg, #f6f9fc, #e3e8ee); }
.mini-cards { position: relative; width: 180px; height: 120px; }
.mini-card {
  position: absolute; width: 120px; height: 76px; border-radius: 8px;
}
.mc1 { background: linear-gradient(135deg, #635bff, #7c3aed); top: 0; left: 0; transform: rotate(-6deg); box-shadow: 0 4px 16px rgba(99,91,255,0.3); }
.mc2 { background: linear-gradient(135deg, #0a2540, #425466); top: 24px; left: 40px; transform: rotate(4deg); box-shadow: 0 4px 16px rgba(10,37,64,0.3); }

/* Crypto */
.crypto-visual { background: linear-gradient(135deg, #f7931a10, #f6f9fc); }
.crypto-icon { font-size: 72px; color: #f7931a; opacity: 0.4; }

/* Platform */
.platform-visual { background: linear-gradient(135deg, #f6f9fc, #e3e8ee); }
.platform-graphic { display: flex; align-items: center; gap: 0; }
.platform-node {
  width: 20px; height: 20px; border-radius: 50%;
  background: #635bff; opacity: 0.6;
}
.platform-line { width: 60px; height: 2px; background: rgba(99,91,255,0.3); }

/* ===== STATS ===== */
.stats-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a2540, #0f2d4a);
  color: #fff;
}
.stats-section .section-title { color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-number {
  font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  color: #00d4aa; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ===== BUSINESSES ===== */
.businesses-section { padding: 100px 0; }
.business-block { margin-bottom: 80px; }
.business-header { margin-bottom: 16px; }
.business-header h3 { font-size: 28px; font-weight: 700; color: #0a2540; }
.business-desc { font-size: 16px; color: #425466; margin-bottom: 32px; max-width: 700px; }

.stories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 24px;
}
.story-card {
  background: #fff; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}
.story-image {
  height: 140px; border-radius: 8px; margin-bottom: 16px;
  background: linear-gradient(135deg, #e3e8ee, #c1c9d2);
}
.hertz-bg { background: linear-gradient(135deg, #1a3a5c, #425466); }
.instacart-bg { background: linear-gradient(135deg, #43b02a, #2d7a1a); }
.lemonde-bg { background: linear-gradient(135deg, #f7931a, #daa520); }
.story-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #0a2540; }
.story-stats { display: flex; gap: 24px; margin-bottom: 8px; font-size: 13px; color: #425466; }
.story-stats strong { color: #0a2540; }
.story-products { font-size: 12px; color: #425466; margin-bottom: 12px; }

.services-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.service-card {
  background: #fff; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}
.service-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #0a2540; }
.service-card p { font-size: 14px; color: #425466; margin-bottom: 12px; }

/* Startups */
.startup-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.startup-card {
  background: #fff; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.startup-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.startup-logo {
  font-size: 20px; font-weight: 800; margin-bottom: 12px;
  color: #635bff;
}
.startup-card h4 { font-size: 14px; font-weight: 500; color: #0a2540; margin-bottom: 12px; line-height: 1.5; }

/* Platform features */
.platform-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.platform-feature {
  background: #fff; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}
.platform-feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #0a2540; }
.platform-feature p { font-size: 14px; color: #425466; margin-bottom: 12px; }

/* Testimonial */
.testimonial {
  background: #fff; border-radius: 12px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.testimonial blockquote {
  font-size: 18px; font-style: italic; color: #0a2540;
  line-height: 1.6; margin-bottom: 16px;
}
.testimonial cite { font-size: 14px; color: #425466; display: block; margin-bottom: 12px; font-style: normal; }

/* ===== INFRA ===== */
.infra-section {
  padding: 100px 0;
  background: #fff;
}
.infra-links { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; }
.infra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.infra-card {
  background: #f6f9fc; border-radius: 12px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.infra-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #0a2540; }
.infra-card p { font-size: 15px; color: #425466; }
.infra-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  text-align: center; margin-bottom: 64px;
}
.infra-stat .stat-number { color: #0a2540; }
.infra-stat .stat-label { color: #425466; }
.choose-heading { font-size: 24px; font-weight: 700; text-align: center; color: #0a2540; margin-bottom: 8px; }

.integration-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px;
}
.integration-card {
  background: #f6f9fc; border-radius: 12px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.integration-icon { font-size: 32px; margin-bottom: 16px; }
.integration-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #0a2540; }
.integration-card p { font-size: 14px; color: #425466; margin-bottom: 16px; }

/* ===== NEWS ===== */
.news-section { padding: 100px 0; background: #f6f9fc; }
.news-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 48px;
}
.news-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.news-card-inner { padding: 24px; }
.news-card h4 { font-size: 14px; font-weight: 600; color: #0a2540; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 13px; color: #425466; margin-bottom: 16px; line-height: 1.5; }

.books-section {
  text-align: center; padding: 48px 0;
}
.books-section h3 { font-size: 20px; font-weight: 700; color: #0a2540; margin-bottom: 8px; }
.books-section p { font-size: 15px; color: #425466; margin-bottom: 4px; }
.books-links { margin-bottom: 12px; }

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0; text-align: center;
  background: #fff;
}
.cta-section h2 { font-size: 36px; font-weight: 700; color: #0a2540; margin-bottom: 12px; }
.cta-section > .container > p { font-size: 17px; color: #425466; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; }
.cta-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 700px; margin: 0 auto; text-align: left;
}
.cta-link {
  background: #f6f9fc; border-radius: 12px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}
.cta-link h4 { font-size: 16px; font-weight: 600; color: #0a2540; margin-bottom: 4px; }
.cta-link p { font-size: 14px; color: #425466; margin-bottom: 12px; }

/* ===== FOOTER ===== */
.footer {
  background: #0a2540; color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: #fff; font-size: 13px; font-weight: 600;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.6);
  padding: 3px 0; transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.footer-bottom .sign-in { color: rgba(255,255,255,0.6); }
.footer-bottom .sign-in:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
  .bento-wide { grid-column: span 2; }
  .stories-grid { grid-template-columns: 1fr; }
  .services-row { grid-template-columns: 1fr; }
  .startup-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-features { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .bento-wide { grid-column: span 1; }
  .startup-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-links { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}
