/*
Theme Name: SalesPilot AI
Theme URI: https://salespilot.ai
Author: Antigravity
Author URI: https://salespilot.ai
Description: Custom WordPress theme for SalesPilot AI CRM platform.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salespilot
*/
/* ============================================================
   SalesPilot AI — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:          #0A2540;
  --navy-800:      #0d2e4d;
  --navy-700:      #123a60;
  --navy-600:      #1a4a78;
  --green:         #25D366;
  --green-dark:    #1EB855;
  --green-light:   #34E278;
  --white:         #FFFFFF;
  --bg:            #F8FAFC;
  --bg-alt:        #EFF4F9;
  --text:          #1A2E44;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --border:        #E2E8F0;
  --border-light:  #F1F5F9;

  --grad-green:    linear-gradient(135deg, #25D366 0%, #1EB855 100%);
  --grad-navy:     linear-gradient(135deg, #0A2540 0%, #123a60 100%);
  --grad-hero:     linear-gradient(160deg, #0A2540 0%, #0c3158 55%, #0d3f6e 100%);
  --grad-cta:      linear-gradient(135deg, #25D366 0%, #1aaa52 60%, #0e7040 100%);
  --grad-accent:   linear-gradient(135deg, #25D366, #0A2540);
  --grad-icon:     linear-gradient(135deg, rgba(37,211,102,.14) 0%, rgba(10,37,64,.10) 100%);
  --grad-icon-hover: linear-gradient(135deg, #25D366 0%, #1aaa52 100%);

  --shadow-sm:     0 1px 3px rgba(10,37,64,.08), 0 1px 2px rgba(10,37,64,.04);
  --shadow-md:     0 4px 16px rgba(10,37,64,.10), 0 2px 6px rgba(10,37,64,.06);
  --shadow-lg:     0 10px 40px rgba(10,37,64,.14), 0 4px 16px rgba(10,37,64,.08);
  --shadow-xl:     0 20px 60px rgba(10,37,64,.18), 0 8px 24px rgba(10,37,64,.10);
  --shadow-green:  0 8px 32px rgba(37,211,102,.25);
  --shadow-card:   0 2px 20px rgba(10,37,64,.08);

  --radius-sm:     8px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --transition:    all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .4s cubic-bezier(.4,0,.2,1);

  --font:          'Inter', 'Manrope', system-ui, sans-serif;
  --font-heading:  'Manrope', 'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(10,37,64,.06));
  border: 1px solid rgba(37,211,102,.25);
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -.03em;
}

.section-subheading {
  font-size: clamp(.92rem, 2vw, 1.05rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 580px;
  line-height: 1.8;
  margin-top: 14px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn-secondary-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10,37,64,.08), var(--shadow-sm);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
}

#navbar:not(.scrolled) .nav-logo-text {
  -webkit-text-fill-color: var(--white);
  background: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

#navbar.scrolled .nav-links a {
  color: var(--text-muted);
}

#navbar.scrolled .nav-links a:hover {
  color: var(--navy);
  background: var(--bg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .nav-hamburger span {
  background: var(--navy);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,37,64,.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}

.mobile-nav a:hover {
  background: rgba(37,211,102,.15);
  color: var(--green);
}

.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,.2);
}

/* ── Hero Section ───────────────────────────────────────── */
#hero {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
}

/* Gradient fade bridge from hero navy into white stats bar */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,37,64,.18) 50%, rgba(248,250,252,.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  padding-bottom: 100px;
}

/* Gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: blob-float 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(9,132,227,.2) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  animation: blob-float 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,211,102,.12) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: blob-float 12s ease-in-out infinite;
}

@keyframes blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(.95); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.3);
  color: #7FFBAD;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fade-in-up .6s ease both;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -.04em;
  margin-bottom: 22px;
  animation: fade-in-up .6s .1s ease both;
}

.hero-heading .accent {
  background: linear-gradient(125deg, #25D366 0%, #7FFBAD 60%, #25D366 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-subheading {
  font-size: clamp(.98rem, 2vw, 1.12rem);
  color: rgba(255,255,255,.68);
  font-weight: 400;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fade-in-up .6s .2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fade-in-up .6s .3s ease both;
}

.hero-trust {
  animation: fade-in-up .6s .4s ease both;
}

.hero-trust-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-trust-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}

.trust-logo:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}

.trust-logo-icon {
  display: none;
}

/* Hero visual */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-up .6s .3s ease both;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.hero-card-main {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05);
  animation: float-card 6s ease-in-out infinite;
}

.hero-card-main img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

@keyframes float-card {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(.3deg); }
}

.hero-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  white-space: nowrap;
  z-index: 3;
  animation: badge-pulse 3s ease-in-out infinite;
}

.hero-badge-float .badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

.hero-badge-float.badge-green { bottom: -24px; left: -24px; }
.hero-badge-float.badge-blue { top: 40px; right: -24px; }

.badge-dot-green { background: #DCFCE7; color: #16A34A; }
.badge-dot-blue { background: #DBEAFE; color: #1D4ED8; }

@keyframes badge-pulse {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-badge-float.badge-blue { animation-delay: 1.5s; }

/* ── Stats Bar ──────────────────────────────────────────── */
#stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  position: relative;
  z-index: 2;
}

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

.stat-item {
  text-align: center;
  padding: 16px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #25D366, #0A2540);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .01em;
}

/* ── Features Section ───────────────────────────────────── */
#features {
  padding: 96px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#features::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.features-header .section-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  text-wrap: balance;
}

.features-header .section-subheading {
  margin: 12px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(37,211,102,.04) 0%, rgba(10,37,64,.025) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: inherit;
}

.feature-card:hover {
  border-color: rgba(37,211,102,.45);
  box-shadow: 0 12px 40px rgba(10,37,64,.12), 0 0 0 1px rgba(37,211,102,.08);
  transform: translateY(-5px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-icon);
  border: 1px solid rgba(37,211,102,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.6;
  fill: none;
  transition: stroke .3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--grad-icon-hover);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
  transform: scale(1.08);
}

.feature-card:hover .feature-icon svg {
  stroke: var(--white);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  letter-spacing: -.015em;
}

.feature-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ── How It Works ───────────────────────────────────────── */
#how-it-works {
  padding: 96px 0;
  background: var(--white);
}

.hiw-header {
  text-align: center;
  margin-bottom: 72px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 32px;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--navy-600));
  z-index: 0;
}

.hiw-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hiw-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-green);
  transition: var(--transition);
  position: relative;
}

.hiw-step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.3);
}

.hiw-step:hover .hiw-step-number {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 16px 40px rgba(37,211,102,.35);
}

.hiw-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.hiw-step-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Dashboard Preview ──────────────────────────────────── */
#dashboard {
  padding: 96px 0;
  background: var(--bg);
  overflow: hidden;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 60px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition-slow);
}

.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
}

.dc-dots {
  display: flex;
  gap: 6px;
}

.dc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dc-dot-red { background: #FF5F57; }
.dc-dot-yellow { background: #FFBD2E; }
.dc-dot-green { background: #28CA41; }

.dc-title {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-left: 4px;
}

.dashboard-card img {
  width: 100%;
  display: block;
}

/* Floating badges */
.db-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  z-index: 4;
  white-space: nowrap;
}

.db-badge-check {
  color: #16A34A;
  background: #DCFCE7;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: .7rem;
}

.db-badge-plus {
  color: #1D4ED8;
  background: #DBEAFE;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: .7rem;
}

.db-badge-1 {
  top: -14px;
  right: -14px;
  animation: badge-pulse 3s ease-in-out infinite;
}

.db-badge-2 {
  bottom: -14px;
  left: -14px;
  animation: badge-pulse 3s 1.5s ease-in-out infinite;
}

/* ── Why Choose ─────────────────────────────────────────── */
#why-us {
  padding: 96px 0;
  background: var(--white);
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), #0A2540);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-radius: 0 0 0 0;
}

