/* ================================================================
   DEPLOYZA — Global Styles
   Design: Google Cloud Platform inspired
   Icons:  Bootstrap Icons v1.11 (consistent throughout)
   Fonts:  Roboto (Google Fonts)
   ================================================================ */

/* ---------- Design tokens ---------- */
:root {
  --primary:        #1A73E8;
  --primary-dark:   #0D47A1;
  --primary-light:  #E8F0FE;
  --text:           #202124;
  --text-sec:       #5F6368;
  --bg:             #FFFFFF;
  --bg-light:       #F8F9FA;
  --border:         #DADCE0;
  --success:        #34A853;
  --warning:        #F9AB00;
  --danger:         #EA4335;
  --shadow-sm:      0 1px 2px rgba(60,64,67,.30), 0 1px 3px rgba(60,64,67,.15);
  --shadow-md:      0 2px 6px rgba(60,64,67,.30), 0 1px 8px rgba(60,64,67,.15);
  --radius:         8px;
  --radius-pill:    999px;
  --transition:     all .2s ease;
  --font:           'Roboto', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ================================================================
   NAVBAR
   ================================================================ */
.deployza-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .25s;
}
.deployza-nav.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.deployza-nav .container-xl {
  height: 100%;
  display: flex;
  align-items: center;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-brand:hover { text-decoration: none; color: var(--text); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }

.nav-collapse {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .4rem .7rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-sec);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

/* Nav action buttons */
.btn-signin {
  border: 1px solid var(--border);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: .35rem 1rem;
  font-size: .8125rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-signin:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  text-decoration: none;
  color: var(--primary);
}
/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: .25rem;
  margin-left: auto;
}

/* ================================================================
   HERO
   ================================================================ */
.hero-section {
  background: linear-gradient(145deg, #fff 30%, #EEF4FD 100%);
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--primary); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: .8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-hero-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-hero-secondary:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

/* Hero SVG */
.hero-illustration { width: 100%; max-width: 500px; display: block; margin: 0 auto; }
.conn-line {
  stroke-dasharray: 8 5;
  animation: flowDash 2s linear infinite;
}
@keyframes flowDash { to { stroke-dashoffset: -26; } }
.api-node-pulse {
  animation: pulse 2.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(1.08); }
}

/* ================================================================
   SHARED SECTION CHROME
   ================================================================ */
.section-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
  margin-bottom: .6rem;
}
.section-subtitle {
  color: var(--text-sec);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   VALUE PROPOSITIONS
   ================================================================ */
.value-section {
  padding: 5.5rem 0;
  background: var(--bg);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon-wrap i { font-size: 1.5rem; color: var(--primary); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-sec); font-size: .9375rem; margin: 0; line-height: 1.6; }

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-section { background: var(--primary-dark); padding: 3.5rem 0; }
.stat-item { text-align: center; padding: 1rem 1.5rem; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label { color: rgba(255,255,255,.75); font-size: .875rem; margin-top: .4rem; }
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,.18);
  margin: .5rem 0;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section { padding: 5.5rem 0; background: var(--bg-light); }
.step-col { position: relative; text-align: center; padding: 0 1.5rem; }
.step-connector {
  position: absolute;
  top: 27px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--border);
}
.step-number-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(26,115,232,.35);
}
.step-icon { font-size: 1.75rem; color: var(--primary); margin-bottom: .75rem; display: block; }
.step-title { font-size: 1.05rem; margin-bottom: .5rem; }
.step-desc { color: var(--text-sec); font-size: .9375rem; line-height: 1.6; }

/* ================================================================
   POPULAR APIs TABLE
   ================================================================ */
