/* ===========================================
   ENGINEERED AUTHORITY — PREMIUM DESIGN SYSTEM
   =========================================== */

:root {
  --purple: #6A38C2;
  --purple-deep: #4a23a0;
  --purple-soft: #8b5fdc;
  --gold: #D4A017;
  --gold-light: #F5C542;
  --blue: #4A90E2;
  --bg: #F8F7FC;
  --bg-2: #efeaf8;
  --ink: #1A1A1A;
  --ink-2: #3a3a4a;
  --muted: #6b6b7a;
  --line: rgba(106, 56, 194, 0.08);
  --line-strong: rgba(106, 56, 194, 0.18);
  --grad-gold: linear-gradient(135deg, #D4A017 0%, #F5C542 100%);
  --grad-purple: linear-gradient(135deg, #6A38C2 0%, #8b5fdc 100%);
  --grad-pg: linear-gradient(135deg, #6A38C2 0%, #D4A017 100%);
  --shadow-sm: 0 4px 12px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(106, 56, 194, 0.10);
  --shadow-lg: 0 24px 60px rgba(106, 56, 194, 0.18);
  --shadow-gold: 0 12px 32px rgba(212, 160, 23, 0.25);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 10% -5%, rgba(106, 56, 194, 0.10), transparent 60%),
    radial-gradient(900px 600px at 95% 10%, rgba(245, 197, 66, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 95%, rgba(74, 144, 226, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, .display, .h2, .brand-text, .quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.display {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  text-align: center;
}

.eyebrow, .kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(106, 56, 194, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
}

.kicker { color: var(--gold); background: rgba(212, 160, 23, 0.08); border-color: rgba(212, 160, 23, 0.18); }

.lede {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 540px;
  margin-top: 14px;
}

.sub {
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 14px auto 0;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 32px; }

.grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.grad-purple {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.dark { color: var(--ink); }

/* ============== BUTTONS — UNIFIED ============== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, color 0.3s, background 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: 0.01em;
}

.btn .arrow { transition: transform 0.3s; display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

/* Sheen sweep on every primary button */
.btn-primary::before,
.btn-gold::before,
.btn-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 0;
}
.btn-primary:hover::before,
.btn-gold:hover::before,
.btn-blue:hover::before { left: 130%; }
.btn > * { position: relative; z-index: 1; }

/* All filled CTAs share the same purple→gold gradient now */
.btn-primary,
.btn-gold,
.btn-blue {
  background: var(--grad-pg);
  color: #fff;
  box-shadow: 0 10px 26px rgba(106, 56, 194, 0.28);
}
.btn-primary:hover,
.btn-gold:hover,
.btn-blue:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 44px rgba(106, 56, 194, 0.42);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--purple);
  border: 1.5px solid var(--purple);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: var(--grad-pg);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(106, 56, 194, 0.32);
}

.btn-block { width: 100%; }
.btn-large { padding: 18px 36px; font-size: 1rem; }

/* Hero primary CTA — gentle idle pulse glow to attract attention */
.hero-ctas .btn-primary,
.hero-ctas .btn-gold {
  animation: ctaPulse 3.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(106, 56, 194, 0.28); }
  50%      { box-shadow: 0 14px 38px rgba(106, 56, 194, 0.45), 0 0 0 4px rgba(106, 56, 194, 0.10); }
}

/* Ripple effect (added by JS) */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 0;
}
.btn-outline .ripple { background: rgba(106, 56, 194, 0.25); }
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ============== GLASS / CARDS ============== */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  border-radius: var(--r-lg);
}

/* ============== NAVBAR ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 252, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { font-family: 'Playfair Display', serif; font-weight: 700; }
.brand-text em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad-pg);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% 30%, rgba(245, 197, 66, 0.18), transparent 60%),
    radial-gradient(500px 400px at 10% 60%, rgba(106, 56, 194, 0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.avatars { display: flex; }
.av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.av1 { background: var(--purple); }
.av2 { background: var(--gold); }
.av3 { background: var(--ink); }
.trust-text { display: flex; flex-direction: column; }
.trust-text strong { font-size: 0.875rem; }
.stars { color: var(--gold); font-size: 0.875rem; }

/* hero right - profile card */
.hero-right { position: relative; min-height: 540px; }
.profile-card {
  padding: 70px 28px 28px;
  border-radius: var(--r-lg);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  background: rgba(255,255,255,0.92);
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: var(--grad-gold);
}
.profile-card .profile-top { margin-top: -34px; position: relative; z-index: 2; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border: 3px solid #fff;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chip-gold { background: var(--grad-gold); color: #1a1a1a; }
.profile-name { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.profile-title { font-size: 0.85rem; color: var(--purple); font-weight: 600; margin-top: 4px; }
.profile-line { font-size: 0.875rem; color: var(--muted); margin: 8px 0 18px; }
.profile-line em { font-style: italic; color: var(--purple); font-weight: 600; }

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,236,200,0.6), rgba(245,197,66,0.18));
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.profile-metrics > div { text-align: center; }
.profile-metrics strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2a8a4a;
}
.profile-metrics > div:nth-child(2) strong { color: var(--purple); }
.profile-metrics > div:nth-child(3) strong { color: #d44a4a; }
.profile-metrics span { font-size: 0.7rem; color: var(--muted); }

.profile-skills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.skill { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--ink-2); }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }
.dots.purple i { background: var(--purple); }

