/* C S   M A R K E T I N G   W O R L D */
/* Premium Modern Dark Design System & Layout Utilities */

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

:root {
  --bg-main: hsl(210, 25%, 98%); /* Soft premium off-white corporate backdrop */
  --bg-card: hsl(0, 0%, 100%); /* Crisp clean white */
  --bg-nav: hsla(0, 0%, 100%, 0.88); /* Transparent navbar */
  --bg-input: hsl(210, 20%, 96%); /* Very soft input gray */
  --border-color: hsla(220, 20%, 10%, 0.05); /* Extra thin premium border */
  --border-focus: hsl(224, 76%, 48%); /* Rich corporate indigo focus color */
  
  --text-main: hsl(222, 47%, 12%); /* Rich slate gray text */
  --text-muted: hsl(218, 16%, 38%); /* Clean legible charcoal gray */
  --text-dim: hsl(218, 10%, 58%); /* Soft captions slate */
  
  --primary: hsl(224, 76%, 48%); /* Premium High-End Indigo Blue Accent */
  --primary-glow: hsla(224, 76%, 48%, 0.04);
  --secondary: hsl(43, 82%, 52%); /* Elegant Polished Gold Accent */
  --secondary-glow: hsla(43, 82%, 52%, 0.04);
  
  --success: hsl(150, 80%, 25%); /* Rich jade green text */
  --error: hsl(355, 75%, 40%); /* Rich crimson text */
  --warning: hsl(38, 90%, 40%); /* Warm bronze yellow */
  
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 16px 36px -12px rgba(8, 15, 36, 0.05); /* Extremely soft corporate shadow */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Background glowing blobs */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ── Standard page container (header, footer, hero, CTA, subpages) ── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Full-bleed container for coloured showcase / stats sections ── */
/* The outer <section> stretches 100% wide (background bleeds edge-to-edge).
   The inner .container-fluid gives content breathing room. */
.container-fluid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px; /* horizontal breathing room for content */
}

/* The coloured sections themselves carry NO extra outer padding —
   vertical rhythm is controlled by the content inside them. */
