/* ========================================
   TruePath Landing Page - Custom CSS
   ======================================== */

/* --- CSS Variables --- */
:root {
  --primary: #7C5CFC;
  --primary-dark: #6347E0;
  --primary-light: #EDE8FF;
  --primary-lighter: #F5F2FF;
  --dark: #13112A;
  --dark-section: #16132D;
  --text-dark: #1B1B2F;
  --text-gray: #6B7280;
  --text-muted: #9CA3AF;
  --border-color: #E5E7EB;
  --white: #FFFFFF;
  --bg-light: #F9F8FF;
  --coral: #F25C54;
  --coral-hover: #E04840;
  --green: #10B981;
  --blue: #3B82F6;
  --orange: #F59E0B;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  --transition: all 0.3s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3.25rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
  color: var(--text-gray);
  line-height: 1.7;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

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

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* --- Buttons --- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.35);
}

.btn-dark-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark-custom:hover {
  background: #2a2745;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 17, 42, 0.35);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-coral:hover {
  background: var(--coral-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 92, 84, 0.35);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* --- Navbar --- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 0;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
  z-index: 1000;
}

.navbar-custom.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 160px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(124,92,252,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,92,252,0.4);
}
.back-to-top svg { width: 20px; height: 20px; }

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
}

.navbar-brand-custom:hover {
  color: var(--text-dark);
}

.navbar-brand-custom svg {
  width: 32px;
  height: 32px;
}

.navbar-nav-custom {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav-custom .nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

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

.navbar-nav-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-cta .btn-primary-custom {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.navbar-toggler-custom {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggler-custom svg {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
}

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

/* --- Elegant Floating Shapes --- */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.elegant-shape {
  position: absolute;
  width: var(--s-w);
  height: var(--s-h);
  opacity: 0;
  transform: translateY(-150px) rotate(calc(var(--s-r) - 15deg));
  animation: shapeEntrance 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) var(--s-delay) forwards;
}

.elegant-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--s-color), transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  animation: shapeFloat 12s ease-in-out infinite;
  animation-delay: var(--s-delay);
}

.elegant-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

@keyframes shapeEntrance {
  0% {
    opacity: 0;
    transform: translateY(-150px) rotate(calc(var(--s-r) - 15deg));
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--s-r));
  }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

/* Positions */
.shape-1 { left: -5%; top: 20%; }
.shape-2 { right: 0%; top: 75%; }
.shape-3 { left: 10%; bottom: 10%; }
.shape-4 { right: 20%; top: 15%; }
.shape-5 { left: 25%; top: 10%; }

@media (max-width: 767.98px) {
  .shape-1 { left: -10%; width: 350px !important; height: 80px !important; }
  .shape-2 { right: -5%; width: 280px !important; height: 70px !important; }
  .shape-3, .shape-4, .shape-5 { display: none; }
}

/* Stacked centered hero layout */
.hero-top {
  text-align: center;
  margin-bottom: 48px;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.hero-content.text-center .hero-badge { justify-content: center; }
.hero-content.text-center .hero-title { max-width: none; margin-left: auto; margin-right: auto; }
.hero-content.text-center .hero-description { max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-content.text-center .hero-buttons { justify-content: center; }

.hero-middle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

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

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 520px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.hero-trust-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
}

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

.hero-trust-logos .trust-logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.45;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-trust-logos .trust-logo-text:hover {
  opacity: 0.75;
}

.hero-trust-logos .trust-logo-caps {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.875rem;
}

.hero-trust-logos .trust-logo-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  cursor: default;
  color: rgba(27,27,47,0.45);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-trust-logos .trust-logo-icon:hover {
  opacity: 0.8;
}

.hero-trust-logos .trust-logo-icon svg {
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  height: 620px;
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- iPhone Frame --- */
.phone-mockup {
  position: absolute;
  border-radius: 48px;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.08);
  background: #1C1C1E;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}


/* Power button - right side */
.phone-mockup::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 22%;
  width: 3px;
  height: 44px;
  background: #2C2C2E;
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

/* Volume buttons - left side */
.phone-mockup::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 16%;
  width: 3px;
  height: 20px;
  background: #2C2C2E;
  border-radius: 2px 0 0 2px;
  z-index: 1;
  box-shadow: 0 30px 0 #2C2C2E, 0 54px 0 #2C2C2E;
}

.phone-main {
  width: 276px;
  height: 552px;
  z-index: 3;
  left: 50%;
  top: 50%;
  margin-left: -138px;
  margin-top: -276px;
  animation: floatCenter 7s ease-in-out infinite;
}

.phone-left {
  width: 236px;
  height: 472px;
  z-index: 2;
  left: -10px;
  top: 55%;
  margin-top: -236px;
  transform: rotate(-5deg);
  opacity: 0.95;
  animation: floatLeft 8s ease-in-out infinite;
}

.phone-right {
  width: 236px;
  height: 472px;
  z-index: 2;
  right: -10px;
  top: 55%;
  margin-top: -236px;
  transform: rotate(5deg);
  opacity: 0.95;
  animation: floatRight 9s ease-in-out infinite;
}

@keyframes floatCenter {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-6px); }
  75% { transform: translateY(4px); }
}

@keyframes floatLeft {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  30% { transform: rotate(-5deg) translateY(-8px); }
  70% { transform: rotate(-5deg) translateY(3px); }
}

