/* ==============
   BASE STYLES
   ============== */
:root {
    --bg: #020617;
    --card-bg: rgba(10, 16, 45, 0.92);
    --card-inner: rgba(7, 11, 32, 0.96);
    --accent: #22c55e;
    --accent-2: #06b6d4;
    --accent-3: #f97316;
    --text: #f9fafb;
    --muted: #9ca3af;
    --border-soft: rgba(148, 163, 184, 0.25);
    --shadow-strong: 0 26px 90px rgba(15, 23, 42, 0.95);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, #1e293b 0, transparent 55%),
        radial-gradient(circle at top right, #0f766e 0, transparent 60%),
        radial-gradient(circle at bottom, #1e40af 0, transparent 45%),
        linear-gradient(145deg, #020617 0, #020617 35%, #020617 100%);
    color: var(--text);
}

/* Container & Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Background Snow */

.bg-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.snow-layer {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.16;
    animation: snow 22s linear infinite;
}

.snow-layer-2 {
    background-size: 26px 26px;
    opacity: 0.10;
    animation-duration: 35s;
}

@keyframes snow {
    0% { transform: translateY(-30px); }
    100% { transform: translateY(30px); }
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15,23,42,0.92), transparent);
    border-bottom: 1px solid rgba(30,64,175,0.45);
    margin-bottom: 6px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.logo-icon {
    font-size: 1.3rem;
}

.logo-text {
    font-size: 1rem;
}

.logo-dot {
    color: var(--accent);
    margin-left: 2px;
}

.nav {
    display: flex;
    gap: 16px;
    font-size: 0.88rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.nav a:hover {
    color: var(--text);
    background: rgba(15,23,42,0.8);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .nav {
        display: none;
    }
}

/* Hero */

.hero {
    padding: 22px 0 16px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at top left, rgba(34,197,94,0.18), rgba(15,23,42,0.95));
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.3vw, 2.8rem);
    margin-bottom: 8px;
}

.accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 0.97rem;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 10px;
}

.hero-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 12px;
}

.hero-list li {
    margin-bottom: 2px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.btn {
    border-radius: 999px;
    border: none;
    padding: 10px 20px;
    font-size: 0.94rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #020617;
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.65);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.12s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 24px 60px rgba(16, 185, 129, 0.8);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(148,163,184,0.4);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(248,250,252,0.8);
}

.hero-note {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Hero Card (Printer Info) */

.hero-card {
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 14px;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(56,189,248,0.12), rgba(239,68,68,0.12));
    opacity: 0.12;
    pointer-events: none;
}

.hero-card-inner {
    position: relative;
    z-index: 1;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.hero-chip {
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    background: rgba(15,23,42,0.96);
}

.hero-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 14px #22c55e;
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-card-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.printer-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.stat {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.stat-label {
    color: var(--muted);
}

.stat-value {
    font-weight: 500;
}

.hero-card-footer {
    font-size: 0.78rem;
}

.hero-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(248,250,252,0.4);
    background: rgba(15,23,42,0.96);
}

/* Sections */

.section {
    padding: 24px 0 18px;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
    border-top: 1px solid rgba(30,64,175,0.5);
    border-bottom: 1px solid rgba(30,64,175,0.5);
}

.section-header h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-text p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.about-list {
    list-style: none;
    font-size: 0.88rem;
}

.about-list li {
    margin-bottom: 3px;
}

.about-card {
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.35);
    padding: 14px;
}

.about-card-inner {
    font-size: 0.86rem;
}

.steps {
    margin-left: 18px;
    font-size: 0.86rem;
    color: var(--text);
}

.steps li {
    margin-bottom: 4px;
}

.tiny-note {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 6px;
}

/* Materials */

.materials-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.material-block {
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.97), rgba(15,23,42,0.99));
    border: 1px solid rgba(148,163,184,0.35);
    padding: 10px 12px 9px;
    font-size: 0.82rem;
}

.material-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.material-name {
    font-weight: 500;
}

.material-tag {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    color: var(--muted);
}

.material-description {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(71,85,105,0.9);
    background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.99));
    font-size: 0.75rem;
    margin: 2px 4px 2px 0;
}

.pill-color {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.8);
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8);
}

/* Inspiration */

.inspiration-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .inspiration-grid {
        grid-template-columns: 1fr;
    }
}

.inspo-list {
    list-style: none;
    font-size: 0.9rem;
    margin-top: 6px;
    margin-bottom: 6px;
}

.inspo-list li {
    margin-bottom: 4px;
}

.inspo-list a {
    color: #bae6fd;
    text-decoration: none;
}

.inspo-list a:hover {
    text-decoration: underline;
}

.inspo-note {
    font-size: 0.84rem;
    color: var(--muted);
}

.inspo-card {
    border-radius: 20px;
    background: radial-gradient(circle at top, rgba(15,23,42,1), rgba(15,23,42,0.98));
    border: 1px solid rgba(248,250,252,0.12);
    padding: 14px;
}

.inspo-card-inner {
    font-size: 0.86rem;
}

.inspo-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.inspo-tags {
    list-style: none;
    font-size: 0.84rem;
}

.inspo-tags li {
    margin-bottom: 2px;
}

/* Request / Form */

.request-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .request-grid {
        grid-template-columns: 1fr;
    }
}

.request-form {
    margin-top: 8px;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row .field {
    flex: 1;
}

.field {
    margin-bottom: 10px;
}

.field label {
    display: block;
    font-size: 0.84rem;
    margin-bottom: 4px;
    color: #e5e7eb;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 9px 11px;
    font-size: 0.88rem;
    border-radius: 11px;
    border: 1px solid rgba(51,65,85,0.85);
    background: rgba(15,23,42,0.96);
    color: var(--text);
    outline: none;
    transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.08s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.25);
    background: rgba(15,23,42,0.98);
    transform: translateY(-0.5px);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.field-checkbox .hint {
    margin-top: 2px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    cursor: pointer;
    color: #e5e7eb;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: #22c55e;
}

.hint {
    font-size: 0.76rem;
    color: var(--muted);
}

.hint-strong {
    font-size: 0.8rem;
    color: #a7f3d0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.note {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Request side card */

.request-card {
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.99));
    border: 1px solid rgba(148,163,184,0.35);
    padding: 14px;
    font-size: 0.86rem;
}

.request-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.request-text {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.55);
    background: rgba(15,23,42,0.98);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.contact-pill a {
    color: #e5e7eb;
    text-decoration: none;
}

.contact-pill a:hover {
    text-decoration: underline;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(30,64,175,0.6);
    margin-top: 10px;
    padding: 10px 0 12px;
    background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,0.99));
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
}

.footer-note {
    font-size: 0.78rem;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
