/*
Theme Name: Genious Leads
Theme URI: https://geniousdev.net/
Author: GeniousDev
Author URI: https://geniousdev.net/
Description: A vibrant, conversion-focused WordPress theme for a lead generation agency.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genious-leads
*/

:root {
  --ink: #09111f;
  --ink-2: #101a2e;
  --panel: #ffffff;
  --muted: #667085;
  --line: rgba(9, 17, 31, 0.12);
  --cyan: #00d4ff;
  --blue: #3757ff;
  --coral: #ff5a6f;
  --brand-red: #e51f2b;
  --brand-red-dark: #b71220;
  --lime: #b9f64a;
  --yellow: #ffd15c;
  --violet: #8f4cff;
  --cream: #fffaf0;
  --gold: #e51f2b;
  --champagne: #f6f4f2;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(9, 17, 31, 0.16);
  --font-sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f5ef;
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(9, 17, 31, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  color: var(--ink);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(150px, 15vw, 190px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(9, 17, 31, 0.72);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  position: relative;
}

.site-nav > a::after,
.nav-dropdown-toggle::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-dropdown {
  position: relative;
  padding: 18px 0;
  margin: -18px 0;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-toggle::before {
  order: 2;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  min-width: 252px;
  padding: 10px;
  border: 1px solid rgba(9, 17, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(9, 17, 31, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 18px;
  content: "";
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: var(--brand-red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9, 17, 31, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(9, 17, 31, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 16px 44px rgba(229, 31, 43, 0.22);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-soft {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  color: #fff;
  background: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.99) 0%, rgba(9, 17, 31, 0.88) 42%, rgba(9, 17, 31, 0.4) 76%),
    url("assets/images/hero-command-center.png") right center / cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 48vw;
  height: 48vw;
  content: "";
  background: radial-gradient(circle, rgba(200, 169, 106, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 76px 0 92px;
}

.hero-copy {
  width: min(650px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.section-head h2,
.split-copy h2,
.cta h2 {
  margin: 0;
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 8vw, 92px);
}

.gradient-text {
  background: linear-gradient(110deg, #fff, #ffb5bb 46%, var(--brand-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(680px, 100%);
  margin-top: 46px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 750;
}

.section {
  padding: 132px 0;
}

.section-tight {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 58px;
}

.section-head h2,
.split-copy h2,
.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.section-head p,
.split-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.trust-band {
  border-bottom: 1px solid var(--line);
  background: var(--champagne);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.trust-item {
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.58);
}

.trust-item strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card,
.price-card,
.process-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 70px rgba(9, 17, 31, 0.055);
}

.service-card {
  min-height: 250px;
  padding: 38px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-icon {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-red), var(--ink)),
    var(--brand-red);
  box-shadow: 0 18px 42px rgba(229, 31, 43, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-icon::before {
  position: absolute;
  inset: 8px auto auto 8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.22);
  filter: blur(4px);
}

.service-icon svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 31px !important;
  height: 31px !important;
  max-width: 31px;
  max-height: 31px;
  color: #fff;
}

.service-icon svg,
.service-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--card-b), transparent 64%);
}

.service-card:hover {
  border-color: rgba(229, 31, 43, 0.22);
  background: #fff;
  box-shadow: 0 26px 90px rgba(9, 17, 31, 0.09);
}

.service-card h3,
.price-card h3,
.process-step h3 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.1;
}

.service-card p,
.price-card p,
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-card ul,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card ul {
  display: none;
}

.service-card li,
.price-card li {
  position: relative;
  padding-left: 22px;
  color: #243044;
  font-size: 14px;
  font-weight: 700;
}

.service-card li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--brand-red);
  transform: translateY(-50%);
}

.dark-split {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(255, 90, 111, 0.18), transparent 34%),
    var(--ink);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.split-copy p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.pipeline {
  display: grid;
  gap: 14px;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.pipeline-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 850;
}

.pipeline-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.pipeline-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, #ffb5bb, var(--brand-red));
}

.pipeline-row strong {
  color: #fff;
}

.process-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 28px;
}

.step-num {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-red);
  font-weight: 950;
}

.pricing {
  background: #fff;
}

.price-card {
  padding: 30px;
}

.price-card.featured {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(229, 31, 43, 0.24), transparent 44%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.08), transparent 36%),
    var(--ink-2);
  box-shadow: var(--shadow);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.74);
}

.price {
  display: block;
  margin: 22px 0 20px;
  font-size: 36px;
  font-weight: 950;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 14px;
}

.featured .price small {
  color: rgba(255, 255, 255, 0.58);
}

.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 17, 31, 0.96), rgba(229, 31, 43, 0.78)),
    var(--ink);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 44px;
}

.cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 28px;
  background: rgba(9, 17, 31, 0.22);
  backdrop-filter: blur(14px);
}

.contact-card a,
.contact-card span {
  display: block;
  color: #fff;
  font-weight: 850;
}

.contact-card span + a,
.contact-card a + span {
  margin-top: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
  padding: 58px 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13px;
}

.page-main,
.post-main {
  min-height: 70vh;
  padding: 120px 0;
  background: #fff;
}

.content-box {
  max-width: 760px;
}

.content-box h1 {
  margin-top: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.industry-page {
  background: #f7f5ef;
}

.industry-hero {
  padding: 118px 0 92px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 17, 31, 0.97), rgba(9, 17, 31, 0.82) 58%, rgba(229, 31, 43, 0.42)),
    var(--ink);
}

.industry-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 70px;
}

.industry-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 950;
  line-height: 0.98;
}

.industry-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.8vw, 20px);
}

.industry-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.industry-panel span,
.industry-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-panel span {
  color: rgba(255, 255, 255, 0.58);
}

.industry-panel strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
}

.industry-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.industry-strip {
  padding-top: 70px;
  padding-bottom: 70px;
}

.industry-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(9, 17, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.industry-stat {
  padding: 32px;
  border-right: 1px solid rgba(9, 17, 31, 0.08);
}

.industry-stat:last-child {
  border-right: 0;
}

.industry-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.industry-service-card {
  min-height: 230px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 18px;
    background: rgba(9, 17, 31, 0.96);
    color: rgba(255, 255, 255, 0.82);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 10px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown-menu a {
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-dropdown-menu a:hover {
    color: #fff;
  }

  .site-nav .btn {
    width: 100%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 17, 31, 0.99) 0%, rgba(9, 17, 31, 0.88) 58%, rgba(9, 17, 31, 0.58) 100%),
      url("assets/images/hero-command-center.png") center bottom / cover no-repeat;
  }

  .section-head,
  .split-grid,
  .cta-grid,
  .industry-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .service-grid,
  .process-grid,
  .pricing-grid,
  .industry-stat-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .site-header .btn-primary {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    padding: 72px 0 84px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .metric-strip,
  .service-grid,
  .process-grid,
  .pricing-grid,
  .industry-stat-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .industry-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(9, 17, 31, 0.08);
  }

  .industry-stat:last-child {
    border-bottom: 0;
  }

  .pipeline-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