@keyframes floatRight {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  35% { transform: rotate(5deg) translateY(-7px); }
  65% { transform: rotate(5deg) translateY(5px); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* Dynamic Island */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: radial-gradient(circle at 62% 50%, #3A3A3C 3px, #1C1C1E 3.5px);
  border-radius: 14px;
  z-index: 10;
}

/* Inner screen edge shadow */
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 5;
}

/* Smaller dynamic island for side phones */
.phone-left .phone-screen::before,
.phone-right .phone-screen::before {
  width: 58px;
  height: 18px;
  top: 8px;
  border-radius: 11px;
  background: radial-gradient(circle at 62% 50%, #3A3A3C 2.5px, #1C1C1E 3px);
}

.phone-screen svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Floating info cards around phones */
.hero-float {
  position: absolute;
  z-index: 6;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFloatIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}

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

/* Rating card — top left */
.hero-float-rating {
  top: 30px;
  left: -10px;
  flex-direction: column;
  animation-delay: 1s;
  animation-name: heroFloatIn, heroCardBob;
  animation-duration: 0.8s, 5s;
  animation-timing-function: cubic-bezier(0.16,1,0.3,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-delay: 1s, 1.8s;
  animation-fill-mode: forwards, none;
  background: linear-gradient(135deg, #fff 60%, #FFF3E0);
}

.hero-float-stars {
  font-size: 0.9rem;
  color: #F59E0B;
  letter-spacing: 2px;
}

.hero-float-rating span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Sold/Businesses card — top right */
.hero-float-sold {
  top: 10px;
  right: -20px;
  flex-direction: column;
  animation-delay: 1.2s;
  animation-name: heroFloatIn, heroCardBob;
  animation-duration: 0.8s, 6s;
  animation-timing-function: cubic-bezier(0.16,1,0.3,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-delay: 1.2s, 2s;
  animation-fill-mode: forwards, none;
  background: linear-gradient(135deg, #fff 60%, #F5F2FF);
  padding: 14px 22px;
}

/* Engagement card — bottom left */
.hero-float-engage {
  bottom: 100px;
  left: -30px;
  animation-delay: 1.4s;
  animation-name: heroFloatIn, heroCardBob;
  animation-duration: 0.8s, 7s;
  animation-timing-function: cubic-bezier(0.16,1,0.3,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-delay: 1.4s, 2.2s;
  animation-fill-mode: forwards, none;
  background: linear-gradient(135deg, #FFF9E6, #FFF3CC);
  gap: 8px;
}

.hero-float-chart {
  width: 32px;
  height: 32px;
}

.hero-float-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-gray);
}

/* Users card — bottom right */
.hero-float-users {
  bottom: 60px;
  right: 0;
  flex-direction: column;
  animation-delay: 1.6s;
  animation-name: heroFloatIn, heroCardBob;
  animation-duration: 0.8s, 5.5s;
  animation-timing-function: cubic-bezier(0.16,1,0.3,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-delay: 1.6s, 2.5s;
  animation-fill-mode: forwards, none;
  align-items: flex-start;
}

.hero-float-avatars {
  display: flex;
}

.hero-float-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}

.hero-float-avatars span:first-child { margin-left: 0; }

.hero-float-big {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-float-sub {
  font-size: 0.68rem;
  color: var(--text-gray);
}

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

/* Decorative arc behind phones — large glowing circle like reference */
.hero-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -48%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: arcFadeIn 1.5s 0.5s forwards;
}

/* The SVG circles */
.hero-arc circle {
  transform-origin: center;
}

/* Add the warm gradient glow at bottom of circle */
.hero-visual::before {
  content: '';
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 260px;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(124, 92, 252, 0.12) 0%,
    rgba(245, 158, 11, 0.06) 30%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  filter: blur(20px);
  pointer-events: none;
}

/* Outer thin circle ring */
.hero-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 252, 0.06);
  z-index: 0;
  pointer-events: none;
}

@keyframes arcFadeIn {
  to { opacity: 1; }
}

/* Hide on mobile */
@media (max-width: 991.98px) {
  .hero-float-engage, .hero-float-users { display: none; }
  .hero-float-rating { left: 0; top: 10px; }
  .hero-float-sold { right: 0; top: 0; }
  .hero-arc { width: 380px; height: 380px; }
  .hero-visual::before { width: 380px; }
  .hero-visual::after { width: 360px; height: 360px; }
}

@media (max-width: 767.98px) {
  .hero-float { display: none; }
  .hero-arc { display: none; }
  .hero-visual::before { display: none; }
  .hero-visual::after { display: none; }
}

/* --- Features Section --- */
.features-section {
  padding: 100px 0 80px;
  background: var(--white);
}

.features-section .section-badge,
.features-section .section-title,
.features-section .section-subtitle {
  text-align: center;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card-image {
  width: 100%;
  height: 220px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.feature-card-image svg {
  width: 100%;
  height: 100%;
}

.feature-card-body {
  padding: 24px;
}

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card-text {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

.features-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- How It Works Section --- */
.how-it-works-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* Crossing light lines */
.how-it-works-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background:
    linear-gradient(
      155deg,
      transparent 0%, transparent 28%,
      rgba(124, 92, 252, 0.06) 30%,
      rgba(124, 92, 252, 0.12) 32%,
      rgba(59, 130, 246, 0.08) 38%,
      transparent 40%, transparent 100%
    ),
    linear-gradient(
      155deg,
      transparent 0%, transparent 60%,
      rgba(16, 185, 129, 0.05) 62%,
      rgba(59, 130, 246, 0.08) 63%,
      transparent 65%, transparent 100%
    ),
    linear-gradient(
      155deg,
      transparent 0%, transparent 25%,
      rgba(124, 92, 252, 0.03) 26%,
      rgba(124, 92, 252, 0.06) 27%,
      transparent 28%, transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

.how-it-works-section > .container {
  position: relative;
  z-index: 2;
}

.how-it-works-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works-phone-wrapper {
  width: 296px;
  height: 592px;
  border-radius: 48px;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  background: #1C1C1E;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Power button */
.how-it-works-phone-wrapper::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 22%;
  width: 3px;
  height: 48px;
  background: #2C2C2E;
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

/* Volume buttons */
.how-it-works-phone-wrapper::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 16%;
  width: 3px;
  height: 22px;
  background: #2C2C2E;
  border-radius: 2px 0 0 2px;
  z-index: 1;
  box-shadow: 0 32px 0 #2C2C2E, 0 58px 0 #2C2C2E;
}

.hiw-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* Dynamic Island */
.hiw-phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 24px;
  background: radial-gradient(circle at 62% 50%, #3A3A3C 3px, #1C1C1E 3.5px);
  border-radius: 14px;
  z-index: 10;
}

/* Inner screen edge shadow */
.hiw-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 5;
}

.hiw-phone-screen svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.how-it-works-content {
  padding-left: 40px;
}

.how-it-works-content .section-badge {
  background: rgba(124, 92, 252, 0.15);
}

.how-it-works-content .section-title {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.how-it-works-content .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 40px;
  max-width: 480px;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 252, 0.15);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-content h5 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  line-height: 1.6;
}

.how-it-works-cta {
  margin-top: 8px;
}

.how-it-works-cta .btn-coral {
  width: auto;
}

/* --- Trust Section --- */
.trust-section {
  padding: 100px 0;
  background: var(--white);
}

.trust-section .section-badge,
.trust-section .section-title,
.trust-section .section-subtitle {
  text-align: center;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.trust-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.trust-card-icon.icon-orange { background: #FFF3E0; }
.trust-card-icon.icon-blue { background: #E8F0FE; }
.trust-card-icon.icon-green { background: #E6F9F0; }

.trust-card-icon svg {
  width: 28px;
  height: 28px;
}

.trust-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.trust-card p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Customer Stories Section --- */
.stories-section {
  padding: 100px 0 0;
  background: transparent;
  position: relative;
  overflow: visible;
}

/* ═══ DARK FLOW — single wrapper for Stories + POS + Bento ═══ */
.dark-flow {
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}

/* One unified gradient overlay spanning all three sections */
.dark-flow::before {
  content: '';
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 100%;
  background:
    linear-gradient(
      165deg,
      transparent 0%, transparent 15%,
      rgba(124,92,252,0.05) 18%,
      rgba(124,92,252,0.09) 20%,
      rgba(59,130,246,0.06) 28%,
      transparent 32%,
      transparent 48%,
      rgba(124,92,252,0.04) 52%,
      rgba(59,130,246,0.06) 55%,
      transparent 58%,
      transparent 75%,
      rgba(124,92,252,0.03) 78%,
      rgba(16,185,129,0.05) 80%,
      transparent 83%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Subtle glow orbs */
.dark-flow::after {
  content: '';
  position: absolute;
  top: 20%; left: 15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,92,252,0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Stories/POS/Bento overlays removed — .dark-flow handles it */
.stories-section::before,
.stories-section::after { display: none; }

.stories-section > .container {
  position: relative;
  z-index: 2;
}

.stories-badge {
  background: rgba(124,92,252,0.1) !important;
  color: #a78bfa !important;
  border: 1px solid rgba(124,92,252,0.2) !important;
}

.stories-title { color: #fff !important; }
.stories-subtitle { color: rgba(255,255,255,0.45) !important; }

/* Decorative squiggles */
.stories-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.squiggle {
  position: absolute;
  opacity: 0.5;
}

.squiggle-1 {
  width: 50px;
  top: 12%;
  right: 12%;
  animation: squiggleFloat 5s ease-in-out infinite;
}

.squiggle-2 {
  width: 35px;
  top: 8%;
  left: 8%;
  animation: squiggleFloat 7s ease-in-out 1s infinite;
}

@keyframes squiggleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

/* Marquee container */
.stories-marquee-wrap {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  overflow: hidden;
}

/* Fade masks on edges */
.stories-marquee-wrap::before,
.stories-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.stories-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-section), transparent);
}

.stories-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-section), transparent);
}

.stories-marquee {
  overflow: hidden;
  padding: 12px 0;
}

.stories-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.stories-marquee-left .stories-track {
  animation: marqueeLeft 30s linear infinite;
}

.stories-marquee-right .stories-track {
  animation: marqueeRight 35s linear infinite;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Duplicate cards for seamless loop (handled via JS or double content) */
.stories-marquee:hover .stories-track {
  animation-play-state: paused;
}

/* Story card */
.story-card {
  width: 340px;
  min-width: 340px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.story-card:hover {
  border-color: rgba(124,92,252,0.25);
  transform: translateY(-4px);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.story-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.story-user {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.story-handle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.story-social {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.25);
}

.story-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}

.story-text strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .story-card { width: 280px; min-width: 280px; padding: 20px; }
  .stories-marquee-wrap::before,
  .stories-marquee-wrap::after { width: 40px; }
}

/* --- POS Floating Icon Blocks --- */
.pos-floating-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.pos-icon-block {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.04);
  animation: posSwim var(--dur) ease-in-out var(--delay) infinite;
  will-change: transform, opacity;
}

.pos-icon-block svg {
  width: 50%;
  height: 50%;
}

/* Individual swim paths — each keyframe set creates a unique organic drift */
@keyframes posSwim {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
  15%  { transform: translate(8px, -14px) rotate(3deg); opacity: 0.8; }
  30%  { transform: translate(-6px, -20px) rotate(-2deg); opacity: 0.7; }
  50%  { transform: translate(12px, -8px) rotate(4deg); opacity: 0.9; }
  65%  { transform: translate(-10px, 6px) rotate(-3deg); opacity: 0.65; }
  80%  { transform: translate(4px, 14px) rotate(2deg); opacity: 0.75; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
}

/* Alternate swim for even-numbered icons */
.pos-float-2, .pos-float-4, .pos-float-6, .pos-float-8, .pos-float-10, .pos-float-12 {
  animation-name: posSwim2;
}

@keyframes posSwim2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.55; }
  20%  { transform: translate(-12px, 10px) rotate(-4deg) scale(1.05); opacity: 0.8; }
  40%  { transform: translate(6px, 18px) rotate(2deg) scale(0.97); opacity: 0.65; }
  60%  { transform: translate(-8px, -6px) rotate(-3deg) scale(1.03); opacity: 0.85; }
  80%  { transform: translate(10px, -14px) rotate(3deg) scale(0.98); opacity: 0.7; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.55; }
}

/* Alternate swim for 3rd set */
.pos-float-3, .pos-float-7, .pos-float-11 {
  animation-name: posSwim3;
}

@keyframes posSwim3 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  25%  { transform: translate(15px, 8px) rotate(5deg); opacity: 0.75; }
  50%  { transform: translate(-5px, -18px) rotate(-2deg); opacity: 0.9; }
  75%  { transform: translate(-12px, 10px) rotate(-4deg); opacity: 0.6; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
}

/* Hide some icons on smaller screens to avoid clutter */
@media (max-width: 991.98px) {
  .pos-float-8, .pos-float-9, .pos-float-11, .pos-float-12 { display: none; }
}

@media (max-width: 767.98px) {
  .pos-float-3, .pos-float-5, .pos-float-6, .pos-float-7,
  .pos-float-8, .pos-float-9, .pos-float-10, .pos-float-11, .pos-float-12 { display: none; }
  .pos-icon-block { --size: 36px !important; border-radius: 10px; }
}

/* --- Mobile POS Section (Dark Premium) --- */
.pos-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Individual section overlays removed — using .dark-flow wrapper instead */
.pos-section::before,
.pos-section::after { display: none; }

.pos-content {
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.pos-title {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.pos-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 400px;
}

.pos-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.pos-cta-btn:hover {
  border-color: rgba(124, 92, 252, 0.5);
  color: #FFFFFF;
  background: rgba(124, 92, 252, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.15);
}

.pos-cta-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: var(--transition);
}

.pos-cta-btn:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

.pos-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Multi-display container */
.pos-multi-display {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1200px;
}

.pos-unit {
  position: absolute;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s ease,
              filter 0.7s ease;
}

.pos-unit svg {
  width: 100%;
  height: 100%;
}

/* Back-left terminal */
.pos-unit-left {
  width: 340px;
  left: -40px;
  top: 30px;
  z-index: 1;
  transform: rotateY(18deg) scale(0.82);
  opacity: 0.55;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)) brightness(0.7);
}

.pos-multi-display:hover .pos-unit-left {
  transform: rotateY(14deg) scale(0.84) translateX(-10px);
  opacity: 0.65;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.5)) brightness(0.75);
}

/* Back-right terminal */
.pos-unit-right {
  width: 340px;
  right: -40px;
  top: 30px;
  z-index: 1;
  transform: rotateY(-18deg) scale(0.82);
  opacity: 0.55;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)) brightness(0.7);
}

.pos-multi-display:hover .pos-unit-right {
  transform: rotateY(-14deg) scale(0.84) translateX(10px);
  opacity: 0.65;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.5)) brightness(0.75);
}

