/* 
====================================================
BITBOSS DESIGN SYSTEM - v1.0 (STATIC)
Institutional Web3 Risk Infrastructure
====================================================
*/

:root {
    /* Brand Colors */
    --brand-teal: #00f2ff;
    --brand-purple: #6366f1;
    --brand-coral: #f43f5e;
    --brand-gold: #fbbf24;

    /* Semantic Colors */
    --bg-dark: #030508;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-elevated: rgba(15, 23, 42, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 242, 255, 0.3);

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Effects */
    --glow-primary: rgba(0, 242, 255, 0.15);
    --shadow-premium: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 10;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/noise.png');
    /* If available */
    opacity: 0.02;
    pointer-events: none;
    z-index: 50;
}

.glow-orb {
    position: fixed;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* Header/Nav */
nav {
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(3, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px var(--glow-primary);
}

.btn-primary:hover {
    background: var(--brand-teal);
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--brand-teal);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
}

.btn-ghost:hover {
    border-color: var(--brand-teal);
    color: #fff;
    background: rgba(0, 242, 255, 0.05);
}

/* Hero Section */
.hero {
    padding: var(--space-xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-sm);
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-purple), var(--brand-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.cta-group {
    display: flex;
    gap: var(--space-sm);
}

/* Shield Component */
.shield-viz {
    display: flex;
    justify-content: center;
    position: relative;
}

.shield-frame {
    width: 320px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-premium);
}

.safety-core {
    text-align: center;
}

.score-num {
    font-size: 5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    color: var(--brand-teal);
    text-shadow: 0 0 40px var(--brand-teal);
}

.score-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.crown-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--brand-gold));
}

.micro-disclaimer {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 2rem;
    text-align: center;
}

/* Section Common */
section {
    padding: var(--space-xl) 0;
}

.section-tag {
    color: var(--brand-teal);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

/* Tier Grid */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
}

.tier-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-active);
    background: rgba(255, 255, 255, 0.04);
}

.tier-range {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.tier-safe .tier-range {
    color: var(--brand-teal);
}

.tier-caution .tier-range {
    color: var(--brand-purple);
}

.tier-critical .tier-range {
    color: var(--brand-coral);
}

/* Methodology */
.pillars-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.pillar-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

.pillar-weight {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pillar-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Badge Section */
.badge-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: 32px;
    border: 1px solid var(--border-glass);
}

.badge-viz {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.mini-badge {
    display: flex;
    background: #000;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 900;
    overflow: hidden;
}

.mini-logo {
    background: #fff;
    color: #000;
    padding: 4px 6px;
}

.mini-score {
    padding: 4px 8px;
    color: #fff;
}

.safe-score {
    background: var(--brand-teal);
}

/* Use Cases */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--brand-teal);
    background: rgba(0, 242, 255, 0.02);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Signup Section */
.signup-box {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(0, 242, 255, 0.05));
    border: 1px solid var(--border-glass);
    padding: var(--space-lg);
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 0 80px -20px var(--glow-primary);
}

.whitelist-form {
    display: flex;
    gap: 10px;
    margin: 2rem 0 1rem;
}

.whitelist-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
}

.whitelist-form input:focus {
    outline: none;
    border-color: var(--brand-teal);
}

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Footer */
footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom {
    text-align: center;
}

.disclaimer-block {
    margin-top: 2rem;
    font-size: 0.7rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .hero-grid,
    .tier-grid,
    .pillars-row,
    .badge-preview,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .whitelist-form {
        flex-direction: column;
    }
}