/* ==========================================================================
   Pergo Theme — Modern SaaS Design System & Styles
   ========================================================================== */

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --color-brand: #4f46e5;
  --color-brand-hover: #4338ca;
  --color-brand-rgb: 79, 70, 229;
  --color-secondary: #06b6d4;
  --color-accent: #f43f5e;
  --color-accent-hover: #e11d48;

  --color-dark: #0f172a;
  --color-dark-light: #1e293b;
  --color-slate: #334155;
  --color-muted: #64748b;
  --color-border: rgba(226, 232, 240, 0.8);
  --color-border-dark: rgba(255, 255, 255, 0.12);

  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #d946ef 100%);
  --gradient-primary-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #c026d3 100%);
  --gradient-hero: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.18) 0%, rgba(15, 23, 42, 0) 70%),
                   linear-gradient(180deg, #0b0f19 0%, #0f172a 50%, #131b2e 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(79, 70, 229, 0) 70%);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(79, 70, 229, 0.2), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body) !important;
  color: #334155;
  background-color: #f8fafc;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary) !important;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--color-brand-hover);
  text-decoration: none;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: var(--transition-base);
}

.header .navbar {
  padding: 0;
}

.header .navbar-brand {
  padding: 0;
  margin-right: 2rem;
  display: inline-flex;
  align-items: center;
}

.header .navbar-brand img {
  height: 38px;
  max-width: 170px;
  object-fit: contain;
  transition: var(--transition-base);
}

.header .navbar .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.header .navbar .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.header .navbar .navbar-nav .active > .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
}

.header .navbar li {
  position: relative;
  margin: 0 4px;
}

.header .navbar ul.navbar-nav li.nav-item.active:before,
.header .navbar ul.navbar-nav li.nav-item:hover:before {
  display: none;
}

.header .navbar-toggler {
  font-size: 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.header .btn-login-signup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header .btn-login {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.header .btn-login:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
}

.header .sign-up,
.header .btn-outline-primary.sign-up {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  color: #ffffff !important;
  border: none !important;
  background: var(--gradient-primary) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: var(--transition-base);
}

.header a.btn-outline-primary.sign-up:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  background: var(--gradient-primary-hover) !important;
  color: #ffffff !important;
}

.header .btn-statistics {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: #ffffff !important;
  background: var(--gradient-primary) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  border: none !important;
}

/* Navbar Shrink (Scrolled State) */
.header.shrink {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06) !important;
}

.header.shrink .navbar .navbar-nav .nav-link {
  color: #334155 !important;
}

.header.shrink .navbar .navbar-nav .nav-link:hover {
  color: var(--color-brand) !important;
  background: rgba(79, 70, 229, 0.06);
}

.header.shrink .navbar .navbar-nav .active > .nav-link {
  color: var(--color-brand) !important;
  background: rgba(79, 70, 229, 0.08);
}

.header.shrink .btn-login {
  color: #1e293b !important;
}

.header.shrink .btn-login:hover {
  color: var(--color-brand) !important;
  background: rgba(79, 70, 229, 0.06);
}

.header.shrink .navbar-toggler {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
section.banner {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px 0;
  background: var(--gradient-hero);
  color: #ffffff;
}

/* Background Ambient Orbs */
section.banner::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(124, 58, 237, 0.12) 40%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

section.banner .contents {
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #c7d2fe;
  font-family: var(--font-primary);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-pill-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

section.banner .contents .head-title {
  color: #ffffff;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section.banner .contents p {
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #ffffff !important;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -3px rgba(124, 58, 237, 0.5);
  transition: var(--transition-base);
  border: none;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -3px rgba(124, 58, 237, 0.65);
  color: #ffffff !important;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

/* Trust Metric Row */
.trust-indicators {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.trust-item i {
  color: #10b981;
  font-size: 1rem;
}

/* Hero Visual & Glass Dashboard Card */
.hero-visual-card {
  position: relative;
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: var(--transition-base);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

.glass-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.glass-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.glass-stat-item .stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.glass-stat-item .stat-value {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.glass-service-preview {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.glass-service-preview:last-child {
  margin-bottom: 0;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
}

.service-icon-badge.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.service-icon-badge.yt { background: #ff0000; }
.service-icon-badge.tk { background: #000000; border: 1px solid #333; }
.service-icon-badge.tg { background: #0088cc; }

.service-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.service-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

/* Legacy floating elements support */
.animatation-box-1 { display: none; }

/* ==========================================================================
   Stats Counter Strip
   ========================================================================== */
.stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 50px;
}

.stats-card-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.counter-item {
  text-align: center;
  border-right: 1px solid #f1f5f9;
}

.counter-item:last-child {
  border-right: none;
}

.counter-number {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Core Features Grid (What We Offer)
   ========================================================================== */
section.our-services {
  padding: 80px 0 100px 0;
  background: #0b0f19 !important;
  color: #ffffff;
}

.section-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.16);
  color: #818cf8;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-heading-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-heading-desc {
  font-size: 16px;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

section.our-services .feature-item {
  background: #ffffff;
  padding: 36px 30px;
  margin-bottom: 30px;
  min-height: 280px;
  max-width: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  transition: var(--transition-base);
  text-align: left;
  position: relative;
  overflow: hidden;
}

section.our-services .feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-base);
}

section.our-services .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -8px rgba(79, 70, 229, 0.12), 0 0 1px 1px rgba(79, 70, 229, 0.15);
  background: #ffffff;
  color: #1e293b;
}

section.our-services .feature-item:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.08);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: var(--transition-base);
}

section.our-services .feature-item:hover .feature-icon-wrapper {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.05);
}

section.our-services .feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

section.our-services .feature-item p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Reset legacy overrides */
section.our-services .feature-item .animation-box { display: none; }
section.our-services .feature-item:hover i,
section.our-services .feature-item:hover p {
  color: inherit !important;
}

/* ==========================================================================
   Popular Platforms / Services Showcase
   ========================================================================== */
.platforms-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.platform-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.platform-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--color-brand);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.12);
}

