/* ========================================================
   DIGITSTEM HOMEPAGE — PREMIUM REDESIGN
   Light-mode first · Dark-mode switchable
   Inspired by Stripe, Linear, Notion, Lemon Squeezy
   ======================================================== */

/* ===== 1. DESIGN TOKENS ===== */
:root {
  /* Typography */
  --ds-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ds-font-heading: 'Space Grotesk', 'Inter', sans-serif;

  /* Light Mode (Default) */
  --ds-bg: #FAFBFE;
  --ds-bg-alt: #F3F4F8;
  --ds-bg-dark: #111827;
  --ds-surface: #FFFFFF;
  --ds-surface-hover: #F8F9FC;
  --ds-text: #111827;
  --ds-text-secondary: #4B5563;
  --ds-text-muted: #9CA3AF;
  --ds-text-inv: #FFFFFF;
  --ds-border: rgba(0,0,0,0.08);
  --ds-border-strong: rgba(0,0,0,0.14);

  /* Brand Palette */
  --ds-primary: #6366F1;
  --ds-primary-dark: #4F46E5;
  --ds-primary-light: #818CF8;
  --ds-secondary: #8B5CF6;
  --ds-accent: #16C784;
  --ds-accent-dark: #0EA66E;

  /* Gradients */
  --ds-grad: linear-gradient(135deg,#6366F1,#8B5CF6);
  --ds-grad-accent: linear-gradient(135deg,#16C784,#0EA66E);
  --ds-grad-hero: radial-gradient(ellipse at 20% 50%,rgba(99,102,241,.07) 0%,transparent 50%),
                  radial-gradient(ellipse at 80% 20%,rgba(139,92,246,.05) 0%,transparent 50%),
                  radial-gradient(ellipse at 60% 80%,rgba(22,199,132,.04) 0%,transparent 50%),
                  #FAFBFE;

  /* Glass */
  --ds-glass-bg: rgba(255,255,255,.72);
  --ds-glass-border: rgba(255,255,255,.5);
  --ds-glass-blur: blur(20px);

  /* Shadows */
  --ds-sh-sm: 0 1px 3px rgba(0,0,0,.04);
  --ds-sh-md: 0 4px 20px rgba(0,0,0,.06);
  --ds-sh-lg: 0 8px 32px rgba(0,0,0,.08);
  --ds-sh-xl: 0 20px 60px rgba(0,0,0,.10);
  --ds-sh-glow: 0 0 40px rgba(99,102,241,.12);

  /* Spacing */
  --ds-section-py: 100px;
  --ds-gap: 24px;

  /* Radii */
  --ds-r-sm: 8px;
  --ds-r-md: 12px;
  --ds-r-lg: 16px;
  --ds-r-xl: 24px;
  --ds-r-pill: 100px;

  /* Transitions */
  --ds-ease: .3s cubic-bezier(.4,0,.2,1);
  --ds-ease-slow: .5s cubic-bezier(.4,0,.2,1);

  /* Header height */
  --ds-header-h: 72px;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --ds-bg: #0A0E1A;
  --ds-bg-alt: #111827;
  --ds-bg-dark: #060912;
  --ds-surface: #1E2433;
  --ds-surface-hover: #252B3B;
  --ds-text: #F9FAFB;
  --ds-text-secondary: #D1D5DB;
  --ds-text-muted: #6B7280;
  --ds-text-inv: #111827;
  --ds-border: rgba(255,255,255,.08);
  --ds-border-strong: rgba(255,255,255,.14);
  --ds-grad-hero: radial-gradient(ellipse at 20% 50%,rgba(99,102,241,.14) 0%,transparent 50%),
                  radial-gradient(ellipse at 80% 20%,rgba(139,92,246,.1) 0%,transparent 50%),
                  radial-gradient(ellipse at 60% 80%,rgba(22,199,132,.06) 0%,transparent 50%),
                  #0A0E1A;
  --ds-glass-bg: rgba(30,36,51,.72);
  --ds-glass-border: rgba(255,255,255,.08);
  --ds-sh-sm: 0 1px 3px rgba(0,0,0,.2);
  --ds-sh-md: 0 4px 20px rgba(0,0,0,.25);
  --ds-sh-lg: 0 8px 32px rgba(0,0,0,.3);
  --ds-sh-xl: 0 20px 60px rgba(0,0,0,.4);
  --ds-sh-glow: 0 0 40px rgba(99,102,241,.25);
}

/* ===== 2. BASE ===== */
.ds-homepage {
  font-family: var(--ds-font-body);
  color: var(--ds-text);
  background: var(--ds-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ds-homepage *,
.ds-homepage *::before,
.ds-homepage *::after { box-sizing: border-box; }

.ds-homepage h1,.ds-homepage h2,.ds-homepage h3,.ds-homepage h4,.ds-homepage h5,.ds-homepage h6 {
  font-family: var(--ds-font-heading);
  color: var(--ds-text);
  line-height: 1.2;
  font-weight: 700;
}

/* Section utility */
.ds-section { padding: var(--ds-section-py) 0; position: relative; }
.ds-section--alt { background: var(--ds-bg-alt); }
.ds-section__header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.ds-section__badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ds-primary);
  background: rgba(99,102,241,.08);
  border-radius: var(--ds-r-pill);
  margin-bottom: 16px;
}
[data-theme="dark"] .ds-section__badge { background: rgba(99,102,241,.18); }
.ds-section__title {
  font-size: clamp(28px,4vw,42px);
  margin-bottom: 16px;
}
.ds-section__subtitle {
  font-size: 17px;
  color: var(--ds-text-secondary);
  line-height: 1.7;
}

/* ===== 3. BUTTONS ===== */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--ds-font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--ds-r-pill);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--ds-ease);
  white-space: nowrap;
}
.ds-btn--primary {
  background: var(--ds-grad-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,199,132,.25);
}
.ds-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,199,132,.35);
  color: #fff;
}
.ds-btn--secondary {
  background: transparent;
  color: var(--ds-text);
  border: 1.5px solid var(--ds-border-strong);
}
.ds-btn--secondary:hover {
  background: var(--ds-surface);
  border-color: var(--ds-primary);
  color: var(--ds-primary);
  transform: translateY(-2px);
}
.ds-btn--gradient {
  background: var(--ds-grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.25);
}
.ds-btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
  color: #fff;
}

