/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Focus States (ADA) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #9a76d6;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Skip link (ADA) ── */
.skip-link {
  position: absolute; top: -40px; left: 16px; z-index: 1000;
  background: #9a76d6; color: #fff; padding: 8px 16px; border-radius: 6px;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ── Reduced motion (ADA) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .bg-video { display: none; }
}

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #9a76d6; color: #fff; font-weight: 600; font-size: 1rem;
  padding: 12px 28px; border-radius: 999px; transition: background 0.2s;
}
.btn-primary:hover { background: #8560c4; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #b89aef; color: #9a76d6; font-weight: 600; font-size: 1rem;
  padding: 12px 28px; border-radius: 999px; transition: background 0.2s;
}
.btn-outline:hover { background: #f5f0ff; }
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #000; text-align: center;
}
.gradient-purple { background: linear-gradient(135deg, #9a76d6, #571d94); }
.gradient-text {
  color: #9a76d6;
}

/* Background video (fills parent, sits behind content) */
.bg-video {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0 !important; pointer-events: none;
}
/* Dark purple overlay on top of background video, matching hero/footer */
.features::after,
.testimonials::after,
.feature-hero::after,
.about-page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26, 15, 46, 0.45);
  pointer-events: none; z-index: 0;
}
/* White headings/text on the video overlay sections */
.features .section-title,
.testimonials .section-title,
.feature-hero h1,
.about-page-hero h1 { color: #fff !important; }
.feature-hero .subtitle,
.about-page-hero .subtitle { color: rgba(255, 255, 255, 0.9) !important; }
.feature-hero .breadcrumb { color: rgba(255, 255, 255, 0.75); }
.feature-hero .breadcrumb a { color: #fff; }
.feature-hero .breadcrumb a:hover { color: #d4c4f7; }
.feature-hero .breadcrumb span { color: rgba(255, 255, 255, 0.5); }

/* ── Glass Bubble ── */
.glass-bubble {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(154, 118, 214, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.glass-bubble:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(154, 118, 214, 0.2),
    0 4px 16px rgba(154, 118, 214, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; backdrop-filter: none;
  border-bottom: none;
  transition: background 0.3s, border-bottom 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0ecf5;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-logo img { height: 70px; width: auto; transition: opacity 0.3s; }
.navbar-logo .logo-white { display: block; }
.navbar-logo .logo-black { display: none; }
.navbar-logo:hover .logo-white { display: none; }
.navbar-logo:hover .logo-black { display: block; }
.navbar.scrolled .navbar-logo .logo-white { display: none; }
.navbar.scrolled .navbar-logo .logo-black { display: block; }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a { font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color 0.3s; }
.navbar-links a:hover { color: #000; }
.navbar.scrolled .navbar-links a { color: #000; }
.navbar.scrolled .navbar-links a:hover { color: #9a76d6; }
.navbar-links .btn-primary { padding: 10px 24px; font-size: 1.1rem; }
.navbar-links .btn-primary,
.navbar-links .btn-primary:hover,
.navbar.scrolled .navbar-links .btn-primary,
.navbar.scrolled .navbar-links .btn-primary:hover { color: #000; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger svg { width: 24px; height: 24px; stroke: #fff; transition: stroke 0.3s; }
.navbar.scrolled .hamburger svg { stroke: #333; }
.mobile-menu {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 24px 20px; background: #fff; border-top: 1px solid #f0ecf5;
}
.mobile-menu a { font-size: 1.1rem; font-weight: 500; color: #000; }
.mobile-menu .btn-primary { text-align: center; justify-content: center; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open { display: flex; }
}

/* ── Legal pages (Privacy, Terms, Cookies, Security) ── */
.legal-page { padding: 120px 0 80px; background: #fff; min-height: 60vh; }
.legal-page .container { max-width: 860px; }
.legal-page .legal-meta { color: #9a76d6; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-page h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #000; line-height: 1.1; margin-top: 12px; }
.legal-page .lead { margin-top: 20px; font-size: 1.15rem; line-height: 1.6; color: #000; }
.legal-toc {
  margin-top: 40px; padding: 24px 28px; border-radius: 16px;
  background: rgba(154, 118, 214, 0.08); border: 1px solid rgba(154, 118, 214, 0.18);
}
.legal-toc h2 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9a76d6; font-weight: 600; }
.legal-toc ol { margin-top: 12px; list-style: decimal inside; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; font-size: 0.95rem; }
.legal-toc a { color: #000; transition: color 0.2s; }
.legal-toc a:hover { color: #9a76d6; }
.legal-section { margin-top: 48px; scroll-margin-top: 96px; }
.legal-section h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.85rem; font-weight: 700;
  color: #000; line-height: 1.2; margin-bottom: 16px;
}
.legal-section h3 {
  font-size: 1.1rem; font-weight: 600; color: #000; margin-top: 20px; margin-bottom: 8px;
}
.legal-section p, .legal-section li { color: #000; line-height: 1.7; font-size: 1rem; }
.legal-section p + p { margin-top: 14px; }
.legal-section ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal-section ul li { margin-bottom: 6px; }
.legal-section a { color: #9a76d6; font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }
.legal-section .legal-table {
  width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.95rem;
}
.legal-section .legal-table th, .legal-section .legal-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(154, 118, 214, 0.2);
}
.legal-section .legal-table th {
  background: rgba(154, 118, 214, 0.08); color: #000; font-weight: 600;
}
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-section h2 { font-size: 1.5rem; }
}

/* ── Cookie consent banner ── */
.cookie-banner {
  position: fixed; z-index: 120;
  right: 24px; bottom: 88px; left: auto;
  max-width: 420px; width: calc(100% - 32px);
  padding: 20px 22px 18px;
  background: #fff; color: #000;
  border: 1px solid #e8dff5; border-radius: 16px;
  box-shadow: 0 20px 48px rgba(26,15,46,0.18), 0 8px 20px rgba(26,15,46,0.08);
  font-size: 0.95rem; line-height: 1.5;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: #000;
  margin-bottom: 6px;
}
.cookie-banner p { color: #000; margin-bottom: 14px; }
.cookie-banner a { color: #9a76d6; font-weight: 600; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cookie-banner-actions button {
  flex: 1 1 auto; min-width: 0;
  padding: 10px 16px; border-radius: 999px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-banner-accept { background: #9a76d6; color: #fff; }
.cookie-banner-accept:hover { background: #8560c4; }
.cookie-banner-reject { background: #fff; color: #000; border-color: #e8dff5; }
.cookie-banner-reject:hover { background: #f5f0ff; border-color: #d4c4f7; }
@media (max-width: 640px) {
  .cookie-banner {
    right: 12px; left: 12px; bottom: 84px;
    max-width: none; width: auto;
    padding: 16px 18px 14px;
  }
  .cookie-banner h3 { font-size: 1.25rem; }
}

/* ── Bottom sticky bar ── */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e8dff5;
  box-shadow: 0 -6px 24px rgba(26,15,46,0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.bottom-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.bottom-bar-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #000; font-weight: 600; font-size: 1rem;
  transition: color 0.2s;
}
.bottom-bar-phone svg { width: 18px; height: 18px; stroke: #9a76d6; flex-shrink: 0; }
.bottom-bar-phone:hover { color: #9a76d6; }
.bottom-bar .btn-primary { padding: 10px 22px; font-size: 1rem; white-space: nowrap; }
.footer-static, .footer-wrapper { padding-bottom: 72px; }
@media (max-width: 480px) {
  .bottom-bar { padding: 10px 14px; gap: 8px; }
  .bottom-bar-phone { font-size: 0.95rem; }
  .bottom-bar .btn-primary { padding: 10px 18px; font-size: 0.95rem; }
}

/* ── Hero (homepage) ── */
.hero-wrapper {
  position: relative; z-index: 2; height: 100vh;
}
.hero {
  position: fixed; top: 0; left: 0; right: 0; overflow: hidden; height: 100vh;
  display: flex; align-items: flex-end;
  background-image: url('images/purpleclouds.jpg');
  background-size: cover; background-position: center center;
  z-index: 1;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,15,46,0.45);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; width: 100%; max-width: 100%; padding: 0 60px 80px; text-align: left; margin: 0; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 700; color: #fff; line-height: 1.05; }
.hero h1 span { font-style: italic; color: #fff; }
.hero p { margin-top: 24px; font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 480px; }
.hero-buttons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero .btn-outline {
  border-color: rgba(255,255,255,0.4); color: #fff;
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
  .hero .container { padding: 0 24px 60px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
}

/* Dashboard mockup */
.dashboard {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: 16px;
  padding: 24px; box-shadow: 0 20px 60px rgba(87,29,148,0.1);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stat-badge { background: rgba(255,255,255,0.8); border-radius: 12px; padding: 14px 16px; border: 1px solid #f0ecf5; }
.stat-badge .label { font-size: 1rem; color: #000; }
.stat-badge .value { font-size: 1.3rem; font-weight: 700; color: #9a76d6; }
.stat-badge .change { font-size: 1rem; font-weight: 600; }
.stat-badge .change.up { color: #16a34a; }
.stat-badge .change.down { color: #dc2626; }
.platform-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.platform-row .name { font-size: 1rem; color: #000; width: 100px; flex-shrink: 0; }
.platform-row .bar-bg { flex: 1; background: #e8dff5; border-radius: 999px; height: 8px; }
.platform-row .bar-fill { height: 8px; border-radius: 999px; background: linear-gradient(135deg, #9a76d6, #571d94); }
.platform-row .score { font-size: 1rem; font-weight: 700; color: #9a76d6; width: 32px; text-align: right; }
.dashboard-notification {
  margin-top: 16px; background: #f5f0ff; border: 1px solid #e8dff5;
  border-radius: 10px; padding: 12px 16px; font-size: 1rem; color: #9a76d6;
}
.dashboard-notification strong { font-weight: 700; }
@media (max-width: 768px) {
  .dashboard { max-width: 400px; margin: 0 auto; }
}

/* ── Page content (scrolls over hero) ── */
.page-content {
  position: relative; z-index: 2;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 -12px 50px rgba(0,0,0,0.1), 0 12px 50px rgba(0,0,0,0.1);
}

/* ── Key Metrics ── */
.metrics { padding: 80px 0; background: #fff; }
.metrics-flow {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 16px; margin-top: 64px; flex-wrap: nowrap;
}
.metrics-item {
  flex: 0 1 220px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.metrics-label {
  font-size: 1.1rem; font-weight: 500; color: #000;
  margin-bottom: 16px;
  height: 1.4em;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.metrics-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: #9a76d6; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 600; line-height: 1; text-align: center;
  box-shadow: 0 8px 24px rgba(154, 118, 214, 0.25);
  transition: transform 0.3s ease;
}
.metrics-item:hover .metrics-circle {
  transform: translateY(-4px) scale(1.04);
}
.metrics-item:first-child .metrics-circle { text-indent: 0.08em; }
.metrics-desc {
  margin-top: 20px; font-size: 0.95rem; color: #000;
  line-height: 1.5; max-width: 220px;
}
.metrics-arrow {
  flex: 1 1 60px; max-width: 120px;
  display: flex; align-items: center; color: #9a76d6;
  margin-top: calc(1.4em + 16px + 60px - 12px); /* align arrow to middle of circle */
}
.metrics-arrow svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .metrics-flow { flex-direction: column; gap: 24px; align-items: center; }
  .metrics-item { flex: 0 1 auto; width: 100%; max-width: 320px; }
  .metrics-circle { width: 96px; height: 96px; font-size: 2.25rem; }
  .metrics-label { height: auto; white-space: normal; margin-bottom: 12px; }
  .metrics-desc { max-width: 100%; margin-top: 14px; }
  .metrics-arrow {
    margin: 0; transform: rotate(90deg);
    width: 40px; max-width: none; height: 20px; flex-basis: auto;
  }
}

/* ── Features ── */
.features {
  padding: 80px 0;
  position: relative; overflow: hidden;
  background: #faf8fd;
}
.features > *:not(.bg-video) { position: relative; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.feature-card {
  padding: 32px 32px 72px; position: relative; display: block; cursor: pointer;
  text-decoration: none; color: inherit;
  overflow: hidden;
}
.feature-card.glass-bubble {
  background: rgba(255, 255, 255, 0.8);
}
.feature-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #9a76d6, #7c52bd);
  transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
  z-index: 2;
}
.feature-card:hover::before {
  transform: scaleY(1);
}
.feature-card.glass-bubble:hover {
  background: rgba(255, 255, 255, 0.95);
}
.feature-icon {
  width: 56px; height: 56px; background: #f5f0ff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; stroke: #9a76d6; fill: none; stroke-width: 1.5; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; color: #9a76d6; }
.feature-card p { margin-top: 12px; font-size: 1rem; color: #000; line-height: 1.6; }
.feature-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e8dff5;
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: #9a76d6; transition: background 0.2s, box-shadow 0.2s;
}
.feature-card:hover .feature-arrow {
  background: #f5f0ff; box-shadow: 0 4px 12px rgba(154,118,214,0.15);
}
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ── About ── */
.about { padding: 80px 0; background: #fff; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; position: relative; }
.about h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #000; line-height: 1.15; }
.about p { margin-top: 16px; color: #000; line-height: 1.7; }
.about-link { display: inline-block; margin-top: 24px; color: #9a76d6; font-weight: 600; transition: color 0.2s; }
.about-link:hover { color: #7c52bd; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.about-image {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: calc(50% - 28px);
  display: grid; grid-template-rows: 1fr 1fr; gap: 20px;
  min-height: 0;
}
.about-image img {
  width: 100%; height: 100%; display: block; border-radius: 16px;
  object-fit: contain; object-position: center; min-height: 0; min-width: 0;
  box-shadow: 0 4px 24px rgba(154, 118, 214, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-image img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(154, 118, 214, 0.2),
    0 4px 16px rgba(154, 118, 214, 0.1);
}
.about-stat {
  padding: 32px; text-align: center;
  background: rgba(154, 118, 214, 0.1);
}
.about-stat .num { font-size: 2.2rem; font-weight: 700; color: #9a76d6; }
.about-stat .label { margin-top: 4px; font-size: 0.9rem; color: #000; }
@media (max-width: 768px) {
  .about .container { grid-template-columns: 1fr; gap: 24px; }
  .about-image {
    position: static;
    width: auto;
    display: flex; flex-direction: column; gap: 16px;
    margin-top: 8px;
  }
  .about-image img {
    width: 100%; height: auto; max-height: 320px;
    object-fit: contain;
  }
}

/* ── How It Works ── */
.how-it-works { padding: 80px 0; background: #fff; }
.steps-list {
  max-width: 900px; margin: 64px auto 0;
  display: flex; flex-direction: column;
}
.step-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid rgba(154, 118, 214, 0.2);
  transition: padding-left 0.3s ease;
}
.step-row:last-child { border-bottom: none; }
.step-row:hover { padding-left: 16px; }
.step-num {
  width: 120px; height: 120px; border-radius: 50%;
  background: #9a76d6; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 600; line-height: 1; text-align: center;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px rgba(154, 118, 214, 0.25);
  transition: transform 0.3s ease;
}
.step-row:hover .step-num {
  transform: translateY(-4px) scale(1.04);
}
.step-content h3 {
  font-size: 1.5rem; font-weight: 600; color: #000; line-height: 1.2;
}
.step-content p {
  margin-top: 10px; font-size: 1.05rem; color: #000; line-height: 1.6;
  max-width: 560px;
}
@media (max-width: 640px) {
  .step-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .step-row:hover { padding-left: 0; }
  .step-num { width: 80px; height: 80px; font-size: 1.5rem; }
}

/* ── Testimonials ── */
.testimonials {
  padding: 80px 0; position: relative; overflow: hidden;
  background: #faf8fd;
}
.testimonials > *:not(.bg-video) { position: relative; z-index: 1; }
/* Carousel */
.carousel {
  display: flex; align-items: center; gap: 24px;
  margin-top: 56px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.carousel-track {
  flex: 1; position: relative;
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%; scroll-snap-align: center;
}
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e8dff5;
  background: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  color: #9a76d6;
  box-shadow: 0 4px 16px rgba(154, 118, 214, 0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  background: #9a76d6; color: #fff;
  box-shadow: 0 6px 20px rgba(154, 118, 214, 0.3);
}
.carousel-btn:active { transform: scale(0.95); }
.carousel-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.carousel-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #d4c4f7; border: none;
  cursor: pointer; transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active { background: #9a76d6; transform: scale(1.2); }

.testimonial-card {
  padding: 32px; background: #fff; border: 1px solid #e8dff5; border-radius: 20px;
}
.quote-icon { width: 32px; height: 32px; fill: #b89aef; margin-bottom: 16px; }
.testimonial-card p { color: #000; line-height: 1.7; }
.testimonial-card .author { margin-top: 16px; font-weight: 600; color: #9a76d6; }

@media (max-width: 768px) {
  .carousel { gap: 12px; }
  .carousel-btn { width: 40px; height: 40px; }
}

/* ── FAQ ── */
.faq { padding: 80px 0; background: #fff; }
.faq-list { max-width: 800px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; background: rgba(154, 118, 214, 0.1); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: #9a76d6; text-align: left;
}
.faq-question svg {
  width: 20px; height: 20px; stroke: #9a76d6; flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  padding: 20px 24px;
  font-size: 1rem; color: #000; line-height: 1.6;
  display: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(154, 118, 214, 0.2);
}
.faq-item.open .faq-answer { display: block; }

/* ── Footer wrapper (fixed at bottom, revealed by scrolling) ── */
.footer-wrapper {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 0;
  background-image: url('images/purpleclouds.jpg');
  background-size: cover; background-position: center center;
}
.footer-wrapper::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,15,46,0.45);
  pointer-events: none; z-index: 0;
}
.footer-spacer {
  position: relative; z-index: 2;
  pointer-events: none;
}

/* ── Static footer (for non-landing pages) ── */
.footer-static {
  position: relative;
  background-image: url('images/purpleclouds.jpg');
  background-size: cover; background-position: center center;
}
.footer-static::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,15,46,0.45);
  pointer-events: none; z-index: 0;
}
.footer-static .cta,
.footer-static .footer { position: relative; z-index: 1; }

/* ── CTA ── */
.cta {
  position: relative; z-index: 1;
  padding: 80px 0; text-align: center;
  color: #fff;
}
.cta h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; }
.cta p { margin-top: 20px; color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.6; }
.cta .btn-white {
  display: inline-block; margin-top: 32px; background: #fff; color: #9a76d6;
  font-weight: 600; padding: 14px 32px; border-radius: 999px; transition: background 0.2s;
}
.cta .btn-white:hover { background: #f5f0ff; }
@media (max-width: 768px) {
  .cta { padding: 28px 0 24px; }
  .cta h2 { font-size: 2rem; line-height: 1.15; }
  .cta p { margin-top: 10px; font-size: 0.95rem; line-height: 1.5; }
  .cta .btn-white { margin-top: 16px; padding: 10px 20px; font-size: 0.95rem; }
}

/* ── Footer ── */
.footer {
  position: relative; z-index: 1;
  background: transparent;
  color: #f0e8ff; padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.footer-desc { margin-top: 16px; font-size: 1rem; line-height: 1.7; color: #fff; }
.footer h4 { color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 1rem; color: #fff; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer .contact-info { font-size: 1rem; color: #fff; }
.footer .contact-info li { margin-bottom: 8px; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s; cursor: pointer;
}
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon:hover { background: rgba(255,255,255,0.35); }
.footer-bottom {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: #fff;
}
.footer-bottom a { color: #fff; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 16px; }
@media (max-width: 768px) {
  .footer { padding: 20px 0 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-brand img { height: 40px !important; }
  .footer-desc { margin-top: 6px; font-size: 0.85rem; line-height: 1.4; }
  .footer h4 { margin-bottom: 4px; font-size: 0.9rem; }
  .footer ul li { margin-bottom: 2px; }
  .footer ul a, .footer .contact-info { font-size: 0.85rem; }
  .footer .contact-info li { margin-bottom: 2px; }
  .social-icons { margin-top: 8px; gap: 6px; }
  .social-icon { width: 30px; height: 30px; }
  .social-icon svg { width: 15px; height: 15px; }
  .footer-bottom { margin-top: 12px; padding-top: 10px; flex-direction: column; gap: 4px; font-size: 0.8rem; }
}

/* ══════════════════════════════════════════
   FEATURE PAGE STYLES
   ══════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 80px 0 0;
  font-size: 1rem; color: #000;
}
.breadcrumb a { color: #9a76d6; transition: color 0.2s; }
.breadcrumb a:hover { color: #7c52bd; }
.breadcrumb span { margin: 0 8px; color: #666; }

/* ── Feature Hero ── */
.feature-hero {
  padding: 24px 0 80px;
  position: relative; overflow: hidden;
  background: #faf8fd;
}
.feature-hero > *:not(.bg-video) { position: relative; z-index: 1; }
.feature-hero .container { max-width: 900px; }
.feature-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #000; line-height: 1.15;
}
.feature-hero .subtitle {
  margin-top: 20px; font-size: 1.05rem; color: #000; line-height: 1.7; max-width: 720px;
}

/* ── Dashboard Image Placeholder ── */
.feature-dashboard {
  margin-top: 48px; background: rgba(255,255,255,0.7); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: 16px;
  padding: 32px; box-shadow: 0 20px 60px rgba(87,29,148,0.08);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 0.9rem;
}

/* ── Key Capabilities ── */
.capabilities { padding: 80px 0; background: #fff; }
.capabilities .container {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start;
}
.capabilities h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #9a76d6; margin-bottom: 32px;
}
.capabilities-list { list-style: none; }
.capabilities-list li {
  position: relative; padding: 12px 0 12px 28px;
  font-size: 0.95rem; color: #000; line-height: 1.6;
  border-bottom: 1px solid #f0ecf5;
}
.capabilities-list li::before {
  content: ''; position: absolute; left: 0; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #9a76d6, #571d94);
}

/* ── Other Features Sidebar ── */
.other-features h3 {
  font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #9a76d6; margin-bottom: 20px;
}
.other-feature-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 28px 24px; background: rgba(154, 118, 214, 0.1);
  border: 1px solid rgba(154, 118, 214, 0.2); border-radius: 16px;
  margin-bottom: 16px; font-weight: 600; color: #000;
  font-size: 1.15rem; line-height: 1.3;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative; overflow: hidden;
}
.other-feature-link::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #9a76d6, #7c52bd);
  transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
}
.other-feature-link:hover {
  background: #fff;
  border-color: #9a76d6;
  box-shadow: 0 12px 32px rgba(154, 118, 214, 0.18);
  transform: translateX(4px);
}
.other-feature-link:hover::before {
  transform: scaleY(1);
}
.other-feature-link .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #e8dff5;
  color: #9a76d6; margin-left: 0; flex-shrink: 0;
  font-size: 1.2rem; font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}
.other-feature-link:hover .arrow {
  background: #9a76d6; color: #fff; transform: translateX(4px);
}

@media (max-width: 768px) {
  .feature-hero { padding: 16px 0 32px; }
  .feature-dashboard { margin-top: 20px; }
  .capabilities { padding: 32px 0; }
  .capabilities .container { grid-template-columns: 1fr; gap: 24px; }
  .capabilities h2 { margin-bottom: 16px; }
  .capabilities-list li { padding: 10px 0 10px 24px; }
  .other-feature-link { padding: 18px 20px; font-size: 1.05rem; margin-bottom: 10px; }
  .other-feature-link .arrow { width: 32px; height: 32px; font-size: 1rem; }
}