/* Front-center terminal (hero) */
.pos-unit-center {
  width: 420px;
  left: 50%;
  top: 10px;
  z-index: 3;
  transform: translateX(-50%) scale(1);
  filter: drop-shadow(0 32px 80px rgba(0,0,0,0.6))
          drop-shadow(0 8px 24px rgba(124, 92, 252, 0.1));
}

.pos-multi-display:hover .pos-unit-center {
  transform: translateX(-50%) scale(1.02) translateY(-6px);
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.65))
          drop-shadow(0 12px 32px rgba(124, 92, 252, 0.12));
}

@media (max-width: 1199.98px) {
  .pos-multi-display { height: 460px; }
  .pos-unit-center { width: 380px; }
  .pos-unit-left { width: 300px; left: -30px; }
  .pos-unit-right { width: 300px; right: -30px; }
}

@media (max-width: 991.98px) {
  .pos-content { padding-right: 0; margin-top: 48px; }
  .pos-title { font-size: 2.5rem; }
  .pos-multi-display { height: 420px; }
  .pos-unit-center { width: 360px; }
  .pos-unit-left { width: 280px; left: -20px; opacity: 0.4; }
  .pos-unit-right { width: 280px; right: -20px; opacity: 0.4; }
}

@media (max-width: 767.98px) {
  .pos-section { padding: 80px 0; }
  .pos-title { font-size: 2rem; }
  .pos-multi-display { height: 380px; }
  .pos-unit-center { width: 320px; }
  .pos-unit-left { display: none; }
  .pos-unit-right { display: none; }
}

@media (max-width: 575.98px) {
  .pos-title { font-size: 1.75rem; }
  .pos-multi-display { height: 320px; }
  .pos-unit-center { width: 280px; }
}

/* ============================================
   BENTO GRID SECTION (Dark Cinematic)
   ============================================ */
.bento-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Individual section overlays removed — using .dark-flow wrapper instead */
.bento-section::before,
.bento-section::after { display: none; }

.bento-section .section-badge {
  background: rgba(124, 92, 252, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(124, 92, 252, 0.2);
}

.bento-section > .container {
  position: relative;
  z-index: 2;
}

.bento-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-top: 16px;
}

/* --- Bento Grid Layout --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bento-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,92,252,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(124, 92, 252, 0.2);
  transform: translateY(-4px);
}

.bento-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-top: 32px;
}

/* Full-width bottom card */
.bento-card-revenue {
  grid-column: 1 / -1;
}

/* --- Card 1: POS Transactions (Stacked Receipts) --- */
.bento-card-pos .bento-card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-receipts {
  position: relative;
  width: 320px;
  height: 200px;
}

.bento-receipt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s;
}

.bento-receipt-back-2 {
  top: 0;
  background: rgba(124, 92, 252, 0.04);
  border: 1px dashed rgba(124, 92, 252, 0.1);
  opacity: 0.4;
}

.bento-receipt-back {
  top: 30px;
  background: rgba(124, 92, 252, 0.06);
  border: 1px solid rgba(124, 92, 252, 0.12);
  opacity: 0.6;
}

.bento-receipt-front {
  top: 65px;
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(124, 92, 252, 0.25);
  width: 300px;
  padding: 18px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.1);
  z-index: 2;
}

.bento-receipt-below {
  top: 160px;
  background: rgba(124, 92, 252, 0.04);
  border: 1px dashed rgba(124, 92, 252, 0.1);
  opacity: 0.35;
}

.receipt-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 500;
}

.receipt-amount {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
}

.receipt-icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.receipt-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.receipt-label-sm {
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 500;
}

.bento-receipt-front .receipt-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.receipt-amount-lg {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.receipt-sub {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
}

/* Hover float effect on receipts */
.bento-card-pos:hover .bento-receipt-back-2 { transform: translateX(-50%) translateY(-6px); opacity: 0.55; }
.bento-card-pos:hover .bento-receipt-back { transform: translateX(-50%) translateY(-4px); opacity: 0.75; }
.bento-card-pos:hover .bento-receipt-front { transform: translateX(-50%) translateY(-2px); }
.bento-card-pos:hover .bento-receipt-below { transform: translateX(-50%) translateY(4px); opacity: 0.5; }

/* --- Card 2: Smart Invoicing (Glow Icon) --- */
.bento-card-invoice .bento-card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-invoice-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invoice-glow-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,0.15) 0%, transparent 70%);
  animation: invoicePulse 3s ease-in-out infinite;
}

@keyframes invoicePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.invoice-icon-wrapper {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(124,92,252,0.3));
}

.invoice-main-icon {
  width: 100px;
  height: auto;
}

/* --- Card 3: Revenue / Earnings (Orbit Layout) --- */
.bento-revenue-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.bento-revenue-visual {
  flex: 0 0 400px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.revenue-orbit-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}

.revenue-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 252, 0.1);
}

.revenue-orbit-ring-1 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.revenue-orbit-ring-2 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(124, 92, 252, 0.06);
}

.revenue-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(124, 92, 252, 0.15);
}

.revenue-center-icon svg {
  width: 40px;
  height: 40px;
}

/* Orbiting badges */
.orbit-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: orbitFloat 8s ease-in-out infinite;
}

.orbit-badge svg {
  width: 28px;
  height: 28px;
}

.orbit-badge-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.orbit-badge-2 {
  top: 5%;
  right: 15%;
  animation-delay: 1.5s;
}

.orbit-badge-3 {
  bottom: 15%;
  left: 0;
  animation-delay: 3s;
}

.orbit-badge-4 {
  bottom: 5%;
  right: 10%;
  animation-delay: 0.8s;
}

.orbit-badge-5 {
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  animation-delay: 2.2s;
}

@keyframes orbitFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -10px) rotate(5deg); }
  50% { transform: translate(-4px, -16px) rotate(-3deg); }
  75% { transform: translate(8px, 6px) rotate(4deg); }
}

.revenue-cursor {
  position: absolute;
  bottom: 28%;
  right: 25%;
  width: 28px;
  height: 28px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  animation: cursorDrift 4s ease-in-out infinite;
}

.revenue-cursor svg {
  width: 100%;
  height: 100%;
}

@keyframes cursorDrift {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(8px, -6px); }
  60% { transform: translate(-4px, 4px); }
}

.bento-revenue-text {
  flex: 1;
}

.bento-revenue-desc {
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 400px;
}

/* --- Bento Responsive --- */
@media (max-width: 991.98px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-revenue {
    grid-column: 1;
  }
  .bento-revenue-inner {
    flex-direction: column;
    gap: 32px;
  }
  .bento-revenue-visual {
    flex: none;
    width: 100%;
    height: 260px;
  }
  .bento-section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .bento-section {
    padding: 72px 0;
  }
  .bento-section-title {
    font-size: 1.6rem;
  }
  .bento-card {
    padding: 28px 24px 28px;
  }
  .bento-card-title {
    font-size: 1.3rem;
  }
  .bento-receipts {
    width: 260px;
    transform: scale(0.85);
  }
  .revenue-orbit-wrapper {
    width: 240px;
    height: 240px;
  }
}

/* --- Quroosh Ecosystem (Bento Mosaic) --- */
.ecosystem-section {
  padding: 100px 0 80px;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}

.ecosystem-section > .container { position: relative; z-index: 3; }
.eco-badge { background: rgba(124,92,252,0.1) !important; color: #a78bfa !important; border: 1px solid rgba(124,92,252,0.2) !important; }
.eco-title { color: #fff !important; }
.eco-subtitle { color: rgba(255,255,255,0.4) !important; }

.eco-bg-lines {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, transparent 0%, transparent 30%, rgba(124,92,252,0.06) 32%, rgba(124,92,252,0.1) 34%, rgba(59,130,246,0.07) 40%, transparent 42%, transparent 100%),
    linear-gradient(160deg, transparent 0%, transparent 60%, rgba(59,130,246,0.04) 62%, rgba(124,92,252,0.06) 63%, transparent 65%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* ---- Bento Mosaic Grid ---- */
.eco-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

/* Hero card: spans 2 cols, taller */
.eco-tile-hero { grid-column: span 2; grid-row: span 2; min-height: 360px; }

/* Wide card: spans 2 cols */
.eco-tile-wide { grid-column: span 2; }

/* Base tile */
.eco-tile {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

/* Animated gradient background */
.eco-tile-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  transition: background 0.5s;
  z-index: 0;
}

.eco-tile:hover .eco-tile-bg {
  background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 8%, transparent) 0%, rgba(255,255,255,0.02) 100%);
}

/* Top glow line on hover */
.eco-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ac, #7C5CFC), transparent);
  opacity: 0;
  transition: opacity 0.5s, left 0.5s, right 0.5s;
  z-index: 2;
}

.eco-tile:hover::before {
  opacity: 0.6;
  left: 10%;
  right: 10%;
}

