/* ── S2 Analytics — Modern Fintech Design System ── */

:root {
  --s2-navy: #0a0f1c;
  --s2-navy-2: #111827;
  --s2-charcoal: #1e293b;
  --s2-orange: #f97316;
  --s2-orange-2: #fb923c;
  --s2-orange-hover: #ea580c;
  --s2-amber: #fbbf24;
  --s2-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Light theme (default) */
  --s2-bg: #f4f6fb;
  --s2-bg-2: #ffffff;
  --s2-bg-3: #eef2ff;
  --s2-surface: #ffffff;
  --s2-surface-2: rgba(255, 255, 255, 0.72);
  --s2-text: #0f172a;
  --s2-text-2: #475569;
  --s2-text-3: #64748b;
  --s2-border: rgba(15, 23, 42, 0.08);
  --s2-border-2: rgba(15, 23, 42, 0.12);
  --s2-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 20px 40px -12px rgba(15, 23, 42, 0.1);
  --s2-shadow-lg: 0 25px 60px -15px rgba(15, 23, 42, 0.18);
  --s2-shadow-glow: 0 0 0 1px rgba(249, 115, 22, 0.08), 0 20px 50px -10px rgba(249, 115, 22, 0.2);
  --s2-header-bg: rgba(255, 255, 255, 0.82);
  --s2-hero-bg: linear-gradient(145deg, #060b14 0%, #0f172a 40%, #1a1040 70%, #0c1222 100%);
  --s2-hero-text: #f8fafc;
  --s2-hero-muted: #94a3b8;
  --s2-card-bg: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  --s2-card-hover: #fff;
  --s2-footer-bg: linear-gradient(180deg, #0a0f1c 0%, #060b14 100%);
  --s2-logo-filter: none;
  --s2-footer-logo-filter: brightness(0) invert(1);
  --s2-radius: 16px;
  --s2-radius-lg: 24px;
  --s2-header-h: 76px;
}

[data-theme="dark"] {
  --s2-bg: #060b14;
  --s2-bg-2: #0c1222;
  --s2-bg-3: #111827;
  --s2-surface: #111827;
  --s2-surface-2: rgba(17, 24, 39, 0.85);
  --s2-text: #f1f5f9;
  --s2-text-2: #94a3b8;
  --s2-text-3: #64748b;
  --s2-border: rgba(255, 255, 255, 0.08);
  --s2-border-2: rgba(255, 255, 255, 0.12);
  --s2-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  --s2-shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
  --s2-shadow-glow: 0 0 0 1px rgba(249, 115, 22, 0.15), 0 20px 50px -10px rgba(249, 115, 22, 0.25);
  --s2-header-bg: rgba(6, 11, 20, 0.88);
  --s2-card-bg: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  --s2-card-hover: #1e293b;
  --s2-logo-filter: brightness(0) invert(1);
  --s2-footer-logo-filter: brightness(0) invert(1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.s2-site {
  margin: 0;
  font-family: var(--s2-font);
  color: var(--s2-text);
  background: var(--s2-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

.s2-site a {
  text-decoration: none;
  color: inherit;
}

.s2-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ── */
.s2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--s2-header-h);
  background: var(--s2-header-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--s2-border);
  transition: background 0.35s, border-color 0.35s;
}

.s2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--s2-header-h);
  gap: 20px;
}

.s2-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: var(--s2-logo-filter);
  transition: filter 0.35s;
}

.s2-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  background: var(--s2-surface-2);
  border: 1px solid var(--s2-border);
  border-radius: 999px;
  padding: 5px 8px;
  max-width: 520px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.s2-nav-link {
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s2-text-2);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.s2-nav-link:hover,
.s2-nav-link.active {
  color: var(--s2-text);
  background: var(--s2-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.s2-dropdown {
  position: relative;
}

.s2-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s2-text-2);
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}

.s2-dropdown-toggle:hover,
.s2-dropdown.open .s2-dropdown-toggle {
  color: var(--s2-text);
  background: var(--s2-surface);
}

.s2-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  min-width: 240px;
  background: var(--s2-surface);
  border: 1px solid var(--s2-border-2);
  border-radius: var(--s2-radius);
  box-shadow: var(--s2-shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.s2-dropdown:hover .s2-dropdown-menu,
.s2-dropdown.open .s2-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.s2-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s2-text);
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.s2-dropdown-item i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: var(--s2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.s2-dropdown-item:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 146, 60, 0.04));
  color: var(--s2-orange);
  transform: translateX(4px);
}