.why-card:hover {
  background: var(--white);
  box-shadow: 0 12px 40px rgba(10,37,64,.12), 0 0 0 1px rgba(37,211,102,.08);
  transform: translateY(-5px);
  border-color: rgba(37,211,102,.4);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-icon);
  border: 1px solid rgba(37,211,102,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.6;
  fill: none;
  transition: stroke .3s ease;
}

.why-card:hover .why-icon {
  background: var(--grad-icon-hover);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
  transform: scale(1.08);
}

.why-card:hover .why-icon svg {
  stroke: var(--white);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.015em;
}

.why-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ── Pricing Section ────────────────────────────────────── */
#pricing {
  padding: 96px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
  cursor: default;
}

.pricing-card:hover {
  box-shadow: 0 14px 48px rgba(10,37,64,.12), 0 0 0 1px rgba(37,211,102,.1);
  transform: translateY(-6px);
  border-color: rgba(37,211,102,.4);
}

/* Featured / Most Popular */
.pricing-card.featured {
  background: var(--navy);
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(37,211,102,.12);
  transform: translateY(-12px) scale(1.02);
}

.pricing-card.featured:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 24px 72px rgba(10,37,64,.25), 0 0 0 4px rgba(37,211,102,.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-green);
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-card.featured .pricing-plan-name {
  color: rgba(255,255,255,.7);
}

.pricing-plan-desc {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-plan-desc {
  color: rgba(255,255,255,.5);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.pricing-card.featured .pricing-currency {
  color: var(--white);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.04em;
}

.pricing-card.featured .pricing-price {
  color: var(--white);
}

.pricing-period {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card.featured .pricing-period {
  color: rgba(255,255,255,.5);
}

.pricing-custom {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.pricing-card.featured .pricing-divider {
  background: rgba(255,255,255,.1);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
}

.pricing-card.featured .pricing-feature-item {
  color: rgba(255,255,255,.85);
}

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37,211,102,.15);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.featured .pricing-check {
  background: rgba(37,211,102,.25);
  color: var(--green);
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.pricing-btn-primary {
  background: var(--grad-green);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,.4);
}

/* ── FAQ Section ────────────────────────────────────────── */
#faq {
  padding: 96px 0;
  background: var(--white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-left {}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { color: var(--green-dark); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact Section ────────────────────────────────────── */
#contact {
  padding: 96px 0;
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-left {}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37,211,102,.15), rgba(10,37,64,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,211,102,.12);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 100px;
  background: var(--grad-green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,.35);
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success.visible { display: block; }

.form-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: rgba(255,255,255,.7);
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: .1s; }
.animate-delay-2 { transition-delay: .2s; }
.animate-delay-3 { transition-delay: .3s; }
.animate-delay-4 { transition-delay: .4s; }
.animate-delay-5 { transition-delay: .5s; }

/* Counter number animation */
.count-up { display: inline-block; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-left { text-align: center; }
  .hero-subheading { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-trust-logos { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps::before { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:last-child { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hiw-steps { grid-template-columns: 1fr; }

  .db-badge-1, .db-badge-2 { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  #hero { padding-top: 90px; }
  .hero-content { padding-bottom: 80px; }
  .hero-heading { font-size: 2rem; }
  .section-heading { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ── Inner Pages ─────────────────────────────────────────── */
.inner-page {
  padding-top: 100px;
  min-height: 80vh;
}

.inner-page-hero {
  background: var(--grad-hero);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.inner-page-hero-content {
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.03em;
}

.inner-page-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
}

.inner-page-content {
  max-width: 860px;
  margin: 64px auto;
  padding: 0 24px;
}

.inner-page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}

.inner-page-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 8px;
}

.inner-page-content p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.inner-page-content ul, .inner-page-content ol {
  margin: 12px 0 20px 20px;
}

.inner-page-content li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  list-style: disc;
}

.inner-page-content a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Scroll to top btn */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 500;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(37,211,102,.4);
}

