/* =====================================================
   Fluentive — Design System Theme
   Microsoft Fluent UI–inspired, Inter Tight font
   ===================================================== */

/* ---- Google Fonts: Inter Tight ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Brand colors */
  --color-primary:       #4A90E2;
  --color-primary-dark:  #2E5C8A;
  --color-primary-light: #6BA3E8;
  --color-accent:        #5BA3F5;
  --color-primary-50:    #EBF4FF;
  --color-primary-100:   #C7E0FF;

  /* Neutrals */
  --color-gray-50:  #F8F9FB;
  --color-gray-100: #F0F2F5;
  --color-gray-200: #E4E7EC;
  --color-gray-300: #D0D5DD;
  --color-gray-400: #98A2B3;
  --color-gray-500: #667085;
  --color-gray-600: #475467;
  --color-gray-700: #344054;
  --color-gray-800: #1D2939;
  --color-gray-900: #101828;

  /* Semantic */
  --color-text-primary:   #101828;
  --color-text-secondary: #475467;
  --color-text-muted:     #667085;
  --color-bg-page:        #FFFFFF;
  --color-bg-subtle:      #F8F9FB;
  --color-bg-section:     #F0F4FA;
  --color-border:         #E4E7EC;
  --color-success:        #12B76A;
  --color-warning:        #F79009;

  /* Typography */
  --font-body:    'Segoe UI', sans-serif, 'Inter Tight', system-ui, -apple-system;
  --font-heading: 'Inter Tight', 'Segoe UI', sans-serif, system-ui, -apple-system;

  /* Spacing (8px base) */
  --space-1:  0.5rem;   /* 8px */
  --space-2:  1rem;     /* 16px */
  --space-3:  1.5rem;   /* 24px */
  --space-4:  2rem;     /* 32px */
  --space-5:  2.5rem;   /* 40px */
  --space-6:  3rem;     /* 48px */
  --space-8:  4rem;     /* 64px */
  --space-10: 5rem;     /* 80px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.10), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.10), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  --shadow-xl: 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03);
  --shadow-blue: 0 4px 24px rgba(74, 144, 226, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Navbar height */
  --navbar-h: 68px;
}

/* ---- Base Reset & Typography ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Typography Scale ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}
.text-display { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; }
.text-h1      { font-size: clamp(2rem, 4vw, 3rem);      font-weight: 700; }
.text-h2      { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.text-h3      { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
.text-lg      { font-size: 1.125rem; }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.75rem; }
.text-muted   { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-primary-color { color: var(--color-primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(74,144,226,0.35);
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-gray-100);
  color: var(--color-text-primary);
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.4375rem 1rem; font-size: 0.875rem; }

/* ---- Badge / Tag ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
}
.badge-success { background: #ECFDF3; color: #027A48; }
.badge-warn    { background: #FFFAEB; color: #B54708; }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--transition-base);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand img { height: 36px; width: auto; }
.navbar-brand span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.navbar-brand span em {
  font-style: normal;
  color: var(--color-primary);
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.navbar-nav > li {
  position: relative;
}
.navbar-nav a,
.navbar-nav .nav-link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}
.navbar-nav a:hover, .navbar-nav a.active,
.navbar-nav .nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-50);
}

/* Dropdown menu */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
  border-radius: 0;
}
.dropdown-menu a:hover {
  background: var(--color-primary-50);
  color: var(--color-primary);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  margin-left: 0.5rem;
}
.lang-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.lang-link:hover, .lang-link.active {
  color: var(--color-primary);
  background: var(--color-primary-50);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu ul a,
.mobile-menu .mobile-nav-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
}
.mobile-menu ul a:hover,
.mobile-menu .mobile-nav-link {
  background: var(--color-gray-100);
  color: var(--color-primary);
}
.mobile-submenu {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.25rem;
}
.mobile-submenu a {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted);
}
.mobile-menu-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.mobile-menu-actions .btn { justify-content: center; }
.mobile-lang { display: flex; gap: 0.5rem; margin-top: 0.5rem; }

