/* ==========================================================================
   human.css — the codecurious.cc look for the main website.
   Loaded after every other stylesheet. Colours come from tokens.css.
   - Highlighted words are one solid colour, not a neon gradient.
   - Labels use Inter; only real code uses the code font.
   ========================================================================== */

/* Highlighted words in headings: solid sky blue on navy (brand blue on light pages) */
.hero-main-title .text-cyan,
.hero-main-title .text-emerald,
.hero-main-title .text-amber,
.hero-main-title .text-purple,
h1 .gradient,
h2 .gradient,
.section-title span.gradient,
.text-gradient,
.growth-gradient-text,
.dna-grad,
.final-cta-title span.gradient,
.final-cta-title .gradient,
.final-cta-title span.text-cyan,
.pr-title span,
.hd-title span,
.service-card:hover .service-card-title,
.city-card:hover .city-card-title,
.city-card:hover h3 {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--cyan-400) !important;
}

/* Review stars are gold, as people expect */
.tm-stars {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #FBBF24 !important;
  color: #FBBF24 !important;
}

/* Real code keeps a code font */
pre,
code,
kbd,
samp,
.code-pre-block,
[class^="tok-"] {
  font-family: var(--font-code) !important;
}

/* Developer tools (JSON formatter, regex tester...) are about code: code font throughout */
[data-code-font] {
  --font-mono: var(--font-code);
}

/* Small uppercase labels that used the code font read better in Inter with less spacing */
.hero-badge-pill,
.chrome-title-tab,
.chrome-status-tag,
.section-eyebrow,
.section-label {
  letter-spacing: 0.04em;
}

/* ---- Light pages with navy menu, hero and footer (codecurious.cc layout) ---- */

/* One theme for everyone: the light/dark switch is no longer offered */
#themeToggleBtn {
  display: none !important;
}

/* Menu bar: navy, like the portfolio */
[data-theme="light"] .site-header {
  background: rgba(7, 24, 39, 0.92);
  border-bottom-color: #1E3448;
  box-shadow: none;
}

/* Logo on a white plate in the menu and footer (navy logo, same as codecurious.cc) */
.brand-logo-img,
[data-theme="light"] .brand-logo-img,
[data-theme="light"] .site-footer .brand-logo-img {
  content: normal !important;
  filter: none !important;
}

.site-header .brand-logo,
.site-footer .brand-logo {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Each page's hero: the portfolio's navy gradient */
[data-theme="light"] section[class*="hero"]:not(.hero-showcase),
[data-theme="light"] main.error-hero-section {
  background-color: #071827 !important;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #071827 0%, #0B2239 55%, #0F3D70 100%) !important;
  background-size: 48px 48px, 48px 48px, auto !important;
  color: var(--text-secondary);
}

/* Navy bands: the process section joins the menu, heroes, final CTA and footer */
[data-theme="light"] .pr-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #071827 0%, #0B2239 60%, #0F3D70 100%);
}

/* Menu links: sky blue for the current page, as on codecurious.cc */
[data-theme="light"] .site-header .nav-link.active,
[data-theme="light"] .site-header .nav-item.active > .nav-link,
[data-theme="light"] .site-header .nav-item.active > .nav-link span {
  color: #38BDF8 !important;
}

/* Outline and secondary buttons inside navy parts: see-through with a light edge */
[data-theme="light"] :is(.site-header, section[class*="hero"], main.error-hero-section, .blog-hero-center, .ind-hero-center, .tools-hero-center, .security-hero-center, .radar-hero-center, .services-hero-header, .final-cta-card, .site-footer, .pr-section) :is(.btn-outline, .btn-secondary) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

[data-theme="light"] :is(.site-header, section[class*="hero"], main.error-hero-section, .blog-hero-center, .ind-hero-center, .tools-hero-center, .security-hero-center, .radar-hero-center, .services-hero-header, .final-cta-card, .site-footer, .pr-section) :is(.btn-outline, .btn-secondary):hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

[data-theme="light"] :is(.site-header, section[class*="hero"], main.error-hero-section, .blog-hero-center, .ind-hero-center, .tools-hero-center, .security-hero-center, .radar-hero-center, .services-hero-header, .final-cta-card, .site-footer, .pr-section) :is(.btn-outline, .btn-secondary) * {
  color: inherit !important;
}

