/* ============================================
   MATEGAMERS LANDING PAGE - CUSTOM STYLES
   Dark Mode + Glassmorphism + Animations
   ============================================ */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #111827;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-weight: 500;
    color: #d1d5db;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.cta-button-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button-primary:hover::before {
    left: 100%;
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.cta-button-primary:active {
    transform: translateY(0);
}

.cta-button-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.cta-button-primary-large {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-button-primary-large:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    position: relative;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section .container {
        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Math Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Hero Images Container */
.hero-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hero-image {
    position: absolute;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.hero-image-1 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: auto;
    max-width: 400px;
    height: auto;
}

.hero-image-2 {
    top: 50%;
    right: calc(5% + 420px);
    transform: translateY(-50%);
    width: auto;
    max-width: 350px;
    height: auto;
}

@media (max-width: 1200px) {
    .hero-image-1 {
        max-width: 300px;
    }
    
    .hero-image-2 {
        right: calc(5% + 320px);
        max-width: 280px;
    }
}

@media (max-width: 968px) {
    .hero-images-container {
        display: none;
    }
}

.math-symbol,
.math-number {
    position: absolute;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    color: rgba(236, 72, 153, 0.2);
    animation: float 6s ease-in-out infinite;
}

.math-number {
    color: rgba(249, 115, 22, 0.2);
}

.math-symbol:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.math-symbol:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; }
.math-symbol:nth-child(3) { top: 60%; left: 15%; animation-delay: 2s; }
.math-symbol:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.math-number:nth-child(5) { top: 20%; left: 50%; animation-delay: 0.5s; }
.math-number:nth-child(6) { top: 50%; left: 90%; animation-delay: 1.5s; }
.math-number:nth-child(7) { top: 70%; left: 30%; animation-delay: 2.5s; }
.math-number:nth-child(8) { top: 40%; left: 5%; animation-delay: 3.5s; }
.math-number:nth-child(9) { top: 90%; left: 60%; animation-delay: 4s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Hero Visual Elements */
.hero-visual {
    min-height: 400px;
    position: relative;
}

.avatar-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.avatar-minecraft,
.avatar-roblox {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.2));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-avatar 4s ease-in-out infinite;
}

.avatar-minecraft {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.avatar-roblox {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes float-avatar {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.scratch-logo {
    position: absolute;
    top: 10%;
    right: 10%;
    animation: rotate-slow 8s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.game-icons {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.game-icon {
    position: absolute;
    animation: bounce-icon 3s ease-in-out infinite;
}

.roblox-icon {
    left: -80px;
    animation-delay: 0s;
}

.minecraft-icon {
    right: -80px;
    animation-delay: 1.5s;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-mouse 2s infinite;
}

@keyframes scroll-mouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.course-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateX(5px);
}

.course-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.course-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.course-card p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    font-weight: 600;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }
    .whatsapp-float {
        padding: 1rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}

/* ===== SECTION PADDING ===== */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-text {
    color: #9ca3af;
    line-height: 1.7;
}

/* ===== BENEFIT CARDS ===== */
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.benefit-text {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== TECHNOLOGY GRID ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2);
}

.tech-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.1));
}

.tech-icon-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.tech-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.tech-description {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ===== VIDEO SECTION ===== */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.final-cta-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.final-cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.trust-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-text {
    transform: scale(1.05);
}

.header-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    position: relative;
    overflow: hidden;
}

.header-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.header-cta-button:hover::before {
    left: 100%;
}

.header-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.cta-icon {
    font-size: 1.125rem;
    line-height: 1;
}

.cta-text {
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.875rem 0;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .header-cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .cta-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .header-cta-button {
        padding: 0.625rem 1rem;
    }
    
    .cta-icon {
        font-size: 1rem;
    }
    
    .cta-text {
        display: none;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #030712 0%, #111827 100%);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: 0.9375rem;
}

.contact-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.contact-link {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-link:hover {
    color: #ec4899;
    transform: translateX(3px);
}

.contact-text {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright-text {
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .contact-item {
        font-size: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-tagline {
        font-size: 0.875rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero Typography Optimization for Mobile */
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        font-weight: 600;
    }
    
    /* Hero paragraph optimization - override Tailwind mb-8 */
    .hero-section .text-gray-400.mb-8,
    .hero-section p.text-gray-400 {
        font-size: clamp(1rem, 3.5vw, 1.125rem) !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
    }
    
    /* Hero button spacing */
    .hero-section .cta-button-primary {
        margin-bottom: 0.5rem !important;
        padding: 1.125rem 2.25rem !important;
        font-size: clamp(1rem, 3.5vw, 1.125rem) !important;
    }
    
    /* Trust badges spacing - override Tailwind mt-8 */
    .hero-section .trust-badge {
        margin-top: 0.5rem !important;
        font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
        padding: 0.625rem 1.125rem !important;
    }
    
    .hero-section .flex.flex-wrap.mt-8,
    .hero-section .flex.flex-wrap {
        margin-top: 1.5rem !important;
        gap: 0.75rem !important;
    }
    
    /* Container padding optimization */
    .hero-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Ensure hero content fills vertical space */
    .hero-section .grid {
        min-height: calc(100vh - 3rem);
        align-items: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .course-card {
        flex-direction: column;
        text-align: center;
    }
    
    .course-icon {
        font-size: 2.5rem;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
}

/* ===== MOBILE OPTIMIZATION (480px and below) ===== */
@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0 !important;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .hero-subtitle {
        font-size: clamp(1.125rem, 4.5vw, 1.375rem) !important;
        line-height: 1.35 !important;
        margin-bottom: 0.875rem !important;
    }
    
    .hero-section .text-gray-400.mb-8,
    .hero-section p.text-gray-400 {
        font-size: clamp(0.9375rem, 4vw, 1.0625rem) !important;
        line-height: 1.55 !important;
        margin-bottom: 1.75rem !important;
    }
    
    .hero-section .cta-button-primary {
        padding: 1rem 2rem !important;
        font-size: clamp(0.9375rem, 4vw, 1.0625rem) !important;
        margin-bottom: 0.75rem !important;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-section .flex.flex-wrap.mt-8,
    .hero-section .flex.flex-wrap {
        margin-top: 1.25rem !important;
        gap: 0.625rem !important;
        justify-content: center;
    }
    
    .hero-section .trust-badge {
        font-size: clamp(0.8125rem, 3vw, 0.9375rem) !important;
        padding: 0.5rem 1rem !important;
        flex: 1 1 auto;
        min-width: calc(50% - 0.3125rem);
        text-align: center;
    }
    
    .hero-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .hero-section .grid {
        gap: 0 !important;
        min-height: calc(100vh - 2rem);
    }
}

/* ===== SMALL MOBILE OPTIMIZATION (360px and below) ===== */
@media (max-width: 360px) {
    .hero-section {
        padding: 0.75rem 0 !important;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
        line-height: 1.25 !important;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.25rem) !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-section .text-gray-400.mb-8,
    .hero-section p.text-gray-400 {
        font-size: clamp(0.875rem, 4.5vw, 1rem) !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-section .cta-button-primary {
        padding: 0.9375rem 1.75rem !important;
        font-size: clamp(0.875rem, 4.5vw, 1rem) !important;
    }
    
    .hero-section .flex.flex-wrap.mt-8,
    .hero-section .flex.flex-wrap {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }
    
    .hero-section .trust-badge {
        width: 100% !important;
        min-width: auto !important;
    }
    
    .hero-section .grid {
        min-height: calc(100vh - 1.5rem);
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
