/* ============================================================
   Ready1Go CRM — style.css
   ============================================================ */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800&display=swap');

/* 2. CSS Custom Properties */
:root {
  /* Backgrounds */
  --bg-base:     #050d1f;
  --bg-surface:  #0a1628;
  --bg-card:     #0f1e35;
  --bg-elevated: #162033;
  --bg-footer:   #030810;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0066ff 0%, #00c8ff 100%);
  --grad-hero:    linear-gradient(135deg, #0066ff 0%, #7c3aed 50%, #00c8ff 100%);
  --grad-purple:  linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  --grad-orange:  linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);

  /* Glass */
  --glass-bg:        rgba(255, 255, 255, 0.04);
  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.13);

  /* Accents */
  --accent-blue:   #0066ff;
  --accent-cyan:   #00c8ff;
  --accent-purple: #7c3aed;
  --accent-orange: #ff6a00;
  --accent-green:  #00d68f;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Typography */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:        0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow-blue:   0 0 40px rgba(0, 102, 255, 0.28);
  --shadow-glow-cyan:   0 0 40px rgba(0, 200, 255, 0.2);
  --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.28);
  --shadow-nav:         0 1px 0 rgba(255, 255, 255, 0.06);

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:      180ms;
  --dur-base:      320ms;
  --dur-slow:      560ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* 4. Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: var(--grad-hero);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 5s linear infinite;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.2rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 5. Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 106, 0, 0.5);
}
.btn--blue {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}
.btn--blue:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-highlight);
}
.btn--ghost:hover {
  background: var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }
.btn--lg   { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--sm   { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* 6. Keyframes */
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.65); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 200, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0); }
}
@keyframes dash-move {
  0%   { left: -8%; opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 7. Scroll Reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              padding var(--dur-base) var(--ease);
}
.navbar.scrolled {
  background: rgba(5, 13, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
  padding: 0.75rem 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.navbar__logo .logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
  flex-shrink: 0;
}
.navbar__logo strong { color: var(--accent-cyan); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
}
.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.navbar__hamburger:hover { background: var(--glass-bg); }
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
              opacity var(--dur-base) var(--ease);
  transform-origin: center;
}
.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .navbar__hamburger { display: flex; }
  .navbar__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(5, 13, 31, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease);
    gap: 0.5rem;
    font-size: 1.4rem;
    z-index: 999;
  }
  .navbar__links.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 0.8rem 1.5rem; font-size: 1.15rem; }
  .navbar__inner > .btn--cta { display: none; }
  .navbar__links .mobile-cta { display: flex; margin-top: 1.5rem; }
}
@media (min-width: 901px) {
  .navbar__links .mobile-cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,102,255,0.22), transparent 70%);
  top: -200px; left: -180px;
  animation: float 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%);
  top: 80px; right: -120px;
  animation: float 12s ease-in-out infinite;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,200,255,0.13), transparent 70%);
  bottom: -80px; left: 35%;
  animation: float 15s ease-in-out infinite;
  animation-delay: -8s;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: gradient-shift 0s; /* prevent flash */
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-ring 2.2s ease-in-out infinite;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  max-width: 860px;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.btn__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 0.6rem;
  line-height: 1;
  padding-left: 2px;
}

/* Hero floating stat cards */
.hero__stat-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 1.6rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 140px;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.stat-chip:hover {
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: var(--shadow-glow-cyan);
}
.stat-chip__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-chip__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3rem;
  border-right: 1px solid var(--glass-border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__row {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.stat-item__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--accent-cyan);
  -webkit-text-fill-color: var(--accent-cyan);
}
.stat-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: var(--space-2xl) 0;
}
.section--alt {
  background: var(--bg-surface);
}