/* ===== 4. GLASSMORPHIC CARDS ===== */
.ds-card {
  background: var(--ds-glass-bg);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  padding: 32px;
  transition: var(--ds-ease);
}
.ds-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-sh-lg);
  border-color: var(--ds-border-strong);
}

/* ===== 5. HEADER ===== */
.ds-homepage .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  height: var(--ds-header-h);
  background: var(--ds-glass-bg);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border-bottom: 1px solid var(--ds-border);
  transition: var(--ds-ease);
}
.ds-homepage .header.scrolled {
  background: var(--ds-surface);
  box-shadow: var(--ds-sh-md);
}
.ds-homepage .header .navbar {
  height: var(--ds-header-h);
  padding: 0;
}
.ds-homepage .header .navbar-brand img {
  height: 36px;
  width: auto;
}
.ds-homepage .header .nav-link {
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-text-secondary);
  padding: 8px 16px !important;
  border-radius: var(--ds-r-sm);
  transition: var(--ds-ease);
  letter-spacing: 0;
  text-transform: none;
}
.ds-homepage .header .nav-link:hover,
.ds-homepage .header .nav-link:focus {
  color: var(--ds-text);
  background: rgba(99,102,241,.06);
}
.ds-homepage .header .dropdown-menu {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-md);
  box-shadow: var(--ds-sh-lg);
  padding: 8px;
  margin-top: 8px;
}
.ds-homepage .header .dropdown-item {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--ds-r-sm);
  color: var(--ds-text-secondary);
  transition: var(--ds-ease);
}
.ds-homepage .header .dropdown-item:hover {
  background: rgba(99,102,241,.06);
  color: var(--ds-primary);
}

