/* --- TEATRADE DESIGN SYSTEM V3 --- */
:root {
    --bg: #0D0F0E;
    --panel: #111412;
    --accent: #00FF85; /* Neon Green */
    --brand: #FF5E00;  /* Amber Orange */
    --border: rgba(0, 255, 133, 0.15);
    --glass: rgba(255, 255, 255, 0.02);
    --text-dim: rgba(255, 255, 255, 0.5);
}

* { box-sizing: border-box; scroll-behavior: smooth; }
body { background: var(--bg); color: #fff; font-family: 'Inter', sans-serif; margin: 0; overflow-x: hidden; width: 100vw; }

/* TYPOGRAPHY */
h1 { font-family: 'Playfair Display', serif; font-size: clamp(4rem, 12vw, 9rem); line-height: 0.8; font-weight: 900; margin: 0; }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; line-height: 1.1; }
.logo { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; letter-spacing: -2px; text-decoration: none; color: #fff; }

/* NAVIGATION */
nav { 
    position: fixed; top: 0; width: 100%; height: 100px; padding: 0 60px; 
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 1000; background: rgba(13,15,14,0.9); backdrop-filter: blur(25px); border-bottom: 1px solid var(--border); 
}
.nav-links { display: flex; gap: 40px; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.nav-links a { color: #fff; text-decoration: none; opacity: 0.6; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

/* BUTTONS */
.btn-pill { 
    background: var(--accent); color: #000; padding: 22px 55px; border-radius: 100px; 
    font-weight: 900; text-transform: uppercase; letter-spacing: 2px; border: none; 
    cursor: pointer; transition: 0.4s; font-size: 0.95rem; display: inline-block; text-decoration: none;
}
.btn-pill:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0,255,133,0.4); }

/* BRANDING OVERRIDES (The Orange Fix) */
.brand-page { --border: rgba(255, 94, 0, 0.15); }
.brand-page .btn-pill, .brand-page button:not(.btn-outline) { background: var(--brand) !important; color: #fff !important; }
.brand-page .btn-pill:hover { box-shadow: 0 0 30px rgba(255,94,0,0.4) !important; }
.brand-page .nav-links a:hover { color: var(--brand); }

.btn-outline { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.3) !important; padding: 12px 28px !important; font-size: 0.7rem !important; }

/* TICKER RESTORATION */
.ticker-wrap { width: 100%; overflow: hidden; background: var(--accent); color: #000; padding: 25px 0; margin: 60px 0; }
.brand-page .ticker-wrap { background: var(--brand); color: #fff; }
.ticker { display: inline-block; white-space: nowrap; animation: ticker 40s linear infinite; font-weight: 900; font-size: 1rem; letter-spacing: 6px; text-transform: uppercase; }
.ticker span { padding: 0 50px; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* BADGES & CAROUSEL */
.badges-section { padding: 150px 0 150px 80px; }
.badge-carousel { display: flex; gap: 40px; overflow-x: auto; padding: 60px 0; scrollbar-width: none; }
.badge-card { flex: 0 0 380px; background: var(--panel); border: 1px solid var(--border); border-radius: 35px; padding: 60px 45px; text-align: center; }

/* THE PROTOCOL MAP */
.protocol-section { padding: 150px 60px; position: relative; }
.map-container { position: relative; max-width: 1200px; margin: 100px auto; height: 800px; display: flex; justify-content: center; align-items: center; }
.map-svg { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }
.dotted-line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 8; opacity: 0.3; fill: none; }
.brand-page .dotted-line { stroke: var(--brand); }
.core { width: 240px; height: 240px; background: #000; border: 2px solid var(--accent); border-radius: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 900; box-shadow: 0 0 50px rgba(0,255,133,0.1); }
.brand-page .core { border-color: var(--brand); box-shadow: 0 0 50px rgba(255,94,0,0.1); }

.node { position: absolute; background: var(--panel); border: 1px solid var(--border); padding: 30px; border-radius: 25px; width: 300px; z-index: 11; }
.n-1 { top: 0; left: 0; } .n-2 { top: 320px; left: 0; } .n-3 { bottom: 0; left: 0; }
.n-4 { top: 0; right: 0; } .n-5 { top: 320px; right: 0; } .n-6 { bottom: 0; right: 0; }

/* MODALS */
.modal-card { background: #000; border: 2px solid var(--border); border-radius: 40px; padding: 70px; }

/* FOOTER */
footer { padding: 120px 80px; background: #080a09; border-top: 1px solid var(--border); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 80px; }
.footer-col h4 { color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 35px; font-size: 0.8rem; }
.brand-page .footer-col h4 { color: var(--brand); }
.footer-col ul { list-style: none; padding: 0; opacity: 0.5; line-height: 2.5; font-size: 0.95rem; }
