:root {
  --bg: #0f0a1e;
  --bg-2: #1a1333;
  --card: rgba(30, 20, 50, 0.85);
  --border: rgba(168, 85, 247, 0.2);
  --text: #f5f3ff;
  --muted: #a78bcc;
  --primary-1: #a855f7;
  /* purple - main brand */
  --primary-2: #c026d3;
  /* magenta/fuchsia */
  --primary-3: #60a5fa;
  /* blue accent */
  --radius: 14px;
  --container: 1152px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 68px;
  /* compensate for fixed header height */
  color: var(--text);
  font-family: "Reddit Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -20%, rgba(168, 85, 247, .25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(192, 38, 211, .18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

/* Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  backdrop-filter: saturate(180%) blur(12px);
  background: linear-gradient(180deg, rgba(11, 7, 22, .7), rgba(11, 7, 22, .35));
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 7, 22, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  font-size: 20px;
}

.brand-name {
  font-family: "Chakra Petch", system-ui;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.chevron {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 380px;
  background: rgba(20, 15, 45, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 12px !important;
  border-radius: 12px;
  transition: background 0.2s ease !important;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.item-icon {
  font-size: 20px;
}

.item-content h6 {
  margin: 0 0 2px;
  font-size: 14px;
  color: var(--text);
}

.item-content p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

/* Modal CSS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  z-index: 1001;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.video-wrapper {
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.video-wrapper:hover .video-overlay {
  background: rgba(168, 85, 247, 0.1);
}

.play-button {
  width: 64px;
  height: 64px;
  background: var(--primary-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  transition: transform 0.3s;
}

.video-wrapper:hover .play-button {
  transform: scale(1.1);
}

.modal-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

.nav-toggle {
  display: none;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 500px at 60% 20%, rgba(96, 165, 250, .18), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.eyebrow {
  color: var(--primary-3);
  font-weight: 600;
  letter-spacing: .4px;
  margin: 0 0 10px;
}

h1 {
  font-family: "Chakra Petch", system-ui;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-3), var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.trust-badge {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.hero-media {
  width: 100%;
  max-width: 900px;
}

.hero-media img {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 20px rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.hero-media:hover img {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(168, 85, 247, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-sm.btn-primary {
  box-shadow: 0 6px 16px rgba(168, 85, 247, .35);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(168, 85, 247, .25);
  font-weight: 700;
}

.btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt {
  background: radial-gradient(700px 500px at 10% 10%, rgba(139, 92, 246, .16), transparent 60%), radial-gradient(700px 500px at 90% 90%, rgba(236, 72, 153, .14), transparent 60%);
  padding: 100px 0;
}

.section-title {
  font-family: "Chakra Petch", system-ui;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 8px;
}

.section-desc {
  color: var(--muted);
  margin: 0 0 28px;
}

/* Cards + Grids */
.grid {
  display: grid;
  gap: 18px;
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
}

.card:hover {
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.feature .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(96, 165, 250, .25));
  border: 1px solid rgba(255, 255, 255, .22);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.why-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.bullet-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.blip {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(236, 72, 153, .35), rgba(96, 165, 250, .25));
  border: 1px solid rgba(255, 255, 255, .22);
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial .stars {
  color: #ffd369;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial p {
  margin: 0 0 8px;
}

.testimonial .author {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  text-align: center;
}

.cta h2 {
  margin-top: 0;
  font-size: clamp(28px, 3.4vw, 42px);
}

.cta p {
  color: var(--muted);
  margin: 8px auto 18px;
  max-width: 720px;
}

/* Pricing */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card.popular {
  background: linear-gradient(180deg, rgba(139, 92, 246, .22), rgba(236, 72, 153, .18));
  border-color: rgba(255, 255, 255, .28);
}

.price-card .badge {
  font-weight: 700;
  font-family: "Chakra Petch", system-ui;
  color: var(--text);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-block;
  margin: 4px auto 0;
}

.price {
  font-size: 40px;
  margin: 0;
  font-family: "Chakra Petch", system-ui;
}

.price span {
  vertical-align: baseline;
}

.price .period {
  color: var(--muted);
  font-size: 16px;
  margin-left: 4px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.features-list li::before {
  content: "✓";
  color: #8be28b;
  margin-right: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(900px 500px at 0% 0%, rgba(96, 165, 250, .1), transparent 60%), linear-gradient(180deg, var(--bg-2), #0a0815);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 12px;
}

.footer-brand {
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
}

.socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  text-decoration: none;
}

.socials a:hover {
  background: rgba(255, 255, 255, .12);
}

.site-footer h5 {
  margin: 0 0 10px;
  font-family: "Chakra Petch", system-ui;
  font-size: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .contact li {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 0 32px;
  color: var(--muted);
  text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Chakra Petch", system-ui;
}

p {
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    background: rgba(20, 10, 42, .98);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
    backdrop-filter: blur(12px);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .sep {
    display: none;
  }
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.toggle-label {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s ease;
}

.toggle-label.active {
  color: var(--text);
}

.save-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 4px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--primary-1);
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.stat-number {
  display: block;
  font-family: "Chakra Petch", system-ui;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Integrations Section */
.integrations-section {
  background: radial-gradient(600px 400px at 50% 50%, rgba(168, 85, 247, 0.1), transparent);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.integration-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-1);
}

.integration-icon {
  font-size: 32px;
}

.integration-name {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

/* Responsive for new sections */
@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.step-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: "Chakra Petch", system-ui;
  font-size: 28px;
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.step-item h3 {
  font-family: "Chakra Petch", system-ui;
  font-size: 20px;
  margin: 0 0 12px;
}

.step-item p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  margin-top: 56px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .step-item {
    max-width: 100%;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-list {
  max-width: 800px;
  margin: 32px auto 0;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(168, 85, 247, 0.1);
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-1);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ========================================
   CALL FLOW VISUALIZATION
   ======================================== */

.call-flow-section .why-grid {
  align-items: center;
}

.flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  border: 1px dashed rgba(168, 85, 247, 0.2);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  width: 100px;
}

.node-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.flow-node.active .node-icon {
  border-color: var(--primary-1);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  color: var(--primary-1);
}

.node-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.node-badge {
  position: absolute;
  top: -15px;
  background: var(--primary-1);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

.flow-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 10px;
  position: relative;
}

.flow-line.active {
  background: var(--primary-1);
}

.flow-line.animated::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 8px;
  height: 6px;
  background: var(--primary-2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-2);
  animation: moveLine 2s infinite linear;
}

@keyframes moveLine {
  0% {
    left: 0;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.bullet-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.blip {
  width: 40px;
  height: 40px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.bullet-list h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.bullet-list p {
  color: var(--muted);
  font-size: 14px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-details {
  margin-top: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.detail-icon {
  font-size: 24px;
  color: var(--primary-1);
}

.contact-detail h6 {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.contact-detail p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-1);
  background: rgba(168, 85, 247, 0.05);
}

.btn-block {
  width: 100%;
}

@media (max-width: 991px) {
  .flow-container {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }

  .flow-line {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .flow-line.animated::after {
    top: 0;
    left: -2px;
    animation: moveLineVert 2s infinite linear;
  }

  @keyframes moveLineVert {
    0% {
      top: 0;
      opacity: 0;
    }

    20% {
      opacity: 1;
    }

    80% {
      opacity: 1;
    }

    100% {
      top: 100%;
      opacity: 0;
    }
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-1);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: var(--primary-3);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  margin-top: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
  color: var(--primary-1);
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   REVAMPED FOOTER
   ======================================== */

.newsletter-footer {
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-content h4 {
  font-size: 24px;
  margin-bottom: 8px;
}

.newsletter-content p {
  color: var(--muted);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 450px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-1);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid h5 {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--text);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-grid ul li a:hover {
  color: var(--primary-1);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-1);
  color: white;
  transform: translateY(-3px);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.legal-links a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .newsletter-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */

.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20, 15, 45, 0.8);
  backdrop-filter: blur(8px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
}

#back-to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-btn:hover {
  background: var(--primary-1);
  border-color: var(--primary-1);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-3px);
}

.floating-btn.help {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border: none;
  font-size: 20px;
}

.floating-btn.help:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

/* ========================================
   ANIMATIONS & PREMIUM EFFECTS
   ======================================== */

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button glow effect */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2), var(--primary-1));
  background-size: 200% 100%;
  border-radius: 999px;
  z-index: -1;
  opacity: 0;
  animation: shimmer 2s linear infinite;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 60px rgba(192, 38, 211, 0.3);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Hero image floating animation */
.hero-media img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Card hover glow */
.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
}

/* Popular pricing card glow */
.price-card.popular {
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.price-card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
}

/* Stat number pulse */
.stat-number {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.2);
  }
}

/* Integration item hover effect */
.integration-item:hover .integration-icon {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* Smooth transitions for all interactive elements */
.card,
.btn,
.integration-item,
.stat-item {
  transition: all 0.3s ease;
}

/* Gradient text animation on hover */
.text-gradient {
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Hero subtle background animation */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse-bg 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-bg {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE OPTIMIZATION
   ======================================== */

/* Desktop and Tablets (iPad Pro and similar) */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: clamp(32px, 4.5vw, 52px);
  }
}

/* Tablets (iPad and smaller) */
@media (max-width: 991px) {
  .hero-inner {
    gap: 32px;
  }

  .hero-media {
    max-width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .flow-container {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }

  .flow-line {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .flow-line.animated::after {
    top: 0;
    left: -2px;
    animation: moveLineVert 2s infinite linear;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .dropdown {
    width: 320px;
  }

  .dropdown-inner {
    grid-template-columns: 1fr;
  }
}

/* Mobile Landscape and Large Phones */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 7, 22, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .sep {
    display: none;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .nav-links a:hover {
    background: rgba(168, 85, 247, 0.1);
  }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 8px;
    padding: 0;
    transition: all 0.3s ease;
  }

  .has-dropdown.active .dropdown {
    opacity: 1;
    max-height: 500px;
    padding: 16px;
  }

  h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .hero {
    padding: 40px 0 32px;
  }

  .subhead {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: clamp(28px, 8vw, 40px);
  }

  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .integration-item {
    padding: 12px 8px;
  }

  .integration-name {
    font-size: 11px;
  }

  .newsletter-footer {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 48px;
    margin-bottom: 48px;
    gap: 24px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-content h4 {
    font-size: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .legal-links {
    flex-direction: column;
    gap: 12px;
  }

  .modal-container {
    width: 95%;
    padding: 24px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .step-item {
    max-width: 100%;
  }
}

/* Mobile Portrait (Most Phones) */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.2;
  }

  h2,
  .section-title {
    font-size: clamp(22px, 7vw, 30px);
    margin-bottom: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section.alt {
    padding: 48px 0;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero-inner {
    gap: 24px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .subhead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .trust-badge {
    font-size: 13px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }

  .icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
  }

  .why-grid {
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: clamp(32px, 10vw, 42px);
  }

  .stat-label {
    font-size: 12px;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .integration-item {
    padding: 16px 12px;
  }

  .integration-icon {
    font-size: 28px;
  }

  .integration-name {
    font-size: 12px;
  }

  .pricing-toggle {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
  }

  .toggle-label {
    text-align: center;
    padding: 8px;
  }

  .switch {
    order: 2;
    align-self: center;
  }

  .price-card {
    padding: 24px 20px;
  }

  .price {
    font-size: clamp(36px, 10vw, 48px);
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card h3 {
    font-size: 18px;
  }

  .blog-card p {
    font-size: 14px;
  }

  .contact-details {
    margin-top: 24px;
  }

  .contact-detail {
    margin-bottom: 20px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 15px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid h5 {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .footer-grid ul li {
    margin-bottom: 10px;
  }

  .footer-grid ul li a {
    font-size: 14px;
  }

  .socials {
    margin-top: 20px;
  }

  .footer-bottom {
    padding-top: 32px;
  }

  .footer-legal {
    text-align: center;
  }

  .legal-links {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .floating-actions {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .cta h2 {
    font-size: clamp(22px, 7vw, 32px);
  }

  .cta p {
    font-size: 15px;
  }

  .bullet-list li {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .blip {
    align-self: flex-start;
  }

  .bullet-list h4 {
    font-size: 16px;
  }

  .bullet-list p {
    font-size: 14px;
  }

  .flow-node {
    width: 80px;
  }

  .node-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .node-label {
    font-size: 11px;
  }
}

/* Small Mobile (iPhone SE and similar) */
@media (max-width: 375px) {
  h1 {
    font-size: 24px;
  }

  h2,
  .section-title {
    font-size: 20px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .stat-number {
    font-size: 32px;
  }

  .price {
    font-size: 36px;
  }

  .integration-icon {
    font-size: 24px;
  }

  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .modal-container {
    padding: 20px;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 24px 0 20px;
  }

  .section {
    padding: 40px 0;
  }

  .modal-container {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-links a {
    min-height: 44px;
  }

  .faq-question {
    min-height: 56px;
  }

  .floating-btn {
    min-width: 48px;
    min-height: 48px;
  }

  /* Remove hover effects on touch devices */
  .card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  }

  .btn-primary:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {

  .site-header,
  .floating-actions,
  .modal,
  .newsletter-footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    max-width: 100%;
  }
}