/* =========================================================
   RazorSwift — Production CSS
   ========================================================= */

/* === 1. Design Tokens ===================================== */
:root {
  /* Brand */
  --blue:        #672376;
  --blue-dark:   #4E1A58;
  --indigo:      #EE5064;
  --dark:        #0E0612;
  --dark-2:      #190B1E;

  /* Semantic */
  --text:        #1C0B22;
  --muted:       #5A4060;
  --muted-light: #9B8AA0;
  --light:       #FBF5FD;
  --lighter:     #FDF8FE;
  --border:      #E8D8F0;
  --border-light:#F2E8F7;
  --white:       #FFFFFF;
  --green:       #0DAF7A;
  --green-light: #ECFDF5;
  --surface:     #F5EEF9;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #672376 0%, #EE5064 100%);
  --grad-dark:   linear-gradient(160deg, #0E0612 0%, #190B1E 100%);
  --grad-hero:   linear-gradient(135deg, rgba(14,6,18,.92) 0%, rgba(25,11,30,.96) 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10,24,60,.04), 0 1px 4px rgba(10,24,60,.06);
  --shadow-sm: 0 2px 8px rgba(10,24,60,.06), 0 2px 4px rgba(10,24,60,.04);
  --shadow-md: 0 4px 20px rgba(10,24,60,.09), 0 8px 16px rgba(10,24,60,.04);
  --shadow-lg: 0 12px 40px rgba(10,24,60,.12), 0 20px 40px rgba(10,24,60,.05);
  --shadow-xl: 0 24px 80px rgba(10,24,60,.16), 0 40px 60px rgba(10,24,60,.07);

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Spacing scale */
  --s1:  0.25rem;   /* 4px  */
  --s2:  0.5rem;    /* 8px  */
  --s3:  0.75rem;   /* 12px */
  --s4:  1rem;      /* 16px */
  --s5:  1.25rem;   /* 20px */
  --s6:  1.5rem;    /* 24px */
  --s8:  2rem;      /* 32px */
  --s10: 2.5rem;    /* 40px */
  --s12: 3rem;      /* 48px */
  --s16: 4rem;      /* 64px */
  --s20: 5rem;      /* 80px */
  --s24: 6rem;      /* 96px */

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
}

/* === 2. Reset & Base ====================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { color: inherit; }
button { font-family: inherit; }

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* === 3. Layout ============================================ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s8);
}
.container-sm { max-width: 780px; margin-inline: auto; padding-inline: var(--s8); }

.section        { padding-block: var(--s24); }
.section-sm     { padding-block: var(--s16); }
.section-light  { background: var(--light); }
.section-dark   { background: var(--dark);  color: var(--white); }

/* === 4. Typography ======================================== */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(103,35,118,.08);
  border: 1px solid rgba(103,35,118,.18);
  padding: .3rem .85rem;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: var(--s4);
}
.label-dark {
  color: #E0A0F0;
  background: rgba(224,160,240,.1);
  border-color: rgba(224,160,240,.2);
}

