:root {
  --finfit-blue: #0f5279;
  --finfit-dark: #1d101a;
  --finfit-bg: #ffffff;
  --finfit-soft: #f5f7fb;
  --finfit-success: #d9f2a4;
  --finfit-muted: #6f7278;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--finfit-bg);
  color: var(--finfit-dark);
}

a {
  text-decoration: none;
}

.nav-shadow {
  box-shadow: 0 6px 20px rgba(15, 82, 121, 0.08);
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--finfit-blue), #44a6dc);
  display: inline-block;
}

.btn-brand {
  background: var(--finfit-blue);
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #0a4060;
  color: #fff;
}

.hero {
  background: radial-gradient(circle at top right, rgba(15, 82, 121, 0.15), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e7ebf2;
  box-shadow: 0 18px 36px rgba(18, 20, 30, 0.08);
}

.badge-soft {
  background: rgba(15, 82, 121, 0.12);
  color: var(--finfit-blue);
  font-weight: 600;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.metric-card {
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  padding: 12px;
  background: var(--finfit-soft);
}

.metric-card h3 {
  font-size: 1.25rem;
  color: var(--finfit-blue);
}

.hero-image-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eceff5;
  box-shadow: 0 10px 24px rgba(17, 22, 40, 0.08);
}

.dark-strip {
  background: linear-gradient(135deg, #121824 0%, var(--finfit-dark) 55%, #091016 100%);
}

.about-side-card {
  background: #fff;
}

.course-card {
  border: 1px solid #dde4ef;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(19, 30, 42, 0.12);
}

.course-card .course-body {
  padding: 16px;
}

.course-chip {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff4fb;
  color: var(--finfit-blue);
  font-weight: 600;
}

.split-feature .feature-left {
  background: #cfd5ff;
}

.split-feature .feature-right {
  background: var(--finfit-dark);
}

.feature-list li {
  margin-bottom: 10px;
}

.feature-list i {
  color: var(--finfit-success);
  margin-right: 8px;
}

.pillar-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e4e9f1;
}

.tag-pill {
  border-radius: 999px;
  background: #dbe7ff;
  color: #243559;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 12px;
}

.tag-pill-green {
  background: #dff3b4;
  color: #24411a;
}

.blog-card,
.webinar-card {
  border: 1px solid #e1e8f2;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  height: 100%;
}

.blog-card .content,
.webinar-card .content {
  padding: 16px;
}

.newsletter-wrap {
  border: 1px solid #dce5ef;
  background: #fff;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-active {
  background: #d4f4df;
  color: #0c5b2c;
}

.status-paused {
  background: #fde3e3;
  color: #842021;
}

.site-footer {
  background: linear-gradient(180deg, #0d121f 0%, #0a0f1a 100%);
}

.footer-pill {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Dashboard */
.dashboard-page {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(18, 35, 53, 0.7), rgba(7, 9, 16, 0.95));
}

.dashboard-board {
  background: #f8f4ec;
  border-radius: 28px;
  overflow: hidden;
  max-width: 1320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.sidebar-panel {
  border-right: 1px solid #ddd5c9;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
}

.dashboard-brand {
  color: var(--finfit-dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.menu-link {
  border-radius: 12px;
  color: #2f2c2b;
  font-weight: 500;
  padding: 10px 12px;
}

.menu-link i {
  margin-right: 10px;
}

.menu-link.active,
.menu-link:hover {
  background: #171717;
  color: #fff;
}

.app-widget {
  background: #ece5db;
}

.main-panel {
  background: #f8f4ec;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #d9d1c3;
  background: #fff;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #ddd2c2;
  padding-bottom: 10px;
}

.dash-tab {
  border: none;
  background: transparent;
  padding: 6px 2px;
  color: #6e675d;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.dash-tab.active {
  color: #1d1814;
  border-color: #cb5758;
}

.dash-course {
  background: #fff;
  border: 1px solid #ddd5c9;
  border-radius: 16px;
  overflow: hidden;
}

.dash-course .body {
  padding: 14px;
}

.tutor-row {
  border-top: 1px solid #eee6d8;
  margin-top: 8px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-op-card {
  background: #fff;
  border: 1px solid #ddd5c9;
  border-radius: 14px;
  padding: 16px;
}

.pipeline-table thead th {
  color: #706558;
  font-weight: 500;
}

.pipeline-row {
  background: #fff;
  border: 1px solid #ddd5c9;
  border-radius: 12px;
}

.pipeline-action {
  border-radius: 10px;
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.journey-steps span {
  border: 1px solid #d7deea;
  background: #fff;
  color: #4a5568;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
}

.journey-steps span.active {
  background: var(--finfit-blue);
  border-color: var(--finfit-blue);
  color: #fff;
}

.journey-steps span.done {
  background: #daf0fc;
  color: #0b4669;
  border-color: #b9dff3;
}

.journey-card {
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(24, 33, 49, 0.06);
}

.timeline-item {
  border-left: 2px solid #d7deea;
  margin-left: 10px;
  padding: 0 0 18px 18px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c0cfde;
}

.timeline-item.done::before {
  background: var(--finfit-blue);
}

.timeline-item h6 {
  margin-bottom: 4px;
}

.certificate-wrap {
  max-width: 920px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f2f7fb);
  border: 2px solid #c8d9e8;
  box-shadow: 0 16px 36px rgba(19, 30, 43, 0.1);
}

.certificate-inner {
  border: 2px dashed #9ebad0;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(15, 82, 121, 0.08), rgba(255, 255, 255, 0));
}

.quiz-question {
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  padding: 14px;
  background: #fcfdff;
}

.stage-chip {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stage-onboarding {
  background: #e7ecff;
  color: #30489a;
}

.stage-progress {
  background: #fdf0c8;
  color: #7f5f00;
}

.stage-complete {
  background: #d4f4df;
  color: #0e5c2d;
}

@media (max-width: 991px) {
  .sidebar-panel {
    min-height: auto;
  }

  .dashboard-board {
    border-radius: 0;
  }

  .journey-steps span {
    font-size: 0.7rem;
  }
}

/* ============ Enhanced Platform Styles ============ */

.navbar-brand {
  color: var(--finfit-dark) !important;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-link {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--finfit-blue) !important;
}

.btn {
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-brand {
  background: var(--finfit-blue);
  box-shadow: 0 6px 16px rgba(15, 82, 121, 0.28);
}

.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 82, 121, 0.35);
}

.btn-outline-dark {
  border-color: #d0d7e2;
  color: #1f2937;
}

.btn-outline-dark:hover {
  background: var(--finfit-dark);
  border-color: var(--finfit-dark);
}

/* Hero enhanced */
.hero-enhanced {
  background: linear-gradient(135deg, #f6fafe 0%, #ffffff 50%, #fef6f3 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 82, 121, 0.1), transparent 70%);
}

.hero-enhanced::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 16, 26, 0.06), transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--finfit-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--finfit-dark);
}

.hero-title .accent {
  color: var(--finfit-blue);
  font-style: italic;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
}

.hero-stats-bar {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}

.hero-stats-bar .stat h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--finfit-blue);
  margin: 0;
}

.hero-stats-bar .stat p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img.main {
  border-radius: 24px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(15, 82, 121, 0.2);
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f1f5f9;
}

.floating-card.top-left {
  top: 30px;
  left: -20px;
}

.floating-card.bottom-right {
  bottom: 30px;
  right: -20px;
}

.floating-card .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--finfit-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card .icon-box.success {
  background: #10b981;
}

.floating-card h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.floating-card p {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

/* Trust bar */
.trust-bar {
  background: #f8fafc;
  padding: 30px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trust-bar .label {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.trust-logos span {
  font-weight: 700;
  font-size: 1.3rem;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(15, 82, 121, 0.08);
  color: var(--finfit-blue);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Enhanced course card */
.course-card-v2 {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--finfit-blue);
}

.course-card-v2 .course-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-card-v2 .course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card-v2:hover .course-img img {
  transform: scale(1.05);
}

.course-card-v2 .price-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--finfit-dark);
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-card-v2 .course-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-v2 h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-card-v2 .course-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.course-card-v2 .course-meta span i {
  color: var(--finfit-blue);
  margin-right: 4px;
}

.course-card-v2 .tutor-strip {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-card-v2 .tutor-strip img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.course-card-v2 .tutor-strip .tutor-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}

.course-card-v2 .tutor-strip .rating {
  margin-left: auto;
  font-size: 0.82rem;
  color: #f59e0b;
  font-weight: 600;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  color: var(--finfit-blue);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card .author .role {
  font-size: 0.8rem;
  color: #64748b;
}

/* Founder card */
.founder-section {
  background: linear-gradient(135deg, #fefcfb 0%, #fff 100%);
}

.founder-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.founder-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 24px;
}

.founder-image-wrap .experience-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-image-wrap .experience-badge h3 {
  margin: 0;
  color: var(--finfit-blue);
  font-weight: 800;
  font-size: 1.8rem;
}

.founder-image-wrap .experience-badge p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.founder-bio h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.founder-bio .tagline {
  color: var(--finfit-blue);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.founder-bio p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.founder-signature .sig {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.8rem;
  color: var(--finfit-dark);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--finfit-blue);
}

.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
}

.faq-question i {
  color: var(--finfit-blue);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: #64748b;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 22px 20px;
  max-height: 300px;
}

/* Blog */
.blog-card-v2 {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.blog-card-v2 .blog-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-v2 .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-v2:hover .blog-img img {
  transform: scale(1.05);
}

.blog-card-v2 .blog-body {
  padding: 22px;
}

.blog-card-v2 .cat-chip {
  display: inline-block;
  background: rgba(15, 82, 121, 0.1);
  color: var(--finfit-blue);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.blog-card-v2 h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-v2 .blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #64748b;
}

.blog-card-v2 .blog-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* Webinar */
.webinar-card-v2 {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.webinar-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.webinar-card-v2 .w-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.webinar-card-v2 .w-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webinar-card-v2 .date-box {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.webinar-card-v2 .date-box .day {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--finfit-blue);
  line-height: 1;
}

.webinar-card-v2 .date-box .mon {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

.webinar-card-v2 .live-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #dc2626;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.webinar-card-v2 .live-pill .dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.webinar-card-v2 .w-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webinar-card-v2 h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.webinar-card-v2 .seats-bar {
  margin-top: auto;
  padding-top: 16px;
}

.webinar-card-v2 .seats-bar .bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.webinar-card-v2 .seats-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--finfit-blue), #3b82f6);
}

/* Newsletter enhanced */
.newsletter-hero {
  background: linear-gradient(135deg, var(--finfit-blue) 0%, #1e3a5f 100%);
  border-radius: 24px;
  padding: 60px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter-hero::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.newsletter-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.newsletter-hero p {
  opacity: 0.9;
  position: relative;
}

.newsletter-hero .form-control {
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
}

.newsletter-hero .btn-brand {
  background: var(--finfit-dark);
  padding: 14px 28px;
}

.newsletter-hero .btn-brand:hover {
  background: #000;
}

.newsletter-features {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  position: relative;
}

.newsletter-features .feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.newsletter-features .feat i {
  color: #86efac;
}

/* Footer enhanced */
.footer-enhanced {
  background: var(--finfit-dark);
  color: #cbd5e1;
  padding: 60px 0 24px;
}

.footer-enhanced h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-enhanced a {
  color: #cbd5e1;
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-enhanced a:hover {
  color: #fff;
}

.footer-enhanced .social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-enhanced .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer-enhanced .social-links a:hover {
  background: var(--finfit-blue);
  transform: translateY(-2px);
}

.footer-enhanced .footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
}

/* Discovery page filters */
.discovery-filters {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.filter-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--finfit-blue);
  color: var(--finfit-blue);
}

.filter-chip.active {
  background: var(--finfit-blue);
  border-color: var(--finfit-blue);
  color: #fff;
}

.search-input {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px 12px 44px;
  background: #f8fafc url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 16 16'%3e%3cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3e%3c/svg%3e") no-repeat 14px center;
}

.search-input:focus {
  outline: none;
  border-color: var(--finfit-blue);
  box-shadow: 0 0 0 3px rgba(15, 82, 121, 0.15);
}

/* Course detail */
.course-hero {
  background: linear-gradient(135deg, var(--finfit-dark) 0%, #2d1a24 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.course-hero .breadcrumb-nav {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.course-hero .breadcrumb-nav a {
  color: #cbd5e1;
  margin: 0 8px;
}

.course-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.course-hero .course-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
  color: #cbd5e1;
}

.course-hero .course-meta-hero span i {
  color: #fbbf24;
  margin-right: 6px;
}

.sticky-enroll-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 90px;
}

.sticky-enroll-card .course-preview-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

.sticky-enroll-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--finfit-dark);
}

.sticky-enroll-card .old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.1rem;
  margin-left: 10px;
}

.sticky-enroll-card .feature-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.sticky-enroll-card .feature-list li {
  padding: 8px 0;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.sticky-enroll-card .feature-list li i {
  color: var(--finfit-blue);
  width: 20px;
}

.curriculum-accordion {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.curriculum-accordion .acc-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #f8fafc;
}

.curriculum-accordion .acc-header .title {
  font-weight: 600;
  color: #1e293b;
}

.curriculum-accordion .acc-header .meta {
  color: #64748b;
  font-size: 0.85rem;
}

.curriculum-accordion .acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.curriculum-accordion.open .acc-body {
  max-height: 600px;
}

.curriculum-accordion .lesson-item {
  padding: 14px 22px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #475569;
  font-size: 0.92rem;
}

.curriculum-accordion .lesson-item i {
  color: var(--finfit-blue);
}

.curriculum-accordion .lesson-item .duration {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.82rem;
}

.instructor-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.instructor-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.instructor-card h5 {
  margin-bottom: 4px;
  font-weight: 700;
}

.instructor-card .role {
  color: var(--finfit-blue);
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.instructor-card .stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #64748b;
}

.instructor-card .stats span i {
  color: #f59e0b;
  margin-right: 4px;
}

/* Learner dashboard v2 */
.learner-layout {
  background: #f8fafc;
  min-height: 100vh;
}

.learner-hero {
  background: linear-gradient(135deg, var(--finfit-blue) 0%, #0a3e5c 100%);
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.learner-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.stat-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.stat-card .icon-wrap.blue { background: rgba(15, 82, 121, 0.1); color: var(--finfit-blue); }
.stat-card .icon-wrap.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-card .icon-wrap.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-card .icon-wrap.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.stat-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-card p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.progress-ring {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.progress-ring .big-percent {
  font-size: 3rem;
  font-weight: 800;
  color: var(--finfit-blue);
  line-height: 1;
}

/* Lesson player */
.lesson-layout {
  background: #0f172a;
  min-height: 100vh;
  color: #e2e8f0;
}

.lesson-player {
  background: #000;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.lesson-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.lesson-player .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--finfit-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lesson-player .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.lesson-sidebar {
  background: #1e293b;
  border-radius: 16px;
  padding: 20px;
  max-height: 600px;
  overflow-y: auto;
}

.lesson-sidebar h6 {
  color: #fff;
  margin-bottom: 16px;
}

.lesson-sidebar .mod-item {
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.lesson-sidebar .mod-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lesson-sidebar .mod-item.current {
  background: rgba(15, 82, 121, 0.3);
  color: #fff;
}

.lesson-sidebar .mod-item.done i {
  color: #10b981;
}

.lesson-content-panel {
  background: #1e293b;
  border-radius: 16px;
  padding: 28px;
  color: #e2e8f0;
}

.lesson-content-panel h2 {
  color: #fff;
}

.lesson-content-panel .tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #334155;
  margin-bottom: 20px;
}

.lesson-content-panel .tab {
  padding: 10px 18px;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
}

.lesson-content-panel .tab.active {
  color: #fff;
  border-color: var(--finfit-blue);
}

/* Quiz enhanced */
.quiz-layout {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  min-height: 100vh;
}

.quiz-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.quiz-progress-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 32px;
}

.quiz-progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--finfit-blue), #3b82f6);
  transition: width 0.3s ease;
}

.quiz-option {
  display: block;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: #1e293b;
}

.quiz-option:hover {
  border-color: var(--finfit-blue);
  background: #f0f9ff;
}

.quiz-option input {
  display: none;
}

.quiz-option.selected {
  border-color: var(--finfit-blue);
  background: #eff6ff;
}

.quiz-timer {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--finfit-blue);
}

/* Certificate enhanced */
.certificate-v2 {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.certificate-v2 .cert-inner {
  border: 3px double #0f5279;
  padding: 50px 60px;
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #fafcff 100%);
}

.certificate-v2 .cert-corner {
  position: absolute;
  width: 80px;
  height: 80px;
}

.certificate-v2 .cert-corner.tl {
  top: 10px;
  left: 10px;
  border-top: 4px solid var(--finfit-blue);
  border-left: 4px solid var(--finfit-blue);
}

.certificate-v2 .cert-corner.tr {
  top: 10px;
  right: 10px;
  border-top: 4px solid var(--finfit-blue);
  border-right: 4px solid var(--finfit-blue);
}

.certificate-v2 .cert-corner.bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 4px solid var(--finfit-blue);
  border-left: 4px solid var(--finfit-blue);
}

.certificate-v2 .cert-corner.br {
  bottom: 10px;
  right: 10px;
  border-bottom: 4px solid var(--finfit-blue);
  border-right: 4px solid var(--finfit-blue);
}

.certificate-v2 .cert-logo {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--finfit-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.certificate-v2 .cert-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--finfit-dark);
  margin-bottom: 30px;
}

