/* 
  LittleCount - Official Product Landing Website
  Brand Color Theme: #3C3489 / #EEEDFE
*/

:root {
  --brand-primary: #3C3489;
  --brand-primary-hover: #2E276E;
  --brand-secondary: #574EB0;
  --brand-light: #EEEDFE;
  --brand-light-hover: #E3E0FD;
  --accent-green: #0F6E56;
  --accent-green-light: #E6F4EA;
  --accent-blue: #2563EB;
  --accent-amber: #D97706;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --bg-page: #FAF5FF;
  --bg-surface: #FFFFFF;
  --bg-gradient-hero: linear-gradient(135deg, #FAF8FF 0%, #F3F0FF 50%, #EEEDFE 100%);
  --border-subtle: #E2E8F0;
  --border-brand: #CECBF6;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(60, 52, 137, 0.08);
  --shadow-lg: 0 12px 30px rgba(60, 52, 137, 0.12);
  --shadow-xl: 0 20px 45px rgba(60, 52, 137, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Navbar ─── */
.navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary) !important;
}

.navbar-brand img {
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-primary) !important;
  background: var(--brand-light);
}

/* ─── Buttons ─── */
.btn-brand-primary {
  background: var(--brand-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(60, 52, 137, 0.25);
  text-decoration: none;
}

.btn-brand-primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60, 52, 137, 0.35);
}

.btn-brand-outline {
  background: #ffffff;
  color: var(--brand-primary) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-brand-outline:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid #25D366;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  background: var(--bg-gradient-hero);
  padding: 85px 0 65px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-brand);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(60, 52, 137, 0.08);
}

.hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 48px;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span.highlight {
  color: var(--brand-primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.hero-badge-item i {
  color: var(--accent-green);
}

/* ─── Hero App Mockup Frame ─── */
.app-window-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(60, 52, 137, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.app-window-frame:hover {
  transform: translateY(-4px);
}

.app-window-header {
  background: #F8FAFC;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot.red { background: #EF4444; }
.window-dot.yellow { background: #F59E0B; }
.window-dot.green { background: #10B981; }

.window-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
}

.app-window-body {
  position: relative;
  background: #F8FAFC;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-window-body img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ─── Stats Strip ─── */
.stats-strip {
  background: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
  text-align: center;
  padding: 10px 15px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ─── Feature Cards Grid ─── */
.features-section {
  padding: 80px 0;
  background: #ffffff;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
}

.feature-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.icon-purple { background: var(--brand-light); color: var(--brand-primary); }
.icon-green { background: var(--accent-green-light); color: var(--accent-green); }
.icon-blue { background: #EFF6FF; color: var(--accent-blue); }
.icon-amber { background: #FEF3C7; color: var(--accent-amber); }

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ─── Showcase Section (Tabbed View) ─── */
.showcase-section {
  padding: 80px 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

.showcase-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(60, 52, 137, 0.25);
}

.showcase-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.showcase-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Comparison Table Section ─── */
.comparison-section {
  padding: 80px 0;
  background: #ffffff;
}

.comparison-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  margin-bottom: 0;
}

.comparison-table th {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  background: #F8FAFC;
  border-bottom: 2px solid var(--border-subtle);
}

.comparison-table th.highlight-col {
  background: var(--brand-light);
  color: var(--brand-primary);
  border-color: var(--border-brand);
}

.comparison-table td {
  padding: 16px 20px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td.highlight-col {
  background: #FAF8FF;
  font-weight: 600;
  color: var(--brand-primary);
}

.check-icon {
  color: #10B981;
  font-size: 18px;
}

.cross-icon {
  color: #94A3B8;
  font-size: 18px;
}

/* ─── Pricing Section ─── */
.pricing-section {
  padding: 80px 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border-subtle);
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-xl);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  color: #10B981;
  font-size: 16px;
}

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

.accordion-item {
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-button {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 18px 22px;
  background: #ffffff;
}

.accordion-button:not(.collapsed) {
  background: var(--brand-light);
  color: var(--brand-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-brand);
}

.accordion-body {
  font-size: 15px;
  color: var(--text-body);
  padding: 18px 22px;
  line-height: 1.6;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, #3C3489 0%, #251F65 100%);
  color: #ffffff;
  padding: 70px 0;
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 38px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #E0E7FF;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ─── Footer ─── */
.footer-custom {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-custom h5 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
}

/* ─── Floating WhatsApp Button ─── */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #ffffff !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: floatPulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #1EBE5B;
}

@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ─── Responsive Queries ─── */
@media (max-width: 991px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-section {
    padding: 60px 0 40px;
  }
  .app-window-frame {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .stat-value {
    font-size: 26px;
  }
  .cta-banner {
    padding: 40px 20px;
    border-radius: var(--radius-md);
  }
  .cta-banner h2 {
    font-size: 26px;
  }
}
