/* ============================================
   SEBS GLOBAL - MODULES PAGE
   Ana site tasarım dili ile uyumlu (Navy + Gold)
   ============================================ */

/* Eğitim modülleri hero - site hero ile aynı görsel dil */
.modules-hero {
    background: var(--hero-bg, url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920&q=85')) center/cover no-repeat;
    color: white;
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 38vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modules-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 12, 0.88) 0%, rgba(15, 23, 42, 0.9) 50%, rgba(5, 5, 12, 0.94) 100%);
    pointer-events: none;
    z-index: 0;
}

.modules-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    z-index: 0;
}

.modules-hero .container,
.modules-hero .hero-content {
    position: relative;
    z-index: 2;
}

.modules-hero .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: modulesFadeInUp 0.6s ease-out;
}

.modules-hero .hero-title,
.modules-hero .hero-content h1 {
    font-family: 'Cormorant Garamond', 'Space Grotesk', serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.3);
}

.modules-hero .hero-subtitle,
.modules-hero .hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

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

/* ============================================
   MODULES - Categories (site simulation-categories ile uyumlu)
   ============================================ */

.module-categories {
    padding: 2.5rem 2rem 2rem;
    margin-top: 0;
    position: relative;
    z-index: 3;
    background: transparent;
}

/* simulation-categories modül sayfasında */
.modules-page .simulation-categories {
    background: rgba(30, 64, 175, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

/* ============================================
   MODULE CATEGORY SECTIONS
   ============================================ */

.module-category-section {
    margin-bottom: 4rem;
    animation: modulesFadeIn 0.5s ease-out;
}

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

/* Modül sayfası bölüm başlıkları - site ile uyumlu */
.modules-page .section-title {
    color: var(--text-light);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.modules-page .section-subtitle {
    color: var(--text-muted);
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.02em;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 4px;
    flex-shrink: 0;
}

.category-title i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

/* ============================================
   MODULES GRID
   ============================================ */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   MODULE CARDS - Cam efekt, sade hover (Dashboard uyumlu)
   ============================================ */

.module-card-detailed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
    animation: modulesFadeInUp 0.5s ease-out both;
}

.module-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 20px 20px 0 0;
}

.module-card-detailed:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 64, 175, 0.25);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.module-card-detailed:hover::before {
    transform: scaleX(1);
}

/* Module Header */
.module-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px -4px rgba(30, 64, 175, 0.35);
    transition: transform 0.3s ease;
}

.module-info {
    flex: 1;
}

.module-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.module-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
}

.level-badge {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.level-badge.beginner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.15) 100%);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.level-badge.intermediate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.level-badge.advanced {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.module-card-detailed:hover .level-badge {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.duration, .students {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duration i, .students i {
    font-size: 0.9rem;
    color: #1e40af;
}

/* Module Content */
.module-content {
    margin-bottom: 1.25rem;
}

.module-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.module-topics {
    margin-top: 1rem;
}

.module-topics h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.module-topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-topics li {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.module-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: 700;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Module Footer */
.module-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.module-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
}

.price-original {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Module Button */
.btn-module {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px -2px rgba(30, 64, 175, 0.35);
}

.btn-module:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(30, 64, 175, 0.4);
}

.btn-module i {
    font-size: 1rem;
}

/* ============================================
   LEVEL GROUP CARDS - Cam efekt, sade hover
   ============================================ */

.level-groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.level-group-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
    animation: modulesFadeInUp 0.5s ease-out both;
}

.level-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 20px 20px 0 0;
}

.level-group-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 64, 175, 0.25);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.level-group-card:hover::before {
    transform: scaleX(1);
}

.level-group-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.level-group-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px -4px rgba(30, 64, 175, 0.35);
    transition: transform 0.3s ease;
}

.level-group-card:hover .level-group-icon {
    transform: scale(1.05);
}

.level-group-info {
    flex: 1;
}

.level-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.level-group-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

.level-group-content {
    margin-bottom: 2rem;
}

.level-group-modules h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.module-list li {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.module-list li i {
    position: absolute;
    left: 0;
    color: #1e40af;
    font-size: 0.9rem;
}

.level-group-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(30, 64, 175, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-item i {
    color: #1e40af;
    font-size: 1.1rem;
}

.level-group-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(30, 64, 175, 0.1);
}

.level-group-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

.price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-purchase {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px -2px rgba(30, 64, 175, 0.35);
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(30, 64, 175, 0.4);
}

.btn-purchase i {
    font-size: 1rem;
}

/* ============================================
   MODULES DETAILED SECTION
   ============================================ */

.modules-detailed {
    padding: 3rem 2rem 4rem;
    background: #f8fafc;
    min-height: auto;
}

.modules-detailed .container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* No Modules Message */
.no-modules-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: 2.5rem auto;
    max-width: 520px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.12);
    animation: modulesFadeInUp 0.5s ease-out;
}

.no-modules-message i {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 1.25rem;
    display: block;
}

.no-modules-message h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.no-modules-message p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.no-modules-message a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px -2px rgba(30, 64, 175, 0.35);
}

.no-modules-message a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(30, 64, 175, 0.4);
}

.no-modules-message a i {
    font-size: 1rem;
}

/* ============================================
   FOOTER SECTION - Modules Page
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: white;
    padding: 80px 2rem 30px;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section {
    animation: fadeInUp 0.6s ease both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: white;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(30, 64, 175, 0.3);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.5);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    font-weight: 400;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.5rem 0;
}

.footer-section ul li:hover {
    transform: translateX(8px);
    color: rgba(255, 255, 255, 1);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    width: 100%;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: #f093fb;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(240, 147, 251, 0.5);
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: -20px;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-section ul li a:hover::before {
    width: 12px;
}

.footer-section ul li i {
    font-size: 1rem;
    width: 24px;
    color: rgba(30, 64, 175, 0.9);
    flex-shrink: 0;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-section ul li:hover i {
    color: #f093fb;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(30, 64, 175, 0.5);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--glow-purple);
    border-color: rgba(30, 64, 175, 0.5);
}

.social-links a i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: rotate(360deg) scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .modules-hero {
        min-height: 50vh;
        padding: 120px 1.5rem 80px;
    }

    .module-categories {
        padding: 60px 1.5rem 40px;
        margin-top: -30px;
    }

    .category-tabs {
        gap: 1rem;
        margin-bottom: 40px;
    }

    .tab-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
        flex: 1;
        max-width: 200px;
    }

    .category-title {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .level-groups-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .module-card-detailed,
    .level-group-card {
        padding: 1.25rem;
    }

    .module-header,
    .level-group-header {
        gap: 1rem;
    }

    .module-icon,
    .level-group-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .module-info h3,
    .level-group-title {
        font-size: 1.15rem;
    }

    .module-meta {
        gap: 0.875rem;
    }

    .module-footer,
    .level-group-footer {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .module-price,
    .level-group-price {
        justify-content: center;
        align-items: center;
    }

    .btn-module,
    .btn-purchase {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .level-group-features {
        justify-content: center;
    }

    .footer {
        padding: 60px 1.5rem 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .footer-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer-section ul li {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .modules-hero {
        min-height: 45vh;
        padding: 100px 1rem 60px;
    }

    .modules-hero .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .modules-hero .hero-content p {
        font-size: 1.1rem;
    }

    .module-categories {
        padding: 50px 1rem 30px;
    }

    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
        max-width: 100%;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .module-card-detailed,
    .level-group-card {
        padding: 1rem;
    }

    .module-header,
    .level-group-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .module-icon,
    .level-group-icon {
        align-self: center;
    }

    .module-meta {
        justify-content: center;
    }
}