.apis-section { padding: 5.5rem 0; background: var(--bg); }
.apis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.apis-header h2 { margin: 0; font-size: 1.75rem; }

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--text-sec);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .375rem 1rem;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-refresh:hover { border-color: var(--primary); color: var(--primary); }
.btn-refresh.loading .bi-arrow-clockwise { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.api-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0; }
.api-table thead th {
  background: var(--bg-light);
  color: var(--text-sec);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--border) !important;
  padding: .75rem 1rem;
  white-space: nowrap;
}
.api-table tbody tr { transition: background .15s; }
.api-table tbody tr:hover { background: #F6FAFE; }
.api-table td {
  padding: .875rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border) !important;
  font-size: .9rem;
}
.api-table tbody tr:last-child td { border-bottom: none !important; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
}
.rank-badge.gold   { background: #FEF3C7; color: #92400E; }
.rank-badge.silver { background: #F1F5F9; color: #475569; }
.rank-badge.bronze { background: #FEF0E7; color: #9A3412; }

.api-name-cell { font-weight: 500; color: var(--text); }
.category-tag {
  font-size: .72rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .1rem .55rem;
  color: var(--text-sec);
  margin-left: .4rem;
  white-space: nowrap;
}

/* SLA / Response time colour badges */
.stat-badge {
  font-size: .8rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  white-space: nowrap;
}
.badge-green  { background: #E6F4EA; color: #137333; }
.badge-amber  { background: #FEF3C7; color: #7D5000; }
.badge-red    { background: #FCE8E6; color: #C5221F; }

/* Status dot */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
}
.status-dot i { font-size: .55rem; }
.status-operational { color: #137333; }
.status-degraded    { color: #7D5000; }
.status-down        { color: #C5221F; }

/* Skeleton loader rows */
.skeleton-cell {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-cell.w-40 { width: 40%; }
.skeleton-cell.w-60 { width: 60%; }
.skeleton-cell.w-70 { width: 70%; }
.skeleton-cell.w-30 { width: 30%; }

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--primary);
  font-weight: 500;
  font-size: .9375rem;
  margin-top: 1.25rem;
  transition: var(--transition);
}
.view-all-link:hover { gap: .6rem; text-decoration: none; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5.5rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 2.25rem; }
.btn-cta {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: .875rem 2.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-block;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
  text-decoration: none;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: #202124; padding: 1.75rem 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 2rem;
  margin-bottom: .75rem;
  list-style: none;
  padding: 0;
}
.footer-links a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color .15s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { text-align: center; color: rgba(255,255,255,.35); font-size: .8125rem; }

/* ================================================================
   ABOUT — WHY WE STARTED
   ================================================================ */
.origin-section {
  padding: 5.5rem 0;
  background: var(--bg-light);
}
.origin-body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.origin-body p {
  color: var(--text-sec);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.origin-body p:last-child { margin-bottom: 0; }

/* ================================================================
   ABOUT — LEADERSHIP
   ================================================================ */
.leadership-section {
  padding: 5.5rem 0;
  background: var(--bg);
}
.leader-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.leader-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.leader-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--primary-light);
  margin-bottom: 1rem;
}
.leader-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 3px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.leader-avatar i { font-size: 3rem; color: var(--primary); }
.leader-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text);
}
.leader-role {
  font-size: .875rem;
  color: var(--text-sec);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.leader-linkedin {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .3rem .85rem;
  transition: var(--transition);
  text-decoration: none;
}
.leader-linkedin:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  text-decoration: none;
  color: var(--primary);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1199.98px) {
  .nav-links a { padding: .4rem .55rem; font-size: .78rem; }
}

@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 3.5rem 0 2.5rem; }
  .hero-illustration { margin-top: 2.5rem; max-width: 380px; }
  .deployza-nav .nav-collapse {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: .5rem;
  }
  .deployza-nav .nav-collapse.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: .125rem; }
  .nav-toggle { display: block; }
  .stat-sep { display: none; }
}

@media (max-width: 767.98px) {
  .step-connector { display: none; }
  .apis-header { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 1.85rem; }
  .api-table td, .api-table thead th { padding: .625rem .75rem; }
}

/* ================================================================
   BROWSE APIs PAGE
   ================================================================ */

/* --- Hero --- */
.browse-hero-section {
  background: linear-gradient(145deg, #fff 30%, #EEF4FD 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}
.browse-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: .75rem;
}
.browse-hero-sub {
  color: var(--text-sec);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* --- Search bar --- */
.browse-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.browse-search-wrap .bi-search {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sec);
  font-size: 1rem;
  pointer-events: none;
}
.browse-search-input {
  width: 100%;
  padding: .875rem 1rem .875rem 2.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.browse-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.browse-search-input::placeholder { color: var(--text-sec); }

/* --- Catalogue section --- */
.browse-catalogue-section {
  padding: 2.5rem 0 5rem;
  background: var(--bg-light);
}

/* --- Mobile category chips --- */
.browse-chips-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .625rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.browse-chips-scroll::-webkit-scrollbar { display: none; }

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-sec);
  font-size: .8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  flex-shrink: 0;
}
.cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cat-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* --- Sidebar --- */
.browse-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.browse-sidebar-title {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-sec);
  margin: 0 0 .75rem .25rem;
}
.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .55rem .75rem;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: var(--text-sec);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  text-align: left;
  line-height: 1.3;
}
.cat-item:hover {
  background: var(--bg-light);
  color: var(--text);
}
.cat-item.active {
  background: var(--primary-light);
  color: var(--primary);
}
.cat-item .bi { font-size: 1rem; flex-shrink: 0; }
.cat-name { flex: 1; }
.cat-count {
  font-size: .72rem;
  font-weight: 600;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  padding: .1rem .45rem;
  min-width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.cat-item.active .cat-count {
  background: rgba(26,115,232,.15);
  color: var(--primary);
}

/* --- Results bar --- */
.browse-results-bar {
  margin-bottom: 1.25rem;
}
.browse-results-count {
  font-size: .875rem;
  color: var(--text-sec);
  font-weight: 500;
}

/* --- API Cards --- */
.api-browse-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  text-decoration: none;
  transition: var(--transition);
  color: var(--text);
}
.api-browse-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}
.api-browse-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  margin-bottom: .875rem;
  align-self: flex-start;
  white-space: nowrap;
}
.api-browse-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.api-browse-desc {
  font-size: .875rem;
  color: var(--text-sec);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}
