/* ===== STUDY POINT LIBRARY – IMPROVED STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fcfaf7;
  color: #1e2b3c;
  line-height: 1.6;
  scroll-behavior: smooth;
}

:root {
  --deep-navy: #1e2b3c;
  --warm-gold: #b68b5c;
  --sand: #f4f1ea;
  --whisper: #ffffff;
  --ink: #2e3b4e;
  --shadow: 0 20px 30px -10px rgba(0,0,0,0.05);
  --transition: all 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons & CTAs */
.btn {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--deep-navy);
  padding: 0.75rem 2rem;
  border-radius: 40px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--deep-navy);
}
.btn i { margin-right: 8px; }
.btn-primary {
  background: var(--deep-navy);
  color: white;
  border-color: var(--deep-navy);
}
.btn-primary:hover {
  background: #2a3b4f;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(30,43,60,0.3);
}
.btn-outline:hover {
  background: var(--deep-navy);
  color: white;
}

/* Live status bar */
.live-status {
  background: #fffbf2;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e4dbcd;
  font-size: 0.95rem;
}
.status-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.status-badge {
  background: var(--deep-navy);
  color: white;
  border-radius: 60px;
  padding: 0.25rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.status-badge i { font-size: 0.6rem; margin-right: 4px; color: #41b87a; }
.status-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #41b87a;
  display: inline-block;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } }
.noise-free {
  margin-left: auto;
  color: #5f4f3a;
}
.noise-free i { margin-right: 6px; color: var(--warm-gold); }

/* Navigation */
.navbar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--deep-navy);
}
.logo span {
  color: var(--warm-gold);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--deep-navy);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--warm-gold);
}
.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero section */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(145deg, #ffffff 0%, var(--sand) 100%);
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.hero-content { flex: 1 1 350px; }
.hero-badge {
  background: rgba(182, 139, 92, 0.1);
  color: var(--warm-gold);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(182,139,92,0.2);
}
.hero-badge i { margin-right: 6px; }
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--deep-navy);
  margin-bottom: 1.2rem;
}
.hero-highlight {
  color: var(--warm-gold);
  border-bottom: 3px dotted var(--warm-gold);
}
.hero-sub {
  font-size: 1.2rem;
  color: #475569;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep-navy);
}
.stat-label { font-size: 0.9rem; color: #5f6b7a; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  flex: 1 1 350px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 40px -20px rgba(0,0,0,0.2);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.hero-image:hover img { transform: scale(1.02); }

/* Features section */
.features {
  padding: 5rem 0;
  background: var(--whisper);
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}
.section-sub {
  text-align: center;
  color: #5b6878;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  font-size: 1.15rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--sand);
  padding: 2rem 1.8rem;
  border-radius: 28px;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}
.feature-card:hover {
  background: white;
  border-color: #e1dbd0;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 2.8rem;
  color: var(--warm-gold);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  color: var(--deep-navy);
}

/* How it works */
.how-it-works {
  padding: 4rem 0;
  background: #f9f7f2;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.step {
  text-align: center;
  max-width: 250px;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--warm-gold);
  color: white;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--deep-navy); }

/* Plans */
.plans {
  padding: 5rem 0;
  background: var(--whisper);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.plan-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.popular {
  border: 2px solid var(--warm-gold);
  transform: scale(1.02);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warm-gold);
  color: white;
  padding: 0.25rem 1.5rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
}
.plan-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--deep-navy); }
.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1.5rem;
}
.price span { font-size: 1rem; font-weight: 400; color: #777; }
.plan-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.plan-card li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-card li i { color: var(--warm-gold); width: 20px; }
.plan-card li.disabled { color: #aaa; }
.plan-card li.disabled i { color: #ccc; }
.plan-btn {
  width: 100%;
  text-align: center;
  padding: 0.8rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--sand);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-card > i {
  font-size: 2rem;
  color: var(--warm-gold);
  opacity: 0.3;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #2e3b4e;
}
.student {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.student img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.student h4 { font-size: 1.1rem; color: var(--deep-navy); }
.student span { font-size: 0.9rem; color: #777; }

/* CTA Banner */
.cta-banner {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--deep-navy) 0%, #2a3b4f 100%);
  color: white;
}
.cta-banner h3 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}
.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.cta-banner .btn-primary {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: var(--deep-navy);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.cta-banner .btn-primary:hover {
  background: #c9a77b;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #eae7e0;
  padding: 3rem 0 1.5rem;
  color: #2e3b4e;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-info .logo { margin-bottom: 1rem; }
.footer-info p { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links h4 { margin-bottom: 1rem; color: var(--deep-navy); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { text-decoration: none; color: #3f4b5a; transition: color 0.2s; }
.footer-links a:hover { color: var(--warm-gold); }
.map-placeholder {
  background: #d9d2c5;
  height: 100px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f4f3a;
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid #ccc;
}
.social {
  display: flex;
  gap: 1rem;
}
.social a {
  color: var(--deep-navy);
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social a:hover { color: var(--warm-gold); }

/* Responsive */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero-content h1 { font-size: 2.5rem; }
  .status-container { flex-direction: column; align-items: flex-start; }
  .noise-free { margin-left: 0; }
}