.certificate-v2 .cert-name {
  font-family: 'Brush Script MT', cursive;
  font-size: 3.2rem;
  color: var(--finfit-blue);
  margin: 20px 0;
}

.certificate-v2 .cert-seal {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 110px;
  height: 110px;
  border: 4px solid var(--finfit-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--finfit-blue);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.2;
  transform: rotate(-10deg);
  background: radial-gradient(circle, #fff 40%, #f0f9ff 100%);
}

.certificate-v2 .signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  gap: 40px;
}

.certificate-v2 .signatures .sig-block {
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.certificate-v2 .signatures .sig-line {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.5rem;
  color: var(--finfit-dark);
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

/* Dashboard v2 */
.dash-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #eee6d8;
}

.dash-stat-card .delta {
  font-size: 0.8rem;
  font-weight: 600;
}

.dash-stat-card .delta.up { color: #10b981; }
.dash-stat-card .delta.down { color: #dc2626; }

.mini-chart {
  height: 60px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 12px;
}

.mini-chart .bar {
  flex: 1;
  background: linear-gradient(to top, var(--finfit-blue), #3b82f6);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

.notif-item {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eee6d8;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notif-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--finfit-blue);
  margin-top: 6px;
}

/* Discovery meta row */
.sort-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-row .result-count {
  color: #64748b;
  font-size: 0.9rem;
}

/* Utility */
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

.text-gradient {
  background: linear-gradient(90deg, var(--finfit-blue), #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-soft-blue { background: #f0f9ff; }
.bg-soft-dark { background: #1d101a; color: #fff; }

@media (max-width: 768px) {
  .hero-visual img.main { height: 360px; }
  .founder-image-wrap img { height: 380px; }
  .floating-card { display: none; }
  .certificate-v2 .cert-inner { padding: 24px; }
  .certificate-v2 .cert-title { font-size: 1.6rem; }
  .certificate-v2 .cert-name { font-size: 2rem; }
  .certificate-v2 .cert-seal { width: 70px; height: 70px; right: 20px; bottom: 20px; font-size: 0.6rem; }
  .certificate-v2 .signatures { flex-direction: column; gap: 20px; }
}
