/* --- CSS Variables for exact colors (Registration UI) --- */
:root {
    --bg-color: #F8F9F8;
    --card-bg: #FFFFFF;
    --text-main: #111111;
    --text-muted: #6B7280;
    --input-bg: #F7F7F7;
    --border-light: #E5E7EB;
    --accent-dot: #EAB308; /* Yellow/Orange dot */
    --dashed-border: #D1D5DB;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* --- Basic Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}
.section.container {
    padding-left: 24px;
    padding-right: 24px;
}

/* Typography */
.h2-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Yellow Dot Accent */
.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-dot);
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 30px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    gap: 8px;
}
.btn-primary {
    background-color: var(--text-main);
    color: #FFFFFF;
}
.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}
.btn-primary .arrow {
    transition: var(--transition);
}
.btn-primary:hover .arrow {
    transform: translateX(4px);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--card-bg);
    border-color: var(--text-main);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(248, 249, 248, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.nav-logo .brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
}
.nav-logo .event {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-main);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    text-align: center;
    position: relative;
}
.hero .container {
    min-width: 0;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-title-break {
    display: block;
}
.hero .tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Countdown --- */
.countdown-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    z-index: 10;
}
.timer-display {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
}
.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.time-box .num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}
.time-box .label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.1em;
}
.countdown-message {
    display: none;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

/* --- Cards Generic --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.card:hover {
    transform: translateY(-5px);
    border-color: #D1D5DB;
}
.card-number {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}
.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- About / Visual Flow --- */
.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}
.flow-step {
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
}
.flow-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* --- Pitch Format --- */
.format-visual {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.format-equation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.f-item .time {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}
.f-item .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 8px;
}
.f-operator {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--border-light);
}
.format-msg {
    display: inline-block;
    background: var(--input-bg);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 2rem;
    font-weight: 600;
}

/* --- Categories --- */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 2rem;
}
.cat-tag {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.cat-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Event Details Card --- */
.details-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.detail-item .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.detail-item .value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- Registration CTA Section --- */
.cta-section {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 80px 40px;
    text-align: center;
    border: 1px dashed var(--dashed-border);
    box-shadow: var(--shadow-sm);
}
.cta-deadline {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--input-bg);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

/* --- FAQ Accordion --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--card-bg);
}
.faq-answer-inner {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
}
.faq-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #c13584;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: var(--transition);
}
.faq-instagram-link:hover,
.faq-instagram-link:focus-visible {
    color: #e1306c;
}
.faq-item.active {
    border-color: #D1D5DB;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
/* --- Social Media --- */
.social-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 2rem;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.social-card {
    background: var(--card-bg);
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    color: var(--text-main);
    text-decoration: none;
}

.social-card svg {
    transition: var(--transition);
}

/* Official Brand Colors on Hover */
.social-card.instagram:hover {
    border-color: #E1306C;
    color: #E1306C;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.1);
}
.social-card.instagram:hover svg {
    stroke: #E1306C;
}

.social-card.linkedin:hover {
    border-color: #0A66C2;
    color: #0A66C2;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.1);
}
.social-card.linkedin:hover svg {
    stroke: #0A66C2;
}

/* Proper Media Query for Mobile Devices */
@media (max-width: 500px) {
    .hero h1 { font-size: clamp(2.5rem, 14vw, 3.5rem); }
    .social-cards {
        flex-direction: column;
        gap: 16px;
        padding: 0 10px;
    }
    .social-card {
        width: 100%;
        justify-content: center;
        padding: 18px;
    }
}
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 20px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-links {
    display: flex;
    gap: 40px;
}
.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.footer-col a:hover {
    color: var(--text-main);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- Utilities & Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 3.5rem; }
    .details-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: clamp(2.5rem, 14vw, 3.5rem); }
    .container { padding-left: 24px; padding-right: 24px; }
    .section { padding: 56px 0; }
    .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .h2-title { font-size: clamp(1.8rem, 8vw, 2.25rem); line-height: 1.15; }
    .section-header { margin-bottom: 2rem; }
    .section-header p { font-size: 1rem; }
    .hero { min-height: auto; padding-top: calc(var(--header-height) + 56px); padding-bottom: 64px; }
    .hero p { font-size: 1rem; margin-bottom: 1.75rem; }
    .hero-meta { margin-bottom: 2rem; }
    .countdown-wrapper { padding: 1.75rem 1rem; }
    .timer-display { gap: 1rem; margin-top: 1.25rem; }
    .time-box { min-width: 54px; }
    .time-box .num { font-size: 2rem; }
    .time-box .label { font-size: 0.7rem; letter-spacing: 0.05em; }
    .card { padding: 24px; }
    .flow-container { padding: 24px; }
    .format-visual { padding: 40px 22px; }
    .f-item .time { font-size: 2.75rem; }
    .details-card { padding: 24px; gap: 20px; }
    .cta-section { padding: 52px 22px; }
    .faq-question { padding: 20px; font-size: 1rem; }
    .faq-answer-inner { padding: 0 20px 20px; }
    footer { padding-top: 44px; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    .mobile-toggle { display: flex; }
    
    .flow-container {
        flex-direction: column;
        gap: 20px;
    }
    .flow-arrow { transform: rotate(90deg); }
    .format-equation { flex-direction: column; gap: 10px; }
    .timer-display { flex-wrap: wrap; gap: 1.5rem; }
    .footer-top { flex-direction: column; }
    .hero-meta { flex-direction: column; align-items: center; gap: 10px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
}