/* =========================================
   MADDY PHYSICS — Modern Redesign
   ========================================= */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-card: #162032;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    box-shadow: var(--shadow-glow);
    font-size: 1.05rem;
    padding: 14px 36px;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(6, 182, 212, 0.05);
}

.btn-youtube {
    background: #ff0000;
    color: white;
    font-size: 1rem;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    animation: spin-slow 8s linear infinite;
}

.logo-text span {
    color: var(--accent);
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite;
    animation-delay: calc(var(--i) * -2s);
    left: calc(var(--i) * 12%);
    top: calc(var(--i) * 15% + 20%);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-100px) scale(1.5); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
    padding: 100px 0;
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

/* Features */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Materials */
.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.material-item i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.material-item:hover {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.05);
    transform: translateX(6px);
}

.material-item.disabled {
    cursor: default;
    opacity: 0.5;
}

.material-item.disabled:hover {
    border-color: var(--border);
    background: var(--bg-card);
    transform: none;
}

.material-item.disabled em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: auto;
    white-space: nowrap;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
    background: var(--bg);
}

.testimonials-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.testimonials-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.testimonial-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.5;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-stars i.active {
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   MODALS
   ========================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--accent);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

.modal-body {
    padding: 28px;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.star-rating i {
    transition: var(--transition);
}

.star-rating i.active {
    color: #fbbf24;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 16px;
}

.form-note i {
    color: var(--accent);
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

.form-hint code {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Space Grotesk', monospace;
}

/* =========================================
   ADMIN PANEL
   ========================================= */

.admin-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.4;
    transition: var(--transition);
}

.admin-link:hover {
    opacity: 1;
    color: var(--accent);
}

.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.admin-tab:hover {
    border-color: var(--accent);
    color: var(--text);
}

.admin-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.admin-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: var(--transition);
}