.section.section-alt .container-fluid,
.stats-bar .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.fluid-main {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

/* Form Shell Card */
.form-shell {
  max-width: 480px;
  width: 100%;
  margin: 60px auto;
  padding: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.form-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.form-header {
  margin-bottom: 32px;
  text-align: center;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

/* Form Controls */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px hsla(217, 100%, 60%, 0.25);
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.form-select:focus {
  border-color: var(--border-focus);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: var(--text-muted);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(217, 100%, 50%) 100%);
  color: #fff;
  box-shadow: 0 4px 20px -2px hsla(217, 100%, 60%, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px 0 hsla(217, 100%, 60%, 0.5);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: hsl(222, 47%, 12%);
  border-color: var(--secondary);
}

/* Alerts */
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: hsl(142, 70%, 95%);
  border-color: hsl(142, 70%, 85%);
  color: hsl(142, 80%, 22%); /* High-contrast readable dark green */
}

.alert-danger {
  background-color: hsl(355, 75%, 96%);
  border-color: hsl(355, 75%, 88%);
  color: hsl(355, 75%, 25%); /* High-contrast readable dark crimson */
}

/* Links & Help text */
.form-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

.form-footer-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.form-footer-text a:hover {
  text-decoration: underline;
  color: var(--text-main);
}

/* OTP Verification Digit Boxes */
#otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}

.otp-digit {
  width: 52px;
  height: 64px;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  border: 2px solid rgba(110, 68, 255, 0.3);
  border-radius: 10px;
  background: rgba(110, 68, 255, 0.05);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: monospace;
}

@media (max-width: 480px) {
  #otp-boxes {
    gap: 6px !important;
  }
  .otp-digit {
    width: 40px !important;
    height: 52px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 360px) {
  #otp-boxes {
    gap: 4px !important;
  }
  .otp-digit {
    width: 32px !important;
    height: 44px !important;
    font-size: 18px !important;
    border-radius: 6px !important;
  }
}

/* Email Simulation overlay (Local testing benefit) */
.email-sim-overlay {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  width: calc(100% - 48px);
  background-color: hsl(218, 60%, 10%);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
  z-index: 1000;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.email-sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.email-sim-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.email-sim-close {
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
}

.email-sim-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.email-sim-body strong {
  color: var(--text-main);
  background-color: hsla(43, 90%, 55%, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════
   HOMEPAGE — HERO SECTION
════════════════════════════════════════════════ */
.home-hero {
  background: linear-gradient(135deg, hsl(222, 60%, 7%) 0%, hsl(224, 70%, 4%) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.04);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, hsl(330, 85%, 60%), hsl(272, 85%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #ffffff;
}

.with-wrapper {
  position: relative;
  display: inline-block;
  transform: rotate(-6deg) translateY(-2px);
  margin: 0 16px 0 6px;
}

.with-text {
  font-family: 'Satisfy', cursive;
  color: var(--secondary);
  font-size: 1.05em;
  display: inline-block;
  font-weight: normal;
  text-transform: lowercase !important;
}

.swoosh-svg {
  position: absolute;
  left: -10%;
  bottom: -9px;
  width: 120%;
  height: 14px;
  z-index: 1;
  pointer-events: none;
}

.hero-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 580px;
}

.text-inspire { color: hsl(272, 85%, 65%); font-weight: 700; }
.text-engage { color: hsl(330, 85%, 60%); font-weight: 700; }
.text-results { color: hsl(43, 90%, 55%); font-weight: 700; }

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  width: 100%;
}

@media (max-width: 991px) {
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.icon-pink { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.25); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }
.icon-blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.25); }
.icon-gold { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }

.feat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.feat-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.feat-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

.hero-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

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

.btn-magic {
  background: linear-gradient(135deg, hsl(330, 85%, 52%) 0%, hsl(272, 85%, 52%) 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 20px -2px hsla(300, 85%, 55%, 0.45);
  border-radius: 100px !important;
  font-size: 13.5px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 15px 36px !important;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-magic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px 0 hsla(300, 85%, 55%, 0.55);
}

.dotted-arrow-svg {
  position: absolute;
  left: 310px;
  top: 25px;
  width: 450px;
  height: 120px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.6;
}

/* Background glowing blobs */
.hero-glow-blob-1 {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-blob-2 {
  position: absolute;
  bottom: -10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  z-index: 2;
  padding-bottom: 24px;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: floatHeroImage 6s ease-in-out infinite;
}

.hero-img:hover {
  transform: translateY(-5px) scale(1.01);
}

/* Redesigned What We Do Section */
.wwd-container-redesign {
  margin-top: 64px;
  position: relative;
  z-index: 5;
}

.wwd-heading-redesign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.wwd-heading-redesign span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  white-space: nowrap;
}

.wwd-line-redesign {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent);
}

.wwd-grid-redesign {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.wwd-card-redesign {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.wwd-card-redesign:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(224, 150, 20, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(224, 150, 20, 0.12);
}

.wwd-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  box-shadow: 0 8px 24px -4px currentColor;
}

.wwd-card-redesign:hover .wwd-icon-wrap {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.25); }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }

.wwd-card-redesign span {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  letter-spacing: 0.2px;
  transition: var(--transition);
}

.wwd-card-redesign:hover span {
  color: #ffffff;
}