/* Header auth buttons */
.ds-homepage .header .herader-btn {
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-text-secondary);
  text-decoration: none;
  transition: var(--ds-ease);
}
.ds-homepage .header .herader-btn:hover { color: var(--ds-primary); }
.ds-homepage .header .header-login .btn {
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--ds-r-pill);
  background: var(--ds-grad);
  color: #fff;
  border: none;
  transition: var(--ds-ease);
}
.ds-homepage .header .header-login .btn:hover {
  box-shadow: var(--ds-sh-glow);
  transform: translateY(-1px);
}

/* Theme toggle */
.ds-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ds-border);
  color: var(--ds-text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: var(--ds-ease);
  margin-left: 8px;
}
.ds-theme-toggle:hover {
  background: rgba(99,102,241,.08);
  color: var(--ds-primary);
  border-color: var(--ds-primary);
}

/* ===== 6. HERO SECTION ===== */
.ds-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ds-grad-hero);
  padding-top: calc(var(--ds-header-h) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}
/* Floating background orbs */
.ds-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  pointer-events: none;
}
.ds-hero__orb--1 {
  width: 500px; height: 500px;
  background: rgba(99,102,241,.12);
  top: -100px; right: -100px;
  animation: ds-float 8s ease-in-out infinite;
}
.ds-hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(139,92,246,.1);
  bottom: -50px; left: -80px;
  animation: ds-float 10s ease-in-out infinite reverse;
}
.ds-hero__orb--3 {
  width: 300px; height: 300px;
  background: rgba(22,199,132,.08);
  top: 40%; left: 50%;
  animation: ds-float 12s ease-in-out infinite 2s;
}
[data-theme="dark"] .ds-hero__orb--1 { background: rgba(99,102,241,.2); }
[data-theme="dark"] .ds-hero__orb--2 { background: rgba(139,92,246,.15); }
[data-theme="dark"] .ds-hero__orb--3 { background: rgba(22,199,132,.12); }

