/* CleanTube Website — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #06040c;
    --card: rgba(255, 255, 255, 0.025);
    --border: rgba(255, 255, 255, 0.05);
    --text: #f0eff5;
    --muted: #7b7e90;
    --dim: #5b5e6e;
    --accent: #818cf8;
    --accent2: #c084fc;
    --accent3: #f472b6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    line-height: 1.5;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === Nav === */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 4, 12, 0.75);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
}

.nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.nav-brand span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.15s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.nav-links a.active {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.06);
}

.nav-links a.nav-donate {
    color: #c084fc !important;
    /* accent2 */
    position: relative;
    z-index: 1;
}

.nav-links a.nav-donate::after {
    content: '';
    position: absolute;
    inset: 6px 4px;
    background: rgba(192, 132, 252, 0.15);
    border-radius: 6px;
    z-index: -1;
    filter: blur(8px);
    animation: donateGlow 3s infinite ease-in-out;
}

@keyframes donateGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.nav-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #fff !important;
    box-shadow: 0 3px 14px rgba(99, 102, 241, 0.3);
    border-radius: 10px !important;
}

.nav-cta:hover {
    box-shadow: 0 5px 22px rgba(99, 102, 241, 0.5) !important;
    transform: translateY(-1px);
}

/* === Page Header === */
.page-header {
    padding: 140px 48px 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #fff;
    position: relative;
    margin-bottom: 14px;
}

.page-header .sub {
    font-size: 1.05rem;
    color: #8a889a;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* === Content === */
.content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

/* === Cards === */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 14px;
    transition: all 0.2s;
}

.card:hover {
    border-color: rgba(129, 140, 248, 0.08);
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #6366f1, #7c3aed, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(129, 140, 248, 0.2);
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    letter-spacing: -0.3px;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.55);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    color: #b0aec0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    border-color: rgba(129, 140, 248, 0.15);
    color: var(--text);
}

/* === Accordion === */
.accordion {
    margin-bottom: 8px;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
    user-select: none;
}

.acc-header:hover {
    background: rgba(255, 255, 255, 0.035);
}

.acc-header.open {
    border-radius: 12px 12px 0 0;
    border-bottom-color: transparent;
    background: rgba(99, 102, 241, 0.03);
}

.acc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e0dff0;
}

.acc-arrow {
    color: var(--dim);
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.acc-header.open .acc-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.acc-body.open {
    max-height: 800px;
}

.acc-content {
    padding: 18px 22px;
    font-size: 0.88rem;
    color: #9896a8;
    line-height: 1.7;
}

/* === Section Label === */
.section-label {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent2);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.12);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* === Timeline === */
.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
    border-radius: 2px;
}

.tl-item {
    position: relative;
    margin-bottom: 32px;
}

.tl-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.tl-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.tl-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.tl-body {
    font-size: 0.85rem;
    color: #9896a8;
    line-height: 1.6;
}

.tl-body ul {
    padding-left: 18px;
    margin-top: 6px;
}

.tl-body li {
    margin-bottom: 4px;
}

/* === Team Grid === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.value-card {
    padding: 24px 22px;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.value-card:hover {
    border-color: rgba(129, 140, 248, 0.08);
    transform: translateY(-2px);
}

.value-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.value-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e0dff0;
    margin-bottom: 6px;
}

.value-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}



.footer-brand-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    color: #9896a8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    padding: 4px 0;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--dim);
}

.footer-bottom a {
    color: var(--muted);
    margin-left: 16px;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* === Responsive === */
@media (max-width: 768px) {
    .site-nav {
        padding: 14px 20px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .page-header {
        padding: 110px 20px 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .content {
        padding: 0 18px 60px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeUp 0.5s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}