/* SRDOMA Masterclass Landing — extends Nexus theme */

.mc-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 108px 2rem 1.25rem;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.mc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 35% at 10% 70%, rgba(249, 115, 22, 0.12) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.mc-liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: mcFloat 14s ease-in-out infinite;
    pointer-events: none;
}

.mc-liquid-orb--1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.mc-liquid-orb--2 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    bottom: 20%;
    left: 5%;
    animation-delay: -4s;
}

.mc-liquid-orb--3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    top: 50%;
    left: 45%;
    animation-delay: -7s;
}

@keyframes mcFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -25px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.mc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    width: 100%;
    text-align: center;
}

.mc-glass {
    background: rgba(15, 5, 26, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 25px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(0, 255, 255, 0.06);
    clip-path: polygon(24px 0%, 100% 0%, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0% 100%, 0% 24px);
    padding: 2rem 2.5rem 1.25rem;
    animation: mcGlassIn 1s ease-out;
}

@keyframes mcGlassIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mc-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-orange);
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
    background: rgba(249, 115, 22, 0.08);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.mc-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--primary-grey) 50%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.25));
}

.mc-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.mc-btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.15rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--darker-bg);
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42, var(--secondary-amber));
    border: none;
    clip-path: polygon(18px 0%, 100% 0%, calc(100% - 18px) 100%, 0% 100%);
    box-shadow:
        0 0 30px rgba(249, 115, 22, 0.45),
        0 0 60px rgba(249, 115, 22, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: mcCtaPulse 3s ease-in-out infinite;
}

.mc-btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 40px rgba(249, 115, 22, 0.6),
        0 0 80px rgba(0, 255, 255, 0.25);
}

.mc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.mc-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.25rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 255, 0.45);
    clip-path: polygon(18px 0%, 100% 0%, calc(100% - 18px) 100%, 0% 100%);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.mc-btn-outline:hover {
    transform: translateY(-3px);
    color: var(--text-primary);
    background: rgba(0, 255, 255, 0.12);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.3);
}

@keyframes mcCtaPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(249, 115, 22, 0.45), 0 0 60px rgba(249, 115, 22, 0.2); }
    50% { box-shadow: 0 0 45px rgba(249, 115, 22, 0.55), 0 0 90px rgba(0, 255, 255, 0.15); }
}

/* Section blocks */
.mc-section {
    padding: 100px 2rem;
    position: relative;
}

.mc-section--alt {
    background: rgba(0, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mc-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.mc-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.35);
}

.mc-section-sub {
    text-align: center;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* Problem cards */
.mc-problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.mc-glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    text-align: center;
    clip-path: polygon(16px 0%, 100% 0%, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0% 100%, 0% 16px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mc-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 16px 40px rgba(0, 255, 255, 0.12);
}

.mc-glass-card .mc-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px var(--primary-cyan));
}

.mc-glass-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mc-glass-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Truth */
.mc-truth {
    padding: 120px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mc-truth::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.mc-truth blockquote {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.35;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-primary);
    font-style: normal;
}

.mc-truth blockquote span {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Solution checklist */
.mc-learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.mc-learn-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: rgba(0, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    clip-path: polygon(12px 0%, 100% 0%, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0% 100%, 0% 12px);
    transition: all 0.35s ease;
}

.mc-learn-item:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    transform: translateX(6px);
}

.mc-learn-item .check {
    color: var(--primary-cyan);
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-cyan);
    flex-shrink: 0;
}

.mc-learn-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.mc-learn-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Authority */
.mc-authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.mc-stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.06), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-color);
    clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
    position: relative;
    overflow: hidden;
}

.mc-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mc-stat-card:hover::before {
    opacity: 1;
}

.mc-stat-num {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.mc-stat-card h3 {
    color: var(--primary-cyan);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.mc-stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Offer */
.mc-offer-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.mc-offer-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: rgba(15, 5, 26, 0.7);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    background-clip: padding-box;
    clip-path: polygon(28px 0%, 100% 0%, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0% 100%, 0% 28px);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.mc-offer-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-orange), var(--primary-pink));
    clip-path: polygon(28px 0%, 100% 0%, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0% 100%, 0% 28px);
    opacity: 0.7;
    animation: mcBorderGlow 5s ease-in-out infinite;
}

@keyframes mcBorderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

.mc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mc-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
    border-radius: 2px;
}

.mc-badge--live {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.mc-badge--premium {
    background: rgba(124, 58, 237, 0.25);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.5);
}

.mc-badge--limited {
    background: rgba(249, 115, 22, 0.2);
    color: var(--secondary-amber);
    border: 1px solid rgba(249, 115, 22, 0.5);
}

.mc-offer-list {
    list-style: none;
    margin: 2rem 0;
}

.mc-offer-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mc-offer-list li::before {
    content: '◆';
    color: var(--primary-cyan);
    font-size: 0.65rem;
}

.mc-offer-list li strong {
    color: var(--text-primary);
}

/* Final CTA */
.mc-final-cta {
    padding: 120px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mc-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(249, 115, 22, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 30%, rgba(0, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.mc-final-cta .mc-wrap {
    position: relative;
    z-index: 1;
}

.mc-final-cta h2 {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scroll reveal */
.mc-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mc-reveal.mc-visible {
    opacity: 1;
    transform: translateY(0);
}

.mc-reveal-delay-1 { transition-delay: 0.1s; }
.mc-reveal-delay-2 { transition-delay: 0.2s; }
.mc-reveal-delay-3 { transition-delay: 0.3s; }
.mc-reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .mc-hero {
        padding: 96px 1rem 1rem;
    }

    .mc-glass {
        padding: 1.5rem 1.25rem 1rem;
    }

    .mc-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .mc-hero-actions .mc-btn-glow,
    .mc-hero-actions .mc-btn-outline {
        width: 100%;
        max-width: 320px;
    }

    .mc-section {
        padding: 70px 1rem;
    }

    .mc-truth {
        padding: 80px 1rem;
    }

    .mc-final-cta {
        padding: 80px 1rem 60px;
    }
}

.mc-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mc-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;
        padding: 0.75rem 1rem;
        background: rgba(15, 5, 26, 0.92);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
    }

    .mc-sticky-cta .mc-btn-glow {
        width: 100%;
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
    }

    body {
        padding-bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-liquid-orb,
    .mc-btn-glow,
    .mc-offer-card::before,
    .mc-reveal {
        opacity: 1;
        transform: none;
    }
}
