/* ===== CSS Variables (Design System) ===== */
:root {
    --color-primary: #a30000;
    --color-primary-light: #d94444;
    --color-primary-dark: #7a0000;
    --color-accent: #c9a961;
    --color-accent-light: #e5d4a1;
    --color-dark: #141010;
    --color-dark-soft: #1a1514;
    --color-gray: #6b6b6b;
    --color-gray-light: #a0a0a0;
    --color-white: #ffffff;

    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-text: linear-gradient(110deg, #c9a961 0%, #ffebbc 45%, #ffffff 50%, #ffebbc 55%, #c9a961 100%);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50px;

    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(163, 0, 0, 0.25);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    background: #141010;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* Ambient Glows (Optimized) */
body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; /* Reduced */
    height: 600px;
    background: radial-gradient(circle, rgba(163, 0, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Typography Utilities ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gradient {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}

/* Content Side */
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Mobile default */
    text-align: center;
}

@media (min-width: 992px) {
    .hero__content {
        align-items: flex-start;
        text-align: left;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(163, 0, 0, 0.15);
    border: 1px solid rgba(163, 0, 0, 0.35);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary-light);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin-bottom: 8px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__from-zero {
    font-size: 0.4em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-top: 5px;
    opacity: 0.9;
}

.hero__desc {
    font-size: 1rem;
    color: var(--color-gray-light);
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 30px;
}

/* Date Badge */
.date-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.date-badge__item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-white);
}

.date-badge__item svg {
    color: var(--color-accent);
}

.date-badge__sep {
    opacity: 0.5;
}

/* Program List */
.program-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    display: grid;
    gap: 12px;
}

.program-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.program-list span {
    color: var(--color-accent);
    font-weight: bold;
}

/* Speaker Card (Right Side) */
.speaker-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.speaker-card__image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
}

.speaker-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-card__image img {
    transform: scale(1.02);
}

.speaker-card__info {
    text-align: center;
    margin-bottom: 24px;
}

.speaker-card__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.speaker-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.speaker-card__role {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    line-height: 1.4;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-item {
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.stat-item:hover {
    border-color: rgba(201, 169, 97, 0.3);
    background: rgba(255,255,255,0.05);
}

.stat-item__num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent);
}

.stat-item__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-gray-light);
    letter-spacing: 0.05em;
}

.stat-item--wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stat-item--wide svg {
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(110deg, #d94444 0%, #a30000 100%);
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(163, 0, 0, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 0, 0, 0.4);
}

.btn-note {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 10px;
    text-align: center;
}

/* Sticky Bar (Mobile) */
.sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-bar.is-visible {
    transform: translateY(0);
}

.btn--sticky {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 12px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-radius: var(--radius-lg);
}

.btn__sub {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modal.is-open .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* Form */
.form {
    background: #1a1514;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.form__header {
    text-align: center;
    margin-bottom: 24px;
}

.form__logo {
    width: 50px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.form__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.form__desc {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.form__group {
    margin-bottom: 16px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form__input:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
}

.form__error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.btn--submit {
    width: 100%;
    background: linear-gradient(135deg, #a30000, #d94444);
    color: white;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
}

.form__footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 16px;
}

/* Animation Keyframes */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(217, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(217, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 68, 68, 0); }
}

/* Utility visibility classes */
@media (max-width: 991px) {
    .hide-mobile { display: none !important; }
    .mt-4 { margin-top: 24px; }
}
@media (min-width: 992px) {
    .hide-desktop { display: none !important; }
}

/* Intl Tel Input Overrides */
.iti { width: 100%; }
.iti__country-list { background-color: #1a1514; border: 1px solid #333; color: white; }
.iti__dial-code { color: #aaa; }