.s2-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s2-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--s2-border-2);
  background: var(--s2-surface);
  color: var(--s2-text-2);
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.s2-theme-btn:hover {
  border-color: var(--s2-orange);
  color: var(--s2-orange);
  transform: rotate(15deg);
}

.s2-btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s2-text);
  background: transparent;
  border: 1.5px solid var(--s2-border-2);
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.s2-btn-pay:hover {
  border-color: var(--s2-orange);
  background: rgba(249, 115, 22, 0.06);
  transform: translateY(-1px);
}

.s2-btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--s2-orange) 0%, var(--s2-orange-hover) 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.s2-btn-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15));
  opacity: 0;
  transition: opacity 0.2s;
}

.s2-btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.5);
  color: #fff;
}

.s2-btn-signup:hover::before {
  opacity: 1;
}

.s2-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s2-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--s2-surface);
  border: 1px solid var(--s2-border-2);
  border-radius: 12px;
  cursor: pointer;
  color: var(--s2-text);
  font-size: 1.1rem;
}

.s2-mobile-nav {
  display: none;
  position: fixed;
  top: var(--s2-header-h);
  left: 0;
  right: 0;
  background: var(--s2-surface);
  border-bottom: 1px solid var(--s2-border);
  padding: 20px 28px 28px;
  box-shadow: var(--s2-shadow-lg);
  z-index: 999;
}

.s2-mobile-nav.open {
  display: block;
}

.s2-mobile-nav a {
  display: block;
  padding: 13px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--s2-border);
  color: var(--s2-text);
}

.s2-mobile-nav .s2-mobile-sub {
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--s2-text-3);
}

.s2-mobile-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.s2-mobile-actions .s2-btn-pay,
.s2-mobile-actions .s2-btn-signup {
  flex: 1;
}

/* ── Hero carousel (Wealthfront-style) ── */
.s2-hero-carousel {
  position: relative;
  height: clamp(480px, 72vh, 680px);
  overflow: hidden;
  background: var(--s2-navy);
}

.s2-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.s2-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  visibility: hidden;
  z-index: 0;
}

/* Product banners: crisp <img> at full width — no background-image scaling, no overlay on image */
.s2-carousel-slide--banner {
  background: var(--s2-navy);
  overflow: hidden;
}

.s2-carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.s2-carousel-slide--banner.active .s2-carousel-bg {
  opacity: 1;
}

/* Soft haze on left — blurs screenshot behind hero text, blends into image */
.s2-carousel-text-scrim {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(920px, 68%);
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(
    90deg,
    rgba(6, 11, 20, 0.72) 0%,
    rgba(6, 11, 20, 0.48) 50%,
    rgba(6, 11, 20, 0.18) 82%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.9s ease;
}

.s2-carousel-slide--banner.active .s2-carousel-text-scrim {
  opacity: 1;
}

.s2-carousel-slide.active {
  visibility: visible;
  z-index: 1;
}

.s2-carousel-slide.active .s2-carousel-content {
  animation: s2-carousel-text-in 0.8s ease 0.15s both;
}

.s2-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 11, 20, 0.94) 0%,
    rgba(6, 11, 20, 0.82) 30%,
    rgba(6, 11, 20, 0.45) 55%,
    rgba(6, 11, 20, 0.12) 100%
  );
  z-index: 1;
}

.s2-carousel-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 48px;
}

.s2-carousel-content {
  max-width: 560px;
}

.s2-carousel-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--s2-orange-2);
  margin-bottom: 18px;
}