.heading-xl {
  font-size: clamp(2.4rem, 4vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.028em;
  color: var(--white);
}
.heading-lg {
  font-size: clamp(1.9rem, 3vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
}
.heading-md {
  font-size: clamp(1.5rem, 2.5vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
}
.section-dark .heading-lg,
.section-dark .heading-md { color: var(--white); }

.lead {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.75;
  max-width: 56ch;
}
.lead-hero { color: rgba(215,225,255,.78); max-width: 44ch; }

.section-header        { margin-bottom: var(--s12); }
.section-header.center { text-align: center; }
.section-header.center .lead { margin-inline: auto; }

/* === 5. Header ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 75px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-md);
  transition: color .2s, background .2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--blue); background: rgba(103,35,118,.07); }
.main-nav .btn { margin-left: var(--s3); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background .2s;
}
.mobile-menu-btn:hover { background: var(--light); }

/* === 6. Buttons =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  padding: .7rem 1.5rem;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(103,35,118,.32);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(103,35,118,.48); }

.btn-secondary {
  background: rgba(103,35,118,.09);
  color: var(--blue);
  border: 1px solid rgba(103,35,118,.2);
}
.btn-secondary:hover { background: rgba(103,35,118,.15); border-color: rgba(103,35,118,.4); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
}
.btn-white:hover { box-shadow: 0 8px 32px rgba(0,0,0,.22); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: var(--white); }

.btn-lg { padding: .9rem 2rem; font-size: var(--text-base); border-radius: var(--r-lg); }
.btn-sm { padding: .45rem .9rem; font-size: var(--text-xs); border-radius: var(--r-sm); }

/* === 7. Hero ============================================== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
/* Hero copy children spacing */
.hero-copy h1 { margin-bottom: var(--s6); }
.hero-copy .lead { margin-bottom: var(--s10); line-height: 1.75; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(238,80,100,.35);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(103,35,118,.25);
  bottom: -80px; left: 10%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: start;
  padding-block: calc(var(--s24) + var(--s8)) calc(var(--s20) + var(--s8));
}

.hero-copy { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E0A0F0;
  background: rgba(224,160,240,.1);
  border: 1px solid rgba(224,160,240,.2);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: var(--s5);
  width: fit-content;
}
.hero-eyebrow .pulse-dot {
  width: 7px; height: 7px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
.hero-copy h1 { margin-bottom: var(--s5); }
.hero-copy .lead { margin-bottom: var(--s8); }
.hero-actions { display: flex; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s10); }
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-xs);
  color: rgba(180,200,240,.65);
}
.hero-trust-logos {
  display: flex;
  gap: var(--s2);
}
.trust-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(200,215,250,.7);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: .2rem .65rem;
  border-radius: 100px;
}

/* === 8. Product Mockup ==================================== */
.hero-mockup { position: relative; }

.mockup-window {
  background: rgba(15,25,55,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}
.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s5);
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mockup-bar-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(200,215,250,.6);
}
.mockup-live {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #34D399;
}
.live-dot {
  width: 7px; height: 7px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

.mockup-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }

.mockup-search-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
}
.search-icon { font-size: .85rem; opacity: .5; }
.search-text { font-size: var(--text-sm); color: rgba(210,225,255,.75); flex: 1; }
.search-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  background: rgba(238,80,100,.3);
  color: #F5B0BA;
  padding: .15rem .5rem;
  border-radius: 100px;
}

.mockup-row-header {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: var(--text-xs);
  color: rgba(160,180,225,.5);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 var(--s2);
}

.candidate-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  transition: background .2s;
}
.candidate-row:hover { background: rgba(255,255,255,.07); }
.candidate-row:first-child { border-color: rgba(238,80,100,.4); background: rgba(238,80,100,.1); }

