/* Shared stylesheet for all Zoology semester notes pages (1st-5th semester) */
/* Consolidated from previously-duplicated inline <style> blocks; union of all rules used across the 5 pages */

/* --- MODERN ED-TECH STYLING & MARGIN FIXES --- */
    *, *::before, *::after {
      box-sizing: border-box; 
    }

html { scroll-behavior: smooth; }

body {
      background-color: #fcfcfd;
      font-family: 'Inter', sans-serif;
      background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
      background-size: 40px 40px;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      margin: 0;
      overflow-x: hidden; 
    }

main { flex: 1; width: 100%; }

footer { width: 100%; margin-top: auto; }

.zoology-container { 
      width: 100%;
      max-width: 1100px; 
      margin: 0 auto; 
      padding: 0 1.5rem 4rem 1.5rem; 
      position: relative; 
    }

/* Breadcrumbs - Increased top padding to clear the fixed header */
    .visual-breadcrumb {
      padding: 3.5rem 0 0 0;
      font-size: 0.9rem;
      font-weight: 500;
      color: #64748b;
      margin-bottom: 2rem;
    }

.visual-breadcrumb a { color: #6366f1; text-decoration: none; transition: color 0.2s ease; }

.visual-breadcrumb a:hover { color: #4f46e5; text-decoration: underline; }

.visual-breadcrumb span { margin: 0 0.4rem; color: #cbd5e1; }

/* SEO-Friendly Header UI */
    .seo-header {
      text-align: center;
      margin: 0 0 3rem 0;
      padding: 4rem 2rem;
      background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
      border-radius: 24px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
      border: 1px solid #e2e8f0;
    }

.seo-header h1 {
      font-size: 2.5rem;
      color: #0f172a;
      margin-bottom: 1rem;
      font-weight: 800;
      line-height: 1.2;
    }

.seo-header p {
      font-size: 1.15rem;
      color: #475569;
      line-height: 1.7;
      max-width: 800px;
      margin: 0 auto;
    }

/* Syllabus Card */
    .syllabus-card {
      background: white;
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      margin-bottom: 3rem;
      border: 1px solid #e2e8f0;
      border-top: 5px solid #0ea5e9;
    }

.syllabus-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      border-bottom: 2px solid #f1f5f9;
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem;
    }

.syllabus-header-row h3 {
      color: #0f172a;
      margin: 0;
      font-size: 1.4rem;
      font-weight: 800;
    }

.syllabus-download-btn {
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: 50px;
      font-size: 0.95rem;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
      transition: all 0.3s ease;
    }

.syllabus-download-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    }

.syllabus-text-list {
      color: #334155;
      line-height: 1.8;
      font-size: 1.05rem;
    }

.syllabus-text-list div {
      margin-bottom: 1rem;
      padding: 1rem 1.5rem;
      background: #f8fafc;
      border-radius: 12px;
      border-left: 4px solid #e2e8f0;
    }

/* Subject Dropdowns (Accordion Style) */
    .subject-dropdown {
      margin-bottom: 2rem;
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.02);
      transition: all 0.3s ease;
    }