@media (max-width: 900px) {
  .navbar-nav, .navbar-actions .btn { display: none; }
  .navbar-actions .btn-signin { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* ---- Page wrapper ---- */
.page-content { padding-top: var(--navbar-h); }

/* ---- Section helpers ---- */
.section { padding: var(--space-12) 0; }
.section-sm { padding: var(--space-8) 0; }
.section-lg { padding: var(--space-16) 0; }
.section-alt { background: var(--color-bg-subtle); }
.section-dark {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3057 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark p { color: inherit; }
.section-blue {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-8); }
.section-header p { margin-top: 1rem; font-size: 1.125rem; color: var(--color-text-secondary); }

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon img { width: 28px; height: 28px; }
.card-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.card-body { color: var(--color-text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; gap: 1.5rem; }
.feature-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- Screenshot / product image ---- */
.product-screenshot {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  width: 100%;
}

[data-image-popup] {
  cursor: zoom-in;
}

/* ---- Pricing cards ---- */
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
}
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; }
.pricing-price .amount { font-size: 2.75rem; font-weight: 800; }
.pricing-price .currency { font-size: 1.25rem; font-weight: 600; }
.pricing-price .period { font-size: 0.9375rem; color: var(--color-text-muted); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9375rem; }
.pricing-features li::before { content: '✓'; color: var(--color-success); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }
.pricing-features li.disabled { color: var(--color-text-muted); }
.pricing-features li.disabled::before { content: '–'; color: var(--color-gray-400); }

/* ---- Accordion / FAQ ---- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question .faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow);
}
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--color-text-secondary); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ---- Footer ---- */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: var(--space-12) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: var(--space-8);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-brand img { height: 28px; filter: brightness(0) invert(1) opacity(0.7); }
.footer-brand span { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-desc { font-size: 0.9rem; line-height: 1.65; max-width: 280px; }
.footer-col-title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--color-gray-400); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-gray-800);
  color: var(--color-gray-400);
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.social-links a:hover { background: var(--color-primary); color: #fff; }

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f0f6ff 0%, #e8f1ff 40%, #edf5fb 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-10) 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(74,144,226,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { order: -1; }
}
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-title { margin-bottom: 1.25rem; }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 1rem; font-size: 0.875rem; color: var(--color-text-muted); }
.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(74,144,226,0.18);
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ---- Abstract Blobs & Shapes ---- */
.abstract-bg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.blob {
  position: absolute;
  filter: blur(20px);
  opacity: 0.8;
  animation: blob-float 20s infinite alternate ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
.blob-1 {
  width: 450px;
  height: 450px;
  background: #fff9d5b8;
  top: -10%;
  left: 5%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blob-float 25s infinite alternate ease-in-out, blob-rotate 40s infinite linear;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: #EDE9FE;
  bottom: -5%;
  right: 0%;
  border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  animation: blob-float-alt 30s infinite alternate ease-in-out, blob-rotate 50s infinite linear reverse;
}
.blob-3 {
  width: 380px;
  height: 380px;
  background: #FCE7F3;
  top: 20%;
  right: 15%;
  border-radius: 40% 30% 60% 30% / 60% 40% 70% 40%;
  animation: blob-float 22s infinite alternate ease-in-out, blob-rotate 45s infinite linear;
}
@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(40px, -60px) scale(1.1) rotate(5deg); }
}
@keyframes blob-float-alt {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(-50px, 30px) scale(1.05) rotate(-5deg); }
}
@keyframes blob-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.shape {
  position: absolute;
  z-index: -1;
  opacity: 0.6;
  animation: shape-float 13s infinite alternate ease-in-out;
}
.shape-ring {
  width: 300px;
  height: 300px;
  border: 15px solid #EDE9FE;
  border-radius: 50%;
  top: 10%;
  left: -10%;
  opacity: 0.3;
}
.shape-dot-1 {
  width: 40px;
  height: 40px;
  background: #ffd5d582;
  border-radius: 8px;
  top: 50%;
  left: -5%;
  transform: rotate(45deg);
  animation-delay: -1s;
}
.shape-dot-2 {
  width: 60px;
  height: 60px;
  background: #FCE7F3;
  border-radius: 50%;
  bottom: 20%;
  right: -10%;
  animation-delay: -5s;
}
@keyframes shape-float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(15deg); }
}
.screenshot-placeholder {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.screenshot-placeholder:hover {
  transform: translateY(-8px);
}
.screenshot-main {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ---- Trust bar ---- */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}
.trust-bar-tagline {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c0392b;
  margin-bottom: 1rem;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--color-text-muted); }
.trust-item svg, .trust-item img { width: 20px; height: 20px; opacity: 0.7; }

/* ---- GDPR Rights Grid ---- */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.right-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem 1rem;
}
.right-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--color-text);
}
.right-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---- Billing toggle ---- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-gray-100);
  padding: 0.25rem;
  border-radius: var(--radius-full);
}
.billing-toggle button {
  padding: 0.4375rem 1.25rem;
  border: none;
  background: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
}
.billing-toggle button.active {
  background: #fff;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.billing-save {
  background: var(--color-success);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  background: var(--color-gray-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.cookie-banner p a { color: var(--color-primary-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.grid { display: grid; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; margin: 0 auto; }
.max-w-3xl { max-width: 56rem; margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: var(--space-8) 0; }

/* ---- Feature highlight (alternating rows) ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-10);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-row-image { order: -1; }
@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-row-image { order: unset; }
}
.feature-row-text .check-list { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-row-text .check-list li { display: flex; gap: 0.5rem; color: var(--color-text-secondary); font-size: 0.9375rem; }
.feature-row-text .check-list li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

/* ---- Problem section ---- */
.section-alt .pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.section-alt .pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0dada;
  text-align: left;
}

.section-alt .pain-item:last-child {
  border-bottom: none;
}

.section-alt .pain-item .pain-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: #f8efef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.section-alt .pain-item .pain-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.section-alt .pain-item .pain-title {
  display: block;
  font-weight: 700;
  color: darkred;
  font-size: 1rem;
}

.section-alt .pain-item .pain-desc {
  display: block;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .section-alt .pain-item {
    gap: 12px;
    padding: 14px 0;
  }

  .section-alt .pain-item .pain-icon {
    width: 32px;
    height: 32px;
  }
}

/* ---- Video Container ---- */
.video-container { margin: 2rem 0; }
.video-thumbnail-wrapper { transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 8px 32px rgba(0,0,0,0.12); border-radius: 8px; }
.video-thumbnail-wrapper:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.18); }
.video-thumbnail-wrapper .play-button { transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.video-thumbnail-wrapper:hover .play-button { background: rgba(74,144,226,0.9) !important; transform: translate(-50%,-50%) scale(1.1); }

/* ---- Checklist inline ---- */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; list-style: none; }
.check-grid li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9375rem; color: var(--color-text-secondary); }
.check-grid li::before { content: '✓'; color: var(--color-success); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }

/* ---- Pain Points Grid ---- */
.pain-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pain-point { text-align: center; }
.pain-point .pain-icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.pain-point h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--color-text-primary); }
.pain-point p { font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-secondary); }

/* ---- Responsive helpers ---- */
@media (max-width: 640px) {
  .section { padding: var(--space-8) 0; }
  .section-lg { padding: var(--space-10) 0; }
  .container { padding: 0 1rem; }
  .hero { padding: var(--space-6) 0; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pricing-card { padding: 1.5rem; }
}