.platform-card .platform-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.platform-card.ig .platform-icon { color: #e1306c; }
.platform-card.yt .platform-icon { color: #ff0000; }
.platform-card.tk .platform-icon { color: #000000; }
.platform-card.tg .platform-icon { color: #0088cc; }
.platform-card.fb .platform-icon { color: #1877f2; }
.platform-card.tw .platform-icon { color: #0f172a; }

.platform-card .platform-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.platform-card .platform-services-count {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   How It Works (3-Step Workflow)
   ========================================================================== */
.workflow-section {
  padding: 90px 0;
  background: #f8fafc;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  position: relative;
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.step-badge-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
}

.step-icon-box {
  font-size: 36px;
  color: var(--color-brand);
  margin-bottom: 20px;
  margin-top: 6px;
}

.step-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.step-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   About / Why Choose Us Section
   ========================================================================== */
section.about-area {
  background: #ffffff;
  min-height: auto;
  padding: 90px 0;
}

section.about-area .contents .head-title {
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

section.about-area .contents p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.about-feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-feature-bullets li i {
  color: #10b981;
  font-size: 1.1rem;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
section.reviews {
  padding: 90px 0;
  background: #f8fafc;
  color: #1e293b;
}

section.reviews .item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 32px 28px;
  text-align: left;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03);
  transition: var(--transition-base);
  height: 100%;
}

section.reviews .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.08);
}

section.reviews .item .star-icon {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

section.reviews .item .desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-info .name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.review-author-info .role {
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
}

.faq-card-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-card-item:hover {
  border-color: #cbd5e1;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-base);
}

.faq-question-btn:hover {
  color: var(--color-brand);
}

.faq-question-btn i {
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: #64748b;
}

.faq-question-btn[aria-expanded="true"] {
  background: #ffffff;
  color: var(--color-brand);
  border-bottom: 1px solid #f1f5f9;
}

.faq-question-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--color-brand);
}

.faq-answer-body {
  padding: 20px 24px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #ffffff;
}

/* ==========================================================================
   Newsletter / CTA Section
   ========================================================================== */
section.section-3 {
  padding: 70px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

section.section-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(217, 70, 239, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

section.section-3 .title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

section.section-3 p {
  color: #c7d2fe;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

section.section-3.subscribe-form .email {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #ffffff;
  height: 52px;
  padding: 0 24px;
  font-size: 0.95rem;
}

section.section-3.subscribe-form .email::placeholder {
  color: #a5b4fc;
}

section.section-3.subscribe-form .email:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

section.section-3 .btn-signin,
section.section-3 .btn-submit {
  height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-base);
}

section.section-3 .btn-signin:hover,
section.section-3 .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Modern Auth Cards (Login, Register, Forgot Password, Reset)
   ========================================================================== */
.auth-login-form {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(217, 70, 239, 0.1), transparent 40%),
              linear-gradient(135deg, #0b0f19 0%, #0f172a 100%);
  position: relative;
}

.auth-login-form .form-login {
  width: 100%;
  max-width: 480px;
  background: rgba(16, 22, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(79, 70, 229, 0.25);
  padding: 44px 40px;
  position: relative;
  z-index: 10;
  color: #ffffff;
}

.auth-login-form .form-login .site-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-login-form .form-login .site-logo img {
  max-height: 46px;
  object-fit: contain;
}

.auth-login-form .form-login .card-title h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-login-form .form-login .card-title p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* Auth Input Groups */
.auth-login-form .input-icon {
  position: relative;
  margin-bottom: 18px;
}

.auth-login-form .input-icon .input-icon-addon {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  z-index: 5;
}

.auth-login-form .form-control {
  height: 48px;
  padding-left: 46px;
  padding-right: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #151d2e;
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.auth-login-form .form-control:focus {
  background-color: #1a233a;
  border-color: var(--color-brand);
  color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.auth-login-form select.form-control {
  padding-left: 46px;
  cursor: pointer;
  background-color: #151d2e;
  color: #ffffff;
}

.auth-login-form .custom-checkbox .custom-control-label {
  font-size: 0.9rem;
  color: #94a3b8;
  cursor: pointer;
}

.auth-login-form .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.auth-login-form .btn-submit {
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: var(--transition-base);
}

.auth-login-form .btn-submit:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  color: #ffffff;
}

.auth-switch-link {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #94a3b8;
}

.auth-switch-link a {
  font-weight: 700;
  color: var(--color-brand);
}

.auth-switch-link a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .header .navbar-collapse {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .header.shrink .navbar-collapse {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .header .navbar-nav li {
    margin: 4px 0;
  }

  .header .btn-login-signup {
    margin-top: 14px;
    flex-direction: column;
    width: 100%;
  }

  .header .btn-login,
  .header .sign-up,
  .header .btn-statistics {
    width: 100%;
    text-align: center;
  }

  section.banner {
    padding: 130px 0 80px 0;
  }

  section.banner .contents .head-title {
    font-size: 34px;
  }

  .stats-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
  }

  .counter-item:nth-child(2) {
    border-right: none;
  }

  .counter-item:nth-child(3) {
    border-right: 1px solid #f1f5f9;
    padding-top: 16px;
  }

  .counter-item:nth-child(4) {
    padding-top: 16px;
  }

  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  section.banner .contents .head-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-card-wrapper {
    grid-template-columns: 1fr;
  }

  .counter-item {
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .counter-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-login-form .form-login {
    padding: 32px 22px;
  }
}