/* =============================================================
   NGEN-AI 2026 — Unified Stylesheet
   Extracted from inline <style> blocks across all pages.
   ============================================================= */

/* =========================
   1. RESET & VARIABLES
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #ffffff;
    --text-main: #000000;
    --purple-main: #4b0082;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #00b4d8;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --card: #ffffff;
    --muted: #f3f4f6;
    --muted-foreground: #4b5563;
    --border: #e5e7eb;
    --border-soft: #e5e7eb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.10);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    --yellow-header-footer: #facc15;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    padding-top: 90px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1.2rem;
    color: #000000;
}

ul {
    padding-left: 1.25rem;
    margin-bottom: 1.2rem;
}

ul li {
    margin-bottom: 0.4rem;
}

/* =========================
   2. LAYOUT
   ========================= */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   3. HERO (shared across all sub-pages)
   ========================= */
.hero {
    position: relative;
    padding: 4rem 1.5rem 3rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
        radial-gradient(circle at bottom right, #fce7f3 0, transparent 55%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--purple-main);
}

.hero p {
    font-size: 1.05rem;
    color: #000000;
    margin-bottom: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   4. SECTIONS
   ========================= */
.section {
    padding: 3.5rem 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--purple-main);
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* =========================
   5. BUTTONS (shared)
   ========================= */
.btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.7rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-inline-primary {
    background-color: var(--purple-main);
    color: #ffffff;
}

.btn-inline-primary:hover {
    background-color: #3b0764;
    box-shadow: 0 8px 18px rgba(59, 7, 100, 0.35);
    transform: translateY(-1px);
}

.btn-inline-outline {
    background-color: #ffffff;
    color: var(--purple-main);
    border: 1px solid rgba(75, 0, 130, 0.4);
}

.btn-inline-outline:hover {
    background-color: rgba(75, 0, 130, 0.04);
    transform: translateY(-1px);
}

/* =========================
   6. CARD (shared)
   ========================= */
.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.card + .card {
    margin-top: 1.75rem;
}

.card h2,
.card h3 {
    color: var(--purple-main);
    margin-bottom: 1rem;
}

/* =========================
   7. FOOTER (shared)
   ========================= */
footer {
    background-color: var(--yellow-header-footer);
    color: #111827;
    margin-top: 3rem;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.footer-section p,
.footer-section li {
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: #111827;
    text-decoration: none;
}

.footer-section a:hover {
    color: #000000;
    text-decoration: underline;
}

.contact-info p {
    margin-bottom: 0.4rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem 1rem;
    border-top: 1px solid rgba(17, 24, 39, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 0.75rem;
}

.footer-links a {
    color: #111827;
    text-decoration: none;
}

.footer-links a:hover {
    color: #000000;
    text-decoration: underline;
}

/* =========================
   8. STICKY-FOOTER LAYOUT
   (keeps footer at bottom on short-content pages)
   ========================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* =========================
   9. RESPONSIVE (shared)
   ========================= */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .hero {
        padding: 3.25rem 1.25rem 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2.5rem 1rem;
    }

    .hero {
        padding: 3rem 1rem 2.25rem;
    }
}


/* =============================================================
   PAGE-SPECIFIC STYLES
   ============================================================= */

/* NOTE: index.php uses its own inline <style> block and does NOT
   load this file. All index-specific CSS lives in index.php. */

/* =========================
   PAGE: cfp.php
   ========================= */
main h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--purple-main);
}

.track-block + .track-block {
    margin-top: 2rem;
}

.cfp-topics {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: disc;
}

.cfp-topics li {
    margin-bottom: 0.4rem;
}

.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   PAGE: submission.php
   ========================= */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.85rem;
}

.hero-pill span {
    color: #000000;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.guideline-block + .guideline-block {
    margin-top: 1.5rem;
}

.guideline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.small-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px dashed #cbd5e1;
    background-color: #ffffff;
    font-size: 0.8rem;
}

.small-pill strong {
    font-weight: 600;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.side-card + .side-card {
    margin-top: 1.25rem;
}

.side-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #111827;
}

.side-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.side-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.06);
    font-size: 1.2rem;
}

.side-link {
    font-size: 0.85rem;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.checklist li span {
    margin-top: 0.05rem;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================
   PAGE: dates.php
   ========================= */
.dates-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.dates-card + .dates-card {
    margin-top: 2rem;
}

.dates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dates-table thead th {
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 0.75rem;
    background-color: #f9fafb;
    border-bottom: 1px solid var(--border);
    color: #4b5563;
}

.dates-table tbody td,
.dates-table tbody th {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

.dates-table tbody tr:last-child td,
.dates-table tbody tr:last-child th {
    border-bottom: none;
}

.dates-table th[scope="row"] {
    width: 40px;
    font-weight: 600;
    color: #4b5563;
}

.dates-table td.text-right {
    text-align: right;
    white-space: nowrap;
}

.dates-table del {
    color: #ef4444;
    opacity: 0.85;
}

.badge-final {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: rgba(75, 0, 130, 0.08);
    color: var(--purple-main);
    margin-top: 0.15rem;
}

.badge-soft {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    margin-top: 0.15rem;
}

.dates-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* =========================
   PAGE: committee.php
   ========================= */
.committee-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.committee-section {
    margin-bottom: 2.5rem;
}

.committee-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-main);
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.member-item:last-child {
    border-bottom: none;
}

.member-name {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.1rem;
}

.member-affiliation {
    color: var(--muted-foreground);
    font-size: 0.94rem;
}

.committee-note {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

/* =========================
   PAGE: speakers.php
   ========================= */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.speaker-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.speaker-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.speaker-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f97316, #4b0082);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.speaker-meta h3 {
    margin-bottom: 0.1rem;
    color: var(--purple-main);
}

.speaker-meta p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.speaker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

.speaker-tag {
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background-color: #f3e8ff;
    color: #4b0082;
    border: 1px solid rgba(107, 33, 168, 0.25);
}

.speaker-body {
    font-size: 0.9rem;
    color: #000000;
}

.speaker-body strong {
    font-weight: 600;
}

.cta-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.cta-card h3 {
    color: var(--purple-main);
    margin-bottom: 0.8rem;
}

.cta-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.4rem;
}

/* =========================
   PAGE: contact.php
   ========================= */
.cta-wrapper {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-wrapper h2 {
    font-size: 2rem;
    color: var(--purple-main);
    margin-bottom: 1rem;
}

.cta-wrapper p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.btn-main-contact {
    font-size: 1rem;
    padding: 0.85rem 2.3rem;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item + .faq-item {
    border-top: 1px dashed #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), #ffffff 40%);
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    display: none;
}

@media (max-width: 575.98px) {
    .sticky-cta {
        display: block;
    }
}

/* =========================
   PAGE: cameraReady.php
   ========================= */
.main-column {
    max-width: 800px;
    margin: 0 auto;
}

.note-callout {
    border-left: 4px solid #10b981;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    margin-top: 0.8rem;
}

.stepper {
    margin-top: 0.5rem;
}

.step {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    background: var(--purple-main);
}

.step-body {
    flex: 1 1 auto;
    font-size: 0.95rem;
}

.btn-small {
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
}