.s2-carousel-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 20px;
}

.s2-carousel-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 480px;
}

.s2-site a.s2-btn-carousel {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--s2-orange), var(--s2-orange-hover));
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.s2-site a.s2-btn-carousel:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.55);
  color: #fff;
}

.s2-carousel-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 0 28px;
}

.s2-carousel-dots {
  display: flex;
  gap: 24px;
}

.s2-carousel-dot {
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.s2-carousel-dot-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, opacity 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.s2-carousel-dot:hover .s2-carousel-dot-label {
  color: rgba(255, 255, 255, 0.75);
}

.s2-carousel-dot.active .s2-carousel-dot-label {
  color: #fff;
  border-bottom-color: var(--s2-orange);
}

.s2-carousel-dot.active.paused .s2-carousel-dot-label {
  opacity: 0.65;
}

.s2-hero-carousel.is-paused .s2-carousel-dot.active .s2-carousel-dot-label::after {
  content: " · paused";
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.s2-site a.s2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0f1c;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.s2-site a.s2-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: #0a0f1c;
}

.s2-btn-hero-signup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--s2-orange), var(--s2-orange-hover));
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.s2-btn-hero-signup:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.55);
  color: #fff;
}

@keyframes s2-carousel-text-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Sections ── */
.s2-section {
  padding: 100px 0;
  position: relative;
}

.s2-section-alt {
  background: var(--s2-bg-2);
}

.s2-section-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--s2-border) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

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

.s2-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--s2-orange);
  margin-bottom: 16px;
}

.s2-section-label::before,
.s2-section-label::after {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--s2-orange));
  border-radius: 2px;
}

.s2-section-label::after {
  background: linear-gradient(90deg, var(--s2-orange), transparent);
}

.s2-section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--s2-text);
}

.s2-section-sub {
  color: var(--s2-text-2);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.7;
}

/* ── Product cards ── */
.s2-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.s2-product-card {
  position: relative;
  background: var(--s2-card-bg);
  border: 1px solid var(--s2-border);
  border-radius: var(--s2-radius-lg);
  padding: 36px 30px;
  box-shadow: var(--s2-shadow);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.s2-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--s2-orange), var(--s2-amber));
  opacity: 0;
  transition: opacity 0.3s;
}

.s2-product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--s2-shadow-glow);
  border-color: rgba(249, 115, 22, 0.25);
  background: var(--s2-card-hover);
}

.s2-product-card:hover::before {
  opacity: 1;
}

.s2-product-card.featured {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: var(--s2-shadow-glow);
}

.s2-product-card.featured::before {
  opacity: 1;
}

.s2-product-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.1));
  color: var(--s2-orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.s2-product-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  color: var(--s2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}

[data-theme="dark"] .s2-product-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.1));
}

.s2-product-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--s2-text);
  letter-spacing: -0.02em;
}

.s2-product-card p {
  font-size: 0.95rem;
  color: var(--s2-text-2);
  margin: 0 0 28px;
  flex: 1;
  line-height: 1.7;
}

.s2-btn-know {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s2-orange);
  background: rgba(249, 115, 22, 0.08);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  width: fit-content;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.s2-btn-know:hover {
  background: linear-gradient(135deg, var(--s2-orange), var(--s2-orange-hover));
  color: #fff;
  border-color: transparent;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

/* ── About ── */
.s2-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.s2-about-visual {
  position: relative;
  border-radius: var(--s2-radius-lg);
  background: linear-gradient(135deg, var(--s2-navy) 0%, #1e1b4b 100%);
  padding: 40px;
  overflow: hidden;
}

.s2-about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(249, 115, 22, 0.2), transparent 60%);
}

.s2-about-quote {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.75;
  font-style: italic;
}

.s2-about-author {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.s2-about-author strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.s2-about-author span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.s2-about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.s2-about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--s2-surface);
  border: 1px solid var(--s2-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--s2-text-2);
  box-shadow: var(--s2-shadow);
}

.s2-about-pill i {
  color: var(--s2-orange);
}