/* Responsiveness */
@media (max-width: 1200px) {
  .wwd-grid-redesign {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .wwd-heading-redesign {
    justify-content: center;
  }
  .wwd-line-redesign {
    display: none;
  }
  .wwd-grid-redesign {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wwd-grid-redesign {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wwd-card-redesign {
    padding: 16px;
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
}

@keyframes floatHeroImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════ */
.stats-bar {
  padding: 40px 0;
  border-top: 2px solid hsla(43, 82%, 52%, 0.25);
  border-bottom: 2px solid hsla(43, 82%, 52%, 0.25);
  background: linear-gradient(135deg, hsl(222, 47%, 10%) 0%, hsl(224, 60%, 14%) 100%);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 12px 32px;
  flex: 1;
  min-width: 120px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, hsl(217,100%,70%), hsl(43,90%,65%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: hsla(0,0%,100%,0.6);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: hsla(255,255%,255%,0.08);
  flex-shrink: 0;
  align-self: center;
}

/* ════════════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
}

.section-alt {
  padding: 96px 0;
  background: linear-gradient(135deg, hsl(218, 30%, 96%) 0%, hsl(210, 25%, 98%) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: hsla(217,100%,60%,0.1);
  color: var(--primary);
  border: 1px solid hsla(217,100%,60%,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   PROVIDER CARDS
════════════════════════════════════════════════ */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.provider-card:hover {
  transform: translateY(-6px);
  border-color: hsla(217,100%,60%,0.35);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.08);
}

.featured-card {
  border-color: hsla(43,90%,55%,0.35);
  background: linear-gradient(160deg, hsla(43,90%,55%,0.06) 0%, var(--bg-card) 60%);
}

.featured-ribbon {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--secondary), hsl(43,90%,45%));
  color: hsl(218,60%,10%);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px 6px;
  border-radius: 0 0 10px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.provider-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.provider-icon { font-size: 26px; }

.provider-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.provider-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.provider-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}

.provider-perks li {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.provider-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.provider-cta:hover { opacity: 0.75; }

/* ════════════════════════════════════════════════
   HOW IT WORKS — STEPS
════════════════════════════════════════════════ */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: hsla(217,100%,60%,0.3);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  flex-shrink: 0;
  opacity: 0.4;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: 8px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   FEATURES GRID
════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.feature-item {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: var(--transition);
}

.feature-item:hover {
  background: hsla(217,100%,60%,0.05);
}

.feature-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, hsla(217,100%,60%,0.08) 0%, hsla(43,90%,55%,0.06) 100%);
  border: 1px solid hsla(217,100%,60%,0.2);
  border-radius: 28px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, hsla(217,100%,60%,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 16px 0;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════
   DASHBOARD LAYOUT (kept from original)
════════════════════════════════════════════════ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin: 40px 0;
}

.sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}

.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.sidebar-menu { list-style: none; }

.sidebar-item { margin-bottom: 8px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
  background-color: hsla(217, 100%, 60%, 0.1);
  color: var(--primary);
}

.main-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ════════════════════════════════════════════════
   MOBILE NAV TOGGLE
════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .container {
    padding: 0 36px;
  }
  .container-fluid {
    padding: 0 36px;
  }
}

