/* Postiz Native Setup Studio */
:root {
    --bg-main: #081220;
    --bg-panel: rgba(9, 19, 36, 0.72);
    --bg-panel-strong: rgba(11, 24, 44, 0.92);
    --line-soft: rgba(167, 243, 208, 0.14);
    --line-strong: rgba(167, 243, 208, 0.22);
    --text-main: #f8fafc;
    --text-soft: #bfd1e3;
    --text-muted: #8ca0b8;
    --primary: #0f766e;
    --primary-strong: #14b8a6;
    --secondary: #132238;
    --accent: #f97316;
    --accent-soft: #fed7aa;
    --success: #34d399;
    --danger: #fb7185;
    --warning: #fbbf24;
    --shadow-soft: 0 30px 80px rgba(3, 10, 20, 0.45);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --spacing-section: clamp(3rem, 7vw, 5.5rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 32%),
        radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.18), transparent 24%),
        linear-gradient(180deg, #0b1322 0%, #08111f 48%, #060d19 100%);
    position: relative;
    overflow-x: hidden;
}

body.app-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 78%);
    pointer-events: none;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.55;
    pointer-events: none;
}

.bg-orb-one {
    width: 300px;
    height: 300px;
    top: 6rem;
    right: -6rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.28), rgba(52, 211, 153, 0.14));
}

.bg-orb-two {
    width: 260px;
    height: 260px;
    bottom: 8rem;
    left: -5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(254, 215, 170, 0.12));
}

h1,
.h1,
.display-title,
.page-title,
.section-title,
.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
}

p,
li,
label,
input,
select,
textarea,
button {
    font-family: 'Inter', sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(6, 13, 25, 0.52);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
    color: var(--text-main);
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.32);
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.nav-link {
    color: var(--text-soft) !important;
    font-weight: 600;
    padding: 0.75rem 1rem !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.page-shell {
    position: relative;
    z-index: 1;
}

.hero-section,
.inner-hero {
    padding-top: var(--spacing-section);
}

.py-lg-6 {
    padding-top: var(--spacing-section) !important;
    padding-bottom: var(--spacing-section) !important;
}

.eyebrow-chip,
.panel-label,
.section-kicker,
.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line-strong);
    background: rgba(167, 243, 208, 0.08);
    color: #dffdf3;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.display-title,
.page-title {
    font-size: clamp(2.75rem, 5vw, 4.8rem);
    line-height: 0.96;
    margin: 0;
    max-width: 12ch;
}

