/* ═══════════════════════════════════════════════════════════
   SOFTENRIX — Premium Agency Design System
   Aesthetic: Editorial · Premium · Performance-Driven
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --font-display:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-ui:       'Plus Jakarta Sans', sans-serif;

  --color-ink:     #0a0f1e;
  --color-accent:  #4f46e5;
  --color-accent2: #6366f1;
  --color-warm:    #f59e0b;
  --color-surface: #f8fafc;

  --shadow-xs:     0 1px 2px rgba(10,15,30,.05);
  --shadow-sm:     0 1px 3px rgba(10,15,30,.06), 0 2px 8px rgba(10,15,30,.04);
  --shadow-card:   0 1px 2px rgba(10,15,30,.03), 0 4px 16px rgba(10,15,30,.06), 0 1px 0 rgba(255,255,255,.8) inset;
  --shadow-md:     0 4px 12px rgba(10,15,30,.06), 0 8px 32px rgba(10,15,30,.05);
  --shadow-hover:  0 8px 32px rgba(79,70,229,.10), 0 4px 16px rgba(10,15,30,.05), 0 1px 0 rgba(255,255,255,.9) inset;
  --shadow-lift:   0 16px 48px rgba(79,70,229,.12), 0 8px 24px rgba(10,15,30,.06), 0 1px 0 rgba(255,255,255,.9) inset;
  --shadow-glow:   0 0 40px rgba(79,70,229,.08), 0 16px 48px rgba(79,70,229,.10), 0 8px 24px rgba(10,15,30,.06);

  --radius-sm:     0.75rem;
  --radius-card:   1.25rem;
  --radius-lg:     1.5rem;
  --radius-xl:     2rem;
  --radius-btn:    0.75rem;
}

::selection {
  background: rgba(79,70,229,.15);
  color: #1e1b4b;
}

/* ─── Base Typography ────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background-color: var(--color-surface);
  color: #1e293b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1,
.display-heading {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2, h3 {
  font-family: var(--font-ui);
  letter-spacing: -0.025em;
}

h4, h5, label, .label-text {
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
}

nav, button, .btn-primary, .badge {
  font-family: var(--font-ui);
}

/* ─── Gradient Text ──────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 35%, #818cf8 65%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Premium Card System ─────────────────────────────────── */
.glass-card {
  background: #ffffff;
  border: 1px solid rgba(226,232,240,.60);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow .4s cubic-bezier(.22,1,.36,1),
              transform   .4s cubic-bezier(.22,1,.36,1),
              border-color .3s ease;
  will-change: transform;
}

.glass-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
  border-color: rgba(99,102,241,.22);
}

.card-premium {
  background: white;
  border: 1px solid rgba(226,232,240,.50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow .4s cubic-bezier(.22,1,.36,1),
              transform   .4s cubic-bezier(.22,1,.36,1);
}

.card-premium:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

/* ─── Button System ───────────────────────────────────────── */
.btn-primary {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  padding: .8rem 1.8rem;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 8px rgba(79,70,229,.25), 0 1px 3px rgba(79,70,229,.15), inset 0 1px 0 rgba(255,255,255,.15);
  transition: all .3s cubic-bezier(.22,1,.36,1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .5s ease;
}

.btn-primary:hover::after {
  background-position: -200% 0;
}

.btn-primary:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79,70,229,.35), 0 2px 4px rgba(79,70,229,.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79,70,229,.25);
}

/* ─── Hero Background — Premium Depth ──────────────────── */
.hero-topstripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,0) 10%,
    rgba(99,102,241,.6) 30%,
    rgba(165,180,252,.8) 50%,
    rgba(99,102,241,.6) 70%,
    rgba(99,102,241,0) 90%,
    transparent 100%);
  background-size: 200% 100%;
  animation: stripeSlide 6s linear infinite;
  z-index: 20;
}

@keyframes stripeSlide {
  0%   { background-position: 150% center; }
  100% { background-position: -50% center; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 70, 229, 0.4), rgba(79, 70, 229, 0) 70%);
  opacity: 1;
  top: -200px; right: -150px;
  filter: blur(100px);
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
  display: block !important;
  width: 700px; height: 700px;
  background: radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.35), rgba(168, 85, 247, 0) 70%);
  opacity: 1;
  bottom: -250px; left: -150px;
  filter: blur(100px);
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 { 
  display: block !important;
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0) 70%);
  opacity: 1;
  top: 20%; left: 30%;
  filter: blur(120px);
  animation: orbFloat3 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}
.ambient-glow-indigo { background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%); }
.ambient-glow-purple { background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%); }
.ambient-glow-emerald { background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%); }

@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%     { transform: translate(-30px,40px) scale(1.05); }
  50%     { transform: translate(20px,-20px) scale(0.95); }
  75%     { transform: translate(40px,30px) scale(1.1); }
}

@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(36px,-22px); }
  66%     { transform: translate(-18px,28px); }
}

@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-20px,-14px); }
}