@media (max-width: 1024px) {
  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container,
  .container-fluid {
    padding: 0 24px !important;
  }
  .nav-toggle { display: flex !important; }

  .nav-links {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    gap: 4px !important;
    z-index: 99;
  }

  .nav-links.nav-open { display: flex !important; }

  .nav-links li { width: 100%; }

  .nav-links .nav-link,
  .nav-links .btn {
    width: 100% !important;
    display: block;
    padding: 12px 0 !important;
    font-size: 15px !important;
    text-align: left;
  }

  .nav-links .nav-link {
    color: var(--text-main) !important;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: var(--primary) !important;
  }

  .nav-links .btn-primary {
    background: none !important;
    box-shadow: none !important;
    color: var(--text-main) !important;
    padding: 12px 0 !important;
    border: none !important;
    font-weight: 500 !important;
  }

  .nav-links .btn-primary i {
    display: inline-block !important;
    margin-right: 8px !important;
    color: inherit !important;
  }

  .nav-wrapper .btn-primary {
    background: none !important;
    box-shadow: none !important;
  }

  .nav-links .btn-primary:hover {
    color: var(--primary) !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
  }


  header { overflow: visible; }

  /* Hero */
  .home-hero {
    padding: 50px 0 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-visual {
    display: none !important;
  }

  .home-hero .hero-badge {
    display: inline-flex !important;
  }

  .hero-title {
    font-size: 34px !important;
    letter-spacing: -1.5px;
    line-height: 1.2 !important;
  }

  .hero-desc {
    font-size: 14.5px;
    margin: 0 auto 24px;
    max-width: 100%;
  }

  .hero-actions-wrapper { justify-content: center; }
  .hero-actions { justify-content: center; }

  .hero-features-grid {
    margin: 0 auto 24px;
  }

  .feat-text {
    text-align: left;
  }

  .dotted-arrow-svg {
    display: none;
  }

  /* Stats */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 24px 16px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-divider {
    display: none;
  }

  /* Showcase sections — keep vertical padding on mobile */
  .showcase-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* Other sections */
  .section, .section-alt {
    padding: 64px 0 !important;
  }
  .section-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  /* Provider grid */
  .provider-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { flex-direction: column; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary), var(--secondary)); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-title { font-size: 32px; }
  .cta-box { padding: 56px 24px; }

  /* Dashboard */
  .dashboard-grid { grid-template-columns: 1fr; }
  .main-content { padding: 24px 16px; }

  /* Form */
  .form-shell { margin: 32px auto; padding: 28px 20px; width: 100%; max-width: 480px; box-sizing: border-box; }

  /* Footer */
  footer .container {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 16px !important;
  }
  footer .container div {
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .provider-grid { grid-template-columns: 1fr; }
  
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-title { font-size: 30px; }

  .hero-visual {
    height: auto !important;
  }
}

@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding: 0 16px !important;
  }
  .logo {
    font-size: 18px !important;
  }
  .logo img {
    height: 30px !important;
  }
  #top-sponsored-ad img {
    min-height: 60px !important;
    object-fit: cover !important;
  }
  #homepage-priority-ad img {
    min-height: 120px !important;
    object-fit: cover !important;
  }
  .step-card {
    padding: 24px 16px !important;
  }
  .hero-badge {
    padding: 6px 14px !important;
    font-size: 10.5px !important;
    margin-bottom: 18px !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: auto !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-actions .btn-magic {
    padding: 16px 20px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
  }
  .hero-actions .btn-hero-login {
    display: inline-flex !important;
    padding: 15px 20px !important;
    font-size: 13.5px !important;
    border-radius: 12px !important;
    border: 2px solid var(--secondary) !important;
    background-color: transparent !important;
    color: var(--secondary) !important;
    font-weight: 700 !important;
  }
  .hero-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 32px !important;
  }
  .hero-feature-item {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    transition: var(--transition) !important;
  }
  .hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px) !important;
  }
  .feat-icon {
    width: 46px !important;
    height: 46px !important;
    font-size: 16px !important;
  }
  .feat-text {
    text-align: left !important;
  }
  .feat-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
  }
  .feat-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.55) !important;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item {
    padding: 20px 12px;
  }
  .section-title {
    font-size: 24px !important;
    letter-spacing: -0.5px;
  }
  .home-hero {
    padding: 96px 0 32px !important;
  }
  .hero-title {
    font-size: 36px !important;
    letter-spacing: -1.5px !important;
    line-height: 1.2 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-top: 16px !important;
    margin-bottom: 24px !important;
  }
  .hero-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .with-wrapper {
    margin: 0 10px 0 4px !important;
    transform: rotate(-4deg) translateY(-1px) !important;
  }
  .with-text {
    font-size: 0.95em !important;
  }
  .swoosh-svg {
    bottom: -6px !important;
    height: 10px !important;
  }
  .showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .provider-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Redesigned Login Page split layout (Desktop Split / Mobile Stacked)
   ========================================================================== */