.page-title {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.hero-copy {
    max-width: 60ch;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-copy.small {
    font-size: 0.98rem;
    line-height: 1.7;
}

.btn {
    border-radius: 16px;
    padding: 0.88rem 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-highlight {
    color: #081220;
    background: linear-gradient(135deg, #5eead4, #facc15);
    border: none;
    box-shadow: 0 18px 35px rgba(94, 234, 212, 0.22);
}

.btn-highlight:hover,
.btn-highlight:focus-visible {
    color: #081220;
    transform: translateY(-1px);
    box-shadow: 0 24px 45px rgba(94, 234, 212, 0.28);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(10, 20, 38, 0.86), rgba(6, 15, 29, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.hero-panel,
.section-panel,
.brief-card,
.summary-card,
.setup-form {
    position: relative;
    overflow: hidden;
}

.hero-panel::after,
.section-panel::after,
.setup-form::after,
.summary-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 68%);
    pointer-events: none;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 44rem;
}

.metric-card,
.stack-preview-card,
.roadmap-card,
.brief-preview-card,
.info-rail-card,
.empty-card,
.note-panel,
.checklist-item,
.command-row {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
}

.metric-card {
    padding: 1.15rem 1.2rem;
}

.metric-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.metric-label,
.progress-copy,
.card-subtitle,
.form-hint,
.helper-copy,
.next-copy,
.text-link,
.card-subtitle,
.stack-preview-card p,
.roadmap-card p,
.brief-preview-card p,
.info-rail-card p,
.checklist-item p,
.note-panel p {
    color: var(--text-muted);
}

.stack-preview,
.info-rail,
.roadmap-grid,
.brief-list-preview,
.checklist-grid,
.command-list {
    display: grid;
    gap: 1rem;
}

.stack-preview-card,
.roadmap-card,
.brief-preview-card,
.info-rail-card,
.empty-card,
.note-panel,
.checklist-item,
.command-row {
    padding: 1.25rem;
}

.stack-title,
.roadmap-index,
.command-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.12);
    color: #d7fff7;
    font-weight: 700;
}

.stack-preview-card strong,
.info-rail-card strong,
.card-title,
.brief-preview-card h3,
.roadmap-card h3,
.checklist-item h3,
.section-title {
    display: block;
    margin: 0.8rem 0 0.5rem;
    color: #ffffff;
}

.section-heading-wrap {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    margin: 0.5rem 0 0;
}

.brief-preview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.brief-preview-card:hover,
.brief-preview-card:focus-visible,
.brief-card:hover,
.brief-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(94, 234, 212, 0.3);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.status-success {
    background: rgba(52, 211, 153, 0.14);
    color: #86efac;
}

.status-warning {
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
}

.status-danger {
    background: rgba(251, 113, 133, 0.14);
    color: #fda4af;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5eead4, #facc15);
}

.progress-0 span {
    width: 8%;
}

.progress-1 span {
    width: 33%;
}

.progress-2 span {
    width: 67%;
}

.progress-3 span {
    width: 100%;
}

.info-rail,
.stack-preview,
.brief-list-preview,
.command-list,
.checklist-grid,
.roadmap-grid {
    grid-template-columns: 1fr;
}

.setup-form .form-control,
.setup-form .form-select {
    min-height: 3.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 0.85rem 1rem;
}

.setup-form textarea.form-control {
    min-height: 11rem;
}

.setup-form .form-control::placeholder {
    color: rgba(191, 209, 227, 0.55);
}

.setup-form .form-control:focus,
.setup-form .form-select:focus,
.form-check-input:focus,
.btn:focus-visible,
.nav-link:focus-visible,
.text-link:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(94, 234, 212, 0.18);
    border-color: rgba(94, 234, 212, 0.45);
    outline: none;
}

.form-label,
.form-check-label {
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.form-hint,
.helper-copy {
    font-size: 0.92rem;
    line-height: 1.6;
}

.field-error {
    color: #fecaca;
    font-size: 0.93rem;
    margin-top: 0.5rem;
}

.service-readiness-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-toggle {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-check-input {
    width: 3rem;
    height: 1.6rem;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.form-check-input:checked {
    background-color: var(--primary-strong);
    border-color: var(--primary-strong);
}

.card-title {
    font-size: 1.35rem;
    margin: 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.detail-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
}

.next-copy {
    line-height: 1.7;
    font-size: 0.98rem;
}

.readiness-ring {
    margin-inline: auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.readiness-ring.progress-0 {
    background: conic-gradient(#5eead4 0deg, #5eead4 29deg, rgba(255, 255, 255, 0.08) 29deg);
}

.readiness-ring.progress-1 {
    background: conic-gradient(#5eead4 0deg, #5eead4 120deg, rgba(255, 255, 255, 0.08) 120deg);
}

.readiness-ring.progress-2 {
    background: conic-gradient(#5eead4 0deg, #5eead4 240deg, rgba(255, 255, 255, 0.08) 240deg);
}

.readiness-ring.progress-3 {
    background: conic-gradient(#5eead4 0deg, #5eead4 360deg, rgba(255, 255, 255, 0.08) 360deg);
}

.readiness-ring-inner {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(7, 16, 30, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.readiness-ring-inner strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    line-height: 1;
}

.readiness-ring-inner span {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.checklist-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.checklist-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(251, 113, 133, 0.55);
    box-shadow: 0 0 0 8px rgba(251, 113, 133, 0.08);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.checklist-item.is-ready .checklist-dot {
    background: rgba(52, 211, 153, 0.85);
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.08);
}

.code-panel {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(4, 10, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-panel code,
.command-row code {
    color: #ccfbf1;
    font-size: 0.95rem;
    line-height: 1.9;
    white-space: pre-wrap;
    word-break: break-word;
}

.command-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.text-link {
    color: #bffef1;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    color: #ffffff;
}

.toast-stack {
    padding-top: 1.5rem;
}

.glass-alert {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 24, 44, 0.86);
    color: #ffffff;
}

.site-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .metric-row,
    .service-readiness-grid {
        grid-template-columns: 1fr;
    }

    .display-title,
    .page-title {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .glass-panel {
        padding: 1.4rem;
        border-radius: 22px;
    }

    .hero-section,
    .inner-hero,
    .py-lg-6 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .brand-subtitle {
        display: none !important;
    }

    .section-heading-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .command-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
