/* ============================================================
   Mimecast Technical Coffee Chat — ANZ
   styles.css

   Brand Colours:
     Blue:  #005DAA
     Navy:  #0C1038
     Red:   #C8102E
   ============================================================ */

:root {
    --mc-blue: #005DAA;
    --mc-blue-light: #0070CC;
    --mc-blue-dark: #004A87;
    --mc-navy: #0C1038;
    --mc-navy-light: #141A4A;
    --mc-navy-mid: #1A2258;
    --mc-red: #C8102E;
    --mc-red-hover: #E01535;
    --mc-red-dark: #A00D24;
    --mc-white: #ffffff;
    --mc-off-white: #F4F5F9;
    --mc-light-grey: #E8EAF0;
    --mc-grey: #6B7085;
    --mc-dark-text: #0C1038;
    --mc-hero-gradient: linear-gradient(160deg, #0C1038 0%, #141A4A 40%, #1A2258 70%, #005DAA 100%);
    --mc-card-gradient: linear-gradient(160deg, #0C1038 0%, #141A4A 50%, #1A2258 100%);
    --mc-red-gradient: linear-gradient(135deg, #C8102E 0%, #E01535 100%);
    --mc-blue-gradient: linear-gradient(135deg, #004A87 0%, #005DAA 50%, #0070CC 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background-color: var(--mc-off-white);
    line-height: 1.6;
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: var(--mc-red);
    padding: 10px 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--mc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.top-banner a {
    color: var(--mc-white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.top-banner a:hover { opacity: 0.9; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--mc-white);
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(12, 16, 56, 0.08);
    border-bottom: 1px solid rgba(12, 16, 56, 0.06);
}
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.navbar-logo-img {
    height: 28px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.navbar-logo-img:hover { opacity: 0.8; }
.navbar-badge {
    background: var(--mc-navy);
    color: var(--mc-white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
    background: var(--mc-hero-gradient);
    padding: 80px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 93, 170, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 93, 170, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0,0) rotate(0deg); }
    33% { transform: translate(30px,-30px) rotate(1deg); }
    66% { transform: translate(-20px,20px) rotate(-1deg); }
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 93, 170, 0.2);
    border: 1px solid rgba(0, 93, 170, 0.3);
    color: rgba(255,255,255,0.95);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.hero h1 {
    color: var(--mc-white);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero h1 .highlight {
    color: var(--mc-red-hover);
    font-style: italic;
}
.hero-content > p {
    color: rgba(255,255,255,0.7);
    font-size: 1.12rem;
    max-width: 600px;
    margin: 0 auto 36px;
    font-weight: 300;
    line-height: 1.7;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mc-red);
    color: var(--mc-white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.35);
}
.hero-cta:hover {
    background: var(--mc-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(200, 16, 46, 0.45);
}
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero-meta-item { text-align: center; }
.hero-meta-item .label {
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 4px;
}
.hero-meta-item .value {
    color: var(--mc-white);
    font-size: 1.02rem;
    font-weight: 600;
}

/* ===== SESSIONS GRID ===== */
.sessions-section {
    max-width: 1100px;
    margin: -50px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}
.sessions-section .section-label {
    text-align: center;
    margin-bottom: 32px;
    background: var(--mc-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(12, 16, 56, 0.07);
}
.sessions-section .section-label h2 {
    font-size: 1.6rem;
    color: var(--mc-navy);
    font-weight: 800;
}
.sessions-section .section-label p {
    color: var(--mc-grey);
    font-size: 0.95rem;
    margin-top: 6px;
}
.sessions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== SESSION CARD ===== */
.session-card {
    background: var(--mc-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(12, 16, 56, 0.07);
    border: 1px solid rgba(12, 16, 56, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.session-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(12, 16, 56, 0.12);
    border-color: rgba(0, 93, 170, 0.25);
}
.session-card.upcoming { border: 2px solid var(--mc-red); }
.session-card.upcoming .card-badge { display: inline-block; }

.card-header {
    background: var(--mc-card-gradient);
    padding: 24px 24px 20px;
    position: relative;
    min-height: 120px;
}
.card-badge {
    display: none;
    background: var(--mc-red);
    color: var(--mc-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.card-number {
    color: rgba(0, 93, 170, 0.25);
    font-size: 3rem;
    font-weight: 800;
    position: absolute;
    top: 12px;
    right: 18px;
    line-height: 1;
}
.card-date {
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.card-header h3 {
    color: var(--mc-white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 85%;
}

.card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}
.card-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--mc-grey);
}
.card-detail .icon {
    width: 32px; height: 32px;
    background: var(--mc-off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.card-detail strong { color: var(--mc-navy); }

.btn-card-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: var(--mc-red);
    color: var(--mc-white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-card-register:hover {
    background: var(--mc-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}
.session-card.upcoming .btn-card-register {
    animation: subtle-pulse 3s ease-in-out infinite;
}
.session-card.upcoming .btn-card-register:hover { animation: none; }
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(200, 16, 46, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(200, 16, 46, 0.45); }
}

/* TBA card */
.session-card.tba .card-header {
    background: linear-gradient(160deg, #1a1a35 0%, #252545 100%);
}
.session-card.tba .btn-card-register {
    background: #C0C3D4;
    color: var(--mc-navy);
    pointer-events: none;
    cursor: default;
    animation: none;
}
.session-card.tba { opacity: 0.55; }
.session-card.tba:hover {
    transform: none;
    box-shadow: 0 4px 24px rgba(12, 16, 56, 0.07);
    border-color: rgba(12, 16, 56, 0.06);
}

/* ===== WHAT TO EXPECT ===== */
.what-to-expect {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 40px;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 2rem;
    color: var(--mc-navy);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header .underline {
    width: 50px; height: 3px;
    background: var(--mc-blue);
    border-radius: 3px;
    margin: 16px auto;
}
.section-header p {
    color: var(--mc-grey);
    font-size: 1.02rem;
    max-width: 600px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--mc-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 16, 56, 0.05);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(12, 16, 56, 0.08);
    border-color: rgba(0, 93, 170, 0.2);
}
.feature-icon {
    width: 60px; height: 60px;
    background: var(--mc-off-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}
.feature-card h3 {
    font-size: 1.05rem;
    color: var(--mc-navy);
    margin-bottom: 10px;
    font-weight: 700;
}
.feature-card p {
    color: var(--mc-grey);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ===== BLUE CTA BANNER ===== */
.blue-banner {
    background: var(--mc-blue-gradient);
    padding: 60px 40px;
    text-align: center;
}
.blue-banner h2 {
    color: var(--mc-white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.blue-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto 24px;
    line-height: 1.7;
}
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--mc-white);
    color: var(--mc-white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    background: var(--mc-white);
    color: var(--mc-blue);
}

/* ===== PAST RECORDINGS ===== */
.past-recordings {
    background: var(--mc-navy);
    padding: 80px 40px;
}
.past-recordings .section-header h2 { color: var(--mc-white); }
.past-recordings .section-header .underline { background: var(--mc-blue); }
.past-recordings .section-header p { color: rgba(255,255,255,0.55); }
.recordings-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.recording-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.recording-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(0, 93, 170, 0.4);
}
.recording-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: rgba(0, 93, 170, 0.1);
    overflow: hidden;
}
.recording-thumbnail iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.recording-info { padding: 20px; }
.recording-date {
    color: var(--mc-blue-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.recording-info h3 {
    color: var(--mc-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}
.recording-info p {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #080B28;
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo-img {
    height: 22px;
    width: auto;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    filter: brightness(0) invert(1);
}
.footer-logo-img:hover { opacity: 0.7; }
.footer p {
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
}
.footer a {
    color: var(--mc-blue-light);
    text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.2rem; }
    .sessions-grid,
    .features-grid,
    .recordings-grid { grid-template-columns: 1fr 1fr; }
    .hero-meta { gap: 24px; }
}
@media (max-width: 600px) {
    .hero { padding: 60px 20px 80px; }
    .hero h1 { font-size: 1.8rem; }
    .sessions-section, .what-to-expect { padding: 0 20px; }
    .sessions-grid, .features-grid, .recordings-grid { grid-template-columns: 1fr; }
    .past-recordings { padding: 60px 20px; }
    .navbar { padding: 12px 20px; }
    .top-banner { padding: 8px 20px; font-size: 0.78rem; }
    .blue-banner { padding: 40px 20px; }
}