/* hero-signal grid — audit sonrası görsel gürültüyü azaltmak için gizlendi. */
.hero-signal { display: none; }
.hero-signal-legacy {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-signal-line {
  position: absolute;
  width: 1px;
  height: 220%;
  top: -60%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(79,70,229,.04) 30%,
    rgba(79,70,229,.07) 50%,
    rgba(79,70,229,.04) 70%,
    transparent 100%
  );
  transform: rotate(-18deg);
  transform-origin: top center;
  animation: signalPulse 10s ease-in-out infinite;
}

.hero-signal-line:nth-child(1) { left: 12%; animation-delay: 0s;   animation-duration: 10s; }
.hero-signal-line:nth-child(2) { left: 26%; animation-delay: 3s;   animation-duration: 12s; opacity: .5; }
.hero-signal-line:nth-child(3) { left: 44%; animation-delay: 1.5s; animation-duration: 9s; }
.hero-signal-line:nth-child(4) { left: 61%; animation-delay: 4s;   animation-duration: 11s; opacity: .4; }
.hero-signal-line:nth-child(5) { left: 79%; animation-delay: 1s;   animation-duration: 13s; opacity: .3; }

@keyframes signalPulse {
  0%,100% { opacity: 0; }
  20%     { opacity: 1; }
  80%     { opacity: 1; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ─── Navigation Refinements ─────────────────────────────── */
nav {
  transition: box-shadow .3s ease, background-color .3s ease;
}

nav.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 20px rgba(0,0,0,.04);
  background-color: rgba(255,255,255,.95);
}

/* ── Mobil logo dikey hizalama düzeltmesi ── */
@media (max-width: 767px) {
  #siteNav > div {
    height: 64px !important;
    min-height: 64px;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #siteNav a[href="/"] {
    align-self: center;
    display: flex;
    align-items: center;
  }
  #siteNav img {
    vertical-align: middle;
  }
}


nav a {
  font-family: var(--font-ui);
  position: relative;
  color: #475569;
  transition: color .18s ease;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
}

/* Active / current page marker (optional, add aria-current="page" to mark) */
nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* ─── Section Heading Accent — Premium ────────────────────── */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(79,70,229,.3));
  border-radius: 2px;
}

/* ─── Counter Animation ──────────────────────────────────── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stat-value {
  animation: countUp .6s cubic-bezier(.22,1,.36,1) both;
}

/* ─── Micro-interactions ─────────────────────────────────── */
.icon-bounce {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.icon-bounce:hover {
  transform: scale(1.12) rotate(-2deg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-family: var(--font-ui);
  font-weight: 600;
  transition: gap .25s ease, color .2s ease;
}

.link-arrow:hover {
  gap: .625rem;
}

/* ─── Divider Accent ─────────────────────────────────────── */
.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.2) 30%, rgba(99,102,241,.2) 70%, transparent);
}

/* ─── Badge Refinements ──────────────────────────────────── */
.badge-indigo {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  background: rgba(99,102,241,.06);
  color: var(--color-accent);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 9999px;
}

/* ─── FAQ Refinements ────────────────────────────────────── */
details {
  transition: background .2s ease;
  border-radius: .75rem;
}

details summary {
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color .2s ease;
}

details summary::-webkit-details-marker { display: none; }

details[open] summary {
  color: var(--color-accent);
}

/* ─── Scroll-Reveal Enhancement ──────────────────────────── */
/* AOS devre dışı — sf-reveal sistemimiz data-aos elementlerini yönetiyor.
   !important kaldırıldı, sf-reveal CSS kuralları öncelik alıyor.        */
[data-aos] {
  will-change: transform, opacity;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ─── Focus Accessibility ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Glass Panel — Premium Frosted ──────────────────────── */
.glass-panel {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.60);
  box-shadow: 0 8px 32px rgba(10,15,30,.08), inset 0 1px 0 rgba(255,255,255,.9);
}

/* ─── Footer Refinements ─────────────────────────────────── */
footer {
  background: #0f172a;
  color: #cbd5e1;
}

footer h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

footer a {
  font-family: var(--font-body);
  color: #94a3b8;
  transition: color .2s ease, padding-left .2s ease;
}

footer a:hover {
  color: #c7d2fe;
  padding-left: 4px;
}

/* ─── Testimonial Cards ───────────────────────────────────── */
#testimonialsGrid .glass-card blockquote,
#testimonialsGrid .glass-card p {
  font-family: var(--font-body);
  font-style: italic;
  line-height: 1.7;
}

/* ─── Stat Value Refinement ──────────────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ─── Section Transitions — Premium Rhythm ───────────────── */
section {
  position: relative;
}

/* Subtle top accent line on alternate sections */
.bg-slate-50::before,
[class*="bg-slate-50"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.15), transparent);
  border-radius: 2px;
}

/* ─── Responsive Type Scale ──────────────────────────────── */
@media (max-width: 768px) {
  h1 { letter-spacing: -.025em; }
  h2 { letter-spacing: -.02em; }
}

/* ─── Float Animations (hero cards) ────────────────────────
   Sadeleştirildi: Kurumsal alıcıda "fidget" algısı yaratan sürekli
   hareket kaldırıldı. Kartlar artık sabit duruyor; hover'da yumuşak
   bir elevate yapıyor. */
