:root {
    --bg: #0c101b;
    --panel: #141a2a;
    --accent: #f2c94c;
    --text: #f7f7fb;
    --muted: #8f98b3;
    --border: #232b3d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #151c2f, #0c101b);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 2rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 12, 20, 0.7);
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.brand h1 {
    margin: 0;
    font-size: 1.8rem;
}

.brand p {
    margin: 0.2rem 0 0;
    color: var(--muted);
}

.install-btn {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

main.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 4vw 3rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h2 {
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--muted);
}

input,
textarea {
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    background: #0e1524;
    color: var(--text);
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
}

button[type="submit"] {
    border: none;
    background: linear-gradient(120deg, #f2c94c, #f2994a);
    color: #0a0d18;
    font-weight: 700;
    padding: 0.9rem 1.4rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: transform 0.15s ease;
}

button[type="submit"]:hover {
    transform: translateY(-1px);
}

.result {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.result.error {
    border-color: #ff6b6b;
    color: #ffbaba;
}

.result.success {
    border-color: #2ecc71;
    color: #c6ffd6;
}

.timeline {
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.timeline-entry {
    border-left: 3px solid var(--accent);
    padding-left: 0.75rem;
}

.pod-preview {
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}

.pod-preview a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.hint {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.stripe-card {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
}

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }
}