.verified-pill {
  display: inline-block;
  background: rgba(46, 184, 110, 0.12);
  color: #1a8b4a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(46, 184, 110, 0.3);
}

.floating-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.floating-badge .dot {
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.floating-badge .dot::before { content: 'in'; }
.badge-top { top: 0; left: 30px; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 120px; height: 120px; background: rgba(245, 197, 66, 0.45); bottom: 20px; right: -20px; }
.orb-2 { width: 80px; height: 80px; background: rgba(106, 56, 194, 0.30); bottom: -30px; right: 100px; }

/* ============== SECTIONS ============== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-head { margin-bottom: 56px; text-align: center; }

/* ============== SERVICES ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  padding: 32px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(106, 56, 194, 0.2);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.icon-purple { background: var(--grad-purple); }
.icon-gold { background: var(--grad-gold); }
.icon-blue { background: linear-gradient(135deg, #4A90E2, #357fcf); }
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--purple);
  margin-bottom: 14px;
}
.service-card .price span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.service-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.features-label { font-weight: 700; color: var(--purple); margin-bottom: 10px; font-size: 0.9rem; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; flex-grow: 1; }
.check-list li {
  font-size: 0.875rem;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-list li::before {
  content: '✓';
  color: var(--purple);
  background: rgba(106, 56, 194, 0.1);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.gold-list li::before { color: var(--gold); background: rgba(212, 160, 23, 0.12); }

.card-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--grad-pg);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  overflow: hidden;
  isolation: isolate;
}
.card-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.card-cta:hover::before { left: 130%; }
.card-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(106, 56, 194, 0.35);
}
.card-cta span { transition: transform 0.3s; position: relative; z-index: 1; }
.card-cta:hover span { transform: translateX(5px); }
/* unified — no gold variant anymore */
.cta-gold { background: var(--grad-pg); color: #fff; }

.card-featured { border-top: 4px solid; border-image: var(--grad-gold) 1; }
.featured-tag {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--grad-gold);
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-gold);
}

/* ============== BEFORE / AFTER ============== */
.section-ba { background: linear-gradient(180deg, transparent, rgba(245, 240, 220, 0.4), transparent); }
.ba-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.ba-visual {
  padding: 14px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.ba-image {
  width: 100%;
  height: 100%;
  border-radius: var(--r-md);
  display: block;
  box-shadow: 0 14px 40px rgba(106, 56, 194, 0.18);
  transition: transform 0.6s ease;
}
.ba-visual:hover .ba-image { transform: scale(1.02); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.ba-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--grad-pg);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(106, 56, 194, 0.4);
  z-index: 2;
}