.login-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* 57% left, 43% right on desktop */
  min-height: calc(100vh - 73px - 100px); /* Fill space between navbar and footer */
  background: linear-gradient(135deg, hsl(222, 60%, 7%) 0%, hsl(224, 70%, 4%) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Background decorative glowing blobs (scoped to login page) */
.login-split-container::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(110, 68, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.login-split-container::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Left Side: Hero content container */
.login-hero-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  position: relative;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.login-hero-content {
  max-width: 580px;
  width: 100%;
}

.login-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.login-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.login-hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: loginFloatHero 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes loginFloatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Right Side: Login form container */
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  z-index: 2;
}

/* Scoped Overrides for .form-shell inside login page */
.login-form-side .form-shell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  margin: 0; /* Override default margin auto */
  color: #ffffff;
}

.login-form-side .form-shell::before {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  height: 5px;
}

.login-form-side .form-title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.login-form-side .form-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Scoped Form Fields inside Login Page */
.login-form-side .form-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
}

.login-form-side .forgot-link {
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.login-form-side .forgot-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.login-form-side .form-input {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  transition: var(--transition);
}

.login-form-side .form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.login-form-side .form-input:focus {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.15);
}

/* Password eye toggle button inside login page */
.login-form-side #togglePwd {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.login-form-side #togglePwd:hover {
  color: #ffffff;
}