.float-animation,
.float-animation-delayed { animation: none !important; transform: none !important; }
.float-animation { transition: transform .3s ease, box-shadow .3s ease; }
.float-animation:hover,
.float-animation-delayed:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

/* ─── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM MOBILE HERO — Refined Typography, Trust, CTAs
   ═══════════════════════════════════════════════════════════ */

/* ─── Skip-to-main Link (accessible, unobtrusive) ───────── */
.skip-to-main {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 200;
  padding: .625rem 1rem;
  background: #0f172a;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: -0.005em;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.18), 0 2px 4px rgba(15,23,42,.08);
  transition: top .2s cubic-bezier(.22,1,.36,1);
}
.skip-to-main:focus {
  top: 1rem;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ─── Premium Hamburger Button ──────────────────────────── */
.nav-burger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(226,232,240,.7);
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  gap: 5px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .nav-burger {
    display: inline-flex !important;
  }
}
.nav-burger:hover { background: #fff; border-color: #c7d2fe; box-shadow: 0 2px 8px rgba(79,70,229,.08); }
.nav-burger:active { transform: scale(.96); }
.nav-burger-line {
  display: block;
  width: 17px;
  height: 1.5px;
  background: #1e293b;
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .18s ease;
  transform-origin: center;
}
.nav-burger.is-open .nav-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open .nav-burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.is-open .nav-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Nav Menu Link Rows ──────────────────────────── */
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem .25rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .9375rem;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: color .2s ease, padding .2s ease;
}
.nav-mobile-link:last-of-type { border-bottom: 0; }
.nav-mobile-link:hover,
.nav-mobile-link:active {
  color: var(--color-accent);
  padding-left: .5rem;
}

/* ─── Hero Eyebrow Badge — Premium Chip ─────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4375rem .875rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.12);
  background: linear-gradient(135deg, rgba(238,242,255,.9), rgba(238,242,255,.6));
  backdrop-filter: blur(12px);
  color: #4338ca;
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), inset 0 1px 0 rgba(255,255,255,.8);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15), 0 0 8px rgba(99,102,241,.2);
}
@media (min-width: 375px) {
  .hero-eyebrow { font-size: .6875rem; padding: .4375rem 1rem; }
}
@media (min-width: 768px) {
  .hero-eyebrow {
    padding: .5rem 1.125rem;
    font-size: .8rem;
    margin-bottom: 1.5rem;
  }
}

/* ─── Hero H1 — Premium Display ──────────────────────────── */
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #0a0f1e;
  letter-spacing: -0.04em;
  line-height: 1.10;
  font-size: clamp(2rem, 8vw, 2.5rem);
  text-wrap: balance;
  margin-bottom: 1rem;
}
@media (min-width: 375px) {
  .hero-h1 {
    font-size: clamp(2.125rem, 8.5vw, 2.75rem);
    margin-bottom: 1.125rem;
  }
}
@media (min-width: 768px) {
  .hero-h1 {
    font-size: 3.5rem;
    line-height: 1.07;
    margin-bottom: 1.5rem;
    letter-spacing: -0.045em;
  }
}
@media (min-width: 1024px) {
  .hero-h1 {
    font-size: clamp(3rem, 4.6vw, 4rem);
    line-height: 1.06;
    margin-bottom: 1.75rem;
    letter-spacing: -0.05em;
  }
}
@media (min-width: 1280px) {
  .hero-h1 {
    font-size: 4rem;
    line-height: 1.05;
  }
}

/* ─── Hero Subcopy — Premium Body ────────────────────────── */
.hero-sub {
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.75rem;
  max-width: 100%;
  text-wrap: pretty;
}
@media (min-width: 375px) {
  .hero-sub {
    font-size: .95rem;
    margin-bottom: 1.875rem;
  }
}
@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.1rem;
    max-width: 46ch;
    margin-bottom: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-sub { margin-left: 0; max-width: 50ch; margin-bottom: 2.5rem; }
}
.hero-sub strong {
  color: #1e293b;
  font-weight: 700;
}

/* ─── Hero CTA — Premium Buttons ─────────────────────────── */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  align-items: stretch;
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .hero-cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
  }
}
@media (min-width: 1024px) {
  .hero-cta-row { justify-content: flex-start; }
}

.hero-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: 1rem 1.5rem;
  width: 100%;
  border-radius: 14px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  box-shadow:
    0 12px 28px -6px rgba(79,70,229,.45),
    0 4px 10px -2px rgba(79,70,229,.20),
    inset 0 1px 0 rgba(255,255,255,.20);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  overflow: hidden;
  text-decoration: none;
}
.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .6s ease;
  pointer-events: none;
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px -8px rgba(79,70,229,.55),
    0 8px 20px -4px rgba(79,70,229,.30),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.hero-cta-primary:hover::before { background-position: -200% 0; }