.admin-card:hover {
    border-color: rgba(6, 182, 212, 0.15);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-card-author h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.admin-card-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-card-stars {
    display: flex;
    gap: 3px;
}

.admin-card-stars i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.admin-card-stars i.active {
    color: #fbbf24;
}

.admin-card-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.admin-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-admin {
    padding: 8px 18px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-approve {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.btn-approve:hover {
    background: rgba(34, 197, 94, 0.25);
}

.btn-reject {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.btn-reject:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-delete {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.btn-delete:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text);
}

/* =========================================
   TOAST
   ========================================= */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid #22c55e;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3000;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    color: #22c55e;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 0;
}

.cta-container {
    max-width: 1000px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-contact {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--primary-dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-btn-alt {
    background: rgba(255,255,255,0.15);
    color: white;
}

.cta-btn-alt:hover {
    background: rgba(255,255,255,0.25);
}

/* YouTube */
.youtube-section {
    background: var(--bg-light);
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.youtube-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.youtube-card:hover {
    transform: translateY(-6px);
    border-color: #ff0000;
    box-shadow: 0 10px 40px rgba(255,0,0,0.1);
}

.yt-thumb {
    width: 70px;
    height: 70px;
    background: rgba(255,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #ff0000;
}

.youtube-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.youtube-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.youtube-cta {
    text-align: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #0b1120;
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-header-row {
        flex-direction: column;
        text-align: center;
    }
    .modal-large {
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg);
        flex-direction: column;
        padding: 30px;
        gap: 24px;
        border-left: 1px solid var(--border);
        transition: var(--transition);
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-stats {
        gap: 30px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .features-grid,
    .youtube-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .cta-box {
        padding: 40px 24px;
    }
    .cta-box h2 {
        font-size: 1.6rem;
    }
    .cta-contact {
        flex-direction: column;
        align-items: center;
    }
    section {
        padding: 60px 0;
    }
    .admin-card-header {
        flex-direction: column;
    }
    .admin-tabs {
        justify-content: center;
    }
}

/* =========================================
   GOOGLE AUTH / NAVBAR USER PROFILE
   ========================================= */

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 14px 6px 6px;
    border-radius: 50px;
    transition: var(--transition);
}

.user-profile:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.user-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.hidden {
    display: none !important;
}

/* =========================================
   GOOGLE LOGIN MODAL
   ========================================= */

.login-modal-body {
    text-align: center;
    padding: 40px 28px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: white;
}

.login-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.btn-google-login {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: white;
    color: #333;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-google-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-google-login img {
    width: 20px;
    height: 20px;
}

.login-privacy {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 20px;
    opacity: 0.7;
}

/* =========================================
   MATERIAL ITEMS (LOCKED STATE)
   ========================================= */

.material-item[data-download] {
    position: relative;
}

.material-item[data-download]::after {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.5;
    transition: var(--transition);
}

.material-item[data-download]:hover::after {
    opacity: 1;
    color: var(--accent);
}

/* When user is logged in, show download icon instead of lock */
.user-logged-in .material-item[data-download]::after {
    content: '\f019';
}

/* Responsive for nav auth.
   Bug fixed here: this used to be shown unconditionally as an absolutely
   positioned chip pinned at (top:70px, right:24px) on every mobile screen,
   at every scroll position, since it sat inside the fixed navbar -- so the
   Login button (or, once signed in, the wider avatar+name+logout pill) was
   permanently overlapping whatever page content happened to scroll under
   that corner. It's now off-screen by default and only slides in next to
   the open hamburger menu, matching how .nav-links itself behaves.
   Note: positioned with `top: calc(100vh - ...)` rather than `bottom`,
   because .navbar.scrolled has `backdrop-filter`, which (per spec) makes
   navbar a new containing block for its `position:fixed` descendants --
   so a `bottom` value here would resolve against the ~66px navbar's own
   height instead of the real viewport once scrolled, popping this chip up
   near the top of the screen. `top: calc(100vh - Npx)` is immune to that
   since vh units and a zero-origin container both stay viewport-accurate. */
@media (max-width: 768px) {
    .nav-auth {
        position: fixed;
        top: calc(100vh - 100px);
        right: -100%;
        z-index: 1001;
        transition: var(--transition);
    }
    .nav-links.active ~ .nav-auth {
        right: 24px;
    }
    .user-profile span {
        max-width: 80px;
    }
}
/* ==========================================================
   Feature styles migrated from index.html's inline <style>
   block during the multi-page conversion (Sept 2026) --
   PDF/simulation viewer modals, interactive simulations grid,
   chapter-wise MCQ quiz, streaks & badges, leaderboard, and
   the Ask-a-Doubt floating button. Kept here instead of
   per-page <style> blocks so every page shares one stylesheet.
   ========================================================== */
        /* PDF Viewer Modal Styles */
        /* Full-screen so the PDF / simulation gets the maximum possible
           viewing area instead of floating in a smaller centered box. */
        .modal-xl {
            max-width: 100vw;
            width: 100vw;
            height: 100vh;
            max-height: 100vh;
            border-radius: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
        }
        .modal-xl .modal-header {
            flex-shrink: 0;
            border-radius: 0;
        }
        /* The shared .modal-overlay has 20px of centering padding, which
           would leave a visible gap around a full-screen modal. Remove it
           only for the two full-screen viewers. */
        #pdfViewerModal,
        #simModal,
        #quizModal {
            padding: 0;
        }
        .pdf-header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .btn-sm {
            padding: 8px 16px;
            font-size: 0.85rem;
        }
        .pdf-viewer-body {
            flex: 1;
            padding: 0;
            overflow: hidden;
            display: flex;
            position: relative;
        }
        #pdfFrame {
            width: 100%;
            height: 100%;
            border: none;
        }
        #simFrame {
            width: 100%;
            height: 100%;
            border: none;
        }
        .pdf-fallback {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 16px;
            background: var(--bg);
            text-align: center;
            padding: 40px;
        }
        .pdf-fallback i {
            font-size: 3rem;
            color: var(--accent);
            opacity: 0.5;
        }
        .pdf-fallback p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        /* Interactive Simulations */
        .section-subtitle {
            text-align: center;
            color: var(--text-muted);
            max-width: 680px;
            margin: -20px auto 10px;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        .sim-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 16px;
        }
        .sim-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 20px 22px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .sim-card:hover {
            border-color: var(--accent);
            background: rgba(6, 182, 212, 0.05);
            transform: translateY(-4px);
        }
        .sim-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.15rem;
            margin-bottom: 4px;
        }
        .sim-card h4 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
            color: var(--text);
        }
        .sim-card p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin: 0;
        }
        .sim-card .sim-launch {
            font-size: 0.78rem;
            color: var(--accent);
            font-weight: 600;
            margin-top: auto;
            padding-top: 8px;
        }
        .sim-attribution {
            flex-shrink: 0;
            padding: 8px 24px;
            font-size: 0.78rem;
            color: var(--text-muted);
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            text-align: center;
        }
        .sim-attribution a {
            color: var(--accent);
            text-decoration: none;
        }
        /* Chapter-wise MCQ Quiz */
        .quiz-login-gate {
            text-align: center;
            padding: 60px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }
        .quiz-login-gate i {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 16px;
        }
        .quiz-login-gate p {
            color: var(--text-muted);
            margin-bottom: 20px;
            font-size: 1rem;
        }
        .chapter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 16px;
        }
        .chapter-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .chapter-card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
        }
        .chapter-card h4 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0;
            color: var(--text);
        }
        .chapter-card p {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin: 0;
        }
        .chapter-badge {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 50px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .chapter-badge.not-attempted {
            background: var(--bg);
            color: var(--text-muted);
            border: 1px solid var(--border);
        }
        .chapter-badge.attempted {
            background: rgba(34, 197, 94, 0.15);
            color: #22c55e;
        }
        /* Streaks & Badges */
        .quiz-stats-bar {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 16px 20px;
            margin-bottom: 24px;
        }
        .streak-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            padding: 8px 16px;
            border-radius: 50px;
            flex-shrink: 0;
        }
        .badge-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .quiz-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            border: 1px solid var(--border);
            white-space: nowrap;
        }
        .quiz-badge.earned {
            background: rgba(99, 102, 241, 0.12);
            border-color: var(--primary);
            color: var(--text);
        }
        .quiz-badge.earned i { color: var(--primary); }
        .quiz-badge.locked {
            color: var(--text-muted);
            opacity: 0.5;
        }
        @media (max-width: 600px) {
            .quiz-stats-bar { padding: 14px 16px; gap: 12px; }
            .quiz-badge span { display: none; }
            .quiz-badge { padding: 8px 10px; }
        }
        .quiz-body {
            flex: 1;
            overflow-y: auto;
            padding: 30px 24px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .quiz-progress-wrap {
            width: 100%;
            max-width: 700px;
            margin-bottom: 30px;
        }
        .quiz-progress-text {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 8px;
            text-align: center;
        }
        .quiz-progress-bar {
            width: 100%;
            height: 10px;
            background: var(--bg);
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid var(--border);
        }
        .quiz-progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 6px;
            transition: width 0.3s ease;
        }
        .quiz-question-area {
            width: 100%;
            max-width: 700px;
        }
        .quiz-difficulty-badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 16px;
        }
        .quiz-difficulty-badge.diff-E { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
        .quiz-difficulty-badge.diff-M { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
        .quiz-difficulty-badge.diff-H { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
        .quiz-question-text {
            font-size: 1.3rem;
            margin-bottom: 24px;
            line-height: 1.5;
        }
        .quiz-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .quiz-option {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            text-align: left;
            font-family: inherit;
            font-size: 1rem;
            color: var(--text);
            width: 100%;
        }
        .quiz-option:hover { border-color: var(--accent); }
        .quiz-option.selected { border-color: var(--primary); background: rgba(99, 102, 241, 0.1); }
        .quiz-option.correct-answer { border-color: #22c55e; background: rgba(34, 197, 94, 0.1); }
        .quiz-option.wrong-answer { border-color: #ef4444; background: rgba(239, 68, 68, 0.1); }
        .quiz-option-letter {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .quiz-option.selected .quiz-option-letter { background: var(--primary); color: #fff; border-color: var(--primary); }
        .quiz-option.correct-answer .quiz-option-letter { background: #22c55e; color: #fff; border-color: #22c55e; }
        .quiz-option.wrong-answer .quiz-option-letter { background: #ef4444; color: #fff; border-color: #ef4444; }
        .quiz-footer {
            flex-shrink: 0;
            padding: 16px 24px;
            border-top: 1px solid var(--border);
            background: var(--bg-card);
            display: flex;
            justify-content: center;
        }
        .quiz-footer button { max-width: 320px; width: 100%; }
        .quiz-results-area {
            width: 100%;
            max-width: 500px;
            text-align: center;
            padding-top: 30px;
        }
        .quiz-score-circle {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 2.2rem;
            font-weight: 800;
            color: #fff;
        }
        .quiz-score-circle .quiz-score-total { font-size: 1.1rem; opacity: 0.8; margin-left: 2px; }
        .quiz-result-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 24px;
        }
        /* Leaderboard */
        .leaderboard-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 700px;
            margin: 0 auto;
        }
        .leaderboard-row {
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 14px 20px;
        }
        .leaderboard-rank {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            flex-shrink: 0;
        }
        .leaderboard-row.rank-1 .leaderboard-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; border-color: transparent; }
        .leaderboard-row.rank-2 .leaderboard-rank { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #fff; border-color: transparent; }
        .leaderboard-row.rank-3 .leaderboard-rank { background: linear-gradient(135deg, #fb923c, #c2410c); color: #fff; border-color: transparent; }
        .leaderboard-name { flex: 1; font-weight: 600; min-width: 0; }
        .leaderboard-name span { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
        .leaderboard-score { font-weight: 700; color: var(--accent); white-space: nowrap; }
        .leaderboard-empty { text-align: center; color: var(--text-muted); padding: 30px; }
        /* Ask a Doubt */
        .doubt-fab {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 900;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 22px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            font-family: inherit;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
            transition: var(--transition);
        }
        .doubt-fab:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
        }
        .doubt-fab i { font-size: 1.1rem; }
        .doubt-status-pill {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 50px;
            white-space: nowrap;
            flex-shrink: 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .doubt-status-pill.new { background: rgba(6, 182, 212, 0.15); color: var(--accent); }
        .doubt-status-pill.resolved { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
        @media (max-width: 600px) {
            .doubt-fab span { display: none; }
            .doubt-fab { padding: 16px; right: 16px; bottom: 16px; }
            .doubt-fab i { font-size: 1.3rem; }
        }
        @media (max-width: 600px) {
            .quiz-question-text { font-size: 1.1rem; }
            .quiz-score-circle { width: 110px; height: 110px; font-size: 1.7rem; }
        }
        /* The nav grew from 6 to 9 links when Simulations/Quiz/Leaderboard
           were added; tighten spacing so it still fits on one line above the
           768px breakpoint where it switches to the mobile menu. */
        @media (min-width: 769px) {
            .nav-links {
                gap: 20px;
            }
            .nav-links a {
                font-size: 0.85rem;
                white-space: nowrap;
            }
        }
        @media (max-width: 768px) {
            .modal-xl .modal-header {
                padding: 16px 20px;
            }
            .modal-xl .modal-header h3 {
                font-size: 1rem;
            }
            .pdf-header-actions {
                gap: 6px;
            }
            .btn-sm {
                padding: 6px 12px;
                font-size: 0.75rem;
            }
        }

/* ==========================================================
   Added for the multi-page conversion (Sept 2026): link-style
   cards used on the Home "Explore" section and on the Materials
   / Revision hub pages, plus a small breadcrumb for the
   per-class sub-pages.
   ========================================================== */
a.feature-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.feature-card .feature-arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
a.hub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
a.hub-card:hover {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-4px);
}
a.hub-card .hub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
a.hub-card h4 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}
a.hub-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
a.hub-card .hub-card-cta {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.other-classes {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border);
}
.other-classes h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}
.other-classes-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.other-classes-links a {
    font-size: 0.85rem;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}
.other-classes-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