.c-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #672376, #EE5064); }
.av-2 { background: linear-gradient(135deg, #0DAF7A, #059669); }
.av-3 { background: linear-gradient(135deg, #F59E0B, #D97706); }

.c-info { flex: 1; min-width: 0; }
.c-name  { font-size: var(--text-sm); font-weight: 600; color: rgba(230,240,255,.9); line-height: 1.2; }
.c-meta  { font-size: var(--text-xs); color: rgba(150,175,225,.6); }

.c-score { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
.score-bar {
  width: 64px;
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #672376, #EE5064);
  border-radius: 100px;
  width: var(--w, 0%);
  animation: bar-grow 1.2s ease-out .4s both;
}
.candidate-row:nth-child(2) .score-fill { background: linear-gradient(90deg, #0DAF7A, #059669); }
.candidate-row:nth-child(3) .score-fill { background: linear-gradient(90deg, #F59E0B, #D97706); }
.score-num {
  font-size: var(--text-xs);
  font-weight: 800;
  color: rgba(220,235,255,.9);
  min-width: 28px;
  text-align: right;
}

.mockup-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,.07);
}
.m-stat { text-align: center; }
.m-stat-val {
  font-size: var(--text-lg);
  font-weight: 800;
  background: linear-gradient(90deg, #E0A0F0, #F5B0BA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.m-stat-label { font-size: var(--text-xs); color: rgba(150,175,225,.6); }

/* Floating badge */
.mockup-badge {
  position: absolute;
  bottom: -18px;
  left: -24px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}
.badge-icon { font-size: 1.5rem; }
.badge-val  { font-size: var(--text-xl); font-weight: 800; color: var(--green); line-height: 1; }
.badge-desc { font-size: var(--text-xs); color: var(--muted); line-height: 1.3; }

/* === 9. Integration ticker strip ======================== */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s7);
  overflow: hidden;
}
.trust-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  padding: 20px 0px;
}
.trust-strip-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.int-ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.int-ticker-wrap::before,
.int-ticker-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.int-ticker-wrap::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.int-ticker-wrap::after  { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.int-ticker-track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
}
.int-ticker-wrap:hover .int-ticker-track { animation-play-state: paused; }
.int-ticker-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4) var(--s2) var(--s3);
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s, background .2s;
  cursor: default;
}
.int-ticker-item:hover {
  border-color: rgba(103,35,118,.3);
  background: rgba(103,35,118,.04);
}
.int-ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.int-ticker-dot.p { background: #8b5cf6; }
.int-ticker-dot.c { background: #ee5064; }
.int-ticker-dot.b { background: #3b82f6; }
.int-ticker-dot.g { background: #22c55e; }
.int-ticker-dot.a { background: #f59e0b; }
.int-ticker-dot.t { background: #06b6d4; }
/* compliance badges row */
.trust-compliance-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  justify-content: center;
}
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem .75rem .3rem .35rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.compliance-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation: shimmer-badge 4s ease-in-out infinite;
}
@keyframes shimmer-badge {
  0%   { left: -100%; }
  35%  { left: 160%; }
  100% { left: 160%; }
}
.compliance-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
  flex-shrink: 0;
}
.compliance-icon.green  { background: rgba(34,197,94,.12);  color: #16a34a; }
.compliance-icon.blue   { background: rgba(59,130,246,.12); color: #2563eb; }
.compliance-icon.amber  { background: rgba(245,158,11,.12); color: #d97706; }
.compliance-icon.purple { background: rgba(139,92,246,.12); color: #7c3aed; }

/* === 9b. Integration Hub (full section) ================= */
.int-hub-section {
  position: relative;
  background: linear-gradient(180deg, #f6f1ff 0%, #fbf8ff 50%, #fff 100%);
  padding: var(--s20) 0 var(--s16);
  overflow: hidden;
}
.int-hub-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(103,35,118,.07) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}
.int-hub-section::after {
  content: '';
  position: absolute;
  width: 800px; height: 420px;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(103,35,118,.1) 0%, transparent 70%);
  pointer-events: none;
}
.int-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  position: relative; z-index: 1;
  margin-top: var(--s12);
  margin-bottom: var(--s12);
}
.int-hub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.int-hub-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s;
}
.int-hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103,35,118,.22);
  box-shadow: 0 24px 56px rgba(103,35,118,.12), 0 4px 16px rgba(0,0,0,.05);
}
.int-hub-card:hover::before { opacity: 1; }
.int-hub-card.col-p::before { background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.int-hub-card.col-c::before { background: linear-gradient(90deg, #ee5064, #be123c); }
.int-hub-card.col-b::before { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.int-hub-card.col-g::before { background: linear-gradient(90deg, #22c55e, #15803d); }
.int-hub-card.col-a::before { background: linear-gradient(90deg, #f59e0b, #b45309); }
.int-hub-card.col-t::before { background: linear-gradient(90deg, #06b6d4, #0369a1); }
.int-hub-card-top {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.int-hub-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.int-hub-card-icon.p { background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(109,40,217,.08)); }
.int-hub-card-icon.c { background: linear-gradient(135deg, rgba(238,80,100,.15), rgba(190,18,60,.08)); }
.int-hub-card-icon.b { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(29,78,216,.08)); }
.int-hub-card-icon.g { background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(21,128,61,.08)); }
.int-hub-card-icon.a { background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(180,83,9,.08)); }
.int-hub-card-icon.t { background: linear-gradient(135deg, rgba(6,182,212,.15), rgba(3,105,161,.08)); }
.int-hub-card-label {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.int-hub-card-count {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-light);
}
.int-hub-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.int-hub-tool-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px 7px;
  white-space: nowrap;
}
.int-hub-card-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.7;
}
/* CTA card */
.int-hub-cta-card {
  background: linear-gradient(135deg, #f5f0ff, #fff0f3);
  border: 1.5px dashed rgba(103,35,118,.28);
  border-radius: var(--r-2xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  text-align: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
}
.int-hub-cta-card:hover {
  background: linear-gradient(135deg, #ede8ff, #ffe8ec);
  border-color: rgba(103,35,118,.5);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(103,35,118,.12);
}
.int-hub-cta-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.int-hub-cta-text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}
.int-hub-cta-link {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
}
/* trust badges under the grid */
.int-hub-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  flex-wrap: wrap;
  position: relative; z-index: 1;
  margin-bottom: var(--s10);
}
.int-hub-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .35rem .9rem .35rem .4rem;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.int-hub-badge::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  animation: shimmer-badge 5s ease-in-out infinite;
}
.int-hub-badge:nth-child(2)::after { animation-delay: .6s; }
.int-hub-badge:nth-child(3)::after { animation-delay: 1.2s; }
.int-hub-badge:nth-child(4)::after { animation-delay: 1.8s; }
.int-hub-badge:nth-child(5)::after { animation-delay: 2.4s; }
.int-hub-badge-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
}
@media (max-width: 1000px) { .int-hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .int-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .int-hub-grid { grid-template-columns: 1fr; } }

/* === 10. Stats bar ======================================== */
.stats-bar { background: var(--dark); }
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s10) var(--s8);
  border-right: 1px solid rgba(255,255,255,.07);
  gap: var(--s2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(90deg, #E0A0F0 0%, #F5B0BA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(160,185,235,.65);
  max-width: 130px;
}

/* === 11. About ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s20);
  align-items: center;
}
.about-text .lead { margin-bottom: var(--s6); }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-top: var(--s8);
}
.about-feature {
  padding: var(--s5);
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--blue);
}
.about-feature strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s1);
}
.about-feature span { font-size: var(--text-sm); color: var(--muted); }

.about-visual {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.metric-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s5);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.metric-val {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--s2);
}
.metric-name { font-size: var(--text-xs); color: var(--muted); font-weight: 600; }

/* === 12. How It Works ===================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--s4);
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(103,35,118,.35);
}
.step-title { font-size: var(--text-sm); font-weight: 700; color: var(--text); margin-bottom: var(--s2); }
.step-desc  { font-size: var(--text-xs); color: var(--muted); line-height: 1.6; }

/* === 13. Solution Cards =================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: var(--s5);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  border-radius: var(--r-xl);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(103,35,118,.25);
}
.card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: var(--r-md);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(103,35,118,.1), rgba(238,80,100,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.card .btn { align-self: flex-start; margin-top: var(--s2); }

/* === 14. Feature highlight (Why RazorSwift) ============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl);
  padding: var(--s8);
  transition: background .25s, border-color .25s, transform .25s;
}
.feature-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--s5);
  display: block;
}
.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s3);
}
.feature-card p {
  font-size: var(--text-sm);
  color: rgba(170,195,235,.7);
  line-height: 1.7;
}

/* === 15. Industry Cards =================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--s5);
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.industry-card img { width: 100%; height: 175px; object-fit: cover; }
.industry-card-body {
  padding: var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}
.industry-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--text); }
.industry-card p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; flex: 1; }

/* Industry stat chip */
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  border-radius: 100px;
  padding: .2rem .65rem;
  margin-top: var(--s2);
  width: fit-content;
}

/* === 16. Metrics Table ==================================== */
.metrics-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.metrics-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s5) var(--s6);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.metrics-table-head h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}
.metrics-table-head p { font-size: var(--text-xs); color: var(--muted); }
.metrics-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.metrics-table th {
  padding: var(--s4) var(--s6);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  background: var(--light);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.metrics-table td {
  padding: var(--s5) var(--s8);
  font-size: var(--text-sm);
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.metrics-table th { padding-inline: var(--s8); }
.metrics-table tr:last-child td { border-bottom: none; }
.metrics-table tbody tr:hover { background: var(--lighter); }
.metrics-table td:nth-child(2) { color: var(--muted); }
.metrics-table td:nth-child(3) { color: var(--green); font-weight: 700; }

/* === 17. Testimonials ===================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--warning, #F59E0B); font-size: var(--text-base); letter-spacing: 2px; }
.testimonial-quote {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before { content: '"'; }
.testimonial-quote::after  { content: '"'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.av-blue   { background: var(--grad-brand); }
.av-green  { background: linear-gradient(135deg, #059669, #0DAF7A); }
.av-amber  { background: linear-gradient(135deg, #D97706, #F59E0B); }
.testimonial-name  { font-size: var(--text-sm); font-weight: 700; color: var(--text); line-height: 1.2; }
.testimonial-title { font-size: var(--text-xs); color: var(--muted); }

/* === 18. White Papers ===================================== */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: var(--s5);
}
.paper-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.paper-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.paper-card-body {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  flex: 1;
  border-top: 4px solid var(--blue);
}
.paper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.paper-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.paper-card-body h3 { font-size: var(--text-lg); font-weight: 700; color: var(--text); line-height: 1.35; }
.paper-card-body p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; flex: 1; }

/* === 19. CTA & Contact form =============================== */
.cta-section {
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
  padding-block: var(--s12);
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: var(--s4); }
.cta-section .lead { color: rgba(220,230,255,.75); margin: 0 auto var(--s5); }
.cta-actions { display: flex; gap: var(--s5); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s5); }

.cta-form {
  display: flex;
  gap: var(--s3);
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: .75rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color .2s, background .2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.15);
}

/* === 20. Footer =========================================== */
.site-footer {
  background: #04091C;
  color: rgba(160,185,230,.75);
  padding-top: var(--s16);
  padding-bottom: var(--s10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--s12);
  margin-bottom: var(--s12);
}
.footer-logo {
  margin-bottom: var(--s4);
}
.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.footer-brand p { font-size: var(--text-sm); line-height: 1.75; max-width: 240px; }

.site-footer h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s5);
}
.site-footer a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(150,180,225,.7);
  text-decoration: none;
  margin-bottom: var(--s4);
  transition: color .2s;
}
.site-footer a:hover { color: #E0A0F0; }
.site-footer p { font-size: var(--text-sm); margin-bottom: var(--s2); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-sm);
  color: rgba(150,180,225,.7);
  margin-bottom: var(--s3);
}
.footer-contact-icon { font-size: 1rem; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: var(--s4);
  margin-bottom: var(--s8);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer-note { font-size: var(--text-xs); color: rgba(100,130,180,.5); }
.footer-links { display: flex; gap: var(--s6); }
.footer-links a { font-size: var(--text-xs); color: rgba(120,150,200,.5); }
.footer-links a:hover { color: rgba(120,150,200,.9); }

/* === 21. Animations ======================================= */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes bar-grow {
  from { width: 0 !important; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Hero entry animation */
.hero-copy { animation: fade-up .7s ease .1s both; }
.hero-mockup { animation: fade-in .9s ease .3s both; }

/* === 22. Utilities ======================================== */
.text-center { text-align: center; }
.mt-2  { margin-top: var(--s8); }
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* === 23. Breadcrumb ======================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  color: var(--muted-light);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* === 24. Responsive ======================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 980px) {
  :root { --s24: 4.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--s12); }
  .hero-mockup .mockup-badge { left: auto; right: -12px; bottom: -12px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--s12); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    right: var(--s8);
    top: 72px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--border);
    padding: var(--s4);
    border-radius: var(--r-xl);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .main-nav .btn { width: 100%; margin: var(--s2) 0 0; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 640px) {
  :root { --s24: 3.5rem; --s20: 3rem; }
  .container { padding-inline: var(--s5); }
  .cards-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .papers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s10); }
  .about-features { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: var(--s16); }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .int-ticker-track { gap: var(--s2); }
}
@media (max-width: 420px) {
  .stats-bar-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .stat-item:last-child { border-bottom: none; }
  .about-visual { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .mockup-footer-stats { grid-template-columns: repeat(3, 1fr); }
}