.ba-content h3 { font-size: 1.6rem; font-weight: 700; color: var(--purple); margin-bottom: 14px; }
.ba-content p { color: var(--muted); margin-bottom: 22px; }
.dot-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.dot-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-pg);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.75rem;
}

/* ============== ABOUT ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.founder-card {
  padding: 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-photo {
  width: 100%;
  height: 320px;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #3a2a55, #1a1a1a);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.founder-card:hover .founder-photo img { transform: scale(1.04); }
.founder-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-light);
  font-size: 0.9rem;
}
.founder-card h3 { font-size: 1.3rem; font-weight: 700; }
.role { color: var(--purple); font-weight: 600; font-size: 0.9rem; margin: 6px 0; }
.stars-row { color: var(--gold); margin: 4px 0 12px; }
.founder-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 6px 14px;
  background: rgba(106, 56, 194, 0.08);
  color: var(--purple);
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}
.founder-foot {
  margin-top: auto;
  padding: 10px 16px;
  background: rgba(74, 144, 226, 0.08);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.value-stack { display: flex; flex-direction: column; gap: 14px; }
.value-card {
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1.5px solid;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.value-card h4 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 4px; }
.v-purple { border-color: rgba(106, 56, 194, 0.3); }
.v-purple h4 { color: var(--purple); }
.v-gold { border-color: rgba(212, 160, 23, 0.4); }
.v-gold h4 { color: var(--gold); }
.v-blue { border-color: rgba(74, 144, 226, 0.3); }
.v-blue h4 { color: var(--blue); }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.mini-stats > div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-sm);
  text-align: center;
  border: 1px solid var(--line);
}
.mini-stats strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--purple);
}
.mini-stats span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.schedule-cta { text-align: center; margin-top: 48px; }

/* ============== CASE STUDIES ============== */
.section-cases { background: linear-gradient(180deg, transparent, rgba(238, 232, 248, 0.6), transparent); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s, border-color 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  isolation: isolate;
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 2px;
  background: var(--grad-pg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
  pointer-events: none;
}
.case-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px rgba(106, 56, 194, 0.28);
}
.case-card:hover::before { opacity: 1; }

.case-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1f4a, #4a23a0);
}
.case-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.case-card:hover .case-banner img { transform: scale(1.06); }

.case-banner.missing img { display: none; }
.case-banner.missing::after {
  content: 'Banner image coming soon';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-num-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--grad-gold);
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.35);
  z-index: 2;
}

.case-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  align-self: flex-start;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.case-result {
  padding: 10px 16px;
  background: rgba(245, 197, 66, 0.15);
  border: 1px solid rgba(245, 197, 66, 0.3);
  color: #8a6a14;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
  max-width: 100%;
}
.case-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 4px;
}
.case-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 6px;
}
.case-read {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--grad-pg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  align-self: flex-start;
  transition: gap 0.3s;
  display: inline-flex;
  gap: 6px;
}
.case-card:hover .case-read { gap: 12px; }

/* ============== CONTENT SHOWCASE ============== */
.showcase-main {
  padding: 32px;
  margin-bottom: 24px;
}
.showcase-main h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.showcase-main > p { color: var(--muted); margin-bottom: 20px; }
.showcase-frame {
  min-height: 360px;
  max-height: 620px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #f3eedf, #ebe2c8);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  padding: 14px;
}
.showcase-frame img {
  width: 100%;
  max-height: 590px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.4s ease, transform 0.6s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.showcase-frame:hover img { transform: scale(1.015); }
.showcase-frame.swapping img { opacity: 0; }

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #f3eedf, #ebe2c8);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  z-index: 1;
}
.thumb span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 2;
}
.thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.thumb:hover img { transform: scale(1.08); }
.thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.3), var(--shadow-md);
}

.showcase-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