/* Bottom glow on hover */
.eco-tile::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 60px;
  background: var(--ac, #7C5CFC);
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.eco-tile:hover::after { opacity: 0.12; }

.eco-tile:hover {
  border-color: color-mix(in srgb, var(--ac, #7C5CFC) 25%, transparent);
  transform: translateY(-4px);
}

.eco-tile-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.eco-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Icon */
.eco-tile-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ac, #7C5CFC) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ac, #7C5CFC) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}

.eco-tile-icon svg { width: 22px; height: 22px; }

.eco-tile:hover .eco-tile-icon {
  background: var(--ac, #7C5CFC);
  border-color: var(--ac, #7C5CFC);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ac, #7C5CFC) 35%, transparent);
  transform: scale(1.08);
}

.eco-tile:not(.eco-tile-hero):not(.eco-tile-wide) .eco-tile-icon {
  margin-bottom: 16px;
}

.eco-tile-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.eco-tile-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 300px;
}

/* Badge */
.eco-tile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.15);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #a78bfa;
}

.eco-tile-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: ecoDot 2s ease-in-out infinite;
}

@keyframes ecoDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.eco-badge-live {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.15);
  color: #10B981;
}

.eco-badge-beta {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.15);
  color: #F59E0B;
}

/* Hero tile stats */
.eco-tile-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.eco-tile-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

.eco-tile-stat span {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

/* Preview UI inside hero tile */
.eco-tile-preview {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1;
  opacity: 0.6;
  transition: all 0.5s;
}

.eco-tile-preview svg {
  width: 200px;
  border-radius: 12px;
}

.eco-tile-hero:hover .eco-tile-preview {
  opacity: 1;
  transform: translateY(-4px);
}

/* Chart inside wide tile */
.eco-tile-chart {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.5s;
}

.eco-tile-chart svg { width: 100%; display: block; }

.eco-chart-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: chartDraw 2s ease forwards;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

.eco-tile-wide:hover .eco-tile-chart { opacity: 0.8; }

/* Responsive */
@media (max-width: 991.98px) {
  .eco-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-tile-hero { min-height: 300px; }
  .eco-tile-preview { display: none; }
}

@media (max-width: 575.98px) {
  .eco-mosaic {
    grid-template-columns: 1fr;
  }
  .eco-tile-hero,
  .eco-tile-wide { grid-column: span 1; }
  .eco-tile-hero { min-height: auto; grid-row: span 1; }
  .eco-tile { padding: 22px; }
  .eco-tile-stats { gap: 16px; }
  .eco-tile-chart { width: 70%; }
}

/* --- Benefits Section --- */
.benefits-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle background dot grid */
.benefits-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124,92,252,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Soft glow top-right */
.benefits-section::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.benefits-section > .container {
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  position: relative;
}

.benefits-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* Connecting arrows: left cards → phone */
.benefits-col-left .benefit-card {
  position: relative;
}

.benefits-col-left .benefit-card::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(to right, var(--border-color), var(--primary));
  transform: translateY(-50%);
}

.benefits-col-left .benefit-card::before {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--primary);
  transform: translateY(-50%);
  z-index: 1;
}

/* Connecting arrows: phone → right cards */
.benefits-col-right .benefit-card {
  position: relative;
}

.benefits-col-right .benefit-card::after {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(to left, var(--border-color), var(--primary));
  transform: translateY(-50%);
}

.benefits-col-right .benefit-card::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid var(--primary);
  transform: translateY(-50%);
  z-index: 1;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
}

.benefit-card:hover {
  box-shadow: 0 8px 24px rgba(124,92,252,0.08);
  border-color: rgba(124,92,252,0.2);
  transform: translateY(-2px);
}

/* Numbered badge on each card */
.benefit-card .benefit-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(124,92,252,0.3);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* Benefits phone */
.benefits-phone {
  display: flex;
  justify-content: center;
}

.benefits-phone-frame {
  width: 260px;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

.benefits-phone-notch {
  width: 70px;
  height: 20px;
  background: #1C1C1E;
  border-radius: 12px;
  margin: 0 auto -8px;
  position: relative;
  z-index: 2;
}

.benefits-phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #F5F2FF;
}

.benefits-phone-screen svg {
  width: 100%;
  display: block;
}

@media (max-width: 991.98px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .benefits-phone { order: -1; }
  .benefits-phone-frame { width: 240px; }
  /* Hide arrows on stacked layout */
  .benefits-col-left .benefit-card::after,
  .benefits-col-left .benefit-card::before,
  .benefits-col-right .benefit-card::after,
  .benefits-col-right .benefit-card::before { display: none; }
}

/* --- Pricing Section (Enhanced) --- */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing-section .section-title,
.pricing-section .section-subtitle {
  text-align: center;
}

/* Toggle */
.pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 32px 0 48px;
}

.pricing-toggle {
  display: inline-flex;
  background: #f4f4f5;
  border-radius: 999px;
  padding: 4px;
  position: relative;
}

.pricing-toggle-btn {
  padding: 10px 28px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  transition: color 0.3s;
}

.pricing-toggle-btn.active {
  color: var(--text-dark);
}

.pricing-toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle[data-active="yearly"] .pricing-toggle-slider {
  transform: translateX(100%);
}

.pricing-discount-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
}

/* Cards */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s;
  height: 100%;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.12);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pricing-icon {
  width: 44px;
  height: 44px;
  background: #f4f4f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-icon svg {
  width: 22px;
  height: 22px;
  color: var(--text-dark);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-price .period {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.pricing-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--primary-lighter);
  color: var(--primary);
  border: 1px solid var(--primary-light);
}

.pricing-tag.tag-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pricing-description {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Buttons */
.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-pricing:hover {
  background: #f4f4f5;
}

.btn-pricing svg {
  width: 14px;
  height: 14px;
}

.btn-pricing-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-pricing-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.pricing-btn {
  margin-bottom: 24px;
}

.pricing-features-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pricing-features {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pricing-features li:last-child { border-bottom: none; }

.pf-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pf-check::after {
  content: '✓';
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

.pf-x {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pf-x::after {
  content: '✕';
  font-size: 10px;
  color: #d4d4d8;
}

.pricing-features .excluded {
  color: var(--text-gray);
}

.pf-info {
  margin-left: auto;
  font-size: 0.75rem;
  color: #d4d4d8;
  cursor: help;
}

/* All Plans Include */
.all-plans-include {
  text-align: center;
  margin-top: 56px;
}

.all-plans-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.all-plans-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.all-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.all-plan-tag svg {
  width: 16px;
  height: 16px;
  color: var(--text-gray);
}

/* Trial Banner */
.trial-banner {
  margin-top: 56px;
}

.trial-banner-inner {
  background: var(--dark-section);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

/* Crossing light lines on trial banner */
.trial-banner-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background:
    linear-gradient(155deg,
      transparent 0%, transparent 25%,
      rgba(124, 92, 252, 0.06) 27%,
      rgba(124, 92, 252, 0.12) 29%,
      rgba(59, 130, 246, 0.08) 35%,
      transparent 37%, transparent 100%
    ),
    linear-gradient(155deg,
      transparent 0%, transparent 65%,
      rgba(59, 130, 246, 0.05) 67%,
      rgba(124, 92, 252, 0.07) 68%,
      transparent 70%, transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

.trial-banner-inner::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.trial-text, .trial-visual {
  position: relative;
  z-index: 2;
}

/* Floating particles */
.trial-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.trial-particles span {
  position: absolute;
  left: var(--tp-x);
  top: var(--tp-y);
  width: var(--tp-s);
  height: var(--tp-s);
  background: var(--tp-c);
  border-radius: 50%;
  animation: trialFloat var(--tp-d) ease-in-out infinite;
}

@keyframes trialFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50% { transform: translate(10px, -15px); opacity: 0.8; }
}

.trial-text {
  flex: 1;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 20px;
}

.trial-badge svg {
  width: 12px;
  height: 12px;
  color: #a78bfa;
}

.trial-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.trial-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 380px;
}

.trial-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-trial-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.25);
}

.btn-trial-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 252, 0.35);
  color: #fff;
}

.btn-trial-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-trial-primary:hover svg {
  transform: translateX(4px);
}

.trial-stats {
  display: flex;
  gap: 24px;
}

.trial-stat {
  display: flex;
  flex-direction: column;
}

.trial-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.trial-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

/* Visual side */
.trial-visual {
  flex: 0 0 auto;
  position: relative;
}

.trial-phone-frame {
  width: 210px;
  background: #1C1C1E;
  border-radius: 32px;
  padding: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transform: rotate(2deg);
  position: relative;
  z-index: 2;
}

.trial-phone-frame svg {
  width: 100%;
  display: block;
  border-radius: 26px;
}

/* Floating dashboard card */
.trial-float-card {
  position: absolute;
  top: -20px;
  left: -100px;
  z-index: 3;
  animation: trialCardFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.trial-float-card svg {
  width: 160px;
  border-radius: 12px;
}

@keyframes trialCardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

@media (max-width: 767.98px) {
  .trial-banner-inner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }
  .trial-text p { max-width: 100%; }
  .trial-actions { justify-content: center; }
  .trial-phone-frame { width: 180px; transform: none; }
  .trial-float-card { display: none; }
  .trial-stats { justify-content: center; }
}

/* Comparison Table */
.pricing-comparison {
  margin-top: 64px;
}

.comparison-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.comparison-table th {
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  color: var(--text-gray);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.015);
}

.comp-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary);
  align-items: center;
  justify-content: center;
}

