/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #fafcff 0%, #f5f7fb 100%);
  color: #0b1c2e;
  font-size: 14px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* Modern slick variables */
:root {
  --primary: #0f2b3d;
  --primary-dark: #08212f;
  --accent: #2ecc71;
  --accent-dark: #27ae60;
  --accent-light: rgba(46, 204, 113, 0.1);
  --accent-glow: rgba(46, 204, 113, 0.25);
  --gray-light: #f7f9fc;
  --gray-border: #eef2f8;
  --text-dark: #111827;
  --text-soft: #4b5565;
  --card-radius: 1.25rem;
  --shadow-sm: 0 12px 28px -8px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 32px -12px rgba(0, 32, 16, 0.12);
}

/* Typography & base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Modern navbar with glass effect */
.navbar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.02);
  padding: 12px 0;
  transition: all 0.2s;
}
.brand {
  font-weight: 800;
  font-size: 1.7rem;
  background: linear-gradient(135deg, #0f2b3d 0%, #1e5f4b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-link {
  font-weight: 550;
  font-size: 0.85rem;
  color: #1e2f3e !important;
  margin: 0 10px;
  transition: 0.2s;
}
.nav-link:hover { color: var(--accent-dark) !important; transform: translateY(-1px); }
.btn-outline-accent {
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent-dark);
  font-weight: 600;
  border-radius: 40px;
  padding: 6px 18px;
  transition: 0.2s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent {
  background: var(--accent);
  border: none;
  font-weight: 600;
  border-radius: 40px;
  padding: 8px 24px;
  color: #0b2f2a;
  transition: all 0.2s;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: scale(0.98);
  color: white;
}

/* Hero Section - Clean & Minimal (for App Library) */
.hero-library {
  padding: 50px 0 30px;
  text-align: center;
  background: transparent;
}
.hero-library h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(125deg, #0b2f2a, #1e765b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.hero-library .hero-badge {
  display: inline-block;
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.stats-mini {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}
.stat-mini-item {
  text-align: center;
}
.stat-mini-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-dark);
}
.stat-mini-label {
  font-size: 12px;
  color: var(--text-soft);
}

/* Hero — modern gradient + abstract pattern (for homepage) */
.hero-modern {
  background: radial-gradient(circle at 10% 30%, #eefbf5 0%, #ffffff 70%);
  padding: 70px 0 90px;
  position: relative;
  border-bottom: 1px solid rgba(46,204,113,0.2);
}
.hero-modern h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(125deg, #0b2f2a, #1e765b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-badge {
  display: inline-block;
  background: rgba(46,204,113,0.12);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1b6e4c;
}

/* Search Section */
.search-section {
  background: white;
  border-radius: 70px;
  padding: 5px 8px 5px 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: 0.2s;
  max-width: 550px;
  margin: 0 auto 40px;
}
.search-section:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(46,204,113,0.12);
}
.search-section input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.95rem;
  padding: 12px 0;
}

.search-modern {
  background: white;
  border-radius: 70px;
  padding: 6px 8px 6px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e9edf2;
  transition: 0.2s;
}
.search-modern:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(46,204,113,0.12);
}
.search-modern input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.9rem;
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-chip {
  background: white;
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: 0.2s;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* App Cards Grid - MAIN FOCUS */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.app-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--gray-border);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.app-icon-large {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.app-details {
  flex: 1;
}
.app-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.app-details p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.4;
}
.app-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.app-category {
  font-size: 10px;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 30px;
  color: #475569;
}
.app-stats {
  font-size: 11px;
  color: var(--text-soft);
}

/* stats cards */
.stat-card-modern {
  background: white;
  border-radius: 2rem;
  padding: 18px 12px;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid var(--gray-border);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-dark);
}

/* Feature Grid (Edu Locker, Foundation Courses, etc) */
.service-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 24px 18px;
  transition: all 0.25s ease;
  border: 1px solid var(--gray-border);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.icon-circle {
  width: 54px;
  height: 54px;
  background: rgba(46,204,113,0.12);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.service-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* product card (test series) */
.product-card-slick {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.2s;
  border: 1px solid var(--gray-border);
  height: 100%;
}
.product-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #f3f7fc;
}
.product-body {
  padding: 18px;
}
.price-badge {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-dark);
}

/* redirect hub (edu locker + foundation) */
.feature-showcase {
  background: linear-gradient(115deg, #0f2b3d 0%, #144d3b 100%);
  border-radius: 2rem;
  padding: 48px 40px;
  color: white;
}
.feature-showcase .btn-outline-light {
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
}

/* Bottom Content Section - All extra content */
.bottom-content {
  background: white;
  border-radius: 28px;
  padding: 48px 40px;
  margin-top: 40px;
  border: 1px solid var(--gray-border);
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* Why Mini Apps Cards */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.why-card {
  text-align: center;
  padding: 24px;
  background: var(--gray-light);
  border-radius: 20px;
}
.why-icon {
  font-size: 2rem;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.why-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 12px;
  color: var(--text-soft);
}

/* WhatsApp Concept Box */
.concept-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ed 100%);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.concept-icon {
  font-size: 3.5rem;
  color: #25D366;
}
.concept-text h5 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.concept-text p {
  color: var(--text-soft);
  margin-bottom: 0;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.faq-item {
  padding: 20px;
  background: var(--gray-light);
  border-radius: 16px;
}
.faq-item h6 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--accent-dark);
}
.faq-item p {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 0;
}

/* Modern Footer */
.modern-footer, footer {
  background: #0a1822;
  color: #b0c4de;
  margin-top: 60px;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #fff 0%, #2ecc71 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}
.footer-about {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 280px;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #94a3b8;
  transition: 0.3s;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}
.modern-footer h6, footer h6 {
  color: white;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.newsletter-wrapper .input-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter-wrapper .form-control {
  background: transparent;
  border: none;
  color: white;
  padding: 12px 20px;
}
.newsletter-wrapper .form-control::placeholder {
  color: #64748b;
}
.newsletter-wrapper .btn-accent {
  background: var(--accent);
  border-radius: 50px;
  padding: 8px 24px;
  margin: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-library h1 { font-size: 2rem; }
  .hero-modern h1 { font-size: 2rem; }
  .stats-mini { gap: 20px; }
  .app-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .concept-box { flex-direction: column; text-align: center; }
  .bottom-content { padding: 30px 20px; }
  .feature-showcase { padding: 30px 20px; }
  footer .footer-about, .modern-footer .footer-about { max-width: 100%; }
}