.hero-cta-primary:active { transform: translateY(-1px); }
.hero-cta-primary .hero-cta-arrow {
  transition: transform .25s ease;
  margin-left: .125rem;
  opacity: .85;
}
.hero-cta-primary:hover .hero-cta-arrow {
  transform: translateX(3px);
  opacity: 1;
}
@media (min-width: 375px) {
  .hero-cta-primary { padding: 1.0625rem 1.75rem; font-size: .975rem; }
}
@media (min-width: 640px) {
  .hero-cta-primary { width: auto; padding: 1.125rem 2rem; border-radius: 16px; }
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.125rem;
  width: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: -0.005em;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.hero-cta-secondary:hover {
  color: var(--color-accent);
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79,70,229,.08);
}
@media (min-width: 375px) {
  .hero-cta-secondary { padding: .8125rem 1.25rem; font-size: .875rem; }
}
@media (min-width: 640px) {
  .hero-cta-secondary { width: auto; padding: .9375rem 1.75rem; }
}

/* ─── Hero Trust Stack — Premium Trust Chips ────────────── */
.hero-trust-stack {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.75rem;
  margin-inline: auto;
  max-width: 420px;
}
@media (min-width: 375px) {
  .hero-trust-stack { gap: .5625rem; max-width: 440px; }
}
@media (min-width: 768px) {
  .hero-trust-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    max-width: 100%;
    margin-bottom: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-trust-stack { margin-inline: 0; }
}
.hero-ts-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(238,242,255,.9);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
@media (min-width: 375px) {
  .hero-ts-item { gap: .6875rem; padding: .6875rem .9375rem; border-radius: 13px; }
}
@media (min-width: 768px) {
  .hero-ts-item { padding: .75rem 1rem; gap: .75rem; border-radius: 14px; }
}
.hero-ts-item:hover {
  border-color: #c7d2fe;
  box-shadow: 0 6px 20px rgba(79,70,229,.10);
  transform: translateY(-1px);
}
.hero-ts-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 375px) {
  .hero-ts-icon { width: 38px; height: 38px; border-radius: 10px; }
}
@media (min-width: 768px) {
  .hero-ts-icon { width: 40px; height: 40px; border-radius: 11px; }
}
.hero-ts-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-ts-text span {
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
@media (min-width: 375px) {
  .hero-ts-text span { font-size: .85rem; }
}
.hero-ts-text small {
  font-family: var(--font-ui);
  font-size: .6875rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
}
@media (min-width: 375px) {
  .hero-ts-text small { font-size: .7rem; }
}
@media (min-width: 768px) {
  .hero-ts-text span { font-size: .9rem; }
  .hero-ts-text small { font-size: .75rem; }
}

/* ─── Decision Box (Ads/SEO/Both) ──────────────────────── */
.decision-tab {
  color: #64748b;
  cursor: pointer;
}
.decision-tab.active {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
}
.decision-tab:not(.active):hover {
  background: rgba(255,255,255,.8);
  color: #1e293b;
}
.decision-panel {
  animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Report Preview ───────────────────────────────────── */
.report-preview .report-card {
  border-radius: 1rem;
  overflow: hidden;
}

/* ─── Body lock when mobile menu open ────────────────────── */
.nav-burger.is-open ~ * { /* noop placeholder */ }

/* ═══════════════════════════════════════════════════════════
   SOFTENRIX PREMIUM 2.0 — Scroll Reveal & Animation System
   ═══════════════════════════════════════════════════════════ */

/* ─── sf-reveal: Fade-up on scroll ──────────────────────── */
.sf-reveal {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}
.sf-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  will-change: opacity, transform;
}
.sf-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  will-change: opacity, transform;
}
.sf-reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  will-change: opacity, transform;
}

.sf-reveal.sf-visible,
.sf-reveal-left.sf-visible,
.sf-reveal-right.sf-visible,
.sf-reveal-scale.sf-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .8s cubic-bezier(.22, 1, .36, 1);
}

/* ─── sf-stagger: Cascade children on scroll ────────────── */
.sf-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.sf-stagger.sf-visible > * {
  opacity: 1;
  transform: none;
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1);
}
.sf-stagger.sf-visible > *:nth-child(1)  { transition-delay:   0ms; }
.sf-stagger.sf-visible > *:nth-child(2)  { transition-delay:  70ms; }
.sf-stagger.sf-visible > *:nth-child(3)  { transition-delay: 130ms; }
.sf-stagger.sf-visible > *:nth-child(4)  { transition-delay: 185ms; }
.sf-stagger.sf-visible > *:nth-child(5)  { transition-delay: 235ms; }
.sf-stagger.sf-visible > *:nth-child(6)  { transition-delay: 278ms; }
.sf-stagger.sf-visible > *:nth-child(7)  { transition-delay: 315ms; }
.sf-stagger.sf-visible > *:nth-child(8)  { transition-delay: 346ms; }
.sf-stagger.sf-visible > *:nth-child(n+9) { transition-delay: 370ms; }

/* ─── sf-delay variants ──────────────────────────────────── */
.sf-d100 { transition-delay: 100ms !important; }
.sf-d200 { transition-delay: 200ms !important; }
.sf-d300 { transition-delay: 300ms !important; }
.sf-d400 { transition-delay: 400ms !important; }