/* ============== DESIGN FORMATS CAROUSEL ============== */
.section-formats {
  background: linear-gradient(180deg, transparent, rgba(238, 232, 248, 0.5), transparent);
  position: relative;
  overflow: hidden;
}
.formats-bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb-x {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-x1 { width: 320px; height: 320px; background: rgba(106, 56, 194, 0.25); top: 10%; left: -80px; }
.orb-x2 { width: 260px; height: 260px; background: rgba(245, 197, 66, 0.30); top: 50%; right: -60px; animation-delay: -4s; }
.orb-x3 { width: 220px; height: 220px; background: rgba(74, 144, 226, 0.20); bottom: 5%; left: 40%; animation-delay: -8s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.08); }
  66%      { transform: translate(-20px, 25px) scale(0.95); }
}

.formats-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.fs-item { display: flex; flex-direction: column; align-items: center; }
.fs-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-pg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fs-item span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.fs-divider { width: 1px; height: 28px; background: var(--line-strong); }

.formats-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.formats-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-md);
}
.formats-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.format-tile {
  flex: 0 0 calc((100% - 54px) / 4);
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, #f3eedf, #ebe2c8);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.08);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s, filter 0.4s;
  cursor: pointer;
  position: relative;
  isolation: isolate;
}
.format-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  padding: 2px;
  background: var(--grad-pg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
  pointer-events: none;
}
.format-tile:hover::before { opacity: 1; }
.format-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s;
  display: block;
}
.format-tile:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 28px 60px rgba(106, 56, 194, 0.28);
  z-index: 2;
}
.format-tile:hover img { transform: scale(1.10); }

.ft-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.78));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.format-tile:hover .ft-overlay { opacity: 1; }
.ft-cat {
  background: var(--grad-gold);
  color: #1a1a1a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
  transform: translateY(8px);
  transition: transform 0.4s 0.05s;
}
.format-tile:hover .ft-cat { transform: translateY(0); }
.ft-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--purple);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transform: translateY(8px) rotate(-45deg);
  transition: transform 0.4s 0.1s;
}
.format-tile:hover .ft-icon { transform: translateY(0) rotate(0deg); }

.format-tile.missing img { display: none; }
.format-tile.missing::after {
  content: 'Image coming soon';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; animation: lbFade 0.4s ease forwards; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,10,40,0.92), rgba(0,0,0,0.97));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lb-stage {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: lbZoom 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes lbZoom {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.lb-imgwrap {
  position: relative;
  display: grid;
  place-items: center;
  max-height: 78vh;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.lb-imgwrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(245,197,66,0.5), rgba(106,56,194,0.5));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}
#lb-img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--r-lg);
  transition: opacity 0.3s ease;
}
.lb-imgwrap.swapping #lb-img { opacity: 0; }