.ds-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.ds-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ds-primary);
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--ds-r-pill);
  margin-bottom: 28px;
  animation: ds-fade-in-up .6s ease-out;
}
[data-theme="dark"] .ds-hero__badge {
  background: rgba(99,102,241,.15);
  border-color: rgba(99,102,241,.25);
}
.ds-hero__title {
  font-size: clamp(36px,5.5vw,64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: ds-fade-in-up .6s ease-out .1s both;
}
.ds-hero__title-gradient {
  background: var(--ds-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ds-hero__subtitle {
  font-size: clamp(16px,1.8vw,20px);
  color: var(--ds-text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
  animation: ds-fade-in-up .6s ease-out .2s both;
}
.ds-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: ds-fade-in-up .6s ease-out .3s both;
}
.ds-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: ds-fade-in-up .6s ease-out .4s both;
}
.ds-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ds-text-muted);
  font-weight: 500;
}
.ds-hero__trust-item i {
  color: var(--ds-accent);
  font-size: 16px;
}
/* Floating glass mockup cards */
.ds-hero__mockup {
  position: relative;
  margin-top: 60px;
  animation: ds-fade-in-up .8s ease-out .5s both;
}
.ds-hero__float-card {
  position: absolute;
  background: var(--ds-glass-bg);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-md);
  padding: 16px 20px;
  box-shadow: var(--ds-sh-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-text);
  white-space: nowrap;
}
.ds-hero__float-card--1 {
  top: 20%; left: -5%;
  animation: ds-float 6s ease-in-out infinite;
}
.ds-hero__float-card--2 {
  top: 10%; right: -3%;
  animation: ds-float 7s ease-in-out infinite 1s;
}
.ds-hero__float-card--3 {
  bottom: 15%; right: 5%;
  animation: ds-float 8s ease-in-out infinite 2s;
}
.ds-hero__float-icon {
  width: 36px; height: 36px;
  border-radius: var(--ds-r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}
.ds-hero__float-icon--green { background: var(--ds-grad-accent); }
.ds-hero__float-icon--purple { background: var(--ds-grad); }
.ds-hero__float-icon--blue { background: linear-gradient(135deg,#3B82F6,#2563EB); }

/* ===== 7. PARTNERS / TRUST LOGOS ===== */
.ds-partners {
  padding: 48px 0;
  background: var(--ds-bg);
  border-top: 1px solid var(--ds-border);
  border-bottom: 1px solid var(--ds-border);
  overflow: hidden;
}
.ds-partners__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ds-text-muted);
  margin-bottom: 28px;
}
.ds-partners__track {
  display: flex;
  gap: 60px;
  animation: ds-scroll 30s linear infinite;
  width: max-content;
}
.ds-partners__track:hover { animation-play-state: paused; }
.ds-partners__logo {
  height: 36px;
  width: auto;
  opacity: .45;
  filter: grayscale(1);
  transition: var(--ds-ease);
  flex-shrink: 0;
}
.ds-partners__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ===== 8. FEATURES GRID ===== */
.ds-features { background: var(--ds-bg-alt); }
.ds-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ds-gap);
}
.ds-feature-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  padding: 32px 28px;
  transition: var(--ds-ease);
  position: relative;
  overflow: hidden;
}
.ds-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ds-grad);
  opacity: 0;
  transition: var(--ds-ease);
}
.ds-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-sh-lg);
  border-color: rgba(99,102,241,.2);
}
.ds-feature-card:hover::before { opacity: 1; }

.ds-feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--ds-r-md);
  background: rgba(99,102,241,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--ds-primary);
  margin-bottom: 20px;
  transition: var(--ds-ease);
}
.ds-feature-card:hover .ds-feature-card__icon {
  background: var(--ds-grad);
  color: #fff;
  transform: scale(1.05);
}
.ds-feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ds-feature-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ds-text-secondary);
  margin: 0;
}

/* ===== 9. HOW IT WORKS ===== */
.ds-how { background: var(--ds-bg); }
.ds-how__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ds-how-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  transition: var(--ds-ease);
}
.ds-how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-sh-md);
}
.ds-how-card__num {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--ds-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ds-font-heading);
  font-size: 18px;
  font-weight: 700;
}
.ds-how-card__img {
  width: 100%;
  border-radius: var(--ds-r-sm);
  margin-bottom: 16px;
}
.ds-how-card__body {}
.ds-how-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ds-how-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ds-text-secondary);
  margin-bottom: 16px;
}
.ds-how-card .ds-btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* ===== 10. STATS / COUNTER ===== */
.ds-stats {
  padding: 80px 0;
  background: var(--ds-grad);
  position: relative;
  overflow: hidden;
}
.ds-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ds-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.ds-stats__item {
  text-align: center;
  color: #fff;
}
.ds-stats__number {
  font-family: var(--ds-font-heading);
  font-size: clamp(32px,4vw,48px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.ds-stats__label {
  font-size: 14px;
  opacity: .8;
  font-weight: 500;
}

/* ===== 11. ABOUT SECTION ===== */
.ds-about { background: var(--ds-bg); }
.ds-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ds-about__img {
  width: 100%;
  border-radius: var(--ds-r-xl);
  box-shadow: var(--ds-sh-lg);
}
.ds-about__title {
  font-size: clamp(24px,3vw,36px);
  margin-bottom: 20px;
}
.ds-about__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ds-text-secondary);
  margin-bottom: 32px;
}
/* Progress bars */
.ds-about__bar {
  margin-bottom: 20px;
}
.ds-about__bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ds-text);
}
.ds-about__bar-track {
  height: 8px;
  background: var(--ds-bg-alt);
  border-radius: 4px;
  overflow: hidden;
}
.ds-about__bar-fill {
  height: 100%;
  background: var(--ds-grad);
  border-radius: 4px;
  transition: width 1.2s ease-out;
}

