html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(to bottom right, #ffffff, #eeeeee);
    line-height: 1.7;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 20;
}

/* Hero */
.dp-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 76px);
    background-image: url("/Images/Design/dpback1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 1;
}

.dp-hero > .container {
    position: relative;
    z-index: 2;
}

/* Hero text */
.dp-hero .badge {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

.dp-hero h1 {
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.dp-hero .lead {
    color: #64748b !important;
    max-width: 620px;
}

/* Buttons */
.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-outline-dark {
    border-color: rgba(15, 23, 42, 0.35);
    color: #0f172a;
}

.btn-outline-dark:hover {
    background: #0f172a;
    color: #ffffff;
}

/* Right data card */
.dp-data-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.dp-card-top {
    height: 46px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
}

.dp-card-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dp-table-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dp-table-row span {
    color: #64748b;
}

.dp-table-row strong {
    color: #0f172a;
}

/* JSON block */
.dp-json {
    background: #0f172a;
    color: #dbeafe;
    border-radius: 18px;
    padding: 18px;
    font-size: 0.9rem;
    overflow-x: auto;
}

.dp-json pre {
    margin: 0;
    color: inherit;
}

/* Small feature ticks */
.dp-hero .small span {
    color: #64748b;
}

/* Responsive */
@media (max-width: 991.98px) {
    .dp-hero {
        min-height: auto;
    }

    .dp-hero h1 {
        font-size: 2.5rem;
    }

    .dp-data-card {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .dp-hero h1 {
        font-size: 2.1rem;
    }

    .dp-data-card {
        border-radius: 22px;
    }

    .dp-json {
        font-size: 0.78rem;
    }
}

.card-table:hover {
    transition: all 0.25s;
}

.card-table:hover {
    scale : 1.05;
}

.relationship-option {
    cursor: pointer;
    transition: all .2s ease;
}

.relationship-option:hover {
    transform: translateY(-2px);
    border-color: var(--bs-primary);
}

.btn-check:checked + .relationship-option {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