.lb-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.lb-cat {
  background: var(--grad-gold);
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lb-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.lb-counter {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
  display: grid;
  place-items: center;
  line-height: 1;
}
.lb-close:hover {
  background: var(--grad-pg);
  transform: rotate(90deg) scale(1.05);
  border-color: transparent;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
  display: grid;
  place-items: center;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.lb-arrow:hover {
  background: var(--grad-gold);
  color: #1a1a1a;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(245,197,66,0.4);
}
.lb-prev { left: 28px; }
.lb-next { right: 28px; }

body.lb-open { overflow: hidden; }

.carousel-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad-pg);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple);
  box-shadow: 0 12px 28px rgba(106, 56, 194, 0.18);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.carousel-arrow:hover {
  background-image: var(--grad-pg), var(--grad-pg);
  color: #fff;
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 18px 40px rgba(106, 56, 194, 0.45);
}
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.formats-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.formats-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(106, 56, 194, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.formats-dots .dot.active {
  background: var(--grad-pg);
  width: 28px;
  border-radius: 999px;
}
.formats-dots .dot:hover { background: var(--purple); }

.formats-counter {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--purple);
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

/* ============== COMMUNITY (LinkedIn comments) ============== */
.section-community {
  background: linear-gradient(180deg, transparent, rgba(238, 232, 248, 0.5), transparent);
  position: relative;
  overflow: hidden;
}

.cr-viewport {
  position: relative;
  margin: 0 -24px 36px;
  padding: 30px 0;
  overflow: hidden;
}

.cr-track {
  display: flex;
  gap: 32px;
  padding: 0;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.cr-card {
  flex: 0 0 560px;
  max-width: 560px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.10);
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}
.cr-card img {
  width: 100%;
  height: auto;
  display: block;
}
.cr-card:hover {
  box-shadow: 0 22px 50px rgba(106, 56, 194, 0.20);
  transform: translateY(-4px);
}

.cr-card.missing {
  flex: 0 0 460px;
  height: 200px;
  background: linear-gradient(135deg, #f3eedf, #ebe2c8);
  display: grid;
  place-items: center;
}
.cr-card.missing img { display: none; }
.cr-card.missing::before {
  content: 'Comment image coming soon';
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cr-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.cr-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad-pg);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-size: 1.3rem;
  color: var(--purple);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 24px rgba(106, 56, 194, 0.15);
  display: grid;
  place-items: center;
}
.cr-arrow:hover {
  background-image: var(--grad-pg), var(--grad-pg);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 16px 36px rgba(106, 56, 194, 0.4);
}
.cr-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.cr-progress {
  width: 240px;
  height: 6px;
  background: rgba(106, 56, 194, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.cr-progress span {
  display: block;
  height: 100%;
  background: var(--grad-pg);
  border-radius: 999px;
  transition: width 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 0%;
}

.cr-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.cr-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(106, 56, 194, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}
.cr-dots .dot:hover { background: var(--purple); }
.cr-dots .dot.active {
  background: var(--grad-gold);
  width: 32px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}

.comments-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.cbtn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-2);
  transition: all 0.3s;
}
.cbtn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.cbar {
  width: 200px; height: 4px;
  background: rgba(106, 56, 194, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.cbar span {
  display: block;
  width: 50%; height: 100%;
  background: var(--grad-pg);
}
.cdots { display: flex; gap: 6px; }
.cdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(106, 56, 194, 0.25); display: inline-block; }
.cdots i.active { background: var(--gold); width: 20px; border-radius: 4px; }

.more-card {
  display: block;
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 30px;
  text-align: center;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)) padding-box,
    var(--grad-pg) border-box;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  color: inherit;
}
.more-card-link { cursor: pointer; }
.more-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(245, 197, 66, 0.12), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(106, 56, 194, 0.10), transparent 50%);
  pointer-events: none;
}
.more-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(106, 56, 194, 0.25);
}
.more-icon {
  display: inline-block;
  font-size: 1.4rem;
  margin-bottom: 8px;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-4px) rotate(8deg); }
}
.more-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  background: var(--grad-pg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  position: relative;
}
.more-card p {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 22px;
  font-weight: 600;
  position: relative;
}

/* ============== TESTIMONIALS (image carousel) ============== */
.section-testimonials {
  position: relative;
  overflow: hidden;
}

.ct-viewport {
  max-width: 1000px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
  z-index: 1;
}

.ct-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.ct-slide {
  flex: 0 0 100%;
  padding: 12px;
  position: relative;
}

.ct-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.10);
  transition: transform 0.5s ease, box-shadow 0.5s;
}

.ct-slide:hover img {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(106, 56, 194, 0.20);
}

/* Subtle gold-purple glow halo on the active slide */
.ct-slide::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(245,197,66,0.4), rgba(106,56,194,0.4));
  filter: blur(22px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
}
.ct-slide.active::after { opacity: 0.5; }

.ct-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.ct-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad-pg);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 12px 28px rgba(106, 56, 194, 0.18);
  display: grid;
  place-items: center;
}
.ct-arrow:hover {
  background-image: var(--grad-pg), var(--grad-pg);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 18px 40px rgba(106, 56, 194, 0.45);
}
.ct-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.ct-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ct-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(106, 56, 194, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}
.ct-dots .dot:hover { background: var(--purple); }
.ct-dots .dot.active {
  background: var(--grad-gold);
  width: 32px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}

