:root {
    --dp-slate-950: #020617;
    --dp-slate-900: #0f172a;
    --dp-slate-800: #1e293b;
}

body {
    color: #1e293b;
}

/* Icon sizing (replaces Tailwind h-*/
w-* utilities used inline on SVGs) */
.icon-3 {
    width: 0.75rem;
    height: 0.75rem;
}

.icon-4 {
    width: 1rem;
    height: 1rem;
}

.icon-5 {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-6 {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: #eff6ff;
    color: #2563eb;
    flex: none;
}

/* Navbar */
.dp-navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
}

.dp-logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
    flex: none;
}

.dp-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hero sections */
.dp-hero-dark {
    background: linear-gradient(
        to bottom,
        var(--dp-slate-900),
        var(--dp-slate-800),
        var(--dp-slate-900)
    );
    color: #fff;
}

.dp-hero-blue {
    background: linear-gradient(to bottom, #1d4ed8, #2563eb, #1d4ed8);
    color: #fff;
}

.dp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Install command box */
.dp-install-box {
    background-color: #000c;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dp-install-box code {
    color: #dbeafe;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    overflow-x: auto;
}

.dp-copy-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 0.375rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dp-copy-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dp-copy-btn [data-icon="check"] {
    display: none;
}

.dp-copy-btn.is-copied [data-icon="copy"] {
    display: none;
}

.dp-copy-btn.is-copied [data-icon="check"] {
    display: inline-flex;
}

.dp-terminal {
    background-color: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.dp-terminal-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    display: inline-block;
}

/* Cards */
.dp-feature-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.dp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.dp-product-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border-width: 2px;
    border-style: solid;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.dp-carousel-viewport {
    overflow: hidden;
    padding: 0.5rem 0.5rem 1.5rem;
}

.dp-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.dp-carousel-item {
    width: min(22rem, 85vw);
    flex: 0 0 auto;
}

.dp-carousel-arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1;
}

.dp-carousel-arrow:hover {
    background: #f1f5f9;
}

.dp-carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dp-carousel-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: #cbd5e1;
}

.dp-carousel-dot.is-active {
    background: #2563eb;
}

.dp-pricing-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    position: relative;
}

.dp-pricing-card.is-highlighted {
    border: 2px solid #2563eb;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.dp-pricing-card:not(.is-highlighted) {
    border: 1px solid #e2e8f0;
}

.dp-pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 2rem;
    background-color: #2563eb;
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.dp-feature-item {
    display: flex;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    height: 100%;
}

.dp-check {
    color: #2563eb;
    flex: none;
}

/* Radio "card" inputs (product / payment method pickers) */
.dp-radio-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #334155;
}

.dp-radio-card.text-center {
    flex-direction: column;
    text-align: center;
}

.dp-radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dp-radio-card:has(input:checked) {
    border-color: #2563eb;
    background-color: #eff6ff;
    color: #1d4ed8;
}

/* Changelog timeline */
.dp-timeline {
    list-style: none;
    padding-left: 2rem;
    border-left: 1px solid #e2e8f0;
    margin: 0;
}

.dp-timeline li {
    position: relative;
    padding-bottom: 2.5rem;
}

.dp-timeline li:last-child {
    padding-bottom: 0;
}

.dp-timeline-dot {
    position: absolute;
    left: -2.15rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background-color: #2563eb;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dbeafe;
}
