/* Main CSS File - StoreBrain AI Shopify App Website */
/* Import Google Fonts - Outfit for Headers/Brand, Plus Jakarta Sans for Body */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #030712;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --card-bg: #0f172a;
  --border-color: #1e293b;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #0084ff 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-orange: linear-gradient(135deg, #fd7e14 0%, #ff9a3c 100%);
  --glass: rgba(15, 23, 42, 0.75);
  --glass-light: rgba(255, 255, 255, 0.03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo, .pricing-price, .step-number {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================================
   Navigation
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 16px 0;
}

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

.logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-login {
  color: var(--text-primary);
  font-size: 15px;
}

.nav-primary-btn {
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 8px 20px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 500;
}

.nav-primary-btn:hover {
  opacity: 0.9;
}

/* ======================================
   Hero Section
   ====================================== */
.hero {
  padding: 200px 0 120px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ======================================
   Logo Cloud
   ====================================== */
.logo-cloud {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.logo-cloud h4 {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  opacity: 0.6;
}

.logo-item {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ======================================
   Features Section
   ====================================== */
.features {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(10, 132, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======================================
   How It Works
   ====================================== */
.how-it-works {
  padding: 120px 0;
  background: #050505;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======================================
   Benefits Section
   ====================================== */
.benefits {
  padding: 120px 0;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.benefits-text h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
  margin-top: 32px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.check-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 20px;
  font-weight: 500;
}

.benefit-item span {
  color: var(--text-secondary);
}

.benefits-image {
  position: relative;
}

.benefits-image .mockup {
  position: relative;
  overflow: visible;
}

.benefits-image .mockup-content {
  position: relative;
  height: 380px;
  display: block;
}

.benefits-image .ai-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(10, 132, 255, 0.5);
  z-index: 2;
}

.benefits-image .ai-indicator svg {
  fill: white;
}



.mockup {
  background: linear-gradient(135deg, #1c1c1e 0%, #000000 100%);
  border-radius: 32px;
  padding: 4px;
  border: 1px solid var(--border-color);
}

.mockup-content {
  background: var(--bg-color);
  border-radius: 28px;
  height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================
   CTA Section
   ====================================== */
.cta-section {
  padding: 120px 0;
  text-align: center;
}

.cta-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 64px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-container p {
  font-size: 21px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ======================================
   Testimonials
   ====================================== */
.testimonials {
  padding: 120px 0;
  background: #050505;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 32px;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  color: #ffd700;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
}

.author-info span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ======================================
   Pricing
   ====================================== */
.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 48px;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
}

.pricing-feature.check {
  color: var(--text-primary);
}

.pricing-feature.check .check-icon {
  color: var(--accent);
}

.pricing-btn {
  width: 100%;
  text-align: center;
}

/* ======================================
   FAQ
   ====================================== */
.faq {
  padding: 120px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======================================
   Footer
   ====================================== */
.footer {
  background: #050505;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-social a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--text-primary);
}

/* ======================================
   Animations
   ====================================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

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



/* ======================================
   Animated Background
   ====================================== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  animation: bgFloat 20s infinite;
}

.bg-circle:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.bg-circle:nth-child(2) {
  width: 300px;
  height: 300px;
  background: #0084ff;
  bottom: -50px;
  right: -50px;
  animation-delay: 5s;
}

.bg-circle:nth-child(3) {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 40%;
  left: 30%;
  animation-delay: 10s;
}

@keyframes bgFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* ======================================
   Interactive Demo - UI Components
   ====================================== */
.demo-section {
  padding: 80px 0;
  background: #050505;
}

.demo-container {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #111;
}

.demo-header {
  background: #1c1c1e;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27c93f; }

.demo-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.demo-store {
  background: #fdfdfd;
  border-radius: 20px;
  height: 400px;
  position: relative;
  padding: 16px;
  color: #1a1a1a;
  overflow-y: auto;
}

/* Clothes Store UI */
.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.store-logo {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}

.store-nav {
  display: flex;
  gap: 12px;
}

.store-nav-icon {
  width: 18px;
  height: 18px;
  background: #eee;
  border-radius: 4px;
}

.clothes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.clothes-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
}

.clothes-card.featured {
  border: 2px solid var(--accent);
}

.clothes-image {
  height: 100px;
  width: 100%;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clothes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clothes-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: white;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.clothes-info {
  padding: 8px;
}

.clothes-name {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.clothes-price {
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
}

.clothes-footer {
  margin-top: 16px;
  display: flex;
  gap: 6px;
}

.clothes-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Dashboard UI for Benefits */
.dashboard-mockup {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 24px;
  display: flex;
  overflow: hidden;
}

.dashboard-sidebar {
  width: 60px;
  background: #1a1a1a;
  border-right: 1px solid #333;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sidebar-item {
  width: 32px;
  height: 32px;
  background: #2a2a2a;
  border-radius: 8px;
}

.sidebar-item.active {
  background: var(--accent);
}

.dashboard-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-title {
  width: 120px;
  height: 16px;
  background: #333;
  border-radius: 8px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 12px;
}

.stat-label {
  width: 50px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin-bottom: 8px;
}

.stat-value {
  width: 40px;
  height: 12px;
  background: var(--accent);
  border-radius: 6px;
}

.dashboard-chart {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), transparent);
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
}

.chart-bar:hover {
  opacity: 1;
}

.demo-chat {
  background: #1c1c1e;
  border-radius: 20px;
  height: 400px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 12px;
  font-size: 14px;
}

.chat-user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

/* ======================================
   Animated Button Pulse
   ====================================== */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
  }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

/* Logo Image Styling */
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ======================================
   Trust Bar
   ====================================== */
.trust-bar {
  padding: 50px 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.trust-bar p {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.6;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
}

.trust-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.trust-logo svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ======================================
   BYOK Savings Calculator Section
   ====================================== */
.byok-section {
  padding: 120px 0;
  background: radial-gradient(circle at bottom, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.byok-calculator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 48px;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.byok-info h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.byok-info h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.byok-info p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.slider-group {
  margin-bottom: 28px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.slider-value {
  font-size: 18px;
  font-weight: 700;
  color: #0084ff;
  font-family: 'Outfit', sans-serif;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.calculator-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.result-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.result-card.highlight {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.03);
}

.result-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}

.result-val {
  font-size: 26px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.result-val.saas {
  color: #ef4444;
}

.result-val.storebrain {
  color: #10b981;
}

.savings-badge {
  grid-column: span 2;
  background: var(--gradient-success);
  color: white;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* ======================================
   Connection Simulator
   ====================================== */
.connection-simulator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
  position: relative;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 32px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.sim-node {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.sim-node.shopify-node {
  background: #95bf47;
  border: 2px solid #a3d951;
  color: white;
}

.sim-node.storebrain-node {
  background: var(--gradient);
  color: white;
}

.sim-node.widget-node {
  background: #0084ff;
  border: 2px solid #339dff;
  color: white;
}

.sim-node svg {
  width: 32px;
  height: 32px;
}

.sim-line {
  height: 2px;
  background: var(--border-color);
  flex: 1;
  max-width: 90px;
  position: relative;
  z-index: 1;
}

.sim-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 12px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
  animation: flowLight 2.5s infinite linear;
}

.sim-line.line-success::after {
  background: #10b981;
}

@keyframes flowLight {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.sync-ring {
  position: absolute;
  border: 2px dashed rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  animation: rotateRing 20s infinite linear;
}

.sync-ring.ring-1 {
  width: 180px;
  height: 180px;
}

.sync-ring.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(0, 132, 255, 0.1);
  animation-direction: reverse;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sim-status {
  position: absolute;
  bottom: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.3; }
}

/* ======================================
   Side-by-Side Product Comparison (Inside Chat)
   ====================================== */
.chat-product-compare {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  margin-top: 10px;
  width: 100%;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compare-col {
  display: flex;
  flex-direction: column;
  background: #10172a;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.compare-image {
  height: 80px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.compare-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.compare-col:hover .compare-image img {
  transform: scale(1.08);
}

.compare-details {
  padding: 10px;
  font-size: 11px;
}

.compare-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Outfit', sans-serif;
}

.compare-price {
  color: #ff9a3c;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 8px;
}

.compare-specs {
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.compare-spec-item {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}

.compare-spec-label {
  color: var(--text-secondary);
}

.compare-spec-val {
  font-weight: 600;
  color: var(--text-primary);
}

.compare-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  width: 100%;
  transition: opacity 0.2s, transform 0.2s;
}

.compare-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Order Tracking Block in Chat */
.chat-order-tracking {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}

.tracking-number {
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.tracking-status {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.tracking-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 16px 0 20px;
}

.tracking-steps::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 1;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  font-size: 9px;
  color: var(--text-secondary);
}

.tracking-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e293b;
  margin-bottom: 6px;
  border: 2px solid #0f172a;
}

.tracking-step.active .tracking-step-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.tracking-step.active {
  color: var(--text-primary);
  font-weight: 600;
}

.tracking-details {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(0,0,0,0.2);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Discount Voucher in Chat */
.chat-voucher-card {
  background: rgba(253, 126, 20, 0.05);
  border: 1px dashed rgba(253, 126, 20, 0.3);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(253, 126, 20, 0.05);
}

.voucher-header {
  font-size: 10px;
  text-transform: uppercase;
  color: #ff9a3c;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.voucher-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.voucher-code {
  background: rgba(255,255,255,0.03);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 13px;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Chat Prompt Buttons */
.chat-prompts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chat-prompt-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.chat-prompt-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 968px) {
  .byok-calculator-container {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .benefits-content {
    grid-template-columns: 1fr;
  }

  .benefits-image {
    order: -1;
  }

  .steps-grid,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-container {
    padding: 40px;
  }

  .cta-container h2 {
    font-size: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .demo-content {
    grid-template-columns: 1fr;
  }
}