/* ── Testimonials ── */
.s2-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.s2-testimonial-card {
  position: relative;
  background: var(--s2-card-bg);
  border: 1px solid var(--s2-border);
  border-radius: var(--s2-radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--s2-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.s2-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--s2-shadow-lg);
}

.s2-testimonial-quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--s2-orange);
  opacity: 0.25;
  margin-bottom: 8px;
}

.s2-testimonial-stars {
  color: var(--s2-amber);
  font-size: 0.8rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.s2-testimonial-card blockquote {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--s2-text-2);
  line-height: 1.75;
}

.s2-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--s2-border);
}

.s2-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--s2-orange), var(--s2-amber));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s2-testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--s2-text);
}

.s2-testimonial-location {
  font-size: 0.82rem;
  color: var(--s2-text-3);
  margin-top: 2px;
}

/* ── Footer ── */
.s2-footer {
  background: var(--s2-footer-bg);
  color: #94a3b8;
  padding: 52px 0 28px;
  position: relative;
  overflow: hidden;
}

.s2-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.5), transparent);
}

.s2-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 40px;
  margin-bottom: 36px;
}

.s2-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.s2-footer-contact p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.s2-footer-contact a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.s2-footer-contact a:hover {
  color: var(--s2-orange-2);
}

.s2-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s2-footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.2s, transform 0.2s;
}

.s2-footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.s2-footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.s2-social-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.1rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.s2-social-icon:hover {
  background: linear-gradient(135deg, var(--s2-orange), var(--s2-orange-hover));
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.s2-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ── Product pages ── */
.s2-page-hero {
  background: var(--s2-hero-bg);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.s2-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(249, 115, 22, 0.12), transparent);
}

.s2-page-hero .s2-container {
  position: relative;
  z-index: 1;
}

.s2-page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.s2-page-hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.7;
}

.s2-content {
  padding: 72px 0;
  background: var(--s2-bg);
}

.s2-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--s2-text);
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}

.s2-content p,
.s2-content li {
  color: var(--s2-text-2);
  line-height: 1.8;
}

.s2-feature-list {
  padding-left: 0;
  list-style: none;
}

.s2-feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.s2-feature-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--s2-orange);
  font-size: 0.85rem;
}

/* ── Scroll reveal ── */
.s2-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.s2-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animations ── */
@keyframes s2-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes s2-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--s2-orange); }
  50% { opacity: 0.7; box-shadow: 0 0 20px var(--s2-orange); }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .s2-nav,
  .s2-header-actions .s2-btn-pay,
  .s2-header-actions .s2-btn-signup {
    display: none;
  }

  .s2-header-actions .s2-theme-btn {
    display: none;
  }

  #themeToggleMobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .s2-menu-toggle {
    display: flex;
  }

  .s2-header-right {
    gap: 8px;
  }

  .s2-hero-carousel {
    height: clamp(420px, 65vh, 560px);
  }

  .s2-carousel-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 11, 20, 0.88) 0%,
      rgba(6, 11, 20, 0.75) 50%,
      rgba(6, 11, 20, 0.55) 100%
    );
  }

  .s2-carousel-slide {
    background-position: center center;
  }

  .s2-carousel-text-scrim {
    width: 100%;
    height: 68%;
    bottom: auto;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: linear-gradient(
      180deg,
      rgba(6, 11, 20, 0.75) 0%,
      rgba(6, 11, 20, 0.45) 55%,
      transparent 100%
    );
  }

  .s2-carousel-dots {
    flex-direction: column;
    gap: 8px;
  }

  .s2-products-grid,
  .s2-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .s2-about-grid {
    grid-template-columns: 1fr;
  }

  .s2-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s2-footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .s2-hero-carousel {
    height: clamp(400px, 62vh, 520px);
  }

  .s2-section {
    padding: 72px 0;
  }

  .s2-carousel-inner {
    padding-bottom: 88px;
  }

  .s2-site a.s2-btn-carousel {
    width: 100%;
    justify-content: center;
  }
}
