/* =========================================================
   HappyHosts — Premium Digital Marketing & Web Development
   Core Stylesheet
   ========================================================= */

:root {
  /* Palette */
  --navy-950: #05070d;
  --navy-900: #0a0e1a;
  --navy-800: #0f1420;
  --navy-700: #161d2e;
  --navy-600: #202942;
  --navy-500: #2c3757;
  --slate-300: #b8c0d4;
  --slate-400: #8a93ac;
  --slate-500: #6b7591;
  --white: #ffffff;
  --off-white: #f5f8fd;
  --blue: #3b6cf6;
  --blue-light: #5e8bff;
  --blue-dark: #274bc7;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  /* Light sky-blue tints — primary surface accent for the light theme */
  --sky-50: #f3f8fe;
  --sky-100: #e3edfc;
  --sky-150: #d8e7fb;
  --sky-200: #c5dcf8;
  --sky-wash: linear-gradient(180deg, #eef5ff 0%, #ffffff 62%);
  --gradient-brand: linear-gradient(135deg, var(--navy-900) 0%, var(--blue) 100%);
  --gradient-brand-soft: var(--sky-100);
  --success: #22c55e;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', -apple-system, sans-serif;

  /* Radii & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(10, 14, 26, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 14, 26, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 14, 26, 0.16);
  --shadow-glow: 0 0 0 1px rgba(59,108,246,0.15), 0 20px 50px rgba(15,23,42,0.18);

  --container: 1200px;
  --header-h: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
p { margin: 0 0 1em; color: var(--slate-500); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--navy-900); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 999; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-800);
  background: var(--sky-100); border: 1px solid var(--sky-200);
  padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.section-dark .eyebrow, .cta-band .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--slate-200, #dbe2f2); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { font-size: 1.08rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border-radius: var(--radius-full); border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-900); color: var(--white); box-shadow: 0 10px 24px rgba(10,14,26,0.22); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(10,14,26,0.28); }
.btn-secondary { background: var(--white); color: var(--navy-900); border-color: #d7deed; }
.btn-secondary:hover { border-color: var(--navy-900); background: var(--sky-50); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ============ HEADER (floating rounded bar) ============ */
#site-header-root { position: relative; z-index: 200; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 16px 20px 0; transition: padding .25s ease;
}
.site-header.is-scrolled { padding-top: 10px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(15,23,42,0.06); border-radius: var(--radius-full);
  box-shadow: 0 12px 30px rgba(15,23,42,0.10);
  padding: 8px 10px 8px 22px;
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled .header-inner { box-shadow: 0 16px 36px rgba(15,23,42,0.16); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--navy-900);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(10,14,26,0.28);
}
.brand-name span { color: var(--blue-dark); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav .nav-link {
  color: var(--navy-600); font-weight: 600; font-size: 0.92rem; padding: 10px 14px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 6px; transition: color .18s ease, background .18s ease;
  background: none; border: none; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--navy-900); background: var(--sky-100); }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown .chevron { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-item-dropdown:hover .chevron, .nav-item-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid #e9edf7; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-item-dropdown:hover .dropdown-panel,
.nav-item-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); color: var(--slate-500);
}
.dropdown-panel a:hover { background: var(--sky-50); color: var(--navy-900); }
.dropdown-panel .dd-icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dropdown-panel strong { display: block; color: var(--navy-900); font-size: 0.92rem; margin-bottom: 2px; }
.dropdown-panel small { color: var(--slate-500); font-size: 0.8rem; }

.mobile-only-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: var(--sky-100); border: 1px solid var(--sky-200); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--navy-900);
}