/* ===== 12. TESTIMONIALS ===== */
.ds-testimonials { background: var(--ds-bg-alt); }
.ds-testimonial-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  padding: 36px 32px;
  position: relative;
  margin: 0 12px;
  transition: var(--ds-ease);
}
.ds-testimonial-card:hover {
  box-shadow: var(--ds-sh-md);
}
.ds-testimonial-card__quote {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 40px;
  color: var(--ds-primary);
  opacity: .12;
}
.ds-testimonial-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--ds-border);
}
.ds-testimonial-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}
.ds-testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.ds-testimonial-card__role {
  font-size: 13px;
  color: var(--ds-text-muted);
}
.ds-testimonial-card__stars {
  margin-top: 12px;
  color: #F59E0B;
  font-size: 14px;
}
/* Slick overrides */
.ds-testimonials .slick-dots li button::before {
  color: var(--ds-text-muted);
}
.ds-testimonials .slick-dots li.slick-active button::before {
  color: var(--ds-primary);
}

/* ===== 13. FAQ ===== */
.ds-faq { background: var(--ds-bg); }
.ds-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ds-faq__img {
  width: 100%;
  border-radius: var(--ds-r-xl);
}
.ds-faq .accordion-item {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-r-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--ds-ease);
}
.ds-faq .accordion-item:hover { border-color: var(--ds-border-strong) !important; }
.ds-faq .accordion-button {
  font-family: var(--ds-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-text);
  background: var(--ds-surface);
  padding: 18px 24px;
  box-shadow: none !important;
  border: none;
}
.ds-faq .accordion-button:not(.collapsed) {
  color: var(--ds-primary);
  background: var(--ds-surface);
}
.ds-faq .accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--ds-text-muted);
  transition: var(--ds-ease);
  width: auto; height: auto;
}
.ds-faq .accordion-button:not(.collapsed)::after {
  content: '−';
  color: var(--ds-primary);
  transform: none;
}
.ds-faq .accordion-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ds-text-secondary);
  padding: 0 24px 18px;
}

/* ===== 14. CTA SECTION ===== */
.ds-cta {
  padding: 100px 0;
  background: var(--ds-bg-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ds-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.ds-cta::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(22,199,132,.15) 0%, transparent 70%);
  bottom: -200px; left: -200px;
  border-radius: 50%;
}
.ds-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.ds-cta__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ds-cta__title {
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  margin-bottom: 20px;
}
.ds-cta__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
}

/* ===== 15. BLOG CARDS ===== */
.ds-blog { background: var(--ds-bg-alt); }
.ds-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ds-gap);
}
.ds-blog-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-r-lg);
  overflow: hidden;
  transition: var(--ds-ease);
}
.ds-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-sh-lg);
}
.ds-blog-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.ds-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ds-ease-slow);
}
.ds-blog-card:hover .ds-blog-card__thumb img { transform: scale(1.05); }
.ds-blog-card__body { padding: 24px; }
.ds-blog-card__date {
  font-size: 12px;
  color: var(--ds-text-muted);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ds-blog-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.ds-blog-card__title a {
  color: var(--ds-text);
  text-decoration: none;
  transition: var(--ds-ease);
}
.ds-blog-card__title a:hover { color: var(--ds-primary); }
.ds-blog-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ds-text-secondary);
  margin-bottom: 16px;
}
.ds-blog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ds-ease);
}
.ds-blog-card__link:hover { gap: 10px; color: var(--ds-primary-dark); }