/* ─── Ripple Keyframe ────────────────────────────────────── */
@keyframes sfRipple {
  to { transform: scale(160); opacity: 0; }
}

/* ─── Pulse Glow — CTA Button (subtle) ──────────────────── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 28px -6px rgba(79,70,229,.42), 0 4px 10px -2px rgba(79,70,229,.18), inset 0 1px 0 rgba(255,255,255,.20); }
  50%       { box-shadow: 0 16px 36px -6px rgba(79,70,229,.52), 0 6px 14px -2px rgba(79,70,229,.26), inset 0 1px 0 rgba(255,255,255,.22); }
}
.hero-cta-primary {
  animation: ctaPulse 4.5s ease-in-out infinite;
}
.hero-cta-primary:hover {
  animation: none;
}

/* ─── Card 3D Tilt ───────────────────────────────────────── */
.sf-tilt {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s cubic-bezier(.22, 1, .36, 1);
  transform-style: preserve-3d;
}

/* ─── "How It Works" Step Connectors ────────────────────── */
@media (min-width: 768px) {
  #how-it-works .grid > div {
    position: relative;
  }
  #how-it-works .grid > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: calc(50% - 1px);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #a5b4fc, #818cf8);
    border-radius: 2px;
    z-index: 10;
    pointer-events: none;
  }
}

/* ─── Trust Bar Number Highlight ────────────────────────── */
.sf-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ─── Gradient Section Separator ────────────────────────── */
.sf-section-divider {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,.18) 20%,
    rgba(165,180,252,.35) 50%,
    rgba(99,102,241,.18) 80%,
    transparent 100%);
  border: none;
  margin: 0;
}

/* ─── Enhanced Glass Card on mobile ─────────────────────── */
@media (hover: hover) {
  .glass-card {
    transition:
      box-shadow .45s cubic-bezier(.22, 1, .36, 1),
      transform   .45s cubic-bezier(.22, 1, .36, 1),
      border-color .3s ease;
  }
}

/* ─── Active Nav Link Underline ─────────────────────────── */
nav a.nav-link-underline {
  position: relative;
}
nav a.nav-link-underline::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
nav a.nav-link-underline:hover::after {
  transform: scaleX(1);
}

/* ─── Floating Orb — Enhanced ───────────────────────────── */
.hero-orb-1 {
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.18), rgba(99,102,241,0) 70%);
}
.hero-orb-2 {
  background: radial-gradient(circle at 70% 70%, rgba(168,85,247,.10), rgba(168,85,247,0) 70%);
}

/* ─── Section heading accent ────────────────────────────── */
.sf-heading-accent {
  position: relative;
  display: inline-block;
}
.sf-heading-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 3px;
}

/* ─── Scroll progress enhanced ──────────────────────────── */
#scroll-progress {
  background: linear-gradient(90deg, #4338ca, #6366f1, #a78bfa);
  height: 3px;
  transition: none;
}

/* ─── "How It Works" card highlight on hover ────────────── */
#how-it-works .grid > div:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 8px 32px rgba(79,70,229,.10);
  transform: translateY(-4px);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
#how-it-works .grid > div:last-child:hover {
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 12px 40px rgba(79,70,229,.15);
}

/* ─── Industry cards hover ───────────────────────────────── */
.industry-card {
  transition:
    border-color .25s ease,
    box-shadow   .25s ease,
    transform    .3s cubic-bezier(.22,1,.36,1);
}
.industry-card:hover {
  border-color: rgba(99,102,241,.35) !important;
  box-shadow: 0 8px 28px rgba(79,70,229,.10);
  transform: translateY(-3px);
}

/* ─── Tools grid hover glow ─────────────────────────────── */
.tool-card {
  transition:
    border-color .2s ease,
    box-shadow   .2s ease,
    transform    .3s cubic-bezier(.22,1,.36,1);
}
.tool-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 28px rgba(79,70,229,.12);
}

/* ─── Footer link hover enhanced ────────────────────────── */
footer a {
  transition: color .2s ease, transform .2s ease;
}
footer a:hover {
  transform: translateX(3px);
}

/* ─── WhatsApp FAB enhanced ──────────────────────────────── */
#waFloating {
  transition:
    transform .35s cubic-bezier(.34,1.56,.64,1),
    box-shadow .3s ease;
}
#waFloating:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 20px 40px rgba(37,211,102,.35), 0 8px 16px rgba(0,0,0,.08);
}

/* ─── Contact section input focus glow ──────────────────── */
#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  box-shadow: 0 0 0 3px rgba(79,70,229,.2);
  transition: box-shadow .2s ease, border-color .2s ease;
}

/* ─── Section background polish ─────────────────────────── */
section.bg-slate-50,
section[class*="bg-slate-50"] {
  position: relative;
}
section.bg-slate-50::after,
section[class*="bg-slate-50"]::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(99,102,241,.04), transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(168,85,247,.025), transparent 60%);
  z-index: 0;
}
section.bg-slate-50 > *,
section[class*="bg-slate-50"] > * {
  position: relative;
  z-index: 1;
}

