:root {
    --bg: #0b0c10;
    --surface: #111218;
    --text: #f5f7fa;
    --brand: #6ee7b7;
    --brand-hover: #34d399;
    --stroke: #22242e;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Navbar */
.dc-navbar {
    background: linear-gradient(180deg, rgba(11, 12, 16, .95), rgba(11, 12, 16, .85));
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: saturate(140%) blur(6px);
}

/* CTA button */
.btn-cta {
    background: var(--brand);
    color: #0b0c10;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(110, 231, 183, .25);
}

.btn-cta:hover {
    background: var(--brand-hover);
    color: #0b0c10;
}

/* Section defaults */
.intro-section,
.services-section,
.about-section,
.cta-section {
    background: var(--bg);
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
}

/* CTA: keep explicit top border if you like, but avoid duplicates */
.cta-section {
    border-top: 1px solid var(--stroke);
}

.intro-section .lead,
.about-section p,
.services-section p,
.cta-section p {
    max-width: 720px;
    margin-inline: auto;
}

/* Intro */
.intro-section h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* Intro benefits (consolidated, interactive) */
.intro-benefits {
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: left;
}

.intro-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.55;
    padding: .25rem .35rem;
    /* hit area */
    border-radius: 12px;
    /* focus ring shape */
    transition: transform .18s ease, background .18s ease;
}

.intro-benefits li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.04);
}

.intro-benefits li:focus-within,
.intro-benefits li:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 231, 183, .35);
    /* brand-ish focus */
    background: rgba(255, 255, 255, 0.05);
}

.intro-benefits .icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.15rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    transition: transform .18s ease, background .18s ease, filter .18s ease;
}

.intro-benefits li:hover .icon-badge {
    transform: scale(1.06);
    background: rgba(110, 231, 183, .15);
    /* brand tint */
    filter: saturate(1.1);
}

.intro-benefits li strong {
    color: var(--brand);
    /* use your brand, not bs-primary */
    font-weight: 700;
    text-decoration: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .intro-benefits li,
    .intro-benefits .icon-badge {
        transition: none;
    }

    .intro-benefits li:hover {
        transform: none;
    }
}

/* Services (card styles consolidated to global .service-card) */
.service-card {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--surface);
    color: var(--text);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card .service-icon {
    line-height: 1;
    transition: transform .25s ease, color .25s ease;
}

.service-card h5 {
    margin-bottom: .25rem !important;
    transition: color .2s ease;
}

.service-card p {
    max-width: 32ch;
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-6px);
    border-color: rgba(110, 231, 183, .4);
    /* brand accent */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(110, 231, 183, .25);
    outline: none;
}

.service-card:hover .service-icon,
.service-card:focus .service-icon {
    transform: scale(1.1) rotate(-2deg);
    color: var(--brand);
}

.service-card:hover h5,
.service-card:focus h5 {
    color: var(--brand);
}

.service-card:active {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card .service-icon {
        transition: none;
        transform: none !important;
    }
}

/* Footer */
.dc-footer {
    background: var(--surface);
    border-top: 1px solid var(--stroke);
    font-size: .9rem;
}

.footer-link {
    color: var(--text);
    opacity: .8;
    text-decoration: none;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Contact */
.contact-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--stroke);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
}

.form-status {
    align-self: center;
}

/* Portfolio */
.portfolio-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--stroke);
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.project-thumb {
    background: #0f1117;
    border: 1px solid var(--stroke);
    border-radius: 8px;
}

/* Outline badges */
.badge.bg-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: .35rem .6rem;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .2px;
}

/* Skeleton shimmer */
.placeholder-wave {
    position: relative;
    overflow: hidden;
    background: #141720;
}

.placeholder-wave::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
    animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Legal */
.legal-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--stroke);
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
}

.legal-content h2 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.legal-content a {
    color: var(--brand);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Modal theme */
.dc-modal .modal-content {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--stroke);
    border-radius: 16px;
}

.dc-modal .modal-header {
    border-bottom: 1px solid var(--stroke);
}

.dc-modal .modal-footer {
    border-top: 1px solid var(--stroke);
    justify-content: center;
}

.dc-modal .modal-title {
    font-weight: 700;
}

.dc-modal .btn-close-white {
    filter: invert(1) grayscale(100%);
}

.dc-modal .modal-points {
    display: inline-block;
    text-align: left;
}

.dc-modal .modal-points li {
    margin: .5rem 0;
}

/* Services grid spacing at md+ */
@media (min-width: 768px) {
    .services-section .row.g-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
}

/* Cookie Banner (single source of truth) */
.cookie-banner {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 2000;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    max-width: 680px;
    margin-inline: auto;
}

.cookie-inner {
    display: grid;
    gap: .75rem;
}

.cookie-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.btn.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: .5rem .9rem;
    font-weight: 600;
}

.btn.btn-ghost {
    background: transparent;
    color: var(--text);
    opacity: .8;
}

.cookie-panel {
    border-top: 1px solid var(--stroke);
    padding-top: .75rem;
}

.cookie-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0;
}

@media (max-width: 576px) {
    .cookie-banner {
        inset-inline: .75rem;
    }
}

/* --- Polished modal lists --- */
.dc-modal .modal-body {
    text-align: center;
    padding-inline: 1.25rem;
}

.dc-modal .modal-title {
    width: 100%;
    text-align: center;
}

.dc-modal .modal-points {
    /* center the whole list and control width */
    max-width: 720px;
    margin: 0.75rem auto 0;
    /* neat grid layout */
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem .8rem;
    text-align: left;
    /* keep bullets left, overall still centered */
}

/* two columns on larger screens */
@media (min-width: 992px) {
    .dc-modal .modal-points {
        grid-template-columns: 1fr 1fr;
    }
}

/* list item styling */
.dc-modal .modal-points li {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: .6rem .75rem;
    line-height: 1.45;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.dc-modal .modal-points li:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px);
    border-color: rgba(110, 231, 183, .35);
    /* subtle brand tint */
}

/* tighter spacing when an emoji/short icon starts the item */
.dc-modal .modal-points li::first-line {
    /* helps keep emojis aligned nicely with text */
    line-height: 1.35;
}

/* Hero section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(11, 12, 16, .95), rgba(17, 18, 24, .9));
    border-bottom: 1px solid var(--stroke);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.hero-section .brand-accent {
    color: var(--brand);
}

.hero-art {
    max-width: 100%;
    height: auto;
}

/* Pricing cards */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    border-color: rgba(110, 231, 183, .35);
}

.pricing-card .price-wrap {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1rem;
}

.pricing-card .price-amount {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--brand);
}

.pricing-card.featured {
    outline: 2px solid rgba(110, 231, 183, .35);
    box-shadow: 0 0 0 3px rgba(110, 231, 183, .15) inset;
}

.pricing-card .ribbon {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-size: .75rem;
    font-weight: 700;
    background: rgba(110, 231, 183, .15);
    color: var(--text);
    border: 1px solid rgba(110, 231, 183, .35);
    border-radius: 999px;
    padding: .25rem .6rem;
}

.pricing-features li {
    padding: .45rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
}

.pricing-features li:last-child {
    border-bottom: 0;
}

.addon {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--stroke);
    border-radius: 10px;
    padding: .6rem .75rem;
}