@media (max-width: 1180px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h)); background: var(--navy-900);
    flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto;
    transform: translateX(calc(100% + 4px)); transition: transform .28s ease; border-radius: 0; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .main-nav .nav-link { color: var(--slate-300); }
  .main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }
  .main-nav button.dd-toggle { width: 100%; justify-content: space-between; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin: 4px 0 8px 12px; background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
  .dropdown-panel a { color: var(--slate-300); }
  .dropdown-panel a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
  .dropdown-panel strong { color: var(--white); }
  .nav-item-dropdown.open .dropdown-panel { display: block; }
  .header-actions .btn-secondary.header-cta-secondary { display: none; }
  .mobile-only-cta { display: block; margin-top: 14px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .header-actions .btn-primary { display: none; }
}

/* Sticky mobile CTA bar */
.mobile-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 190; display: none;
  background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px; gap: 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
@media (max-width: 768px) { .mobile-sticky-cta { display: flex; } body { padding-bottom: 74px; } }
.mobile-sticky-cta .btn { flex: 1; }

/* WhatsApp click-to-chat floating button */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 195;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(37,211,102,0.42), 0 4px 10px rgba(10,14,26,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 32px rgba(37,211,102,0.5), 0 6px 14px rgba(10,14,26,0.2); }
.whatsapp-fab-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waRingPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waRingPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.65); opacity: 0; } }
@media (max-width: 768px) {
  .whatsapp-fab { right: 16px; bottom: 92px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab-ring { animation: none; }
  .whatsapp-fab { transition: none; }
}

/* ============ HERO (light, dynamic) ============ */
.hero {
  position: relative; padding: calc(var(--header-h) + 56px) 0 96px; overflow: hidden;
  background: var(--sky-wash); color: var(--navy-900); isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 460px at 8% -10%, rgba(59,108,246,0.16), transparent 60%),
    radial-gradient(620px 480px at 100% 0%, rgba(59,108,246,0.12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); color: var(--navy-900); }
.hero h1 .text-accent { color: var(--blue); }
.hero .lede { font-size: 1.12rem; color: var(--slate-500); max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 32px; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 10px; color: var(--navy-700); font-weight: 600; font-size: 0.9rem; }
.hero-trust .trust-item svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* Hero visual — bold, continuously-animated collage: a solid gradient
   block (slowly shifting color) behind a floating dashboard card, framed
   by drifting shapes, a live rotating status chip, and colorful accent cards */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 26px; }
.hero-visual::before {
  content: ''; position: absolute; inset: 3% 1%; border-radius: 36px;
  background: linear-gradient(125deg, var(--navy-900) 0%, var(--blue-dark) 42%, var(--blue) 74%, var(--violet) 130%);
  background-size: 220% 220%; background-position: 0% 30%;
  z-index: -1; animation: gradientShift 9s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(15,23,42,0.28);
}
@keyframes gradientShift { 0%,100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }

.hero-collage { position: relative; width: 100%; max-width: 460px; padding: 40px 32px 48px; }

.collage-deco { position: absolute; z-index: 1; filter: drop-shadow(0 2px 4px rgba(10,14,26,0.18)); }
.deco-ring { top: -4%; left: -3%; width: 40px; height: 40px; border-radius: 50%; border: 6px solid var(--sky-200); z-index: -1; filter: none; animation: drift1 8s ease-in-out infinite; }
.deco-ring2 { bottom: 10%; right: 6%; width: 22px; height: 22px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.55); animation: drift2 6.5s ease-in-out infinite; }
.deco-plus { display: flex; color: rgba(255,255,255,0.85); }
.deco-plus-a { top: 10%; right: 16%; animation: drift2 7s ease-in-out infinite; }
.deco-plus-b { bottom: 20%; left: 4%; color: var(--violet-light); animation: drift1 9s ease-in-out infinite reverse; }
.deco-dot { top: 42%; left: -2%; width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,0.7); animation: drift2 6s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(10px,-14px) rotate(14deg); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-12px,10px) rotate(-10deg); } }