/* ─── Section heading gradient finishing ─────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 30%, #818cf8 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ─── Premium buttons "shine" sweep ─────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ─── How-It-Works step number glow ─────────────────────── */
#how-it-works .grid > div .absolute.-top-3 {
  box-shadow: 0 6px 16px rgba(79,70,229,.35), 0 1px 3px rgba(79,70,229,.18);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
#how-it-works .grid > div:hover .absolute.-top-3 {
  transform: translateX(-50%) scale(1.12);
  box-shadow: 0 10px 24px rgba(79,70,229,.45), 0 2px 6px rgba(79,70,229,.22);
}

/* ─── Service / blog cards image zoom polish ───────────── */
.glass-card .group-hover\:scale-105,
.glass-card .group-hover\:scale-110 {
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}

/* ─── Section title eyebrow refinement ──────────────────── */
.section-eyebrow {
  font-weight: 800;
}

/* ─── Cookie banner — refined ────────────────────────────── */
#cookieBanner {
  border-radius: 18px;
  margin: 0 auto 16px;
  max-width: calc(100vw - 32px);
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  border-top-width: 1px;
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(15,23,42,.45), 0 8px 20px -4px rgba(15,23,42,.25);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 640px) {
  #cookieBanner {
    margin: 0 auto;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
  }
}

/* ─── WhatsApp FAB — pulse ring ─────────────────────────── */
@keyframes waPulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.40); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
#waFloating {
  animation: waPulseRing 2.6s ease-out infinite;
}
#waFloating:hover {
  animation: none;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM 3D MOTION SYSTEM — Soft, Layered, Tasteful
   ═══════════════════════════════════════════════════════════ */

/* ─── 3D Scene + perspective ────────────────────────────── */
.scene-3d {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.scene-3d-deep {
  perspective: 1800px;
  perspective-origin: 50% 30%;
}

/* Mouse-tracked parallax host (transformed via JS data attrs) */
.tilt-host {
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

/* Layered floating — 3 staggered keyframes for visual rhythm */
@keyframes sfFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -10px, 0) rotate(.6deg); }
}
@keyframes sfFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(4px, -7px, 0) rotate(-.5deg); }
}
@keyframes sfFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-3px, -9px, 0) rotate(.4deg); }
}

.sf-float-a { animation: sfFloatA 6.2s ease-in-out infinite; }
.sf-float-b { animation: sfFloatB 7.4s ease-in-out infinite; animation-delay: -2.1s; }
.sf-float-c { animation: sfFloatC 8.0s ease-in-out infinite; animation-delay: -3.6s; }

/* Hero dashboard depth layers — each pops out at a different Z */
.tilt-host .layer-back   { transform: translateZ(-30px); }
.tilt-host .layer-base   { transform: translateZ(0); }
.tilt-host .layer-mid    { transform: translateZ(40px); }
.tilt-host .layer-front  { transform: translateZ(70px); }

/* ─── 3D Card Tilt (hover) ───────────────────────────────── */
.card-3d {
  transform-style: preserve-3d;
  transition:
    transform .55s cubic-bezier(.22, 1, .36, 1),
    box-shadow .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.card-3d-image,
.card-3d-content {
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  backface-visibility: hidden;
}
.card-3d:hover .card-3d-image {
  transform: translateZ(40px) scale(1.04);
}
.card-3d:hover .card-3d-content {
  transform: translateZ(20px);
}

/* Drop shadow grows on hover for depth */
.card-3d:hover {
  box-shadow:
    0 28px 60px -16px rgba(79, 70, 229, .22),
    0 16px 32px -8px rgba(15, 23, 42, .12),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* ─── Magnetic Button ────────────────────────────────────── */
.btn-magnetic {
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

/* ─── Hero metric cards — float layered ─────────────────── */
.hero-metric-card {
  transform-style: preserve-3d;
}

/* ─── Aurora gradient mask (premium glow) ───────────────── */
.aurora-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(60px);
  opacity: .55;
  z-index: 0;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(30px, -20px) rotate(8deg) scale(1.06); }
  66%  { transform: translate(-20px, 14px) rotate(-6deg) scale(.96); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
.aurora-glow-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(99,102,241,.50), transparent 70%);
  top: -120px; right: -80px;
  animation: auroraDrift 16s ease-in-out infinite;
}
.aurora-glow-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(168,85,247,.30), transparent 70%);
  bottom: -100px; left: -60px;
  animation: auroraDrift 20s ease-in-out infinite reverse;
}

/* Disable 3D effects on touch devices to keep gestures snappy */
@media (hover: none) and (pointer: coarse) {
  .tilt-host { transform: none !important; }
  .card-3d:hover { transform: none; }
  .card-3d:hover .card-3d-image,
  .card-3d:hover .card-3d-content { transform: none; }
}