.api-browse-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap .2s;
}
.api-browse-card:hover .api-browse-cta { gap: .55rem; }

/* Skeleton state */
.api-browse-skeleton {
  pointer-events: none;
  min-height: 150px;
}

/* --- Empty state --- */
.browse-empty {
  text-align: center;
  padding: 5rem 2rem;
}
.browse-empty-icon {
  font-size: 3rem;
  color: var(--border);
  display: block;
  margin-bottom: 1rem;
}
.browse-empty h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.browse-empty p  { color: var(--text-sec); margin-bottom: 1.5rem; }

/* --- Responsive tweaks --- */
@media (max-width: 991.98px) {
  .browse-hero-section { padding: 3rem 0 2.5rem; }
}

/* ================================================================
   GEOGRAPHIES
   ================================================================ */

/* ---- Region cards ---- */
.geo-regions-section { padding: 5rem 0; background: var(--bg); }
.geo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: var(--transition);
}
.geo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.geo-flag    { font-size: 2rem; line-height: 1; margin-bottom: .75rem; display: block; }
.geo-country { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .125rem; }
.geo-city    { font-size: .875rem; color: var(--text-sec); margin-bottom: .75rem; }
.geo-zone {
  font-size: .72rem;
  font-family: 'Courier New', monospace;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .15rem .5rem;
  display: inline-block;
  margin-bottom: .875rem;
  color: var(--text-sec);
}
.geo-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.geo-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.geo-badge-usd      { background: #E8F0FE; color: #1A73E8; }
.geo-badge-inr      { background: #FFF8E1; color: #E65100; }
.geo-badge-gdpr     { background: #E6F4EA; color: #137333; }
.geo-badge-dpdp     { background: #FFF3E0; color: #BF360C; }
.geo-badge-openbank { background: #F3E5F5; color: #6A1B9A; }
.geo-badge-cdr      { background: #E0F7FA; color: #006064; }

/* ---- Roadmap ---- */
.geo-roadmap-section { padding: 5rem 0; background: var(--bg-light); }
.geo-roadmap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  height: 100%;
}
.geo-roadmap-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.geo-roadmap-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.geo-roadmap-item:last-child  { border-bottom: none; padding-bottom: 0; }
.geo-roadmap-item:first-child { padding-top: 0; }
.geo-roadmap-flag    { font-size: 1.5rem; flex-shrink: 0; }
.geo-roadmap-info    { flex: 1; }
.geo-roadmap-country { font-weight: 600; font-size: .9375rem; color: var(--text); line-height: 1.3; }
.geo-roadmap-city    { font-size: .8125rem; color: var(--text-sec); }

.badge-soon {
  font-size: .68rem; font-weight: 600;
  background: #FEF3C7; color: #92400E;
  padding: .18rem .5rem; border-radius: var(--radius-pill);
  white-space: nowrap; flex-shrink: 0;
}
.badge-planned {
  font-size: .68rem; font-weight: 600;
  background: var(--bg-light); color: var(--text-sec);
  border: 1px solid var(--border);
  padding: .18rem .5rem; border-radius: var(--radius-pill);
  white-space: nowrap; flex-shrink: 0;
}

/* ---- Enterprise callout ---- */
.geo-enterprise-section { padding: 4.5rem 0; background: var(--bg); }
.geo-enterprise-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border: 1px solid rgba(26,115,232,.25);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}
.geo-enterprise-card .ent-icon {
  font-size: 2.5rem; color: var(--primary);
  margin-bottom: 1rem; display: block;
}
.geo-enterprise-card h3 { font-size: 1.25rem; color: var(--primary-dark); margin-bottom: .5rem; }
.geo-enterprise-card p  {
  color: var(--text-sec);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ---- Data sovereignty ---- */
.geo-compliance-section { padding: 4.5rem 0; background: var(--bg-light); }
.geo-compliance-body { max-width: 680px; margin: 0 auto; text-align: center; }
.geo-compliance-body p {
  color: var(--text-sec);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.geo-compliance-body p:last-child { margin-bottom: 0; }

/* ================================================================
   TESTIMONIALS — Section 1 (cards)
   ================================================================ */
.testimonials-section { padding: 5.5rem 0; background: var(--bg-light); }

.tcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.tcard:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.tcard-quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
  margin-bottom: .25rem;
  user-select: none;
}
.tcard-quote {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.25rem;
}

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

.tcard-author-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.25rem;
}
.tcard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tcard-avatar i { font-size: 1.5rem; color: var(--primary); }
.tcard-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .15rem;
  line-height: 1.3;
}
.tcard-position {
  font-size: .8125rem;
  color: var(--text-sec);
  margin: 0;
  line-height: 1.3;
}

.tcard-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.tcard-company {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}
.tcard-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
  flex-shrink: 0;
}
.tcard-company-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcard-linkedin {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: .25rem .7rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}
.tcard-linkedin:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  text-decoration: none;
  color: var(--primary);
}

/* ================================================================
   TESTIMONIALS — Section 2 (trusted clients grid)
   ================================================================ */
.clients-section { padding: 5.5rem 0; background: var(--bg); }

.clients-trust-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .75rem;
}
.clients-trust-headline .highlight { color: var(--primary); }
.clients-trust-sub {
  font-size: 1.0625rem;
  color: var(--text-sec);
  margin-bottom: 3rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .875rem;
}
@media (max-width: 1199.98px) { .client-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991.98px)  { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px)  { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479.98px)  { .client-grid { grid-template-columns: repeat(2, 1fr); } }

.client-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: var(--transition);
  background: #fff;
}
.client-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}
.client-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.client-name {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-sec);
  text-align: center;
  line-height: 1.3;
}