/* Live rotating status chip — cycles through the four service lines */
.hero-live-chip {
  position: absolute; top: -6%; left: 2%; z-index: 3; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.96); border-radius: var(--radius-full); padding: 10px 16px 10px 12px;
  box-shadow: 0 16px 32px rgba(10,14,26,0.28); animation: floatY 5s ease-in-out infinite;
}
.hero-live-chip .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: none; animation: dotPulse 2s ease-in-out infinite; }
.hero-live-chip .live-text { position: relative; height: 17px; width: 128px; overflow: hidden; }
.live-word {
  position: absolute; left: 0; top: 0; white-space: nowrap; font-weight: 700; font-size: 0.8rem; color: var(--navy-900);
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease;
}
.live-word.is-active { opacity: 1; transform: translateY(0); }

.hero-panel {
  position: relative; background: var(--white); overflow: hidden;
  border: 1px solid #e7ecf7; border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.14), 0 30px 60px rgba(15,23,42,0.25); width: 100%;
  animation: floatY 6s ease-in-out infinite;
}
.hero-panel .browser-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.hero-panel .browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e2e7f3; }
.hero-panel .browser-dots span:first-child { background: #f5a3a3; }
.hero-panel .browser-dots span:nth-child(2) { background: #f6d59a; }
.hero-panel .browser-dots span:nth-child(3) { background: #a7e3b8; }
.hero-bars rect { transform-box: fill-box; transform-origin: bottom; animation: growBar 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-bars rect:nth-child(1) { animation-delay: .05s; }
.hero-bars rect:nth-child(2) { animation-delay: .18s; }
.hero-bars rect:nth-child(3) { animation-delay: .3s; }
.hero-bars rect:nth-child(4) { animation-delay: .42s; }
@keyframes growBar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
/* Live meter bar — keeps a gentle continuous pulse after the initial grow-in */
.hero-bar-live { animation: growBar 1.4s cubic-bezier(.2,.8,.2,1) both, barPulse 2.6s ease-in-out 1.6s infinite; }
@keyframes barPulse { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.9); } }
.hero-line { stroke-dasharray: 340; stroke-dashoffset: 340; animation: drawLine 1.6s ease-out .5s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero-dot-pulse { animation: dotPulse 2.2s ease-in-out 1.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.6; } }
/* Scanning sweep — a soft band of light that continuously passes across the chart */
.hero-scan { animation: scanMove 3.6s ease-in-out 2s infinite; }
@keyframes scanMove { 0% { transform: translateX(-46px); } 100% { transform: translateX(466px); } }

.hero-float {
  position: absolute; background: var(--white); border: 1px solid #e7ecf7; border-radius: var(--radius-md);
  box-shadow: 0 18px 36px rgba(10,14,26,0.28); display: flex; align-items: center; justify-content: center;
}
.hero-float-donut { top: -10%; right: -10%; padding: 9px; border-radius: 50%; animation: floatY 5.5s ease-in-out infinite; }
.hero-float-donut svg { animation: spinSlow 16s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-stat-card {
  position: absolute; background: var(--white); border: 1px solid #e7ecf7; border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: 0 18px 36px rgba(10,14,26,0.28); display: flex; align-items: center; gap: 11px;
}
.hero-stat-card .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--navy-900); display:flex; align-items:center; justify-content:center; color:#fff; flex: none; }
.hero-stat-card strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.hero-stat-card span { color: var(--slate-500); font-size: 0.78rem; }
.hero-stat-card.card-1 { bottom: -12%; left: -16%; animation: floatY 4.5s ease-in-out infinite; }
.hero-stat-card.card-2 {
  bottom: -8%; right: -6%; animation: floatY 5.4s ease-in-out infinite reverse;
  background: var(--blue); border-color: transparent;
}
.hero-stat-card.card-2 strong, .hero-stat-card.card-2 span { color: #fff; }
.hero-stat-card.card-2 .icon { background: rgba(255,255,255,0.22); }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(-1.4deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-panel, .hero-stat-card, .hero-float, .hero-float-donut svg, .hero-visual::before,
  .collage-deco, .hero-live-chip, .live-dot, .hero-bar-live, .hero-scan { animation: none; }
  .hero-bars rect, .hero-line { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
}
@media (max-width: 560px) {
  .hero-collage { max-width: 320px; padding: 44px 20px 4px; display: flex; flex-direction: column; align-items: center; }
  .hero-live-chip { top: -2%; left: 50%; transform: translateX(-50%); animation: none; }
  .hero-float-donut { top: -6%; right: -4%; }
  .hero-float-donut svg { width: 52px; height: 52px; }
  /* Stack the accent cards in normal flow below the panel instead of
     overlapping — two absolutely-positioned cards side by side don't fit
     narrow viewports without colliding. */
  .hero-stat-card { position: static; width: 100%; max-width: 280px; margin-top: 12px; animation: none; }
  .hero-stat-card.card-1, .hero-stat-card.card-2 { top: auto; bottom: auto; left: auto; right: auto; }
}

/* ============ SERVICE / FEATURE CARDS ============ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--sky-50); border: 1px solid #e5edfb; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--sky-100); border-color: var(--sky-200); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(10,14,26,0.18);
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-900); font-size: 0.92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.card-dark { background: var(--navy-800); border-color: rgba(255,255,255,0.08); }
.card-dark h3, .card-dark strong { color: var(--white); }
.card-dark p { color: var(--slate-400); }

/* ============ DARK SECTION ============ */
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark p { color: var(--slate-400); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-soft { background: var(--off-white); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { color: var(--slate-400); font-weight: 600; font-size: 0.92rem; }

/* Feature list with check icons */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--navy-900); font-weight: 500; }
.section-dark .check-list li { color: var(--slate-300); }
.check-list .check-icon {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gradient-brand-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px;
}
.section-dark .check-list .check-icon { background: rgba(255,255,255,0.08); color: var(--blue-light); }

/* Process steps */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process-track.cols-7 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-track { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 26px 20px; border-radius: var(--radius-md); background: var(--white); border: 1px solid #ecedf3; }
.process-step .step-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: transparent;
  -webkit-text-stroke: 1.4px var(--blue); display: block; margin-bottom: 10px; }
.process-step h4 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; margin: 0; }

/* Pricing */
.pricing-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 44px; flex-wrap: wrap; }
.pricing-tab {
  background: var(--off-white); border: 1px solid #e6e8f0; color: var(--slate-500); font-weight: 700; font-size: 0.92rem;
  padding: 12px 22px; border-radius: var(--radius-full); transition: all .18s ease;
}
.pricing-tab.active, .pricing-tab:hover { background: var(--gradient-brand); color: var(--white); border-color: transparent; }
.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.price-card {
  position: relative; background: var(--white); border: 1px solid #ecedf3; border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.popular { border: 2px solid transparent; background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: var(--shadow-glow); transform: scale(1.03); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: var(--white); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 16px; border-radius: var(--radius-full); white-space: nowrap;
}
.price-card .plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.price-card .plan-audience { color: var(--slate-500); font-size: 0.88rem; margin-bottom: 20px; }
.price-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-card .plan-price .amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; }
.price-card .plan-price .period { color: var(--slate-500); font-weight: 600; font-size: 0.9rem; }
.price-card .plan-from { color: var(--slate-500); font-size: 0.82rem; margin-bottom: 22px; }
.price-card .check-list { margin-bottom: 26px; flex: 1; }
.price-card .check-list li { font-size: 0.92rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid #ecedf3; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid #f0f1f6; font-size: 0.92rem; }
table.compare thead th { background: var(--off-white); font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }
table.compare td.center, table.compare th.center { text-align: center; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare .yes { color: var(--success); }
table.compare .no { color: var(--slate-400); }

/* Testimonials */
.testi-card { background: var(--white); border: 1px dashed #cdd3e6; border-radius: var(--radius-lg); padding: 30px; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue); line-height: 1; margin-bottom: 10px; display: block; }
.testi-card p.quote { font-style: italic; color: var(--navy-900); font-size: 1.02rem; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-brand-soft); border: 1px dashed #cdd3e6;
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex: none; }
.testi-person strong { display: block; font-size: 0.92rem; }
.testi-person span { color: var(--slate-500); font-size: 0.82rem; }
.placeholder-tag { display: inline-block; background: #fff4e5; color: #b45309; border: 1px solid #fcd9a8; font-size: 0.72rem;
  font-weight: 700; padding: 3px 9px; border-radius: var(--radius-full); margin-bottom: 12px; }

/* FAQ */
.faq-item { border-bottom: 1px solid #ecedf3; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; padding: 22px 4px; text-align: left; font-family: var(--font-display);
  font-weight: 700; font-size: 1.02rem; color: var(--navy-900);
}
.faq-question .plus { width: 24px; height: 24px; border-radius: 50%; background: var(--off-white); flex: none;
  display: flex; align-items: center; justify-content: center; transition: transform .25s ease; color: var(--blue); }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 4px 22px; color: var(--slate-500); font-size: 0.95rem; }

/* Portfolio */
.portfolio-card { background: var(--white); border: 1px solid #ecedf3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.portfolio-thumb {
  height: 200px; position: relative; background: var(--navy-900); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.portfolio-thumb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 200px at 30% 0%, rgba(59,108,246,0.45), transparent 60%), radial-gradient(300px 220px at 100% 100%, rgba(139,92,246,0.4), transparent 60%); }
.portfolio-thumb svg { position: relative; width: 64px; height: 64px; color: rgba(255,255,255,0.85); }
.portfolio-body { padding: 26px; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-chip { background: var(--gradient-brand-soft); color: var(--blue); font-size: 0.76rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-full); }
.portfolio-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.result-placeholder { border: 1px dashed #cdd3e6; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.82rem; color: var(--slate-500); margin-top: 14px; }

/* Blog */
.blog-card { background: var(--white); border: 1px solid #ecedf3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb { height: 160px; background: var(--gradient-brand-soft); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.blog-thumb svg { width: 44px; height: 44px; }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 10px; font-size: 0.78rem; color: var(--slate-500); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.blog-body h3 { font-size: 1.08rem; margin-bottom: 10px; }

/* Blog article (post) layout */
.post-layout { max-width: 760px; margin: 0 auto; }
.post-meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--slate-500); font-weight: 600; margin-bottom: 10px; }
.post-meta-row span:not(:last-child)::after { content: '\00b7'; margin-left: 10px; color: var(--slate-400); }
.post-content { font-size: 1.05rem; line-height: 1.8; color: var(--slate-500); }
.post-content h2 { color: var(--navy-900); font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.8em; margin-bottom: 0.6em; }
.post-content h3 { color: var(--navy-900); font-size: 1.15rem; margin-top: 1.5em; margin-bottom: 0.5em; }
.post-content p { margin: 0 0 1.2em; }
.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.post-content li { margin-bottom: 0.5em; }
.post-content strong { color: var(--navy-900); }
.post-content blockquote { border-left: 3px solid var(--blue); padding: 2px 0 2px 20px; margin: 1.8em 0; font-style: italic; color: var(--navy-800); }
.post-cta-card {
  background: var(--sky-50); border: 1px solid var(--sky-150); border-radius: var(--radius-lg);
  padding: 28px 30px; margin: 2.4em 0; text-align: center;
}
.post-cta-card h3 { margin-bottom: 8px; }
.post-cta-card p { max-width: 480px; margin: 0 auto 20px; }
.back-to-blog { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-900); font-size: 0.92rem; margin-bottom: 26px; }
.back-to-blog svg { width: 16px; height: 16px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.88rem; color: var(--navy-900); }
.form-field .req { color: var(--blue); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 0.96rem; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #e0e3ee; background: var(--white); color: var(--navy-900); transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,108,246,0.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .field-error { color: #dc2626; font-size: 0.8rem; display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #dc2626; }
.form-field.invalid .field-error { display: block; }
.form-note { font-size: 0.82rem; color: var(--slate-500); }
.form-success { display: none; background: #ecfdf3; border: 1px solid #a7f3d0; color: #15803d; padding: 16px 18px; border-radius: var(--radius-md); font-weight: 600; margin-bottom: 20px; }
.form-success.show { display: block; }

/* Contact info cards */
.contact-info-card { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid #ecedf3; border-radius: var(--radius-md); }
.contact-info-card .ci-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-brand-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info-card strong { display: block; margin-bottom: 4px; }
.contact-info-card span, .contact-info-card p { color: var(--slate-500); font-size: 0.92rem; margin: 0; }
.editable-note { font-size: 0.72rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.86rem; color: var(--slate-500); margin-bottom: 18px; }
.breadcrumbs a { color: var(--navy-700); font-weight: 600; }
.breadcrumbs a:hover { color: var(--navy-900); }
.breadcrumbs svg { width: 12px; height: 12px; }
.page-hero { background: var(--sky-wash); color: var(--navy-900); padding: calc(var(--header-h) + 40px) 0 60px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(650px 380px at 88% -10%, rgba(59,108,246,0.16), transparent 60%), radial-gradient(520px 340px at 0% 100%, rgba(59,108,246,0.10), transparent 60%); }
.page-hero h1 { color: var(--navy-900); font-size: clamp(1.9rem, 4vw, 3rem); max-width: 780px; }
.page-hero p.lede { color: var(--slate-500); font-size: 1.08rem; max-width: 640px; }

/* CTA band */
.cta-band { background: var(--navy-900); position: relative; overflow: hidden; isolation: isolate; padding: 84px 0; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 400px at 20% 0%, rgba(59,108,246,0.30), transparent 60%),
  radial-gradient(600px 400px at 100% 100%, rgba(59,108,246,0.20), transparent 60%), var(--navy-900); }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: var(--slate-300); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Disclaimer box */
.disclaimer-box { background: var(--off-white); border: 1px solid #e6e8f0; border-left: 4px solid var(--blue); border-radius: var(--radius-sm);
  padding: 18px 22px; font-size: 0.9rem; color: var(--slate-500); }

/* Values / mission cards */
.value-card { padding: 26px; border-radius: var(--radius-md); background: var(--off-white); border: 1px solid #ecedf3; }
.value-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 76px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--slate-500); font-size: 0.92rem; max-width: 280px; }
.footer-col h5 { color: var(--white); font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--slate-400); transition: color .18s ease; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: var(--slate-300); }
.footer-social a:hover { background: var(--gradient-brand); color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0; font-size: 0.84rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-stat-card { animation: none; }
}

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Why Choose Us — circular diagram */
.why-diagram { display: grid; grid-template-columns: 1fr 90px auto 90px 1fr; align-items: center; margin-top: 44px; }
.why-col { display: grid; grid-template-rows: repeat(3, 1fr); height: 400px; }
.why-col-left { text-align: right; justify-items: end; }
.why-col-right { text-align: left; justify-items: start; }
.why-item { max-width: 300px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.why-item p { font-size: 0.92rem; color: var(--slate-500); margin: 0; line-height: 1.6; }
.why-connector { width: 90px; height: 400px; }
.why-center { display: flex; align-items: center; justify-content: center; }
.why-badge { width: 220px; height: 220px; max-width: 100%; }
@media (max-width: 960px) {
  .why-diagram { grid-template-columns: 1fr; row-gap: 36px; }
  .why-connector { display: none; }
  .why-center { order: -1; }
  .why-col { height: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 28px; }
  .why-col-left, .why-col-right { text-align: left; justify-items: start; }
  .why-item { max-width: none; }
}
@media (max-width: 600px) {
  .why-col { grid-template-columns: 1fr; }
}

/* Icon badge circle used in "how it works" */
.flow-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-brand); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }

.mb-0 { margin-bottom: 0 !important; }