/* ─── Reduced motion overrides ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sf-reveal,
  .sf-reveal-left,
  .sf-reveal-right,
  .sf-reveal-scale,
  .sf-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-cta-primary,
  #waFloating,
  .sf-float-a, .sf-float-b, .sf-float-c,
  .aurora-glow-1, .aurora-glow-2 {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE ACCESSIBILITY — Touch Targets & ARIA
   WCAG 2.5.5: All interactive elements ≥ 44×44 CSS px
   ═══════════════════════════════════════════════════════════ */

/* ─── Nav mobile links — ensure full-row tap area ───────── */
.nav-mobile-link {
  min-height: 44px;
}

/* ─── Nav burger — always ≥ 44×44 ───────────────────────── */
.nav-burger {
  min-width: 44px;
  min-height: 44px;
}

/* ─── Footer social icon buttons ────────────────────────── */
footer a[aria-label] {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── WhatsApp FAB — always accessible ──────────────────── */
#waFloating {
  min-width: 56px;
  min-height: 56px;
}

/* ─── CTA buttons — full touch compliance on mobile ─────── */
@media (max-width: 640px) {
  .btn-primary,
  .hero-cta-primary,
  .hero-cta-secondary {
    min-height: 48px;
  }

  /* Nav desktop CTA hidden on mobile — no action needed */

  /* Mobile grid CTA buttons */
  #mobileMenu a {
    min-height: 44px;
  }
}

/* ─── Focus-visible polish for keyboard navigation ──────── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Skip-to-main already handles focus — no duplicate needed */

/* ═══════════════════════════════════════════════════════════
   CASE STUDIES — Premium Dark Section
   ═══════════════════════════════════════════════════════════ */

.cs-section {
  position: relative;
  padding: 7rem 0 6rem;
  background: #070b18;
  overflow: hidden;
}

/* ── Animated background blobs ── */
.cs-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  animation: cs-blob-drift 12s ease-in-out infinite alternate;
}
.cs-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4f46e5, #7c3aed);
  top: -150px; left: -100px;
  animation-duration: 14s;
}
.cs-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0ea5e9, #10b981);
  bottom: -100px; right: -80px;
  animation-duration: 10s;
}
@keyframes cs-blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── Section Header ── */
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.cs-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
  animation: cs-pulse-dot 2s ease-in-out infinite;
}
@keyframes cs-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.cs-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cs-title-accent {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #f0abfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-section-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Main Cards ── */
.cs-card {
  position: relative;
  background: rgba(15, 20, 40, 0.7);
  border: 1px solid rgba(99,102,241,.18);
  border-radius: 24px;
  margin-bottom: 2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 24px 80px rgba(99,102,241,.15), 0 8px 32px rgba(0,0,0,.4);
}

/* ── Card photo banner ── */
.cs-card-photo {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.cs-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform .6s ease;
  filter: brightness(0.85) saturate(0.9);
}
.cs-card:hover .cs-card-photo img {
  transform: scale(1.04);
}
/* Gradient overlay — fades photo into dark card body */
.cs-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 11, 24, 0)    0%,
    rgba(7, 11, 24, 0.15) 50%,
    rgba(7, 11, 24, 0.92) 100%
  );
}
.cs-photo-overlay-violet {
  background: linear-gradient(
    to bottom,
    rgba(7, 11, 24, 0)    0%,
    rgba(15, 10, 30, 0.2) 50%,
    rgba(10, 7, 25, 0.92) 100%
  );
}
.cs-photo-overlay-amber {
  background: linear-gradient(
    to bottom,
    rgba(7, 11, 24, 0)    0%,
    rgba(20, 14, 5, 0.2)  50%,
    rgba(10, 8, 3, 0.92)  100%
  );
}
@media (max-width: 768px) {
  .cs-card-photo { height: 180px; }
}