.comp-check::after {
  content: '✓';
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

.comp-x::after {
  content: '✕';
  font-size: 11px;
  color: #d4d4d8;
}

.pricing-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-section .section-title,
.faq-section .section-subtitle {
  text-align: center;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item.active {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  transform: rotate(45deg);
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-toggle svg {
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}

/* Flowing gradient line that crosses CTA + Footer */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background:
    /* Main diagonal ribbon */
    linear-gradient(
      165deg,
      transparent 0%,
      transparent 38%,
      rgba(124, 92, 252, 0.07) 40%,
      rgba(124, 92, 252, 0.13) 42%,
      rgba(59, 130, 246, 0.10) 48%,
      rgba(16, 185, 129, 0.06) 54%,
      transparent 56%,
      transparent 100%
    ),
    /* Secondary thinner line */
    linear-gradient(
      165deg,
      transparent 0%,
      transparent 35%,
      rgba(124, 92, 252, 0.04) 36%,
      rgba(124, 92, 252, 0.08) 37%,
      transparent 38%,
      transparent 100%
    ),
    /* Third accent line below */
    linear-gradient(
      165deg,
      transparent 0%,
      transparent 57%,
      rgba(59, 130, 246, 0.05) 58%,
      rgba(16, 185, 129, 0.07) 59%,
      transparent 60%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Glow orbs along the line path */
.cta-section::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift1 10s ease-in-out infinite;
}

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(40px, 30px); opacity: 1; }
}

/* Extra glow orb via the footer-wrapper */
.footer-wrapper::before {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift2 12s ease-in-out infinite;
}

@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  50% { transform: translate(-30px, -20px); opacity: 0.9; }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9375rem;
  font-family: var(--font-family);
  outline: none;
  transition: var(--transition);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.cta-form button {
  padding: 14px 28px;
  white-space: nowrap;
}

.cta-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-phone-wrapper {
  width: 276px;
  height: 552px;
  border-radius: 48px;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255,255,255,0.08);
  background: #1C1C1E;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

/* Power button */
.cta-phone-wrapper::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 22%;
  width: 3px;
  height: 44px;
  background: #2C2C2E;
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

/* Volume buttons */
.cta-phone-wrapper::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 16%;
  width: 3px;
  height: 20px;
  background: #2C2C2E;
  border-radius: 2px 0 0 2px;
  z-index: 1;
  box-shadow: 0 30px 0 #2C2C2E, 0 54px 0 #2C2C2E;
}

.cta-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* Dynamic Island */
.cta-phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: radial-gradient(circle at 62% 50%, #3A3A3C 3px, #1C1C1E 3.5px);
  border-radius: 14px;
  z-index: 10;
}

/* Inner screen edge shadow */
.cta-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 5;
}

.cta-phone-screen svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* --- Footer (merged into CTA section) --- */
.cta-section > .container {
  position: relative;
  z-index: 2;
}

.footer-wrapper {
  padding: 80px 0 0;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .navbar-brand-custom {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.footer-social a svg,
.footer-social a i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover svg,
.footer-social a:hover i {
  color: #fff;
}

.footer-app-badges {
  display: flex;
  gap: 12px;
}

.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.75rem;
  transition: var(--transition);
}

.footer-app-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.footer-app-badge svg,
.footer-app-badge i {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.footer-app-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-app-badge .badge-text small {
  font-size: 0.625rem;
  opacity: 0.7;
}

.footer-app-badge .badge-text span {
  font-weight: 600;
  font-size: 0.8125rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-left a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 24px;
}

.footer-bottom-left a:hover {
  color: var(--white);
}

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

/* --- Section Transitions (no more bridge divs) ---
   Each section handles its own top/bottom fade via padding + internal gradients.
   Light sections: white/bg-light background
   Dark sections: var(--dark-section) background
   Transitions happen naturally — no extra divs needed.
*/
.section-divider { display: none; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* --- Keyframes --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   FULLSCREEN EMAIL MODAL
   ============================================ */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}

.email-modal.active {
  pointer-events: all;
  visibility: visible;
}

/* Backdrop */
.email-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 16, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-modal.active .email-modal-backdrop {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Content container */
.email-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 48px 40px;
  transform: scale(0.3) translateY(40px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-modal.active .email-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button */
.email-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  z-index: 10;
}

.email-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: rotate(90deg);
}

.email-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Inner content */
.email-modal-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Decorative rings */
.email-modal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 252, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s;
  opacity: 0;
}

.email-modal-ring-1 { width: 300px; height: 300px; transition-delay: 0.2s; }
.email-modal-ring-2 { width: 450px; height: 450px; border-color: rgba(124, 92, 252, 0.05); transition-delay: 0.35s; }
.email-modal-ring-3 { width: 600px; height: 600px; border-color: rgba(124, 92, 252, 0.03); transition-delay: 0.5s; }

.email-modal.active .email-modal-ring {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Floating particles */
.email-modal-particles {
  position: absolute;
  inset: -100px;
  pointer-events: none;
  z-index: 0;
}

.email-modal-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7C5CFC;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s;
}

.email-modal.active .email-modal-particles span {
  opacity: 0.4;
  animation: emailParticle 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.4s);
}