/* ============================================================
   FOUR PILLARS
   ============================================================ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.pillar-card {
  position: relative;
  padding: 2rem 2rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-highlight);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}
.pillar-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pillar-card__accent--blue   { background: var(--grad-primary); }
.pillar-card__accent--purple { background: var(--grad-purple); }
.pillar-card__accent--orange { background: var(--grad-orange); }
.pillar-card__accent--green  { background: linear-gradient(90deg, #00d68f, #00c8ff); }

.pillar-card__icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.25));
  transition: transform var(--dur-base) var(--ease), filter var(--dur-base) var(--ease);
}
.pillar-card:hover .pillar-card__icon {
  transform: scale(1.12);
  filter: drop-shadow(0 0 16px rgba(0,200,255,0.5));
}
.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.pillar-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}
.step__icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step__connector {
  flex: 0 0 auto;
  width: 60px;
  height: 2px;
  margin-top: 2.8rem;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0.35;
  position: relative;
  overflow: hidden;
}
.step__connector::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -8%;
  width: 16px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 4px;
  opacity: 0.9;
  animation: dash-move 2.8s ease-in-out infinite;
}

/* ============================================================
   MODULES
   ============================================================ */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.module-card {
  padding: 1.8rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}
.module-card__icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
  transition: transform var(--dur-base) var(--ease), filter var(--dur-base) var(--ease);
}
.module-card:hover .module-card__icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.5));
}
.module-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.module-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.module-card__features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.module-card__features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
  cursor: default;
}
.industry-tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: var(--shadow-glow-cyan);
}
.industry-tile__icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.industry-tile__name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.industry-tile__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: transform var(--dur-base) var(--ease),
              background var(--dur-base) var(--ease);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
  background: #fff;
}
.badge--green {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(0, 214, 143, 0.15);
  border: 1px solid rgba(0, 214, 143, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.04em;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.pricing-card {
  position: relative;
  padding: 2.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-card--featured {
  background: linear-gradient(145deg, rgba(0,102,255,0.1), rgba(124,58,237,0.07));
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue), var(--shadow-glow-purple);
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0,102,255,0.5), rgba(124,58,237,0.4), rgba(0,200,255,0.4));
  border-radius: var(--radius-lg);
  z-index: -1;
}
.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.pricing-card__plan {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-card__tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  line-height: 1.5;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.pricing-card__features li .check {
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.08em;
}
.pricing-card__features li .cross {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.22), transparent 70%);
  top: -100px; left: -100px;
  animation: float 10s ease-in-out infinite;
}
.cta-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
  bottom: -100px; right: -80px;
  animation: float 13s ease-in-out infinite;
  animation-delay: -5s;
}
.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-section__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}
.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto 1.8rem;
}
.cta-form__input {
  flex: 1;
  padding: 0.85rem 1.3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.cta-form__input::placeholder { color: var(--text-muted); }
.cta-form__input:focus {
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}
.cta-form__input.is-error {
  border-color: rgba(255, 80, 80, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.15);
}
.cta-form__success {
  font-size: 1.1rem;
  color: var(--accent-green);
  font-weight: 600;
  padding: 1rem;
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.cta-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: 0.7rem;
}
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1rem;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.footer__socials a:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}
.footer__col h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col ul li a,
.footer__col ul li span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}
.footer__col ul li a:hover { color: var(--text-primary); }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.footer__legal a:hover { color: var(--text-secondary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .pillars__grid       { grid-template-columns: repeat(2, 1fr); }
  .modules__grid       { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid       { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .footer__grid        { grid-template-columns: 1fr 1fr; }
  .steps               { flex-direction: column; align-items: center; }
  .step__connector     { width: 2px; height: 36px; margin: 0; }
  .step__connector::after { display: none; }
}

@media (max-width: 768px) {
  .pillars__grid       { grid-template-columns: 1fr; }
  .modules__grid       { grid-template-columns: 1fr; }
  .industries__grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner    { gap: 0; }
  .stat-item           { padding: 0.8rem 1.4rem; border-right: none; border-bottom: 1px solid var(--glass-border); width: 50%; }
  .stat-item:last-child{ border-bottom: none; }
  .footer__grid        { grid-template-columns: 1fr; }
  .hero__stat-cards    { gap: 0.7rem; }
  .stat-chip           { min-width: 120px; padding: 0.7rem 1.1rem; }
}

@media (max-width: 600px) {
  .cta-form          { flex-direction: column; }
  .hero__actions     { flex-direction: column; align-items: center; }
  .industries__grid  { grid-template-columns: 1fr; }
  .stats-bar__inner  { flex-direction: column; }
  .stat-item         { width: 100%; border-bottom: 1px solid var(--glass-border); border-right: none; }
  .pricing__toggle   { flex-wrap: wrap; gap: 0.5rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