/* Glow overlays */
.cs-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity .4s;
}
.cs-card:hover .cs-card-glow { opacity: 0.22; }
.cs-glow-indigo { background: #6366f1; }
.cs-glow-violet { background: #7c3aed; }
.cs-glow-amber  { background: #f59e0b; }

/* Inner grid */
.cs-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .cs-card-inner { grid-template-columns: 1fr; }
  .cs-card-flip .cs-stats-col { order: -1; }
}

/* ── Info Column ── */
.cs-info-col {
  padding: 2.25rem 2rem 2.25rem 2.25rem;
  border-right: 1px solid rgba(99,102,241,.1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-card-flip .cs-info-col {
  border-right: none;
  border-left: 1px solid rgba(99,102,241,.1);
  padding: 2.25rem 2.25rem 2.25rem 2rem;
}
@media (max-width: 768px) {
  .cs-info-col,
  .cs-card-flip .cs-info-col {
    border: none;
    border-bottom: 1px solid rgba(99,102,241,.1);
    padding: 1.75rem 1.5rem;
  }
}

/* Industry badge */
.cs-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.cs-badge-auto {
  background: rgba(79,70,229,.15);
  color: #a5b4fc;
  border: 1px solid rgba(79,70,229,.25);
}
.cs-badge-health {
  background: rgba(16,185,129,.12);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.22);
}

/* Verified pill */
.cs-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

/* Case title */
.cs-case-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}
.cs-case-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Insight box */
.cs-insight-box {
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  line-height: 1.65;
}
.cs-insight-box strong { font-weight: 800; }
.cs-insight-indigo {
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  color: #c7d2fe;
}
.cs-insight-indigo strong { color: #a5b4fc; }
.cs-insight-violet {
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.22);
  color: #ddd6fe;
}
.cs-insight-violet strong { color: #c4b5fd; }
.cs-insight-amber {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.18);
  color: #fde68a;
}
.cs-insight-amber strong { color: #fbbf24; }

/* Checklist */
.cs-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cs-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 500;
}
.cs-check-icon {
  width: 20px; height: 20px;
  min-width: 20px;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #818cf8;
  font-weight: 800;
}

/* Quote block */
.cs-quote {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.cs-quote-icon {
  width: 20px; height: 20px;
  color: rgba(99,102,241,.4);
  margin-bottom: 0.5rem;
}
.cs-quote p {
  font-size: 0.85rem;
  font-style: italic;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}
.cs-quote cite {
  font-size: 0.72rem;
  color: #64748b;
  font-style: normal;
  font-weight: 600;
}

/* ── Stats Column ── */
.cs-stats-col {
  padding: 2rem 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .cs-stats-col { padding: 1.5rem; }
}

/* Win Banner — big number */
.cs-win-banner {
  background: linear-gradient(135deg, rgba(99,102,241,.25) 0%, rgba(129,140,248,.1) 100%);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.cs-win-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(99,102,241,.2), transparent 70%);
}
.cs-win-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 900;
  color: #818cf8;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(99,102,241,.6);
  position: relative;
}
.cs-win-unit {
  font-size: 1.6rem;
  font-weight: 800;
  color: #818cf8;
  line-height: 1;
  position: relative;
}
.cs-win-label {
  width: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  margin-top: 0.25rem;
}

/* Color variants for win banner */
.cs-win-violet {
  background: linear-gradient(135deg, rgba(124,58,237,.25) 0%, rgba(167,139,250,.1) 100%);
  border-color: rgba(124,58,237,.3);
}
.cs-win-violet::before { background: radial-gradient(circle at 70% 40%, rgba(124,58,237,.2), transparent 70%); }
.cs-win-violet .cs-win-number,
.cs-win-violet .cs-win-unit { color: #c4b5fd; text-shadow: 0 0 40px rgba(124,58,237,.6); }
.cs-win-violet .cs-win-label { color: #ddd6fe; }

.cs-win-amber {
  background: linear-gradient(135deg, rgba(245,158,11,.2) 0%, rgba(251,191,36,.08) 100%);
  border-color: rgba(245,158,11,.25);
}
.cs-win-amber::before { background: radial-gradient(circle at 70% 40%, rgba(245,158,11,.15), transparent 70%); }
.cs-win-amber .cs-win-number,
.cs-win-amber .cs-win-unit { color: #fcd34d; text-shadow: 0 0 40px rgba(245,158,11,.5); }
.cs-win-amber .cs-win-label { color: #fde68a; }

/* Metrics grid */
.cs-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cs-metric-card {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cs-metric-before {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.cs-metric-after {
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
}
.cs-metric-neutral {
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.15);
}

.cs-metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.cs-metric-after .cs-metric-label { color: #818cf8; }
.cs-metric-neutral .cs-metric-label { color: #34d399; }

.cs-metric-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #475569;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cs-value-glow-indigo { color: #818cf8; text-shadow: 0 0 20px rgba(99,102,241,.5); }
.cs-value-glow-violet { color: #c4b5fd; text-shadow: 0 0 20px rgba(124,58,237,.5); }
.cs-value-glow-green  { color: #34d399; text-shadow: 0 0 20px rgba(16,185,129,.4); font-size: 1rem; }
.cs-value-glow-amber  { color: #fcd34d; text-shadow: 0 0 20px rgba(245,158,11,.5); }

/* Progress bar */
.cs-metric-bar {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow: hidden;
}
.cs-metric-fill {
  height: 100%;
  width: var(--fill, 0%);
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.25,.46,.45,.94);
}

/* ── Trust Row ── */
.cs-trust-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: rgba(15, 20, 40, 0.6);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(12px);
}
@media (max-width: 768px) {
  .cs-trust-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cs-trust-divider { display: none; }
}
.cs-trust-divider {
  width: 1px;
  height: 60px;
  background: rgba(99,102,241,.15);
}
.cs-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  gap: 0.75rem;
}
.cs-trust-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-trust-green  { background: rgba(16,185,129,.12);  color: #34d399; border: 1px solid rgba(16,185,129,.2); }
.cs-trust-indigo { background: rgba(99,102,241,.12);  color: #818cf8; border: 1px solid rgba(99,102,241,.2); }
.cs-trust-amber  { background: rgba(245,158,11,.1);   color: #fcd34d; border: 1px solid rgba(245,158,11,.18); }
.cs-trust-item h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}
.cs-trust-item p {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.6;
}

/* ── Animated counter on scroll ── */
@keyframes cs-count-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cs-win-number.counted { animation: cs-count-up .4s ease forwards; }

