/* recycle.digital */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0D1B2A; color: #E8F1F2; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.65; }

.hero { position: relative; padding: 5rem 2rem 4rem; text-align: center; overflow: hidden; }
.circuit-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.headline { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); color: #ffffff; letter-spacing: -0.01em; margin-bottom: 1rem; }
.hero-stat { font-size: 1rem; color: #7B8FA1; margin-bottom: 2rem; }
.stat-highlight { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #2EC4B6; }
.cta-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    background: #2EC4B6;
    color: #0D1B2A;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(46,196,182,0.3); }
.btn-secondary {
    color: #2EC4B6;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #2EC4B6;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(46,196,182,0.1); box-shadow: 0 0 20px rgba(46,196,182,0.2); }

.dashboard { max-width: 700px; margin: 0 auto; padding: 3rem 2rem; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-card {
    background: #1B2838;
    border: 1px solid #162032;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.metric-card.visible {
    animation: pulse-card 0.3s ease-out;
}
.metric-card:hover {
    box-shadow: 0 0 24px rgba(46,196,182,0.12);
    transform: translateY(-4px);
}
@keyframes pulse-card {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}
.metric-trend {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 0.25rem;
}
.metric-trend.up { color: #2EC4B6; }
.metric-trend.down { color: #FF6B35; }
.metric-label { font-size: 0.7rem; color: #7B8FA1; }
.sparkline {
    width: 100%;
    height: 40px;
    margin: 0.5rem 0;
}

.lifecycle { max-width: 700px; margin: 0 auto; padding: 3rem 2rem; }
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.flow-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}
.flow-step {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem 0.5rem;
    border-radius: 8px;
}
.flow-step:hover {
    background: rgba(46,196,182,0.05);
}
.flow-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2EC4B6;
    margin: 0 auto 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(46,196,182,0.3);
}
.flow-step:hover .flow-dot {
    width: 16px;
    height: 16px;
    box-shadow: 0 0 16px rgba(46,196,182,0.5);
}
.flow-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
}
.flow-desc {
    font-size: 0.7rem;
    color: #7B8FA1;
    padding: 0 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.flow-step:hover .flow-desc {
    max-height: 50px;
}
.flow-line {
    width: 40px;
    border-top: 2px dashed #7B8FA1;
    margin-top: 6px;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}
.flow-step:hover ~ .flow-line {
    border-color: #2EC4B6;
}

.table-section { max-width: 700px; margin: 0 auto; padding: 3rem 2rem; }
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: #7B8FA1;
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #7B8FA1;
}
.data-table td {
    padding: 0.75rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #162032;
    transition: background 0.2s ease;
}
.data-table tr:nth-child(even) {
    background: #1B2838;
}
.data-table tr:hover td {
    background: rgba(46,196,182,0.05);
}
.mono {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid #162032;
}
.footer-text {
    font-size: 0.8rem;
    color: #7B8FA1;
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-row { flex-direction: column; align-items: center; }
    .flow-line { width: 2px; height: 20px; border-top: none; border-left: 2px dashed #7B8FA1; margin: 0; }
    .cta-row { flex-direction: column; }
}

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