/* Small pills and tags on light sections: readable dark-blue text on a pale chip */
[data-theme="light"] :is(.hire-skill-pill, .step-tag) {
  color: var(--text-secondary) !important;
  background: var(--bg-subtle) !important;
  border-color: var(--border-medium) !important;
}

[data-theme="light"] .hire-card-action,
[data-theme="light"] .hire-card-action span {
  color: var(--cyan-400) !important;
}

[data-theme="light"] .hd-num,
[data-theme="light"] .founder-signature-title {
  color: var(--text-muted) !important;
}

[data-theme="light"] .select-arrow-icon {
  color: var(--cyan-400) !important;
}

[data-theme="light"] .service-filter-btn.active {
  color: #FFFFFF !important;
}

/* WhatsApp green is too light for text on white; use a deeper green for words */
[data-theme="light"] :is([style^="color: #25d366"], [style^="color: #25D366"], [style*="; color: #25d366"], [style*="; color: #25D366"], .badge-live-pulse) {
  color: #15803D !important;
}

/* Footer dots between legal links */
.footer-legal-links .sep {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Pages whose hero sits inside the page container: a full-width navy backdrop behind it */
[data-theme="light"] main[class*="hero"] {
  overflow-x: clip;
}

[data-theme="light"] :is(.blog-hero-center, .ind-hero-center, .tools-hero-center, .security-hero-center, .radar-hero-center, .services-hero-header) {
  position: relative;
  isolation: isolate;
  padding-bottom: 56px;
  margin-bottom: 48px;
  color: var(--text-secondary);
}

[data-theme="light"] :is(.blog-hero-center, .ind-hero-center, .tools-hero-center, .security-hero-center, .radar-hero-center, .services-hero-header)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #071827;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #071827 0%, #0B2239 55%, #0F3D70 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

/* Comparison tables: the highlighted CodeCurious column heading on light pages */
[data-theme="light"] th.col-codecurious {
  color: #145CA1 !important;
}

/* Footer logo plate hugs the logo */
.site-footer .brand-logo {
  width: fit-content;
  max-width: 100%;
}

/* Phone menu: solid navy so the page behind does not show through */
.nav-links.mobile-open {
  background: #071827 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


/* ==========================================================================
   NEW HERO SHOWCASE & 3D CAROUSEL SECTION (Matches Official 2026 Design)
   ========================================================================== */
.hero-showcase {
  position: relative;
  padding: 40px 0 60px;
  background: #FFFFFF !important;
  color: #071827 !important;
  overflow: hidden;
}

[data-theme="dark"] .hero-showcase {
  background: #071827;
}

/* Ambient Soft Blue Pastel Waves */
.hero-wave-left {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle at 45% 45%, rgba(224, 242, 254, 0.7) 0%, rgba(240, 249, 255, 0.35) 50%, transparent 75%);
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

.hero-wave-right {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse at 75% 35%, rgba(224, 242, 254, 0.8) 0%, rgba(240, 249, 255, 0.45) 50%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .hero-wave-left {
  background: radial-gradient(circle at 45% 45%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .hero-wave-right {
  background: radial-gradient(ellipse at 75% 35%, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

.hero-showcase .container {
  position: relative;
  z-index: 2;
}

/* Split Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 36px;
  min-height: 480px;
}

/* Left Content Column */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}

[data-theme="dark"] .hero-badge-pill {
  background: #0B2239;
  border-color: #1E3448;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);
}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .badge-text {
  color: #E2E8F0;
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #071827;
  margin-bottom: 20px;
}

[data-theme="dark"] .hero-title {
  color: #F8FAFC;
}

.hero-highlight {
  color: #2563EB;
  position: relative;
  display: inline;
}

.hero-business-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-underline-svg {
  position: absolute;
  left: -2px;
  bottom: -10px;
  width: 104%;
  height: 18px;
  pointer-events: none;
}

.hero-desc {
  font-size: 16.5px;
  line-height: 1.62;
  color: #475569;
  max-width: 480px;
  margin-bottom: 32px;
}

[data-theme="dark"] .hero-desc {
  color: #94A3B8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #2563EB;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 22px -4px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #FFFFFF;
  color: #071827 !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

[data-theme="dark"] .btn-hero-secondary {
  background: #0B2239;
  color: #F8FAFC !important;
  border-color: #1E3448;
}

.btn-hero-secondary:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-hero-secondary:hover {
  background: #1E3448;
}

/* Right Column — 3D Carousel Stage */
.hero-carousel-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 490px;
}

.cards-viewport {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Cards */
.hero-card {
  position: absolute;
  width: 336px;
  height: 420px;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
  user-select: none;
  overflow: hidden;
  cursor: pointer;
}

[data-theme="dark"] .hero-card {
  background: #0B2239;
  border-color: #1E3448;
}

/* Card States */
.hero-card.is-active {
  z-index: 10;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.16), 0 12px 28px -6px rgba(37, 99, 235, 0.15);
  cursor: default;
}

[data-theme="dark"] .hero-card.is-active {
  background: linear-gradient(180deg, #0E2A47 0%, #0B2239 100%);
  border-color: #38BDF8;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5), 0 12px 28px -6px rgba(56, 189, 248, 0.2);
}

.hero-card.is-left {
  z-index: 4;
  transform: translate3d(-175px, 0, -40px) scale(0.88);
  opacity: 0.9;
  background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%);
  border-color: rgba(221, 214, 254, 0.7);
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .hero-card.is-left {
  background: linear-gradient(180deg, #161D38 0%, #10162B 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.hero-card.is-right {
  z-index: 4;
  transform: translate3d(175px, 0, -40px) scale(0.88);
  opacity: 0.9;
  background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: rgba(187, 247, 208, 0.7);
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .hero-card.is-right {
  background: linear-gradient(180deg, #0F2D30 0%, #0A2022 100%);
  border-color: rgba(20, 184, 166, 0.3);
}

.hero-card.is-hidden {
  z-index: 1;
  transform: translate3d(0, 0, -140px) scale(0.72);
  opacity: 0;
  pointer-events: none;
}

/* Card Top */
.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-mobile { background: #3B82F6; color: #FFFFFF; }
.icon-web { background: #DDD6FE; color: #7C3AED; }
.icon-ai { background: #CCFBF1; color: #0D9488; }
.icon-cloud { background: #FEF3C7; color: #D97706; }

.card-header-titles {
  display: flex;
  flex-direction: column;
}

.card-title-main {
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  color: #071827;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .card-title-main {
  color: #F8FAFC;
}

.card-title-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}

[data-theme="dark"] .card-title-sub {
  color: #94A3B8;
}

/* Visual inside card */
.card-visual-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 4px 0 8px;
}

.card-ill-img {
  max-width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s ease;
}

.hero-card:hover .card-ill-img {
  transform: scale(1.03);
}

/* Card bottom */
.card-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.65);
  padding-top: 14px;
  margin-top: auto;
}

[data-theme="dark"] .card-bottom-info {
  border-top-color: #1E3448;
}

.card-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  font-weight: 500;
}

[data-theme="dark"] .card-desc {
  color: #94A3B8;
}

.card-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  font-size: 16px;
}

.card-action-btn:hover {
  background: #1D4ED8;
  transform: scale(1.08);
}

/* Carousel Nav Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #071827;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

[data-theme="dark"] .carousel-nav-btn {
  background: #0B2239;
  border-color: #1E3448;
  color: #F8FAFC;
}

.carousel-nav-btn:hover {
  background: #F8FAFC;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .carousel-nav-btn:hover {
  background: #1E3448;
}

.btn-prev { left: -16px; }
.btn-next { right: -16px; }

/* Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .dot-item {
  background: #334155;
}

.dot-item.active {
  width: 24px;
  border-radius: 9999px;
  background: #2563EB;
}

/* Bottom Floating Stats Banner */
.hero-stats-banner {
  margin-top: 54px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 22px 36px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 24px;
}

[data-theme="dark"] .hero-stats-banner {
  background: #0B2239;
  border-color: #1E3448;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid #F1F5F9;
  padding-right: 20px;
}

[data-theme="dark"] .stat-item:not(:last-child) {
  border-right-color: #1E3448;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .stat-icon-wrap {
  background: rgba(37, 99, 235, 0.18);
}

.stat-icon {
  width: 26px;
  height: 26px;
  stroke: #2563EB;
}

[data-theme="dark"] .stat-icon {
  stroke: #38BDF8;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #071827;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .stat-val {
  color: #F8FAFC;
}

.stat-lbl {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748B;
  margin-top: 2px;
}

[data-theme="dark"] .stat-lbl {
  color: #94A3B8;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: 42px; }
  .hero-stats-banner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item:not(:last-child) { border-right: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .hero-stats-banner { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .hero-card { width: 290px; height: 380px; }
  .cards-viewport { height: 400px; }
}
