/* Learn page — extends light-theme.css (scoped layout & panels) */

/* --- Premium canvas: panels read clearly against the page (not white-on-white) --- */
body.learn-page {
    align-items: stretch;
    padding: 0;
    background: linear-gradient(
        168deg,
        #c5d4e2 0%,
        #d4e2ea 12%,
        #ddeef0 28%,
        #e8ecf4 48%,
        #ebe4ec 68%,
        #e5ddd4 100%
    );
}

.learn-page > section.section-full:nth-of-type(odd) {
    background: linear-gradient(180deg, rgba(210, 224, 236, 0.85) 0%, rgba(228, 236, 244, 0.65) 100%);
}

.learn-page > section.section-full:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(200, 230, 228, 0.45) 0%, rgba(218, 232, 240, 0.75) 100%);
}

.learn-page .learn-section {
    background: linear-gradient(180deg, rgba(198, 214, 228, 0.55) 0%, rgba(232, 238, 246, 0.85) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.learn-hero-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62)),
        url('../images/learn_hero_science.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.science-card {
    background: linear-gradient(165deg, #ffffff 0%, #f1f6fa 100%);
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 36px 64px -20px rgba(15, 23, 42, 0.28),
        0 12px 28px -8px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(0, 163, 184, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 44px 72px -18px rgba(15, 23, 42, 0.32),
        0 0 0 2px rgba(0, 188, 212, 0.35);
    border-color: rgba(0, 151, 167, 0.4);
}

/* Full-width DNA highlight row — stronger rim + readable gold text */
.learn-page .science-grid > .science-card:last-child {
    background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(217, 119, 6, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 36px 64px -20px rgba(120, 53, 15, 0.22),
        0 0 0 1px rgba(251, 191, 36, 0.5);
}

.learn-page .science-grid > .science-card:last-child h3 {
    color: #b45309 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.science-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 188, 212, 0.35));
}

.glass-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(152deg, #e8f2f8 0%, #f5f9fc 38%, #ffffff 72%, #eef8f7 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.16);
    padding: 50px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.98) inset,
        0 -40px 80px -48px rgba(6, 182, 212, 0.12) inset,
        0 52px 100px -28px rgba(15, 23, 42, 0.35),
        0 20px 48px -12px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 0 2px rgba(6, 148, 162, 0.22);
}

.glass-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, #0891b2, #22d3ee, #2dd4bf, #fbbf24);
    opacity: 0.95;
}

.learn-page .glass-panel[style*='border-color'] {
    border-color: rgba(8, 145, 178, 0.55) !important;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.98) inset,
        0 -36px 72px -44px rgba(6, 182, 212, 0.18) inset,
        0 52px 100px -28px rgba(15, 23, 42, 0.35),
        0 20px 48px -12px rgba(15, 23, 42, 0.22),
        0 0 0 2px rgba(34, 211, 238, 0.35),
        0 0 48px rgba(34, 211, 238, 0.12);
}

