:root {
    --primary: #0a64c3;
    --primary-strong: #084f9f;
    --accent: #0f9c8b;
    --surface: #ffffff;
    --gray-50: #f5f8fd;
    --gray-100: #eef2f9;
    --gray-200: #dfe4ec;
    --gray-400: #6b7a93;
    --gray-900: #0f172a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    min-height: 100vh;
    background: var(--gray-50);
}

.shell {
    max-width: 1450px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    position: relative;
}

header.hero {
    position: relative;
    background: #fff;
    border: 1px solid rgba(223, 228, 236, 0.9);
    border-radius: 24px;
    padding: 36px;
    color: var(--gray-900);
    box-shadow: 0 18px 36px -20px rgba(8, 79, 159, 0.35);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 0.7s ease forwards;
}

header.hero .hero-banner {
    width: 100%;
    /* height: 220px; */
    border-radius: 18px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 12px 24px -16px rgba(8, 79, 159, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(59, 130, 246, 0.04));
}

header.hero .hero-banner--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(59, 130, 246, 0.08));
    color: var(--gray-400);
    font-weight: 600;
    font-size: 0.95rem;
}

header.hero .hero-banner img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    display: block;
}

header.hero.has-banner {
    background: #fff;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-layout-simple {
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    animation: riseIn 0.75s ease 0.05s forwards;
}

.hero-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gray-200);
}

header.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0 0 16px;
    line-height: 1.15;
}

header.hero p {
    margin: 0;
    color: var(--gray-400);
    font-size: 1.1rem;

    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.hero-actions .pill {
    background: var(--gray-100);
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    border: 1px solid rgba(223, 228, 236, 0.9);
}

.hero-metrics {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-metrics .metric {
    min-width: 160px;
}

.metric {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    animation: pulseIn 0.7s ease forwards;
}

.hero-metrics .metric:nth-child(1) {
    animation-delay: 0.08s;
}

.hero-metrics .metric:nth-child(2) {
    animation-delay: 0.14s;
}

.hero-metrics .metric:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-metrics .metric:nth-child(4) {
    animation-delay: 0.26s;
}

.metric span {
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.speaker-card-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(223, 228, 236, 0.9);
    background: #fff;
    box-shadow: 0 20px 40px -22px rgba(8, 79, 159, 0.35);
}

.speaker-card-detail__avatar {
    width: 94px;
    height: 94px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--primary-strong);
}

.speaker-card-detail__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speaker-card-detail__content h3 {
    margin: 6px 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.speaker-card-detail__content p {
    margin: 0;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.speaker-card-detail__label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.speaker-card-detail__note {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.panel {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 18px 36px -20px rgba(8, 79, 159, 0.35);
    border: 1px solid rgba(223, 228, 236, 0.9);
    opacity: 0;
    animation: riseIn 0.75s ease 0.15s forwards;
}

.panel h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 600;
}

.panel p {
    margin: 0;
    color: var(--gray-400);
    line-height: 1.6;
}

.detail-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.detail-card {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 14px;
    opacity: 0;
    animation: fadeSlide 0.7s ease forwards;
}

.detail-card:nth-child(1) {
    animation-delay: 0.05s;
}

.detail-card:nth-child(2) {
    animation-delay: 0.1s;
}

.detail-card:nth-child(3) {
    animation-delay: 0.15s;
}

.detail-card:nth-child(4) {
    animation-delay: 0.2s;
}

.detail-card:nth-child(5) {
    animation-delay: 0.25s;
}

.detail-card small {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.detail-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
    color: var(--gray-900);
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
}

input,
select,
textarea {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
}

.options-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.options-list input {
    width: 18px;
    height: 18px;
}

.options-list small {
    color: var(--gray-400);
}

.webinar-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px -16px rgba(10, 100, 195, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.webinar-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -12px rgba(10, 100, 195, 0.6);
}

@media (max-width: 1024px) {
    .shell {
        padding: 50px 16px 60px;
    }

    .hero {
        padding: 28px 18px;
    }

    .hero-metrics {
        gap: 10px;
        margin-top: 16px;
    }

    .speaker-card-detail {
        padding: 18px;
    }

    .layout {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        background: #fff;
    }

    .hero-layout-simple {
        opacity: 1;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-metrics .metric {
        width: 100%;
        justify-content: space-between;
    }

    .speaker-card-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .speaker-card-detail__avatar {
        margin: 0 auto;
    }

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

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

    .panel {
        padding: 22px;
    }

    form {
        margin-top: 12px;
    }

    .webinar-submit {
        padding: 16px 0;
        font-size: 1.05rem;
    }
}

.submit-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.submit-row button {
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.submit-row button.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(10, 100, 195, 0.7);
}

.submit-row button.primary:hover {
    transform: translateY(-2px);
}

.submit-row button.secondary {
    border: 1px solid rgba(15, 156, 139, 0.4);
    color: var(--accent);
    background: transparent;
}

.badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.badge.active {
    background: rgba(52, 211, 153, 0.16);
    border-color: rgba(52, 211, 153, 0.4);
    color: #15803d;
}

@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