/* ============== PRICING ============== */
.section-pricing { background: linear-gradient(180deg, transparent, rgba(248, 240, 220, 0.4), transparent); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto 56px;
}
.price-card {
  padding: 32px;
  position: relative;
  transition: all 0.4s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-gold-featured {
  border-top: 4px solid;
  border-image: var(--grad-gold) 1;
  background: linear-gradient(180deg, rgba(255,250,235,0.95), rgba(255,255,255,0.85));
}
.rec-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--grad-pg);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.rec-tag-gold {
  background: var(--grad-gold);
  color: #1a1a1a;
  box-shadow: var(--shadow-gold);
}
.pricing-note {
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pricing-note strong { color: var(--purple); }
.pricing-note em {
  font-style: italic;
  font-weight: 600;
  background: var(--grad-pg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.price-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.price-card h3 .muted { font-weight: 500; font-size: 0.9rem; }
.price-large {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--purple);
  margin: 14px 0 20px;
}
.price-large.gold { color: var(--gold); }
.price-large span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.bonus-box {
  padding: 14px 18px;
  background: rgba(106, 56, 194, 0.06);
  border: 1px solid rgba(106, 56, 194, 0.15);
  border-radius: var(--r-sm);
  margin: 12px 0;
  font-size: 0.85rem;
}
.bonus-box strong { display: block; color: var(--purple); margin-bottom: 6px; font-size: 0.8rem; }
.bonus-box ul { display: flex; flex-direction: column; gap: 4px; }
.bonus-box li { font-size: 0.8rem; color: var(--ink-2); }
.bonus-box p { font-size: 0.8rem; color: var(--ink-2); }
.bonus-gold { background: rgba(212, 160, 23, 0.08); border-color: rgba(212, 160, 23, 0.2); }
.bonus-gold strong { color: var(--gold); }

.custom-card {
  padding: 36px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.custom-card::before, .custom-card::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.18);
  filter: blur(20px);
}
.custom-card::before { top: -20px; left: -20px; }
.custom-card::after { bottom: -20px; right: -20px; background: rgba(106, 56, 194, 0.18); }
.custom-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.custom-card p { color: var(--muted); margin-bottom: 22px; }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-info > h3 { font-size: 1.5rem; margin-bottom: 14px; }
.contact-info > p { margin-bottom: 28px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
a.info-item { cursor: pointer; }
a.info-item:hover {
  background: rgba(106, 56, 194, 0.06);
  transform: translateX(4px);
}
a.info-item:hover .ico-clock { background: #fff; }
a.info-item:hover strong { color: var(--purple); }
.info-ico { transition: all 0.3s; }
.info-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(106, 56, 194, 0.08);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.info-ico svg { display: block; }
.ico-gmail { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.ico-linkedin { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.ico-clock { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.ico-clock img { width: 28px; height: 28px; object-fit: contain; }
a.info-item:hover .info-ico { transform: scale(1.06); box-shadow: 0 8px 18px rgba(106, 56, 194, 0.18); }
a.info-item:hover .ico-gmail,
a.info-item:hover .ico-linkedin { background: #fff; }
.info-item strong { display: block; font-size: 0.9rem; }
.info-item span { font-size: 0.85rem; color: var(--muted); }

.free-review {
  padding: 24px;
  margin-top: 28px;
  border: 1.5px solid rgba(74, 144, 226, 0.3);
}
.free-review h4 { font-size: 1.1rem; margin-bottom: 8px; }
.free-review p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }

.contact-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 { font-size: 1.5rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: all 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(106, 56, 194, 0.1);
}
.contact-form textarea { resize: vertical; }

.form-status {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  animation: fadeStatus 0.4s ease;
}
.form-status.success {
  background: rgba(46, 184, 110, 0.12);
  color: #1a8b4a;
  border: 1px solid rgba(46, 184, 110, 0.3);
}
.form-status.error {
  background: rgba(220, 53, 69, 0.10);
  color: #c13449;
  border: 1px solid rgba(220, 53, 69, 0.3);
}
@keyframes fadeStatus { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.contact-form button[disabled] { opacity: 0.7; cursor: not-allowed; }
.foot-links a { color: var(--muted); }
.foot-links a:hover, .footer p.muted a:hover { color: var(--purple); }
.footer p.muted a { color: inherit; text-decoration: none; }
.footer p.muted a:hover { color: var(--purple); }

/* ============== FOOTER ============== */
.footer {
  background: #fff;
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h3 { font-size: 1.5rem; margin-bottom: 12px; }
.footer h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--muted); font-size: 0.9rem; }
.foot-links a:hover { color: var(--purple); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============== ANIMATIONS ============== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-2 { animation-delay: 0.15s; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE ============== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { min-height: 480px; max-width: 480px; margin: 0 auto; }
  .services-grid,
  .case-grid,
  .pricing-grid,
  .testimonials-track,
  .comments-track,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-track .t-card:nth-child(3) { grid-column: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .ba-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .showcase-thumbs { grid-template-columns: repeat(4, 1fr); }
  .format-tile { flex: 0 0 calc((100% - 36px) / 3); }
  .section { padding: 70px 0; }
  .nav-cta { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 70px; }
  .hero-ctas .btn { width: 100%; }
  .showcase-thumbs { grid-template-columns: repeat(3, 1fr); }
  .format-tile { flex: 0 0 calc((100% - 18px) / 2); }
  .formats-track { gap: 14px; }
  .carousel-arrow { width: 44px; height: 44px; font-size: 1.3rem; }
  .formats-carousel { gap: 8px; }
  .cr-card, .cr-card.missing { flex: 0 0 86vw; max-width: 86vw; }
  .cr-track { gap: 16px; }
  .ct-arrow { width: 44px; height: 44px; font-size: 1.1rem; }
  .ct-controls { gap: 12px; }
  .cr-progress { width: 140px; }
  .cr-arrow { width: 44px; height: 44px; font-size: 1.1rem; }
  .formats-stats { gap: 16px; padding: 12px 20px; }
  .fs-item strong { font-size: 1.2rem; }
  .lb-arrow { width: 44px; height: 44px; font-size: 1.5rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lb-meta h3 { font-size: 1.1rem; }
  .profile-metrics { padding: 12px; }
  .profile-metrics strong { font-size: 1.1rem; }
}

/* ================================================================
   GLOBAL POLISH LAYER — animations, effects, micro-interactions
   ================================================================ */

/* Smoother section reveals with stagger */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.in { opacity: 1; transform: translateY(0); }

.reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-zoom.in { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.40s; }
.stagger.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.47s; }
.stagger.in > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.54s; }

/* Subtle grain texture across the body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1000;
  mix-blend-mode: multiply;
}

/* Premium section heading underline */
.section-head .h2 {
  position: relative;
  display: inline-block;
}
.section-head .h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--grad-pg);
  border-radius: 999px;
  opacity: 0.5;
}

/* Unified card hover interactions — softer, premium */
.service-card,
.case-card,
.cr-card,
.t-card,
.price-card,
.founder-card,
.value-card,
.format-tile,
.cr-collage-item,
.tx-side {
  will-change: transform;
}

/* Focus states for accessibility */
.btn:focus-visible,
.card-cta:focus-visible,
.carousel-arrow:focus-visible,
.cr-arrow:focus-visible,
.ct-arrow:focus-visible,
.lb-arrow:focus-visible,
.lb-close:focus-visible {
  outline: 3px solid rgba(106, 56, 194, 0.5);
  outline-offset: 3px;
}

/* Smoothly animate scroll arrows */
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

/* Hero headline shimmer (one-time on load) */
.display .grad-gold {
  background-size: 200% auto;
  animation: shimmerText 3.5s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Glow on profile metrics when in view */
.profile-metrics > div { transition: transform 0.4s ease; }
.profile-metrics > div:hover { transform: translateY(-3px); }

/* Section transition smoothness */
.section { transition: background 0.6s ease; }

/* Smooth nav link underline already exists — make it gradient */
.nav-links a::after { background: var(--grad-pg); }

/* Brand mark gentle hover */
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand-mark { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* Scroll-progress bar at top */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-pg);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 2px 8px rgba(106, 56, 194, 0.4);
}

/* Smooth-page back-to-top button */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-pg);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(106, 56, 194, 0.35);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
}
#back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 44px rgba(106, 56, 194, 0.5);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
