/* Shared styles for sub-pages — Lively Wallpaper */
:root {
    --night: #07080f;
    --cyan: #22d3ee;
    --orchid: #c084fc;
    --rose: #fb7185;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--night);
    background-image:
        radial-gradient(ellipse 100% 80% at 10% -20%, rgba(34,211,238,0.12), transparent 50%),
        radial-gradient(ellipse 80% 60% at 95% 30%, rgba(192,132,252,0.14), transparent 45%);
    color: #e2e8f0;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 1rem 1.25rem; }
.nav-inner {
    max-width: 72rem; margin: 0 auto;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 1.25rem; border-radius: 9999px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; color: #fff; font-size: 1rem; white-space: nowrap; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: center; }
.nav-links a {
    font-size: 0.8125rem; font-weight: 500; color: rgba(226,232,240,0.7);
    padding: 0.35rem 0.65rem; border-radius: 9999px; text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(34,211,238,0.12); }
.nav-cta {
    padding: 0.5rem 1.25rem; border-radius: 9999px; background: #fff; color: var(--night);
    font-size: 0.8125rem; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--cyan); }
.nav-mobile { display: none; background: none; border: none; color: #94a3b8; font-size: 1.25rem; cursor: pointer; padding: 0.5rem; }
.mobile-menu { display: none; flex-direction: column; gap: 0.25rem; padding: 1rem 0; }
.mobile-menu a { padding: 0.75rem 0; color: #e2e8f0; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a:hover { color: var(--cyan); }

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-mobile { display: block; margin-left: auto; }
    .mobile-menu.open { display: flex; }
}

/* Container */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Page header */
.page-header { padding: 5rem 0 3rem; text-align: center; }
.page-header .badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 9999px; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); color: var(--cyan); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.page-header h1 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.25rem); color: #fff; margin: 0 0 1rem; line-height: 1.1; }
.page-header p { color: #94a3b8; font-size: 1.05rem; max-width: 38rem; margin: 0 auto; line-height: 1.7; }

/* Sections */
.section { padding: 4rem 0; }
.section-border { border-top: 1px solid rgba(255,255,255,0.05); }

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem;
    padding: 2rem; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.card-static {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; padding: 2rem;
}
.card-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.1rem; }
.card h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; color: #fff; font-size: 1.15rem; margin: 0 0 0.5rem; }
.card p, .card-static p { color: #94a3b8; font-size: 0.875rem; line-height: 1.7; margin: 0; }

/* Tags */
.tag { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 0.5rem; background: rgba(255,255,255,0.05); color: #64748b; font-size: 0.6875rem; font-weight: 500; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Table */
.table-wrap { border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.table-wrap th { padding: 1rem 1.25rem; color: #64748b; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.table-wrap td { padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.table-wrap tr:last-child td { border-bottom: none; }

/* FAQ accordion */
.faq-item { border-radius: 1rem; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.75rem; }
.faq-item summary { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 600; color: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: #64748b; font-size: 0.75rem; transition: transform 0.2s; flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 1.5rem 1.25rem; color: #94a3b8; font-size: 0.875rem; line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1rem; }

/* Download button */
.btn-download {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1rem 2.5rem; border-radius: 9999px;
    background: linear-gradient(135deg, var(--cyan), var(--orchid));
    color: var(--night); font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: filter 0.2s, transform 0.2s;
    box-shadow: 0 12px 40px rgba(192,132,252,0.2);
}
.btn-download:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* CTA bar */
.cta-bar { text-align: center; padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.cta-bar h2 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.5rem); color: #fff; margin: 0 0 1rem; }
.cta-bar p { color: #64748b; font-size: 0.95rem; margin: 0 0 2rem; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.3); padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer-col h5 { font-size: 0.6875rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.75rem; }
.footer-col a { display: block; color: #64748b; text-decoration: none; font-size: 0.8125rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.04); color: #475569; font-size: 0.75rem; text-align: center; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: #64748b; padding: 1rem 0 0; }
.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: #334155; }

/* Accent colors */
.text-cyan { color: var(--cyan); }
.text-orchid { color: var(--orchid); }
.text-rose { color: var(--rose); }
.bg-cyan-10 { background: rgba(34,211,238,0.1); }
.bg-orchid-10 { background: rgba(192,132,252,0.1); }
.bg-rose-10 { background: rgba(251,113,133,0.1); }