.email-modal-particles span:nth-child(1) { top: 10%; left: 15%; }
.email-modal-particles span:nth-child(2) { top: 20%; right: 20%; width: 6px; height: 6px; background: #3B82F6; }
.email-modal-particles span:nth-child(3) { bottom: 25%; left: 10%; width: 3px; height: 3px; }
.email-modal-particles span:nth-child(4) { bottom: 15%; right: 15%; width: 5px; height: 5px; background: #10B981; }
.email-modal-particles span:nth-child(5) { top: 50%; left: 5%; width: 3px; height: 3px; background: #3B82F6; }
.email-modal-particles span:nth-child(6) { top: 5%; left: 50%; width: 5px; height: 5px; }
.email-modal-particles span:nth-child(7) { bottom: 5%; left: 40%; width: 4px; height: 4px; background: #10B981; }
.email-modal-particles span:nth-child(8) { top: 40%; right: 5%; }

@keyframes emailParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(10px, -15px) scale(1.3); opacity: 0.6; }
  50% { transform: translate(-8px, -25px) scale(0.8); opacity: 0.2; }
  75% { transform: translate(12px, 8px) scale(1.1); opacity: 0.5; }
}

/* Icon */
.email-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  background: rgba(124, 92, 252, 0.06);
  border: 1px solid rgba(124, 92, 252, 0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.email-modal.active .email-modal-icon {
  transform: translateY(0);
  opacity: 1;
}

.email-modal-icon svg {
  width: 40px;
  height: 40px;
}

/* Title */
.email-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.email-modal.active .email-modal-title {
  transform: translateY(0);
  opacity: 1;
}

/* Subtitle */
.email-modal-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 32px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.email-modal.active .email-modal-subtitle {
  transform: translateY(0);
  opacity: 1;
}

/* Form */
.email-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.email-modal.active .email-modal-form {
  transform: translateY(0);
  opacity: 1;
}

.email-modal-input-wrapper {
  position: relative;
}

.email-modal-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition: color 0.3s;
}

.email-modal-input {
  width: 100%;
  padding: 18px 20px 18px 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #fff;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.email-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.email-modal-input:focus {
  border-color: rgba(124, 92, 252, 0.5);
  background: rgba(124, 92, 252, 0.06);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.1);
}

.email-modal-input:focus ~ .email-modal-input-icon,
.email-modal-input-wrapper:focus-within .email-modal-input-icon {
  color: #7C5CFC;
}

/* Input glow line */
.email-modal-input-glow {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7C5CFC, #3B82F6, #7C5CFC);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.email-modal-input:focus ~ .email-modal-input-glow {
  width: 100%;
  left: 0;
}

/* Submit button */
.email-modal-submit {
  padding: 18px 32px;
  background: linear-gradient(135deg, #7C5CFC 0%, #6247ea 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.email-modal-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.email-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.3);
}

.email-modal-submit:hover::before {
  opacity: 1;
}

.email-modal-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.email-modal-submit:hover svg {
  transform: translateX(4px);
}

/* Note */
.email-modal-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 16px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

.email-modal.active .email-modal-note {
  transform: translateY(0);
  opacity: 1;
}

/* Success state */
.email-modal-success {
  text-align: center;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.email-modal-success.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.email-success-check {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.email-success-check svg {
  width: 100%;
  height: 100%;
}

.email-success-check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.email-modal-success.show .email-success-check-path {
  animation: checkDraw 0.6s 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* Body lock when modal open */
body.email-modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 575.98px) {
  .email-modal-content {
    padding: 36px 24px;
    margin: 0 16px;
  }
  .email-modal-title { font-size: 1.5rem; }
  .email-modal-input { padding: 16px 16px 16px 48px; font-size: 1rem; }
  .email-modal-submit { padding: 16px 24px; }
  .email-modal-ring-2, .email-modal-ring-3 { display: none; }
}

/* --- Responsive --- */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
}

@media (max-width: 991.98px) {
  .navbar-nav-custom {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav-custom.show {
    display: flex;
  }

  .navbar-toggler-custom {
    display: block;
  }

  .navbar-cta {
    display: none;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-section { padding: 60px 0 40px; min-height: auto; }

  .hero-visual {
    height: 400px;
    margin-top: 40px;
  }

  .phone-main { width: 216px; height: 432px; border-radius: 36px; padding: 6px; margin-left: -108px; margin-top: -216px; }
  .phone-main .phone-screen { border-radius: 30px; }
  .phone-left { width: 186px; height: 372px; border-radius: 36px; padding: 6px; margin-top: -186px; }
  .phone-left .phone-screen { border-radius: 30px; }
  .phone-right { width: 186px; height: 372px; border-radius: 36px; padding: 6px; margin-top: -186px; }
  .phone-right .phone-screen { border-radius: 30px; }

  .how-it-works-content { padding-left: 0; margin-top: 48px; }
  .how-it-works-phone-wrapper { width: 256px; height: 512px; border-radius: 42px; padding: 6px; }
  .hiw-phone-screen { border-radius: 36px; }

  h2 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-trust-logos { flex-wrap: wrap; gap: 16px; }

  .hero-visual {
    height: 380px;
    margin-top: 32px;
  }

  .phone-main { width: 196px; height: 392px; border-radius: 34px; padding: 6px; }
  .phone-main .phone-screen { border-radius: 28px; }
  .phone-left { width: 166px; height: 332px; left: -10px; border-radius: 34px; padding: 5px; }
  .phone-left .phone-screen { border-radius: 28px; }
  .phone-right { width: 166px; height: 332px; right: -10px; border-radius: 34px; padding: 5px; }
  .phone-right .phone-screen { border-radius: 28px; }

  h2 { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.9375rem; }

  .pricing-card { margin-bottom: 24px; }

  .cta-content h2 { font-size: 2rem; }
  .cta-form { flex-direction: column; }

  .cta-visual { margin-top: 48px; }
  .cta-phone-wrapper { width: 236px; height: 472px; border-radius: 42px; padding: 6px; }
  .cta-phone-screen { border-radius: 36px; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .faq-item { padding: 16px 20px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.75rem; }

  .hero-visual { height: 320px; }
  .phone-main { width: 176px; height: 352px; border-radius: 30px; padding: 5px; }
  .phone-main .phone-screen { border-radius: 26px; }
  .phone-left { display: none; }
  .phone-right { display: none; }

  .how-it-works-phone-wrapper { width: 236px; height: 472px; border-radius: 40px; padding: 6px; }
  .hiw-phone-screen { border-radius: 34px; }

  h2 { font-size: 1.5rem; }

  .footer-app-badges { flex-direction: column; }
}

/* --- Utility --- */
.text-center { text-align: center; }

.overflow-hidden { overflow: hidden; }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav-overlay.show {
  display: block;
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
  --white: #0f0d1e;
  --bg-light: #16132D;
  --text-dark: #E5E7EB;
  --text-gray: #9CA3AF;
  --text-muted: #6B7280;
  --border-color: #2D2B45;
  --dark-section: #0f0d1e;
}

[data-theme="dark"] body { background: #0f0d1e; color: #E5E7EB; }

[data-theme="dark"] .navbar-custom { background: transparent; }
[data-theme="dark"] .navbar-custom.scrolled { background: rgba(15,13,30,0.95); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .nav-link { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active { color: #fff; }
[data-theme="dark"] .navbar-brand-custom { color: #fff; }

[data-theme="dark"] .hero-section { background: linear-gradient(180deg, #0f0d1e 0%, #16132D 100%); }
[data-theme="dark"] .hero-title { color: #fff; }
[data-theme="dark"] .hero-description { color: #9CA3AF; }
[data-theme="dark"] .hero-badge { background: rgba(124,92,252,0.15); color: #a78bfa; }
[data-theme="dark"] .hero-float { background: rgba(30,28,50,0.9); border: 1px solid rgba(255,255,255,0.06); }
[data-theme="dark"] .hero-float-big { color: #fff; }

[data-theme="dark"] .features-section,
[data-theme="dark"] .benefits-section,
[data-theme="dark"] .trust-section,
[data-theme="dark"] .pricing-section,
[data-theme="dark"] .faq-section { background: #0f0d1e; }

[data-theme="dark"] .section-title { color: #fff; }
[data-theme="dark"] .section-subtitle { color: #9CA3AF; }
[data-theme="dark"] .section-badge { background: rgba(124,92,252,0.15); color: #a78bfa; border-color: rgba(124,92,252,0.2); }

[data-theme="dark"] .feature-card,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .trust-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .faq-item { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); color: #E5E7EB; }

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .benefit-card:hover,
[data-theme="dark"] .pricing-card:hover { border-color: rgba(124,92,252,0.2); }

[data-theme="dark"] .feature-card-title,
[data-theme="dark"] .benefit-text h4,
[data-theme="dark"] .pricing-plan-name,
[data-theme="dark"] .faq-question h5,
[data-theme="dark"] .comparison-title { color: #fff; }

[data-theme="dark"] .pricing-price .amount { color: #fff; }
[data-theme="dark"] .pricing-icon { background: rgba(255,255,255,0.04); }

[data-theme="dark"] .btn-pricing { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #E5E7EB; }
[data-theme="dark"] .btn-pricing:hover { background: rgba(255,255,255,0.08); }

[data-theme="dark"] .comparison-table th { color: #fff; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .comparison-table td { color: #9CA3AF; border-color: rgba(255,255,255,0.04); }
[data-theme="dark"] .comparison-table td:first-child { color: #E5E7EB; }
[data-theme="dark"] .comparison-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

[data-theme="dark"] .all-plan-tag { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #E5E7EB; }

/* gradient bridges removed */

[data-theme="dark"] .btn-outline-custom { border-color: rgba(255,255,255,0.2); color: #E5E7EB; }
[data-theme="dark"] .btn-outline-custom:hover { background: rgba(255,255,255,0.06); }

/* Ensure primary buttons always have white text on dark sections */
[data-theme="dark"] .btn-primary-custom { color: #fff; }
[data-theme="dark"] .btn-primary-custom:hover { color: #fff; }
[data-theme="dark"] .cta-form button { color: #fff; }
[data-theme="dark"] .btn-pricing-dark { color: #fff; }
[data-theme="dark"] .pos-cta-btn { color: #fff; }
[data-theme="dark"] .hiw-cta .btn-primary-custom { color: #fff; }
[data-theme="dark"] .trial-banner-inner .btn-trial-primary { color: #fff; }
[data-theme="dark"] .trust-card h4 { color: #fff; }
[data-theme="dark"] .trust-card p { color: #9CA3AF; }

[data-theme="dark"] .btn-dark-custom { background: #fff; color: #0f0d1e; }

[data-theme="dark"] .hero-trust { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hero-trust-text { color: rgba(255,255,255,0.4); }

/* Language switcher */
.lang-switch {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s;
}

.lang-switch:hover { color: var(--primary); border-color: var(--primary); }
[data-theme="dark"] .lang-switch { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
[data-theme="dark"] .lang-switch:hover { color: #a78bfa; border-color: #a78bfa; }

/* Dark mode toggle button */
.dark-mode-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s;
}

.dark-mode-toggle:hover { color: var(--primary); border-color: var(--primary); }
.dark-mode-toggle svg { width: 18px; height: 18px; }
.dm-moon { display: none; }
[data-theme="dark"] .dm-sun { display: none; }
[data-theme="dark"] .dm-moon { display: block; }
[data-theme="dark"] .dark-mode-toggle { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
[data-theme="dark"] .dark-mode-toggle:hover { color: #a78bfa; border-color: #a78bfa; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Firefox scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-light); }

/* ============================================
   FIXED CONTACT BUTTONS (WhatsApp + Call)
   ============================================ */
.fixed-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9998;
}

.fixed-contact a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.fixed-contact a:hover { transform: scale(1.1); }
.fixed-contact .whatsapp-btn { background: #25D366; }
.fixed-contact .call-btn { background: var(--primary); }
.fixed-contact svg,
.fixed-contact i { width: 24px; height: 24px; font-size: 24px; color: #fff; }

/* ============================================================
   DARK SECTION FLOW — crossing light lines + glow orbs
   Applied to ALL adjacent dark sections so they feel like
   one continuous dark canvas (same style as CTA + Footer).
   ============================================================ */

/* Crossing light lines for dark sections */
.videos-section,
.ecosystem-section,
.how-it-works-section,
.sectors-section,
.stories-section,
.pos-section,
.bento-section,
.instant-quote-section,
.demo-download-section,
.app-links-section {
  position: relative;
  overflow: hidden;
}

/* Diagonal light ribbon — same pattern as cta-section::before */
.ecosystem-section::before,
.sectors-section::before,
.demo-download-section::before {
  content: '';
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 100%;
  background:
    linear-gradient(165deg,
      transparent 0%, transparent 38%,
      rgba(124,92,252,0.06) 40%,
      rgba(124,92,252,0.11) 42%,
      rgba(59,130,246,0.08) 48%,
      rgba(16,185,129,0.05) 54%,
      transparent 56%, transparent 100%
    ),
    linear-gradient(165deg,
      transparent 0%, transparent 35%,
      rgba(124,92,252,0.03) 36%,
      rgba(124,92,252,0.06) 37%,
      transparent 38%, transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Alternate angle for variety on other sections */
.videos-section::before,
.pos-section::before,
.instant-quote-section::before {
  content: '';
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 100%;
  background:
    linear-gradient(155deg,
      transparent 0%, transparent 28%,
      rgba(124,92,252,0.05) 30%,
      rgba(124,92,252,0.10) 32%,
      rgba(59,130,246,0.07) 38%,
      transparent 40%, transparent 100%
    ),
    linear-gradient(155deg,
      transparent 0%, transparent 60%,
      rgba(16,185,129,0.04) 62%,
      rgba(59,130,246,0.06) 63%,
      transparent 65%, transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Drifting glow orbs — odd sections get top-left, even get bottom-right */
.ecosystem-section::after,
.sectors-section::after,
.demo-download-section::after {
  content: '';
  position: absolute;
  top: 15%; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,0.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift1 10s ease-in-out infinite;
}

.videos-section::after,
.pos-section::after,
.instant-quote-section::after {
  content: '';
  position: absolute;
  bottom: 10%; right: 8%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift2 12s ease-in-out infinite;
}

/* Make sure content sits above the lines and glows */
.videos-section > .container,
.ecosystem-section > .container,
.how-it-works-section > .container,
.sectors-section > .container,
.stories-section > .container,
.pos-section > .container,
.bento-section > .container,
.instant-quote-section > .container,
.demo-download-section > .container,
.app-links-section > .container {
  position: relative;
  z-index: 2;
}

/* Remove hard borders between adjacent dark sections —
   since they all share the same bg color, they merge naturally.
   Seamless flow between consecutive dark sections. */

/* All dark sections share the same base background */
.ecosystem-section,
.how-it-works-section,
.sectors-section,
.stories-section,
.pos-section,
.bento-section,
.instant-quote-section,
.demo-download-section,
.app-links-section,
.cta-section {
  background-color: var(--dark-section);
}

/* When a dark section follows another dark section, remove the gap */
.ecosystem-section + .how-it-works-section,
.how-it-works-section + .trust-section,
.stories-section + .pos-section,
.pos-section + .bento-section,
.bento-section + .pricing-section,
.sectors-section + .stories-section,
.ecosystem-section + .sectors-section,
.demo-download-section + .app-links-section,
.app-links-section + .cta-section,
.instant-quote-section + .faq-section,
.faq-section + .demo-download-section {
  margin-top: 0;
}

/* Smooth gradient blending between all dark sections */
.ecosystem-section,
.how-it-works-section,
.stories-section,
.pos-section,
.bento-section,
.sectors-section,
.instant-quote-section,
.demo-download-section,
.app-links-section {
  border-top: none !important;
  border-bottom: none !important;
}

/* Eliminate visible seams — smooth padding transition between dark sections */
.ecosystem-section { padding-bottom: 40px; }
.how-it-works-section { padding-top: 60px; padding-bottom: 40px; }
.stories-section { padding-bottom: 20px; }
.pos-section { padding-top: 40px; padding-bottom: 40px; }
.bento-section { padding-top: 40px; }

/* ============================================================
   NEW SECTIONS — Individual Styles
   ============================================================ */

/* Shared dark-section helpers for new sections */
.dark-section-glow {
  position: relative;
  overflow: hidden;
}
.dark-section-glow::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── 1. SECTORS ── */
.sectors-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.sectors-section .section-badge {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
  border-color: rgba(124,92,252,0.2);
}
.sectors-section .section-title { color: #fff; }
.sectors-section .section-subtitle { color: rgba(255,255,255,0.5); }

.sectors-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  position: relative; z-index: 2;
}
.sectors-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  white-space: nowrap;
  flex-shrink: 0;
}
.sectors-tab-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.sectors-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(124,92,252,0.25);
}
.sectors-tab-btn__icon { display: inline-flex; width: 18px; height: 18px; }
.sectors-tab-btn__icon svg { width: 100%; height: 100%; }

.sectors-panel { display: none; position: relative; z-index: 2; }
.sectors-panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sectors-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px;
}
.sectors-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.sectors-card__icon-wrap {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(124,92,252,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sectors-card__icon { width: 40px; height: 40px; color: var(--primary); }
.sectors-card__icon svg { width: 100%; height: 100%; }

.sectors-card__name { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.sectors-card__subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin: 0; }
.sectors-card__desc { font-size: 0.95rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 24px; }

.sectors-features { margin-bottom: 24px; }
.sectors-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.sectors-feature__check {
  width: 22px; min-width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
}
.sectors-feature__check svg { width: 12px; height: 12px; }
.sectors-feature__text { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ── 2. VIDEOS ── */
.videos-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.videos-section .section-badge {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
  border-color: rgba(124,92,252,0.2);
}
.videos-section .section-title { color: #fff; }
.videos-section .section-subtitle { color: rgba(255,255,255,0.5); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.video-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(124,92,252,0.12);
}
.video-card__thumb {
  position: relative;
  padding-top: 56.25%;
  background: #0d0b1a;
  overflow: hidden;
}
.video-card__thumb img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-card__thumb img { transform: scale(1.05); }

.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(124,92,252,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(124,92,252,0.15);
  transition: transform 0.3s ease;
  z-index: 2;
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__play svg { width: 20px; height: 20px; }

.video-card__duration {
  position: absolute;
  bottom: 8px; right: 8px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  z-index: 2;
}
.video-card__title {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}
.videos-section .btn-outline-custom {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  margin-top: 40px;
}
.videos-section .btn-outline-custom:hover {
  border-color: var(--primary);
  color: #fff;
}

/* ── 3. INSTANT QUOTE ── */
.instant-quote-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.instant-quote-section .section-badge {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
  border-color: rgba(124,92,252,0.2);
}
.instant-quote-section .section-title { color: #fff; }
.instant-quote-section .section-subtitle { color: rgba(255,255,255,0.5); }

.quote-calculator {
  max-width: 680px;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px;
  position: relative; z-index: 2;
}
.quote-form__group { margin-bottom: 20px; }
.quote-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.quote-form__select {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.quote-form__select:focus { border-color: var(--primary); }
.quote-form__select option { color: #1B1B2F; background: #fff; }

.quote-branch-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-branch-counter__btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.2rem; font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: var(--font-family);
}
.quote-branch-counter__btn:hover {
  border-color: var(--primary);
  background: rgba(124,92,252,0.1);
}
.quote-branch-counter__value {
  width: 70px;
  padding: 12px 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1.15rem; font-weight: 700;
  text-align: center;
  font-family: var(--font-family);
}

.quote-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quote-addon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.quote-addon:has(.quote-addon__input:checked) {
  border-color: var(--primary);
  background: rgba(124,92,252,0.1);
}
.quote-addon__input {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.quote-addon__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}

.quote-calculate-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem; font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.quote-calculate-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,92,252,0.25);
}

.quote-result {
  margin-top: 28px;
  padding: 28px;
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.12);
  border-radius: 16px;
  text-align: center;
}
.quote-result__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.quote-result__price-prefix { font-size: 1rem; font-weight: 600; color: #a78bfa; }
.quote-result__price #quotePriceValue,
.quote-result__price span:nth-child(2) { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.quote-result__price-suffix { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.4); }

.quote-result__breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.quote-result__pill {
  padding: 5px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ── 4. DEMO DOWNLOAD ── */
.demo-download-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.demo-download-section .section-badge {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
  border-color: rgba(124,92,252,0.2);
}
.demo-download-section .section-title { color: #fff; margin-bottom: 12px; }
.demo-download-section .section-subtitle { color: rgba(255,255,255,0.5); max-width: 460px; margin-bottom: 28px; }

.demo-form__group { margin-bottom: 14px; }
.demo-form__input {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.2s;
}
.demo-form__input::placeholder { color: rgba(255,255,255,0.3); }
.demo-form__input:focus { border-color: var(--primary); }

.demo-form__submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem; font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.demo-form__submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,92,252,0.25);
}

.demo-form__message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.demo-form__message--success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: #34d399;
}
.demo-form__message--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
}

.demo-phone-mockup { display: flex; justify-content: center; }
.demo-phone-mockup__frame {
  width: 260px;
  border-radius: 40px;
  background: #1C1C1E;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
}
.demo-phone-mockup__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 18px;
  background: #1C1C1E;
  border-radius: 12px;
  z-index: 10;
}
.demo-phone-mockup__screen {
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}

/* ── 5. APP LINKS (centered showcase with floating cards) ── */
.app-links-section {
  padding: 100px 0;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.app-links-section .section-badge {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
  border-color: rgba(124,92,252,0.2);
}
.app-links-section .section-title { color: #fff; margin-bottom: 12px; }
.app-links-section .section-subtitle {
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Showcase: phone in center, floating cards on sides */
.app-links__showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 56px 0 48px;
  min-height: 520px;
}

/* Floating stat cards container */
.app-links__float {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  width: 200px;
}
.app-links__float--left { align-items: flex-end; }
.app-links__float--right { align-items: flex-start; }

/* Individual stat card */
.app-links__stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  animation: appFloat 6s ease-in-out infinite;
  width: 100%;
}
.app-links__stat-card--1 { animation-delay: 0s; }
.app-links__stat-card--2 { animation-delay: 1.5s; }
.app-links__stat-card--3 { animation-delay: 0.8s; }
.app-links__stat-card--4 { animation-delay: 2.2s; }

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

.app-links__stat-icon {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-links__stat-icon svg { width: 20px; height: 20px; }
.app-links__stat-icon--purple { background: rgba(124,92,252,0.12); }
.app-links__stat-icon--green  { background: rgba(16,185,129,0.12); }
.app-links__stat-icon--blue   { background: rgba(59,130,246,0.12); }
.app-links__stat-icon--amber  { background: rgba(245,158,11,0.12); }

.app-links__stat-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.app-links__stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* Center phone */
.app-links__phone-center { flex-shrink: 0; }
.app-links__phone {
  width: 260px;
  border-radius: 40px;
  background: #1C1C1E;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.app-links__phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 18px;
  background: #1C1C1E;
  border-radius: 12px;
  z-index: 10;
}
.app-links__phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0D0B1A;
}

/* Bottom area: store buttons + QR */
.app-links__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.app-links__buttons {
  display: flex;
  gap: 14px;
}
.app-links__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.app-links__store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,92,252,0.15);
  color: #fff;
}
.app-links__store-svg { width: 26px; height: 26px; flex-shrink: 0; }
.app-links__store-icon { font-size: 24px; color: #fff; flex-shrink: 0; }
.app-links__store-info { display: flex; flex-direction: column; }
.app-links__store-label { font-size: 0.65rem; opacity: 0.6; line-height: 1; }
.app-links__store-name { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }

.app-links__qr-group { display: flex; gap: 20px; }
.app-links__qr { text-align: center; }
.app-links__qr-code {
  width: 68px; height: 68px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.app-links__qr-code img { width: 100%; height: 100%; object-fit: contain; }
.app-links__qr-label {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE (new sections) ── */
@media (max-width: 991px) {
  .sectors-section, .videos-section, .instant-quote-section,
  .demo-download-section, .app-links-section { padding: 80px 0; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 0 8px;
    margin: 32px -12px;
    padding-left: 12px;
    padding-right: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sectors-tabs::-webkit-scrollbar { display: none; }
  .sectors-tab-btn { padding: 10px 18px; font-size: 0.85rem; }
  .sectors-card { padding: 28px; }
  .sectors-card__header { flex-direction: column; text-align: center; }
  .sectors-card__icon-wrap { margin: 0 auto 16px; }
  .quote-calculator { padding: 28px; }
  .app-links__float { width: 170px; }
  .app-links__showcase { gap: 24px; }
  .app-links__stat-card { padding: 12px 14px; }
}
@media (max-width: 767px) {
  .videos-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .quote-addons .quote-addon { width: 100%; }
  .app-links__showcase { flex-direction: column; gap: 24px; min-height: auto; }
  .app-links__float { flex-direction: row; width: 100%; justify-content: center; }
  .app-links__float--left, .app-links__float--right { align-items: center; }
  .app-links__stat-card { width: auto; }
  .app-links__buttons { flex-direction: column; align-items: center; }
  .app-links__bottom { flex-direction: column; align-items: center; gap: 24px; }
  .app-links__qr-group { justify-content: center; }
  .demo-phone-mockup__frame, .app-links__phone { width: 220px; border-radius: 34px; }
}
@media (max-width: 575px) {
  .sectors-section, .videos-section, .instant-quote-section,
  .demo-download-section, .app-links-section { padding: 60px 0; }
  .sectors-card { padding: 20px; }
  .sectors-tab-btn { padding: 9px 14px; font-size: 0.8rem; gap: 5px; }
  .sectors-tab-btn__icon { width: 14px; height: 14px; }
  .sectors-card__icon-wrap { width: 64px; height: 64px; border-radius: 16px; }
  .sectors-card__icon { width: 32px; height: 32px; }
  .sectors-card__name { font-size: 1.15rem; }
  .sectors-card__desc { font-size: 0.875rem; }
  .sectors-feature { padding: 6px 0; }
  .sectors-feature__text { font-size: 0.825rem; }
  .quote-calculator { padding: 20px; }
  .video-card__play { width: 40px; height: 40px; }
  .video-card__play svg { width: 16px; height: 16px; }
}

/* ============================================================
   CUSTOM PAGES — Hero, Content, Sidebar Layout
   ============================================================ */

/* Page Hero Banner */
.page-hero {
  padding: 140px 0 60px;
  background: var(--dark-section);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}
.page-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb svg { color: rgba(255,255,255,0.25); }
.page-breadcrumb span { color: rgba(255,255,255,0.7); }

.page-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.page-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* Page Main */
.page-main {
  padding: 60px 0 100px;
  background: var(--bg-light);
  min-height: 50vh;
}
[data-theme="dark"] .page-main { background: #0f0d1e; }

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Article Content */
.page-content {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .page-content {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.page-content__hero-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 28px;
  object-fit: cover;
  max-height: 400px;
}

.page-content__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}
[data-theme="dark"] .page-content__body { color: rgba(255,255,255,0.75); }

.page-content__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-dark);
}
[data-theme="dark"] .page-content__body h2 { color: #fff; }

.page-content__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 10px;
}
.page-content__body p { margin-bottom: 16px; }
.page-content__body ul, .page-content__body ol {
  margin: 0 0 16px 20px;
}
.page-content__body li { margin-bottom: 6px; }
.page-content__body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 16px 0;
}
.page-content__body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content__body a:hover { color: var(--primary-dark); }
.page-content__body blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 16px 0;
  background: rgba(124,92,252,0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-gray);
}
.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.page-content__body th, .page-content__body td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.9rem;
}
.page-content__body th {
  background: var(--bg-light);
  font-weight: 600;
}
[data-theme="dark"] .page-content__body th { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .page-content__body th,
[data-theme="dark"] .page-content__body td { border-color: rgba(255,255,255,0.06); }

.page-content__body code {
  background: rgba(124,92,252,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--primary);
}
.page-content__body pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 16px 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 16px 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.page-content__body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.page-content__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
[data-theme="dark"] .page-content__meta { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }

/* Sidebar */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.page-sidebar__card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .page-sidebar__card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.page-sidebar__card--cta {
  background: var(--dark-section);
  border-color: rgba(255,255,255,0.06);
  text-align: center;
}

.page-sidebar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
}
[data-theme="dark"] .page-sidebar__title { color: #fff; }

.page-sidebar__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-sidebar__links li { margin-bottom: 4px; }
.page-sidebar__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.2s;
}
.page-sidebar__links a:hover {
  background: rgba(124,92,252,0.06);
  color: var(--primary);
}
[data-theme="dark"] .page-sidebar__links a { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .page-sidebar__links a:hover { color: #a78bfa; background: rgba(124,92,252,0.08); }

/* CTA Card */
.page-sidebar__cta-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(124,92,252,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #a78bfa;
}
.page-sidebar__cta-icon svg { width: 22px; height: 22px; }

.page-sidebar__cta-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.page-sidebar__cta-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
  line-height: 1.5;
}
.page-sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.page-sidebar__cta-btn:hover {
  background: #1fba59;
  transform: translateY(-1px);
  color: #fff;
}

/* App download buttons */
.page-sidebar__app-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-sidebar__app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
}
.page-sidebar__app-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
[data-theme="dark"] .page-sidebar__app-btn {
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}
[data-theme="dark"] .page-sidebar__app-btn:hover { border-color: var(--primary); color: #a78bfa; }

/* Responsive */
@media (max-width: 991px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .page-sidebar__card { flex: 1; min-width: 250px; }
  .page-hero__title { font-size: 2rem; }
}

@media (max-width: 575px) {
  .page-hero { padding: 120px 0 40px; }
  .page-hero__title { font-size: 1.6rem; }
  .page-content { padding: 24px; border-radius: 14px; }
  .page-sidebar { flex-direction: column; }
  .page-sidebar__card { min-width: auto; }
}

/* Blog tags */
.page-content__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.page-content__tag {
  padding: 4px 12px;
  background: rgba(124,92,252,0.06);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}
[data-theme="dark"] .page-content__tag {
  background: rgba(124,92,252,0.1);
  color: #a78bfa;
}

/* --- Sub-page navbar (always visible) --- */
.page-navbar .navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}
[data-theme="dark"] .page-navbar .navbar-custom {
  background: rgba(15,13,30,0.95);
  border-color: rgba(255,255,255,0.06);
}

/* --- Blog Cards --- */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card, #fff);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color, rgba(0,0,0,0.06));
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(124,92,252,0.12);
  border-color: rgba(124,92,252,0.2);
  color: inherit;
  text-decoration: none;
}
.blog-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft, #f9f8ff);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}
.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted, #9CA3AF);
}
.blog-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted, #9CA3AF);
  margin-bottom: 10px;
}
.blog-card__tag {
  padding: 2px 10px;
  background: rgba(124,92,252,0.08);
  color: var(--primary, #7C5CFC);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
}
.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark, #1B1B2F);
  margin-bottom: 8px;
}
.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-gray, #6B7280);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary, #7C5CFC);
  transition: gap 0.2s ease;
}
.blog-card:hover .blog-card__link {
  gap: 10px;
}

/* Dark mode blog cards */
[data-theme="dark"] .blog-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .blog-card:hover {
  border-color: rgba(124,92,252,0.3);
  box-shadow: 0 12px 40px rgba(124,92,252,0.15);
}
[data-theme="dark"] .blog-card__title { color: #fff; }
[data-theme="dark"] .blog-card__tag { background: rgba(124,92,252,0.15); color: #a78bfa; }

/* --- Blog Listing Page --- */
.blog-page {
  padding: 40px 0 80px;
}
.blog-page__header {
  text-align: center;
  margin-bottom: 48px;
}
.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) { .blog-page__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .blog-page__grid { grid-template-columns: 1fr; } }
.blog-page__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray, #6B7280);
}

/* --- Features Page --- */
.features-page { padding: 40px 0 80px; }
.features-page__header { text-align: center; margin-bottom: 48px; }
.feature-app-card {
  background: var(--bg-card, #fff);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--border-color, rgba(0,0,0,0.06));
  transition: all 0.3s ease;
}
.feature-app-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="dark"] .feature-app-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
.feature-app-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.feature-app-card__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-app-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark, #1B1B2F);
  margin-bottom: 12px;
}
[data-theme="dark"] .feature-app-card__title { color: #fff; }
.feature-app-card__desc {
  font-size: 0.95rem;
  color: var(--text-gray, #6B7280);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-app-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.feature-app-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-dark, #1B1B2F);
}
[data-theme="dark"] .feature-app-card__list li { color: rgba(255,255,255,0.8); }
.feature-app-card__list li svg { flex-shrink: 0; margin-top: 3px; }
.feature-app-card__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.feature-app-card__stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-soft, #f9f8ff);
  border-radius: 12px;
}
[data-theme="dark"] .feature-app-card__stat { background: rgba(255,255,255,0.04); }
.feature-app-card__stat-value {
  font-size: 1.3rem;
  font-weight: 800;
}
.feature-app-card__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted, #9CA3AF);
  margin-top: 2px;
}
.feature-app-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.feature-app-card__actions .btn-primary-custom {
  font-size: 0.85rem;
  padding: 10px 20px;
}