/* Redesigned 2FA notice */
.login-form-side .login-2fa-notice {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.login-form-side .login-2fa-icon {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 15px;
}

.login-form-side .login-2fa-text {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.login-form-side .form-footer-text {
  color: rgba(255, 255, 255, 0.55);
}

.login-form-side .form-footer-text a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.login-form-side .form-footer-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.login-form-side .btn-primary {
  height: 48px;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
  border: none;
  color: hsl(224, 70%, 4%);
  transition: var(--transition);
}

.login-form-side .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.3);
  background: linear-gradient(135deg, #f59e0b 0%, var(--secondary) 100%);
  color: hsl(224, 70%, 4%);
}

.login-form-side .btn-primary:active {
  transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .login-split-container {
    grid-template-columns: 1fr 1fr;
  }
  .login-hero-side {
    padding: 40px 48px;
  }
  .login-hero-title {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  /* ── Mobile Login: image banner on top, simple form below ── */
  .login-split-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  /* Hero → compact image-only banner */
  .login-hero-side {
    border-right: none;
    border-bottom: none;
    padding: 0;
    text-align: center;
  }

  /* Hide all text in the hero — show only the image */
  .hero-badge,
  .login-hero-title,
  .login-hero-desc {
    display: none !important;
  }

  .login-hero-content {
    max-width: 100%;
    padding: 0;
  }

  .login-hero-image-wrapper {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
  }

  .login-hero-img {
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    animation: none; /* No float on mobile */
  }

  /* Form area — flat, no heavy glass card */
  .login-form-side {
    padding: 28px 20px 72px;
  }

  .login-form-side .form-shell {
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }

  /* Remove the top gradient bar on mobile */
  .login-form-side .form-shell::before {
    display: none;
  }

  .login-form-side .form-title {
    font-size: 24px;
    margin-bottom: 4px;
  }

  .login-form-side .form-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  /* Hide 2FA notice on mobile to keep form minimal */
  .login-form-side .login-2fa-notice {
    display: none !important;
  }

  /* Tighten spacing between fields */
  .login-form-side .form-group {
    margin-bottom: 16px;
  }
}

.btn-hero-login {
  background-color: transparent;
  border: 2.5px solid var(--secondary);
  color: var(--secondary) !important;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.1);
  transition: var(--transition);
  padding: 14px 28px !important;
  font-size: 13.5px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px !important;
  width: auto !important;
  display: none !important; /* Hidden on desktop */
  align-items: center;
  justify-content: center;
}

.btn-hero-login:hover {
  background-color: var(--secondary);
  color: #0b1120 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35);
}

.btn-text-desktop {
  display: inline !important;
}

.btn-text-mobile {
  display: none !important;
}

@media (max-width: 992px) {
  .btn-text-desktop {
    display: none !important;
  }
  .btn-text-mobile {
    display: inline !important;
  }
}

/* Navbar Get Started Button Gradient Override */
.nav-wrapper .btn-primary {
  background: linear-gradient(135deg, hsl(330, 85%, 52%) 0%, hsl(272, 85%, 52%) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px -2px hsla(300, 85%, 55%, 0.35) !important;
  border-radius: 100px !important;
  border: none !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}

.nav-wrapper .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px 0 hsla(300, 85%, 55%, 0.5) !important;
  opacity: 0.95;
}

.nav-wrapper .btn-primary:active {
  transform: translateY(0) !important;
}

/* ==========================================================================
   Mobile App-Style Bottom Navigation Bar & Webview Optimizations
   ========================================================================== */
.mobile-bottom-nav {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  /* Disable tap highlight box on mobile webviews */
  * {
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Prevent text highlighting on bottom nav items, badges, and buttons for native app feel */
  .mobile-bottom-nav,
  .btn,
  .hero-feature-item,
  .subcat-pill {
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  /* App Bottom Nav Bar container styling */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(11, 17, 32, 0.96); /* Very dark navy translucent background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1.5px solid rgba(255, 255, 255, 0.08);
    justify-content: space-around;
    align-items: center;
    z-index: 99999;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* Notch safe area spacing */
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6);
  }

  /* Tab item inside Bottom Nav Bar */
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 4px;
    width: 25%;
    height: 100%;
  }

  /* Font Awesome Icon styles inside Bottom Nav */
  .mobile-nav-item i {
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  /* Micro-animation when tapping tabs */
  .mobile-nav-item:active i {
    transform: scale(0.85);
  }

  /* Active class styling (Secondary gold brand color) */
  .mobile-nav-item.active {
    color: var(--secondary) !important; /* Premium golden branding active highlight */
  }

  .mobile-nav-item.active i {
    color: var(--secondary) !important;
  }

  /* Global Body padding-bottom adjustment to prevent layout overlap with bottom bar */
  body {
    padding-bottom: 78px !important;
  }

  /* Unlock vertical scrolling and prevent horizontal scroll glitches in webview */
  html {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    position: relative;
  }

  /* Hide traditional web footer on mobile screens */
  footer {
    display: none !important;
  }
}


/* ==========================================================================
   WEBVIEW APP OPTIMIZATIONS — Android/iOS WebView Native Feel
   ========================================================================== */

/* Prevent rubber-band overscroll bounce in WebView without locking scroll */
html, body {
  overscroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

/* Faster tap response — disable 300ms tap delay on all interactive elements */
a, button, input, select, textarea, label, .btn, .nav-link, .mobile-nav-item,
.sidebar-link, .menu-row, .provider-card, .step-card, .feature-item {
  touch-action: manipulation;
}

/* Prevent long-press context menu on images in WebView */
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Allow text selection in form inputs */
input, textarea {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* ==========================================================================
   PROFILE PAGE — Mobile Responsive (≤576px)
   ========================================================================== */
@media (max-width: 576px) {
  .profile-container-wrap {
    margin: 16px auto !important;
    padding: 0 !important;
  }
  .olx-hero-showcase {
    border-radius: 0 !important;
    margin-bottom: 16px !important;
    border-left: none !important;
    border-right: none !important;
  }
  .olx-hero-image-wrap {
    border-radius: 0 !important;
    aspect-ratio: 2.5 / 1 !important;
  }
  .olx-hero-logo {
    width: 80px !important;
    height: 80px !important;
  }
  .olx-hero-info-bar {
    padding: 0 12px !important;
    margin-top: -40px !important;
    gap: 10px !important;
  }
  .olx-card {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  .category-pill-tag {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}

/* ==========================================================================
   CHECKOUT PAGE — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .checkout-plans-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .checkout-plan-card {
    padding: 20px !important;
  }
}

/* ==========================================================================
   INVOICE PAGE — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .invoice-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .invoice-table-wrap table {
    min-width: 500px;
  }
}

/* ==========================================================================
   ADMIN PANEL — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .admin-tabs-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .admin-tabs-container::-webkit-scrollbar {
    display: none;
  }
  .admin-table-wrap,
  .main-content {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table {
    min-width: 600px;
  }
  .admin-table th,
  .admin-table td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .admin-page-title {
    font-size: 24px !important;
  }
}

@media (max-width: 576px) {
  .admin-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ANALYTICS PAGE — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .analytics-chart-container {
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .analytics-chart-container canvas {
    min-width: 300px;
  }
}

/* ==========================================================================
   BILLING PAGE — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .billing-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .billing-table-wrap table {
    min-width: 500px;
  }
}

/* ==========================================================================
   PROFILE-SETUP PAGE — Mobile Responsive
   ========================================================================== */
@media (max-width: 576px) {
  .profile-setup-form {
    padding: 16px !important;
  }
  .profile-setup-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .social-links-grid {
    grid-template-columns: 1fr !important;
  }
  .portfolio-upload-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   GLOBAL MOBILE ENHANCEMENTS (≤576px)
   ========================================================================== */
@media (max-width: 576px) {
  .form-shell {
    margin: 16px auto !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .section, .section-alt {
    padding: 48px 0 !important;
  }
  .email-sim-overlay {
    width: calc(100% - 24px) !important;
    max-width: 320px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 80px !important;
    font-size: 12px !important;
  }
  .alert {
    font-size: 13px !important;
    padding: 12px !important;
  }
}

/* ==========================================================================
   SAFE AREA — Bottom Nav Clearance for Fixed Elements
   ========================================================================== */
@media (max-width: 768px) {
  .container,
  .fluid-main,
  .mobile-dash-shell,
  .profile-container-wrap {
    padding-bottom: 16px;
  }
  .chat-input-form-wrapper {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .search-map-container {
    margin-bottom: 16px;
  }

  /* Redesign index page components for mobile web app layout */
  .home-hero .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;
  }

  .home-hero .hero-content {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    order: 1 !important;
  }

  /* Force badge wrapper to sit at the very top */
  .home-hero .hero-badge {
    order: 0 !important;
    align-self: center !important;
    margin-bottom: 12px !important;
  }

  /* Force buttons wrapper to sit right under description */
  .home-hero .hero-desc {
    order: 1 !important;
    margin-bottom: 16px !important;
  }

  .home-hero .hero-actions-wrapper {
    order: 2 !important;
    margin-top: 16px !important;
    margin-bottom: 32px !important;
  }

  /* Force features grid to sit below actions */
  .home-hero .hero-features-grid {
    order: 3 !important;
    margin-top: 16px !important;
  }

  /* Display hero image specifically on mobile */
  .home-hero .hero-visual {
    display: flex !important;
    order: 2 !important;
    width: 100% !important;
    margin-top: 32px !important;
    margin-bottom: 32px !important;
    justify-content: center !important;
  }

  .home-hero .hero-visual .hero-img {
    display: block !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
  }

  /* Force What We Do section to display after the image */
  .home-hero .wwd-container-redesign {
    order: 3 !important;
    margin-top: 24px !important;
    width: 100% !important;
  }

  /* Format What We Do items list into a 2-column grid for mobile screens */
  .home-hero .wwd-grid-redesign {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .home-hero .wwd-card-redesign {
    padding: 12px 10px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
    border-radius: 12px !important;
  }

  .home-hero .wwd-card-redesign:hover {
    box-shadow: none !important;
    transform: none !important;
  }

  .home-hero .wwd-card-redesign .wwd-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .home-hero .wwd-card-redesign .wwd-icon-wrap i {
    font-size: 12px !important;
  }

  .home-hero .wwd-card-redesign span {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  }

  /* Professional full-width card button layout styling rules on mobile/tablet devices */
  .showcase-card .sc-btn-row {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .showcase-card .sc-btn {
    width: 100% !important;
    padding: 10px 0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .showcase-card .sc-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .showcase-card .sc-price-label {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
  }

  .showcase-card .sc-price-value {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--success) !important;
  }
}
