:root {
    --cf-orange: #FF6633;
    --cf-orange-hot: #FF4801;
    --cf-bg: #0A0A0A;
    --cf-surface: #141414;
    --cf-surface-strong: #1B1B1B;
    --cf-border: #2A2A2A;
    --cf-text: #FAFAFA;
    --cf-text-muted: #A0A0A0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--cf-bg);
    color: var(--cf-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cf-border);
}
.header-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; color: var(--cf-text); }
.logo .accent { color: var(--cf-orange); }
.header-cta {
    color: var(--cf-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--cf-border);
    transition: all 0.25s ease;
    font-size: 0.9rem;
}
.header-cta:hover { border-color: var(--cf-orange); color: var(--cf-orange); }

.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 72, 1, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 102, 51, 0.1);
    border: 1px solid rgba(255, 102, 51, 0.3);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cf-orange);
    margin-bottom: 2rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    padding-bottom: 0.15em;
    background: linear-gradient(180deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--cf-orange) 0%, var(--cf-orange-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cf-text-muted);
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle strong { color: var(--cf-text); font-weight: 600; }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--cf-orange);
    color: #0A0A0A;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}
.cta-button::after { content: '→'; transition: transform 0.3s ease; }
.cta-button:hover { background-color: var(--cf-orange-hot); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(255, 72, 1, 0.5); }
.cta-button:hover::after { transform: translateX(4px); }
.cta-button:active { transform: translateY(0); }
.cta-button[disabled] { opacity: 0.6; cursor: wait; }

main { max-width: 1280px; margin: 0 auto; padding: 0 2rem 6rem; }

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    color: var(--cf-text);
    text-align: center;
}
.section-title .accent { color: var(--cf-orange); }

.agenda-section { margin-bottom: 6rem; }
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
@media (max-width: 1200px) { .agenda-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .agenda-grid { grid-template-columns: 1fr; } }

.agenda-card {
    background-color: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.agenda-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cf-orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.agenda-card:hover { transform: translateY(-4px); border-color: rgba(255, 102, 51, 0.4); background-color: #1a1a1a; }
.agenda-card:hover::before { opacity: 1; }
.agenda-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.agenda-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--cf-text); letter-spacing: -0.01em; }
.agenda-card p { color: var(--cf-text-muted); font-size: 0.875rem; line-height: 1.5; }

.details-section { margin-bottom: 6rem; }
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr; } }
.detail-card {
    background-color: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 1rem;
    padding: 1.5rem;
}
.detail-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cf-orange);
    margin-bottom: 0.75rem;
}
.detail-value { color: var(--cf-text); font-weight: 500; line-height: 1.5; }

.register-section { margin-bottom: 4rem; }
.register-card {
    background-color: var(--cf-surface-strong);
    border: 1px solid var(--cf-border);
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
.register-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.register-sub { color: var(--cf-text-muted); margin-bottom: 2rem; }

.register-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.register-form label { display: flex; flex-direction: column; gap: 0.4rem; color: var(--cf-text-muted); font-size: 0.85rem; font-weight: 500; }
.register-form input[type="text"], .register-form input[type="email"] {
    padding: 0.85rem 1rem;
    background-color: #0f0f0f;
    border: 1px solid var(--cf-border);
    border-radius: 0.75rem;
    color: var(--cf-text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.register-form input:focus { outline: none; border-color: var(--cf-orange); background-color: #121212; }
.form-consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; color: var(--cf-text-muted); font-size: 0.85rem; line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; }
.register-form .cta-button { align-self: center; margin-top: 0.75rem; }
.register-success h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.register-success p { color: var(--cf-text-muted); }

footer { border-top: 1px solid var(--cf-border); padding: 2rem; text-align: center; color: var(--cf-text-muted); font-size: 0.875rem; }

@media (max-width: 768px) {
    .hero { padding: 4rem 1.5rem 3rem; }
    .header-nav { padding: 1rem 1.5rem; }
    main { padding: 0 1.5rem 4rem; }
    .agenda-card { padding: 1.5rem; }
}

/* --- nav updates --- */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-link {
    color: var(--cf-text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-size: 0.9rem;
}
.header-link:hover { color: var(--cf-text); background-color: rgba(255,255,255,0.04); }
@media (max-width: 480px) {
    .header-link { display: none; }
}

/* --- docs section --- */
.docs-section { margin-bottom: 6rem; }
.docs-intro {
    text-align: center;
    color: var(--cf-text-muted);
    max-width: 640px;
    margin: -1.5rem auto 3rem;
    line-height: 1.6;
}
.docs-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 900px; margin: 0 auto; }

.docs-item {
    background-color: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}
.docs-item[open] { border-color: rgba(255, 102, 51, 0.35); background-color: var(--cf-surface-strong); }
.docs-item:hover { border-color: rgba(255, 102, 51, 0.25); }

.docs-item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    position: relative;
}
.docs-item summary::-webkit-details-marker { display: none; }
.docs-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--cf-orange);
    font-weight: 300;
    transition: transform 0.25s ease;
    line-height: 1;
}
.docs-item[open] summary::after { content: '−'; }

.docs-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.docs-item-title { font-size: 1.125rem; font-weight: 600; color: var(--cf-text); letter-spacing: -0.01em; }
.docs-item-chip {
    margin-left: auto;
    margin-right: 2.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cf-text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid var(--cf-border);
    white-space: nowrap;
}
@media (max-width: 720px) { .docs-item-chip { display: none; } }

.docs-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--cf-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    border-top: 1px solid var(--cf-border);
    margin-top: 0;
    padding-top: 1.25rem;
}
.docs-body p { margin-bottom: 1rem; }
.docs-body h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cf-orange);
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}
.docs-body ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.docs-body ul li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.docs-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: var(--cf-orange);
}
.docs-body ul li strong { color: var(--cf-text); font-weight: 600; }
.docs-body code {
    font-family: 'SFMono-Regular', Menlo, monospace;
    font-size: 0.85em;
    padding: 0.15em 0.4em;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    color: var(--cf-text);
}
.docs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cf-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255,102,51,0.3);
    border-radius: 999px;
    transition: all 0.25s ease;
    background-color: rgba(255,102,51,0.05);
}
.docs-link:hover {
    background-color: var(--cf-orange);
    color: #0A0A0A;
    border-color: var(--cf-orange);
    transform: translateX(2px);
}

/* --- luma register CTA --- */
.register-card .cta-button { align-self: center; margin-top: 0.75rem; }
.register-note { margin-top: 1.5rem; color: var(--cf-text-muted); font-size: 0.85rem; }
.register-note a { color: var(--cf-orange); text-decoration: none; font-weight: 500; }
.register-note a:hover { text-decoration: underline; }
