/* styles/learn.css - Learn & Research Page Stylesheet */

@import url('common.css');

.learn-main {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 320px;
    padding: 3rem 1.5rem 6rem 1.5rem;
}

.learn-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- 1. Hero Coming Soon Section with 3D Rubik's Cube Stage --- */
.learn-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
    overflow: visible;
}

.rubiks-cube-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.88;
}

#rubiks-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.learn-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: auto;
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.learn-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(16, 24, 28, 0.92);
    border: 1.5px solid rgba(var(--colour-glow), 0.85);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.8), 0 0 20px rgba(var(--colour), 0.35);
    text-shadow: 0 0 10px rgba(var(--colour-glow), 0.65);
}

.learn-title {
    font-family: var(--ff-heading);
    font-size: clamp(3.4rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.02;
    margin-bottom: 1.25rem;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(var(--colour), 0.5);
}

.learn-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: #ffffff;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 0.95);
}

/* --- 2. Intentions & Roadmap Section --- */
.learn-intentions-section {
    margin-bottom: 4.5rem;
}

.section-label {
    font-family: var(--ff-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(var(--bright), 0.55);
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(var(--bright), 0.15);
    text-align: left;
}

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

.intention-card {
    background: linear-gradient(145deg, rgba(32, 32, 32, 0.85) 0%, rgba(22, 22, 22, 0.95) 100%);
    border: 1px solid rgba(var(--bright), 0.1);
    border-left: 4px solid rgb(var(--colour));
    border-radius: 12px;
    padding: 2.2rem 2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.intention-card:nth-child(1) {
    border-left-color: rgb(var(--colour));
}

.intention-card:nth-child(1):hover {
    transform: translateY(-4px);
    border-color: rgba(var(--colour), 0.45);
    border-left-color: rgb(var(--colour-glow));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(var(--colour), 0.28), inset 0 0 16px rgba(var(--colour), 0.06);
}

.intention-card:nth-child(2) {
    border-left-color: rgb(var(--red1));
}

.intention-card:nth-child(2):hover {
    transform: translateY(-4px);
    border-color: rgba(var(--red1), 0.45);
    border-left-color: rgb(var(--red1));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(var(--red1), 0.28), inset 0 0 16px rgba(var(--red1), 0.06);
}

.intention-card:nth-child(3) {
    border-left-color: rgb(var(--yellow1));
}

.intention-card:nth-child(3):hover {
    transform: translateY(-4px);
    border-color: rgba(var(--yellow1), 0.45);
    border-left-color: rgb(var(--yellow1));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(var(--yellow1), 0.28), inset 0 0 16px rgba(var(--yellow1), 0.06);
}

.card-tag {
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.card-tag.tag-cyan {
    color: rgb(var(--colour));
}

.card-tag.tag-red {
    color: rgb(var(--red1));
}

.card-tag.tag-yellow {
    color: rgb(var(--yellow1));
}

.card-title {
    font-family: var(--ff-heading);
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.intention-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(var(--bright), 0.88);
    margin: 0;
}

/* Learn Footer Contact Section (Exact match with learn-container / intentions-grid width) */
.learn-container .global-contact-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.5rem 0 0 0;
    box-sizing: border-box;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .learn-main {
        padding: 2.5rem 1.25rem 5rem 1.25rem;
    }

    .intentions-grid {
        grid-template-columns: 1fr;
    }

    .learn-hero {
        min-height: 400px;
    }
}