/* ===== 16. FEATURED PRODUCTS ===== */
.ds-featured-products { background: var(--ds-bg); }
.ds-featured-products .feature-item-box {
  background: var(--ds-grad) !important;
  border-radius: var(--ds-r-xl) !important;
  border: none;
}
.ds-featured-products .feature-item-box__title { color: #fff; }
.ds-featured-products .feature-item-box__desc { color: rgba(255,255,255,.8); }

/* ===== 17. FOOTER ===== */
.ds-homepage .footer-area {
  background: var(--ds-bg-dark);
  color: rgba(255,255,255,.7);
}
.ds-homepage .footer-item__title {
  color: #fff;
  font-family: var(--ds-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.ds-homepage .footer-menu__link {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: var(--ds-ease);
}
.ds-homepage .footer-menu__link:hover {
  color: var(--ds-accent);
  padding-left: 4px;
}
.ds-homepage .footer-item__desc {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.7;
}
.ds-homepage .footer-contact-menu p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
}
.ds-homepage .footer-contact-menu__item-icon {
  color: var(--ds-accent);
}
.ds-homepage .social-list__link {
  color: rgba(255,255,255,.5);
  transition: var(--ds-ease);
}
.ds-homepage .social-list__link:hover { color: var(--ds-accent); }
.ds-homepage .bottom-footer-area {
  background: rgba(0,0,0,.2);
}
.ds-homepage .bottom-footer-text {
  color: rgba(255,255,255,.4);
  font-size: 13px;
}

/* ===== 18. SCROLL REVEAL ===== */
.ds-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.ds-reveal.ds-visible {
  opacity: 1;
  transform: translateY(0);
}
.ds-reveal--delay-1 { transition-delay: .1s; }
.ds-reveal--delay-2 { transition-delay: .2s; }
.ds-reveal--delay-3 { transition-delay: .3s; }
.ds-reveal--delay-4 { transition-delay: .4s; }

/* ===== 19. KEYFRAME ANIMATIONS ===== */
@keyframes ds-fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ds-float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-20px); }
}
@keyframes ds-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ds-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes ds-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(99,102,241,.15); }
  50%      { box-shadow: 0 0 40px rgba(99,102,241,.3); }
}

/* ===== 20. RESPONSIVE ===== */
@media (max-width: 1199px) {
  :root { --ds-section-py: 80px; }
  .ds-features__grid { grid-template-columns: repeat(3, 1fr); }
  .ds-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 991px) {
  :root { --ds-section-py: 64px; --ds-header-h: 64px; }
  .ds-features__grid { grid-template-columns: repeat(2, 1fr); }
  .ds-how__grid { grid-template-columns: 1fr; }
  .ds-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .ds-faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .ds-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .ds-hero__float-card { display: none; }
  .ds-hero { min-height: auto; padding-top: calc(var(--ds-header-h) + 60px); padding-bottom: 60px; }
  .ds-section__header { margin-bottom: 40px; }
}

@media (max-width: 767px) {
  :root { --ds-section-py: 52px; --ds-gap: 16px; }
  .ds-features__grid { grid-template-columns: 1fr; }
  .ds-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ds-blog__grid { grid-template-columns: 1fr; }
  .ds-hero__title { margin-bottom: 18px; }
  .ds-hero__subtitle { margin-bottom: 28px; }
  .ds-hero__actions { flex-direction: column; }
  .ds-hero__actions .ds-btn { width: 100%; }
  .ds-hero__trust { gap: 16px; }
  .ds-hero__trust-item { font-size: 12px; }
  .ds-card { padding: 24px; }
  .ds-feature-card { padding: 24px 20px; }
  .ds-how-card { flex-direction: column; padding: 24px; }
  .ds-faq__img { display: none; }
  .ds-faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .ds-stats__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ds-stats__number { font-size: 28px; }
  .ds-section__title { font-size: 24px; }
  .ds-about__grid { gap: 30px; }
}