.subject-dropdown:hover {
      border-color: #cbd5e1;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

.subject-header {
      background: linear-gradient(135deg, #6366f1, #4f46e5);
      color: white;
      padding: 1.5rem 2rem;
      font-weight: 700;
      font-size: 1.2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.subject-color-2 .subject-header { background: linear-gradient(135deg, #10b981, #059669); }

.subject-color-3 .subject-header { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.unit-item {
      padding: 1.5rem 2rem;
      border-bottom: 1px solid #f1f5f9;
      transition: background 0.3s ease;
    }

.unit-item:last-child { border-bottom: none; }

.unit-item:hover { background: #f8fafc; }

.unit-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 0.5rem;
    }

.unit-title {
      font-weight: 700;
      color: #1e293b;
      font-size: 1.15rem;
      margin: 0;
      flex: 1;
    }

.unit-desc {
      font-size: 0.95rem;
      color: #64748b;
      margin-top: 0.5rem;
      line-height: 1.6;
    }

/* Action Buttons inside Units */
    .unit-buttons {
      display: flex;
      gap: 0.8rem;
      flex-wrap: wrap;
    }

.ques-btn, .watch-btn, .download-btn {
      padding: 0.6rem 1.2rem;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      border: none;
      cursor: pointer;
    }

.ques-btn { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }

.ques-btn:hover { background: #e0e7ff; }

.watch-btn { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.watch-btn:hover { background: #fee2e2; }

.download-btn {
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }

.coming-soon {
      background: #fef3c7; color: #b45309; padding: 0.6rem 1.2rem; border-radius: 50px;
      font-size: 0.9rem; font-weight: 700; border: 1px solid #fde68a;
    }

/* SEO EXPANSION SECTION (BOTTOM) */
    .seo-info-section {
      background: white;
      border-radius: 20px;
      padding: 4rem 3rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      border: 1px solid #e2e8f0;
      margin: 4rem 0;
    }

.seo-info-section h2 {
      font-size: 2rem;
      color: #0f172a;
      margin-bottom: 1.5rem;
      text-align: center;
      font-weight: 800;
    }

.seo-info-section .lead-text {
      text-align: center;
      color: #64748b;
      font-size: 1.1rem;
      max-width: 800px;
      margin: 0 auto 3rem auto;
      line-height: 1.7;
    }

.info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }

.info-box {
      background: #f8fafc;
      padding: 2rem;
      border-radius: 16px;
      border-top: 4px solid #6366f1;
    }

.info-box h3 {
      font-size: 1.25rem;
      color: #1e293b;
      margin-bottom: 1rem;
    }

.info-box p {
      color: #475569;
      line-height: 1.6;
      font-size: 0.95rem;
      margin: 0;
    }

/* FAQ SECTION */
    .faq-section {
      background: white;
      padding: 4rem 3rem;
      border-radius: 20px;
      margin: 3rem 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      border: 1px solid #e2e8f0;
    }

/* --- CGPA guide section --- */
    .cgpa-guide-section {
      background: white;
      padding: 4rem 3rem;
      border-radius: 20px;
      margin: 3rem 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      border: 1px solid #e2e8f0;
    }

.cgpa-guide-section h2 {
      text-align: center;
      color: #0f172a;
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 0.75rem;
    }

.cgpa-guide-intro {
      text-align: center;
      color: #64748b;
      font-size: 1rem;
      max-width: 640px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

.cgpa-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.25rem;
      margin-bottom: 2.5rem;
    }

.cgpa-step-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 1.5rem;
      transition: all 0.3s ease;
    }

.cgpa-step-card:hover { border-color: #cbd5e1; transform: translateY(-2px); }

.cgpa-step-number {
      width: 34px; height: 34px; border-radius: 50%;
      background: linear-gradient(135deg, #6366f1, #4f46e5);
      color: white; display: flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 0.95rem; margin-bottom: 0.9rem;
    }

.cgpa-step-card h3 { font-size: 1.05rem; font-weight: 700; color: #1e293b; margin: 0 0 0.5rem; }

.cgpa-step-card p { font-size: 0.9rem; color: #475569; line-height: 1.65; margin: 0; }

.cgpa-guide-note {
      background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 14px;
      padding: 1.25rem 1.5rem; font-size: 0.92rem; color: #3730a3; line-height: 1.7;
    }

@media (max-width: 768px) {
      .cgpa-guide-section { padding: 2.5rem 1.5rem; }
    }

.faq-section h2 {
      text-align: center;
      color: #0f172a;
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 2rem;
    }

.faq-item {
      background: #f8fafc;
      border-radius: 12px;
      margin-bottom: 1rem;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
    }

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

.faq-question {
      width: 100%;
      padding: 1.5rem;
      background: transparent;
      border: none;
      text-align: left;
      font-size: 1.05rem;
      font-weight: 600;
      color: #1e293b;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.3s ease;
    }

.faq-question:hover { color: #6366f1; }

.faq-icon { font-size: 1.5rem; color: #6366f1; font-weight: 300; transition: transform 0.3s ease; }

.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

.faq-answer.active { max-height: 500px; padding: 0 1.5rem 1.5rem 1.5rem; }

.faq-answer p { margin: 0; color: #475569; line-height: 1.6; font-size: 0.95rem; }

/* Bottom Navigation Pills */
    .bottom-nav-links {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1.5rem;
    }

.nav-pill {
      background: #f1f5f9; color: #475569; padding: 1rem 2rem; border-radius: 50px;
      text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: all 0.3s ease;
    }

.nav-pill:hover { background: #e2e8f0; color: #1e293b; transform: translateY(-2px); }

.nav-pill.primary { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }

.nav-pill.primary:hover { background: #e0e7ff; }

/* User Profile Styles */
    .user-profile {
      position: absolute; top: 1.5rem; right: 1.5rem; background: white; padding: 0.6rem 1rem;
      border-radius: 50px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border: 1px solid #e2e8f0;
      display: none; align-items: center; gap: 0.8rem; font-size: 0.9rem; z-index: 100;
    }

.user-profile.show { display: flex; }

.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #4f46e5); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; }

.user-info { display: flex; flex-direction: column; }

.user-name { font-weight: 700; color: #1e293b; }

.user-contact { font-size: 0.75rem; color: #64748b; }

.logout-btn { background: #fef2f2; color: #dc2626; border: none; padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }

.logout-btn:hover { background: #fee2e2; }

/* Payment & Auth Popup Styles */
    .payment-modal, .auth-modal {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(4px);
      display: none; align-items: center; justify-content: center; z-index: 10000;
    }

.payment-modal.show, .auth-modal.show { display: flex; }

.payment-container, .auth-container {
      background: white; max-width: 450px; width: 90%; border-radius: 24px; 
      overflow-y: auto; 
      max-height: 90vh; 
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); position: relative; animation: slideUp 0.3s ease;
    }

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

.auth-container { padding: 3rem 2rem; text-align: center; }

.auth-container h2 { font-weight: 800; color: #0f172a; margin-bottom: 0.5rem; font-size: 1.8rem; }

.auth-container p { color: #64748b; font-size: 1rem; margin-bottom: 1.5rem; }

.auth-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 1.2rem; border: 2px solid #e2e8f0; border-radius: 16px; background: white; color: #1e293b; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }

.auth-btn:hover { border-color: #cbd5e1; background: #f8fafc; transform: translateY(-2px); }

.payment-header { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; padding: 2rem; text-align: center; position: relative; }

.payment-header h2 { margin: 0 0 0.5rem 0; font-size: 1.5rem; font-weight: 800; }

.payment-header p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

.close-payment, .close-auth {
      position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.2); border: none; color: white;
      width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
    }

.close-auth { background: #f1f5f9; color: #475569; }

.close-payment:hover { background: rgba(255,255,255,0.3); }

.close-auth:hover { background: #e2e8f0; color: #0f172a; }

.payment-body { padding: 2rem; }

.note-details { background: #f8fafc; border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; text-align: center; border: 1px solid #e2e8f0; }

.note-title { font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; font-size: 1.1rem; }

.payment-actions { display: flex; gap: 1rem; justify-content: center; }

.payment-btn { padding: 1rem 1.5rem; border: none; border-radius: 50px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; flex: 1; }

.cancel-btn { background: #f1f5f9; color: #475569; }

.cancel-btn:hover { background: #e2e8f0; }

.preview-btn { background: #eef2ff; color: #4f46e5; }

.preview-btn:hover { background: #e0e7ff; }

.pay-btn { background: linear-gradient(135deg, #10b981, #059669); color: white; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }

.pay-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }

.payment-loading { display: none; text-align: center; padding: 1.5rem; background: #f8fafc; border-radius: 12px; margin-top: 1.5rem; font-weight: 600; color: #6366f1; border: 1px solid #e2e8f0; }

.payment-loading.show { display: block; }

/* --- Cart: per-unit "in cart" button state --- */
    .download-btn.in-cart { background: linear-gradient(135deg, #6366f1, #4f46e5) !important; color: white !important; }

/* --- Cart: inline per-unit price strip (collapsed unless the unit is selected) --- */
    .price-strip { display: none; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; padding-top: 1.5rem; border-top: 1px dashed #e2e8f0; }

.price-strip.show { display: flex; animation: fadeSlideDown 0.25s ease; }

.price-strip-label { width: 100%; font-size: 0.78rem; font-weight: 700; color: #64748b; margin-bottom: 0.2rem; }

.price-chip-mini { background: white; border: 2px solid #e2e8f0; border-radius: 10px; padding: 0.4rem 0.85rem; cursor: pointer; font-weight: 700; font-size: 0.85rem; color: #475569; transition: all 0.2s ease; position: relative; }

.price-chip-mini:hover { border-color: #cbd5e1; background: #f8fafc; }

.price-chip-mini.selected { background: #eef2ff; color: #4f46e5; border-color: #6366f1; }

.price-chip-mini.recommended.selected { background: #ecfdf5; color: #059669; border-color: #10b981; }

.price-chip-mini.recommended::before {
      content: 'Recommended';
      position: absolute;
      top: -1.15rem;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.58rem;
      font-weight: 800;
      color: #059669;
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* --- Cart: floating sticky bottom bar (mobile-first) --- */
    .cart-bar {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
      background: white; border-top: 1px solid #e2e8f0; box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
      padding: 0.9rem 1.5rem; padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      transform: translateY(120%); transition: transform 0.3s cubic-bezier(.22,1,.36,1);
    }

.cart-bar.show { transform: translateY(0); }

.cart-bar-info { display: flex; flex-direction: column; line-height: 1.3; }

.cart-bar-count { font-size: 0.78rem; color: #64748b; font-weight: 600; }

.cart-bar-total { font-size: 1.2rem; color: #0f172a; font-weight: 800; }

.cart-bar-btn { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; border: none; padding: 0.85rem 1.4rem; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35); transition: all 0.2s ease; white-space: nowrap; }

.cart-bar-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45); }

/* --- Cart review list (inside the payment modal) --- */
    .cart-review-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; max-height: 42vh; overflow-y: auto; padding-right: 0.15rem; }

.cart-review-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.85rem 1rem; }

.cart-review-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.6rem; }

.cart-review-item-title { font-weight: 700; color: #1e293b; font-size: 0.92rem; flex: 1; }

.cart-review-remove { background: #fef2f2; color: #dc2626; border: none; width: 26px; height: 26px; min-width: 26px; border-radius: 50%; cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.cart-review-remove:hover { background: #fee2e2; }

.cart-review-price-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.15rem; }

.cart-review-total-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 2px dashed #e2e8f0; font-weight: 800; color: #0f172a; font-size: 1.1rem; margin-bottom: 1rem; }

.cart-review-empty { text-align: center; color: #64748b; font-weight: 600; padding: 2rem 1rem; }

.success-item { display: flex; align-items: center; gap: 0.7rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.6rem; font-weight: 700; color: #166534; font-size: 0.92rem; }

.success-item i { color: #10b981; font-size: 1.05rem; flex-shrink: 0; }

/* --- Coffee / tip section inside the cart review modal --- */
    .tip-section { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.25rem; }

.tip-section-title { font-weight: 800; color: #9a3412; font-size: 0.98rem; margin-bottom: 0.15rem; }

.tip-section-sub { font-size: 0.8rem; color: #b45309; margin-bottom: 0.9rem; }

.tip-chips-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.9rem; }

.tip-chip { background: white; border: 2px solid #fed7aa; border-radius: 10px; padding: 0.45rem 0.9rem; cursor: pointer; font-weight: 700; font-size: 0.88rem; color: #9a3412; transition: all 0.2s ease; }

.tip-chip:hover { border-color: #fdba74; }

.tip-chip.selected { background: #ffedd5; color: #c2410c; border-color: #f97316; }

.tip-custom-input { border: 2px solid #fed7aa; border-radius: 10px; padding: 0.45rem 0.7rem; width: 90px; font-weight: 700; color: #9a3412; font-size: 0.88rem; font-family: inherit; }

.tip-custom-input:focus { outline: none; border-color: #f97316; }

.tip-message-input { width: 100%; border: 2px solid #fed7aa; border-radius: 10px; padding: 0.7rem 0.85rem; font-family: inherit; font-size: 0.88rem; color: #1e293b; resize: vertical; min-height: 56px; }

.tip-message-input:focus { outline: none; border-color: #f97316; }

.tip-message-input::placeholder { color: #c2934f; }

@media (max-width: 768px) {
      .zoology-container { padding: 0 1rem 2rem 1rem; }
      .seo-header { padding: 3rem 1.5rem; margin-top: 0; }
      .seo-header h1 { font-size: 2rem; }
      .user-profile { position: relative; top: 0; right: 0; width: 100%; margin-top: 1rem; margin-bottom: 1.5rem; justify-content: space-between; }
      .unit-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
      .unit-buttons { width: 100%; }
      .ques-btn, .watch-btn, .download-btn { flex: 1; justify-content: center; text-align: center; }
      .payment-actions { flex-direction: column; }
      .payment-btn { width: 100%; }
      .seo-info-section { padding: 2.5rem 1.5rem; }
      .faq-section { padding: 2.5rem 1.5rem; }
    }

@media (max-width: 480px) {
      .ques-btn, .watch-btn, .download-btn { font-size: 0.8rem; padding: 0.6rem 0.8rem; white-space: nowrap; }
      .cart-bar { padding: 0.75rem 1rem; padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
      .cart-bar-total { font-size: 1.05rem; }
      .cart-bar-btn { padding: 0.75rem 1.1rem; font-size: 0.85rem; }
      .price-chip-mini { padding: 0.35rem 0.7rem; font-size: 0.8rem; }
    }

/* ==========================================================
       PROFESSIONAL EDTECH FOOTER STYLES
       ========================================================== */
    .pro-footer {
      background-color: #0b0f19;
      color: #94a3b8;
      padding: 5rem 0 0 0;
      border-top: 1px solid #1e293b;
      font-family: 'Inter', sans-serif;
      margin-top: auto;
    }

.pro-footer-container {
      max-width: 1350px;
      width: 100%;
      margin: 0 auto;
      padding: 0 2rem;
      box-sizing: border-box;
    }

.pro-footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
      gap: 3rem;
      padding-bottom: 4rem;
    }

/* Brand Column */
    .pro-footer-brand .footer-logo-img {
      max-width: 250px;
      display: block;
      margin-bottom: 1.5rem;
    }

.pro-footer-brand p {
      color: #94a3b8;
      font-size: 0.95rem;
      line-height: 1.7;
      margin: 0 0 1.8rem 0;
      max-width: 360px;
    }

.pro-footer-socials {
      display: flex;
      gap: 0.8rem;
      align-items: center;
    }

.footer-social-pill {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #1e293b;
      color: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 1.1rem;
      transition: all 0.3s ease;
    }

@media (hover: hover) {
      .footer-social-pill:hover { background: #6366f1; color: white; transform: translateY(-3px); }
    }

/* Navigation & Contact Columns */
    .pro-footer-col h3 {
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 700;
      margin: 0 0 1.5rem 0;
      letter-spacing: 0.5px;
    }

.pro-footer-col ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

.pro-footer-col ul li {
      margin-bottom: 0.9rem;
    }

/* Kills any global white box hover completely + Adds Swipe */
    .pro-footer-col ul li a {
      display: inline-block;
      color: #94a3b8;
      text-decoration: none;
      font-size: 0.95rem;
      transition: all 0.3s ease;
      background: transparent !important;
      border: none !important;
    }

/* Minimalist Inline Contact UI - Force Transparent Backgrounds */
    .footer-contact-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.2rem;
      background: transparent !important;
      border: none !important;
    }

.footer-contact-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #1e293b;
      color: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.95rem;
      transition: all 0.3s ease;
    }

.footer-contact-link {
      display: inline-block;
      color: #94a3b8;
      font-size: 0.95rem;
      text-decoration: none;
      transition: all 0.3s ease;
      background: transparent !important;
      border: none !important;
    }

@media (hover: hover) {
      .pro-footer-col ul li a:hover { color: #6366f1; transform: translateX(4px); background: transparent !important; border: none !important; }
      .footer-contact-row:hover .footer-contact-icon { background: #6366f1; color: white; }
      .footer-contact-row:hover .footer-contact-link { color: #6366f1; transform: translateX(4px); }
    }

/* Footer Bottom Copyright Bar */
    .pro-footer-bottom {
      border-top: 1px solid #1e293b;
      padding: 1.8rem 0;
    }

.pro-footer-bottom-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
      max-width: 1350px;
      width: 100%;
      margin: 0 auto;
      padding: 0 2rem;
      box-sizing: border-box;
    }

.pro-footer-bottom p {
      margin: 0;
      font-size: 0.9rem;
      color: #64748b;
    }

.pro-footer-legal-links {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

.pro-footer-legal-links a {
      color: #64748b;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      background: transparent !important;
      border: none !important;
    }

@media (hover: hover) {
      .pro-footer-legal-links a:hover { color: #6366f1; background: transparent !important; border: none !important; }
    }

/* Mobile Responsiveness for Footer */
    @media (max-width: 1024px) {
      .pro-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
      }
    }

@media (max-width: 768px) {
      .pro-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
      }
      .pro-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .pro-footer-brand .footer-logo-img {
        margin: 0 auto 1.5rem auto;
      }
      .pro-footer-brand p {
        margin-left: auto;
        margin-right: auto;
      }
      .pro-footer-socials {
        justify-content: center;
      }
      .footer-contact-row {
        justify-content: center;
      }
      .pro-footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }
      .pro-footer-legal-links {
        justify-content: center;
      }
    }

/* Breadcrumbs */
    .visual-breadcrumb {
      padding: 3.5rem 0 0 0;
      font-size: 0.9rem;
      font-weight: 500;
      color: #64748b;
      margin-bottom: 2rem;
    }

.payment-container, .auth-container {
      background: white; max-width: 450px; width: 90%; border-radius: 24px; 
      overflow-y: auto; /* Changed from hidden to auto to allow scrolling */
      max-height: 90vh; /* Added to limit height to screen size and force scrolling */
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); position: relative; animation: slideUp 0.3s ease;
    }

@media (max-width: 480px) {
      .ques-btn, .watch-btn, .download-btn { font-size: 0.8rem; padding: 0.6rem 0.8rem; white-space: nowrap; }
    }
