/* ==================== PITOPI LANDING — style.css ==================== */

/* ==================== VARIABLES ==================== */
:root {
    --bg: #060608;
    --surface: #0d0d12;
    --surface2: #13131a;
    --border: #1e1e2e;
    --accent: #4f6ef7;
    --accent2: #7c3aed;
    --accent-glow: rgba(79, 110, 247, 0.12);
    --text: #e8e8f0;
    --muted: #6b6b80;
    --subtle: #2a2a3a;
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}


/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(6, 6, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.nav-logo img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    font-family: "DM Mono", monospace;
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--subtle);
}
.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    font-weight: 500 !important;
}
.nav-cta:hover {
    background: #3d5ce8 !important;
    transform: translateY(-1px);
}

/* ==================== PAGE HEADER (shared) ==================== */
.page-header {
    padding: 160px 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
}
.page-tag {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
.page-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}
.page-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.7;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: none;
}
.btn-primary:hover {
    background: #3d5ce8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 110, 247, 0.3);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* ==================== FOOTER ==================== */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--muted);
    letter-spacing: -0.02em;
}
.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.footer-links a {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--text);
}
.footer-copy {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    color: var(--subtle);
    letter-spacing: 0.04em;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== SECTION SHARED ==================== */
.section {
    padding: 120px 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-tag {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
.section-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.7;
}
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 0 80px;
}

code {
    font-family: "DM Mono", monospace;
    font-size: 0.8rem;
    background: var(--subtle);
    padding: 2px 7px;
    border-radius: 4px;
    color: var(--accent);
}

/* ==================== INDEX — HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(79, 110, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 110, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    top: 30%;
    right: 10%;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease both;
}
.hero-badge span {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
.hero h1 {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 .line1 {
    display: block;
    color: var(--text);
}
.hero h1 .line2 {
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    max-width: 520px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease 0.2s both;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.6s ease 0.3s both;
}

/* INDEX — STATS */
.stats {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-top: 80px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    animation: fadeUp 0.6s ease 0.4s both;
    max-width: 600px;
    width: 100%;
}
.stat {
    flex: 1;
    padding: 24px 32px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat:last-child {
    border-right: none;
}
.stat-value {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text);
    letter-spacing: -0.03em;
}
.stat-label {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* INDEX — FEATURES */
.features-section {
    padding: 120px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 60px;
}
.feature-card {
    background: var(--surface);
    padding: 40px 36px;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    background: var(--surface2);
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.feature-title {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* INDEX — HOW IT WORKS */
.how-section {
    padding: 120px 60px;
    border-top: 1px solid var(--border);
}
.how-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 120px 60px;
    gap: 80px;
    align-items: center;
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
}
.step {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.step:last-child {
    border-bottom: none;
}
.step-num {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    min-width: 32px;
    padding-top: 3px;
}
.step-content h4 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}
.step-content p {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.6;
}

/* INDEX — TERMINAL */
.terminal {
    background: #080810;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    font-family: "DM Mono", monospace;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-r {
    background: #ff5f57;
}
.dot-y {
    background: #febc2e;
}
.dot-g {
    background: #28c840;
}
.terminal-title {
    font-size: 0.7rem;
    color: var(--muted);
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05em;
}
.terminal-body {
    font-size: 0.78rem;
    line-height: 1.8;
}

/* INDEX — CTA */
.cta-section {
    padding: 120px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(79, 110, 247, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-section h2 {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 20px;
}
.cta-section p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ==================== HELP PAGE ==================== */
.help-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}
.help-nav {
    position: sticky;
    top: 100px;
}
.help-nav-title {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.help-nav ul {
    list-style: none;
}
.help-nav li {
    margin-bottom: 2px;
}
.help-nav a {
    display: block;
    font-size: 0.87rem;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}
.help-nav a:hover {
    color: var(--text);
    background: var(--surface2);
}
.help-nav a.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-glow);
}
.help-content {
    min-width: 0;
}
.help-section {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
}
.help-section:last-child {
    border-bottom: none;
}
.help-section-title {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

/* HELP — FAQ */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}
.faq-q {
    padding: 20px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    user-select: none;
}
.faq-q:hover {
    background: var(--surface2);
}
.faq-arrow {
    font-family: "DM Mono", monospace;
    color: var(--muted);
    transition: transform 0.2s;
    font-size: 0.8rem;
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-a {
    display: none;
    padding: 16px 24px 20px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
}
.faq-item.open .faq-a {
    display: block;
}

/* HELP — GUIDE STEPS */
.step-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.guide-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.guide-step:hover {
    border-color: rgba(79, 110, 247, 0.3);
}
.guide-num {
    width: 32px;
    height: 32px;
    background: var(--accent-glow);
    border: 1px solid rgba(79, 110, 247, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Mono", monospace;
    font-size: 0.75rem;
    color: var(--accent);
    flex-shrink: 0;
}
.guide-body h4 {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.guide-body p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

/* HELP — INFO / WARNING BOXES */
.warning-box {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 16px;
}
.warning-box .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.warning-box p {
    font-size: 0.86rem;
    color: #d4a017;
    line-height: 1.6;
}
.info-box {
    background: var(--accent-glow);
    border: 1px solid rgba(79, 110, 247, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 16px;
}
.info-box .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.info-box p {
    font-size: 0.86rem;
    color: #8ba4f9;
    line-height: 1.6;
}

/* ==================== DEVELOPER PAGE ==================== */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
}

/* DEV — STACK */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 80px;
}
.stack-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text);
}
.stack-card:hover {
    border-color: rgba(79, 110, 247, 0.4);
    transform: translateY(-2px);
    background: var(--surface2);
}
.stack-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.stack-name {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.stack-role {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* DEV — CODE BLOCK */
.code-block {
    background: #080810;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
    font-family: "DM Mono", monospace;
}
.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
}
.code-lang {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.code-copy {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: none;
    border: none;
    transition: color 0.2s;
}
.code-copy:hover {
    color: var(--text);
}
.code-body {
    padding: 24px;
    font-size: 0.8rem;
    line-height: 1.8;
    overflow-x: auto;
}
.t-c {
    color: #3d3d5c;
}
.t-k {
    color: #c792ea;
}
.t-f {
    color: #4f6ef7;
}
.t-s {
    color: #f59e0b;
}
.t-v {
    color: #22c55e;
}
.t-n {
    color: #e8e8f0;
}
.t-p {
    color: #6b6b80;
}

/* DEV — ARCHITECTURE */
.arch-diagram {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 80px;
    font-family: "DM Mono", monospace;
    font-size: 0.8rem;
    line-height: 2.2;
    color: var(--muted);
}
.arch-title {
    color: var(--accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.arch-node {
    color: var(--text);
}
.arch-edge {
    color: var(--border);
}
.arch-label {
    color: var(--accent);
}
.arch-ok {
    color: #22c55e;
}
.arch-no {
    color: #ef4444;
}

/* DEV — SOCKET EVENTS */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 80px;
}
.event-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}
.event-name {
    font-family: "DM Mono", monospace;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 6px;
}
.event-dir {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.dir-in {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.dir-out {
    background: rgba(79, 110, 247, 0.1);
    color: #8ba4f9;
    border: 1px solid rgba(79, 110, 247, 0.2);
}
.event-desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ==================== DONATE PAGE ==================== */
.donate-hero {
    padding: 160px 60px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.donate-hero div p {
    margin-left: auto;
    margin-right: auto;
}
.costs-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px 100px;
}
.costs-title {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-align: center;
}
.costs-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
}
.costs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.costs-row:last-child {
    border-bottom: none;
}
.costs-row:hover {
    background: var(--surface2);
}
.costs-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.costs-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.costs-label {
    font-size: 0.9rem;
    color: var(--text);
}
.costs-note {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 2px;
}
.costs-amount {
    font-family: "DM Mono", monospace;
    font-size: 0.85rem;
    color: var(--accent);
    text-align: right;
}
.costs-total {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}
.costs-total-label {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1rem;
}
.costs-total-amount {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent);
}

/* DONATE — TIERS */
.donate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.donate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}
.donate-card:hover {
    border-color: rgba(79, 110, 247, 0.4);
    transform: translateY(-3px);
    background: var(--surface2);
}
.donate-card.featured {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}
.donate-amount {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 4px;
}
.donate-period {
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.donate-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
}

/* DONATE — METHODS */
.methods-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px 100px;
}
.methods-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-align: center;
}
.methods-sub {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}
.methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.method-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}
.method-card:hover {
    border-color: rgba(79, 110, 247, 0.4);
    background: var(--surface2);
    transform: translateY(-2px);
}
.method-icon {
    font-size: 1.8rem;
    width: 48px;
    text-align: center;
    flex-shrink: 0;
}
.method-name {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.method-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}
.method-arrow {
    margin-left: auto;
    color: var(--muted);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* DONATE — MANIFESTO */
.manifesto {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 60px 120px;
    text-align: center;
}
.manifesto-quote {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text);
}
.manifesto-body {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    nav {
        padding: 16px 24px;
    }
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
    }
    .section {
        padding: 80px 24px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .how-section {
        padding: 80px 24px;
    }
    .how-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .security-card.wide {
        flex-direction: column;
        gap: 20px;
    }
    .cta-section {
        padding: 80px 24px;
    }
    .stats {
        flex-direction: column;
    }
    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .stat:last-child {
        border-bottom: none;
    }

    .page-header {
        padding: 120px 24px 60px;
    }
    .help-layout {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
    .help-nav {
        display: none;
    }

    .main {
        padding: 60px 24px;
    }
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .events-grid {
        grid-template-columns: 1fr;
    }

    .donate-hero {
        padding: 120px 24px 80px;
    }
    .costs-section,
    .methods-section,
    .manifesto {
        padding-left: 24px;
        padding-right: 24px;
    }
    .donate-grid {
        grid-template-columns: 1fr;
    }
    .methods-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 30px 24px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