.section-full {
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learn-page .section-full {
    padding-left: 12px;
    padding-right: 12px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.compare-card {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 32px 56px -16px rgba(15, 23, 42, 0.22),
        0 10px 24px -8px rgba(15, 23, 42, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compare-card.artificial {
    background: linear-gradient(165deg, #ffe4e6 0%, #fecdd3 100%);
    border-color: rgba(185, 28, 28, 0.35);
}

.compare-card.biological {
    background: linear-gradient(165deg, #cffafe 0%, #a5f3fc 100%);
    border-color: rgba(14, 116, 144, 0.4);
}

.compare-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 40px 72px -14px rgba(15, 23, 42, 0.28);
}

.bovis-section {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.96), rgba(255, 255, 255, 0.98));
    border-top: 1px solid rgba(255, 193, 7, 0.35);
    border-bottom: 1px solid rgba(255, 193, 7, 0.35);
}

.learn-section {
    padding: 80px 20px;
    position: relative;
    border-bottom: none;
    width: 100%;
}

.learn-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.learn-section.reversed .learn-container {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .learn-container {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
}

/* --- Biophoton hero visual: dark stage + bright core (never white-on-white) --- */
.biophoton-visual-stage {
    flex: 1;
    min-width: 280px;
    min-height: 300px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 75% 65% at 50% 42%, rgba(8, 145, 178, 0.55) 0%, rgba(15, 23, 42, 0.92) 52%, #020617 100%),
        linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border: 2px solid rgba(34, 211, 238, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 40px 80px -20px rgba(0, 0, 0, 0.55),
        0 0 100px rgba(6, 182, 212, 0.35);
}

.biophoton-visual-stage::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 55%;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.biophoton-visual-stage::after {
    content: '';
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15) inset;
    pointer-events: none;
}

/* Small particle (elsewhere) — still visible on light UI */
.biophoton-particle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 32% 32%, #ffffff 0%, #e0f7fa 22%, #22d3ee 48%, #0891b2 78%, #0e7490 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.5),
        0 0 0 7px rgba(34, 211, 238, 0.25),
        0 0 40px rgba(34, 211, 238, 0.75),
        0 0 80px rgba(52, 211, 153, 0.35),
        inset 0 -6px 14px rgba(8, 145, 178, 0.45);
    margin: 60px auto;
    animation: biophoton-pulse-light 4s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

.biophoton-particle--hero {
    width: 100px;
    height: 100px;
    margin: 0;
    z-index: 3;
    background: radial-gradient(circle at 32% 30%, #ffffff 0%, #ecfeff 18%, #22d3ee 42%, #0891b2 72%, #164e63 100%);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.55),
        0 0 0 10px rgba(34, 211, 238, 0.22),
        0 0 56px rgba(34, 211, 238, 0.95),
        0 0 120px rgba(52, 211, 153, 0.45),
        inset 0 -8px 20px rgba(8, 145, 178, 0.5);
    animation: biophoton-pulse-hero 3.5s infinite ease-in-out;
}

@keyframes biophoton-pulse-light {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.95;
    }
}

@keyframes biophoton-pulse-hero {
    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.55),
            0 0 0 10px rgba(34, 211, 238, 0.22),
            0 0 56px rgba(34, 211, 238, 0.95),
            0 0 120px rgba(52, 211, 153, 0.45),
            inset 0 -8px 20px rgba(8, 145, 178, 0.5);
        filter: brightness(1);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(255, 255, 255, 0.65),
            0 0 0 16px rgba(34, 211, 238, 0.28),
            0 0 80px rgba(34, 211, 238, 1),
            0 0 160px rgba(52, 211, 153, 0.55),
            inset 0 -10px 24px rgba(8, 145, 178, 0.55);
        filter: brightness(1.12);
    }
}

.btn-buy {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.learn-page .btn-buy {
    background: linear-gradient(135deg, var(--accent-yellow), #ffb300);
    color: var(--primary) !important;
    box-shadow: 0 10px 28px rgba(255, 193, 7, 0.35);
}

.learn-page .btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(255, 193, 7, 0.45);
}

.interviews-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #cfd9e6 0%, #d8e4ee 40%, #e4ecf4 100%);
    border-top: 2px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 -28px 60px -20px rgba(15, 23, 42, 0.12);
}

.learn-page .video-card {
    border: 1px solid rgba(15, 23, 42, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 40px 72px -22px rgba(15, 23, 42, 0.32),
        0 14px 32px -10px rgba(15, 23, 42, 0.2);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: rgba(0, 188, 212, 0.45);
    box-shadow: 0 18px 48px rgba(31, 38, 135, 0.14);
    transform: translateY(-4px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0f172a;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 10;
}

@media (max-width: 640px) {
    .learn-page .glass-panel {
        padding: 28px 18px;
        border-radius: 20px;
    }
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
