:root { --bg-page: #e6eef5; --bg-panel: #ffffff; --text-main: #06090e; --text-muted: #2f3b4a; --border-faint: rgba(12, 18, 28, 0.05); --border-card: #c4d4e6; --bg-dark-center: #3A4F6B; --bg-dark-edge: #161e2b; --text-light: #ffffff; --text-muted-dark: #a9bed6; --accent-gold: #d4af37; --accent-gold-dark: #8c6b05; --font-brand: 'Playfair Display', serif; --font-sans: 'Outfit', sans-serif; --font-mono: 'Space Mono', monospace; }

* { margin: 0; padding: 0; box-sizing: border-box; }
svg { overflow: visible; }
body { background-color: var(--bg-page); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; margin: 0; overflow-x: hidden; position: relative; }
*:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; }

#auth-loading-shield { display: flex; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: var(--bg-dark-center); z-index: 9999; align-items: center; justify-content: center; color: white; font-family: var(--font-mono); transition: opacity 0.4s ease; }
#dashboard-content { display: none; }
html.session-verified #auth-loading-shield { display: none !important; }
html.session-verified #dashboard-content { display: block !important; }

.grid-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: linear-gradient(var(--border-faint) 1px, transparent 1px), linear-gradient(90deg, var(--border-faint) 1px, transparent 1px); background-size: 40px 40px; z-index: -2; pointer-events: none; }
.seam-line { position: absolute; left: 50%; top: 0; height: 100%; width: 1px; background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.4), transparent); transform: translateX(-50%); z-index: -1; }
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }

.dark-zone { background: radial-gradient(circle at top center, var(--bg-dark-center) 0%, var(--bg-dark-edge) 100%); color: var(--text-light); position: relative; border-bottom: 2px solid var(--accent-gold); padding-bottom: 4rem; overflow: hidden; }
.dark-zone::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }

nav { position: relative; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.nav-brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nav-favicon { width: 28px; height: 28px; object-fit: contain; }
.nav-brand-text-wrapper { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-main { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 600; color: var(--text-light); }
.alpha-tag { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-muted-dark); font-weight: 400; letter-spacing: 0.5px; }
.nav-brand-sub { font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-muted-dark); font-weight: 400; letter-spacing: 0.3px; margin-top: 0.15rem; }
.nav-links a { color: var(--text-light); text-decoration: none; margin: 0 1.2rem; font-size: 0.95rem; font-weight: 600; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent-gold); }
.nav-links a.active { color: var(--accent-gold) !important; }
.nav-actions .logout { display: inline-block; color: var(--text-light) !important; text-decoration: none !important; font-family: var(--font-sans) !important; font-size: 0.95rem !important; font-weight: 700 !important; padding: 0.6rem 1.4rem !important; border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 4px !important; transition: all 0.2s ease-in-out; }
.nav-actions .logout:hover { color: #ffffff !important; border-color: #ffffff !important; background-color: rgba(255,255,255,0.05) !important; }

.hero { padding-top: 6rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 10; }
.hero h1 { font-size: 4rem; letter-spacing: -1px; margin-bottom: 1.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.4); max-width: 900px; color: var(--text-light); }
.hero-description { font-size: 1.25rem; max-width: 750px; margin-bottom: 3rem; line-height: 1.6; color: var(--text-muted-dark); }
.hero-hook { font-family: var(--font-brand); font-style: italic; font-size: 1.35rem; color: var(--text-muted-dark); margin-bottom: 2.5rem; max-width: 800px; line-height: 1.5; }
.hero-actions { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1rem; }
.hero-actions .btn { white-space: nowrap; }
.hero-micro-footer { margin-top: 4rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

.mono-accent { font-family: var(--font-mono); color: var(--accent-gold-dark); text-transform: uppercase; letter-spacing: 3px; font-size: 1.1rem; display: block; margin-bottom: 0.8rem; font-weight: 700; }
.dark-zone .mono-accent { color: var(--accent-gold); }

.btn { display: inline-block; font-family: var(--font-mono); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; padding: 1.1rem 2.4rem; text-decoration: none; transition: all 0.2s ease; cursor: pointer; border-radius: 4px; font-weight: 700; text-align: center; border: 2px solid transparent; }
.btn-primary { background: var(--bg-dark-edge); color: var(--text-light); border-color: var(--accent-gold); width: 100%; }
.btn-primary:hover { background: var(--text-main); }
.btn-secondary { background-color: var(--bg-panel); color: var(--text-main); border: 2px solid var(--border-card); }
.btn-secondary:hover { border-color: var(--text-main); background-color: var(--bg-page); }
.btn-outline { background: transparent; border: 2px solid var(--border-card); color: var(--text-main); }
.btn-outline:hover { border-color: var(--text-main); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.dark-zone .btn-secondary { background-color: transparent; color: var(--text-light); border-color: rgba(255,255,255,0.4); }
.dark-zone .btn-secondary:hover { background-color: rgba(255,255,255,0.1); }
.btn-danger { background: transparent; border: 1px solid rgba(239,68,68,0.4); color: #c0392b; font-family: var(--font-mono); font-size: 0.8rem; border-radius: 4px; cursor: pointer; padding: 0.35rem 0.75rem; transition: all 0.15s; }
.btn-danger:hover { background: rgba(239,68,68,0.08); border-color: #c0392b; }
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }

.panel-box { background: var(--bg-panel); border: 1px solid var(--border-card); padding: 3rem; border-radius: 6px; box-shadow: 0 8px 24px rgba(12,18,28,0.04); margin-bottom: 3rem; position: relative; z-index: 10; margin-top: -3rem; }
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.panel-header h2 { font-size: 1.6rem; color: var(--text-main); }
.panel-header p { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.3rem; }

.status-badge { font-family: var(--font-mono); font-size: 0.8rem; padding: 0.4rem 0.8rem; border-radius: 4px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.status-waitlist { background: rgba(212,175,55,0.15); color: var(--accent-gold-dark); }
.status-beta { background: rgba(58,79,107,0.15); color: var(--bg-dark-center); }
.status-live { background: rgba(46,139,87,0.15); color: #1e5c3a; }

tfs-footer footer { padding: 4rem 0 2rem !important; background: var(--bg-panel) !important; border-top: 1px solid var(--border-card) !important; margin-top: 4rem; }
tfs-footer .footer-grid { display: grid !important; grid-template-columns: 2fr 1fr 1fr !important; gap: 2rem !important; margin-bottom: 4rem !important; text-align: left !important; }
tfs-footer .footer-brand { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 600; color: var(--text-main); margin-bottom: 1rem; display: block; }
tfs-footer .footer-col h5 { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-main); margin-bottom: 1.5rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
tfs-footer .footer-col ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
tfs-footer .footer-col ul li { margin-bottom: 0.8rem !important; list-style-type: none !important; }
tfs-footer .footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
tfs-footer .footer-col ul a:hover { color: var(--accent-gold-dark); text-decoration: underline; text-underline-offset: 4px; }
tfs-footer .footer-bottom { border-top: 1px solid var(--border-card); padding-top: 2rem; display: flex; justify-content: center; align-items: center; }
tfs-footer .footer-bottom p { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }

section { padding: 8rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 1.2rem; letter-spacing: -0.5px; color: var(--text-main); }
.section-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; line-height: 1.7; }

.layout-max-wrapper { max-width: 1200px !important; width: 100% !important; }
.layout-align-left { align-items: flex-start !important; text-align: left !important; }
.layout-panel-pull { margin-top: -3rem !important; position: relative; z-index: 10; }
.layout-panel-pull-deep { margin-top: -4rem !important; position: relative; z-index: 10; }
.layout-padding-hero { padding-top: 4rem !important; padding-bottom: 2rem !important; }
.layout-back-arrow { color: var(--accent-gold); font-family: var(--font-mono); text-decoration: none; font-size: 0.9rem; margin-bottom: 1rem; display: inline-block; }
.layout-text-title { font-size: 2.5rem; margin-top: 0.5rem; color: var(--text-light); }
.layout-text-desc { color: var(--text-muted-dark); max-width: 600px; }
.layout-text-white { color: var(--text-light); }
.layout-utility-none { display: none; }
.layout-utility-block { display: block; }
.layout-utility-inline { display: inline; }

@media (max-width: 768px) { .hero h1 { font-size: 2.8rem; } .hero-actions { flex-direction: column; width: 100%; } tfs-footer .footer-grid { grid-template-columns: 1fr !important; } }

.nav-username { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-gold); text-decoration: none; font-weight: 700; letter-spacing: 0.5px; margin-right: 1rem; opacity: 0.9; transition: opacity 0.15s; }
.nav-username:hover { opacity: 1; }