/* DeScreen — Professional Theme */

:root {
    --ds-primary: #FFC107;
    --ds-primary-hover: #FFCA28;
    --ds-bg: #121212;
    --ds-surface: #1E1E1E;
    --ds-surface-2: #181818;
    --ds-text: #FFFFFF;
    --ds-muted: #A0A0A0;
    --ds-border: #2E2E2E;
    --ds-radius: 12px;
    --ds-nav-height: 64px;
    --bs-body-bg: #121212;
    --bs-body-color: #FFFFFF;
    --bs-border-color: #2E2E2E;
    --bs-link-color: #FFC107;
    --bs-link-hover-color: #FFCA28;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--ds-bg);
}

body.descreen-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    background: var(--ds-bg) !important;
    color: var(--ds-text) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

main {
    padding-top: var(--ds-nav-height);
}

.container {
    max-width: 1080px;
}

a { color: var(--ds-primary); }
a:hover { color: var(--ds-primary-hover); }

.text-body { color: #D0D0D0; }

/* ── Navbar ── */

.descreen-navbar {
    min-height: var(--ds-nav-height);
    padding: 0;
    background: rgba(18, 18, 18, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ds-border);
}

.descreen-navbar .container {
    min-height: var(--ds-nav-height);
    display: flex;
    align-items: center;
}

.descreen-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.descreen-logo-text {
    color: var(--ds-text);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}


.descreen-navbar .nav-link {
    color: var(--ds-muted) !important;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem !important;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.descreen-navbar .nav-link:hover { color: var(--ds-text) !important; }

.descreen-navbar .nav-link.active {
    color: var(--ds-text) !important;
}

.descreen-navbar .navbar-toggler {
    border-color: var(--ds-border);
    padding: 0.375rem 0.625rem;
}

.descreen-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.descreen-navbar .navbar-collapse {
    background: var(--ds-bg);
}

@media (max-width: 991.98px) {
    .descreen-navbar .navbar-collapse {
        padding: 0.75rem 0 1rem;
        border-top: 1px solid var(--ds-border);
        margin-top: 0.5rem;
    }
}

/* ── Buttons ── */

.btn-descreen-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.375rem;
    background: var(--ds-primary) !important;
    color: #111 !important;
    border: none !important;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.btn-descreen-primary:hover {
    background: var(--ds-primary-hover) !important;
    color: #111 !important;
}

.btn-descreen-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8125rem 1.375rem;
    background: transparent !important;
    color: var(--ds-text) !important;
    border: 1px solid var(--ds-border) !important;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-descreen-outline:hover {
    border-color: #444 !important;
    background: var(--ds-surface) !important;
    color: var(--ds-text) !important;
}

/* ── Hero ── */

.hero-section {
    padding: 4.5rem 0 4rem;
    border-bottom: 1px solid var(--ds-border);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ds-primary);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 2.875rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--ds-text);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--ds-muted);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.hero-illustration {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.hero-illustration-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Sections ── */

.section-block {
    padding: 4.5rem 0;
}

.section-block + .section-block {
    border-top: 1px solid var(--ds-border);
}

.section-muted {
    background: var(--ds-surface-2);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ds-primary);
    margin-bottom: 0.75rem;
}

.section-heading-title {
    font-size: clamp(1.625rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.875rem;
    color: var(--ds-text);
}

.section-heading-text {
    font-size: 1rem;
    color: var(--ds-muted);
    max-width: 540px;
    line-height: 1.7;
}

.section-intro {
    max-width: 620px;
    margin-bottom: 2.5rem;
}

/* ── Cards ── */

.info-card,
.feature-item {
    padding: 1.625rem;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    height: 100%;
}

.info-card-step {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ds-primary);
    margin-bottom: 0.875rem;
}

.info-card-title,
.feature-item-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ds-text);
}

.info-card-text,
.feature-item-text {
    font-size: 0.9375rem;
    color: var(--ds-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Comparison ── */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comparison-col {
    padding: 1.5rem;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    background: var(--ds-surface);
}

.comparison-col-muted {
    background: var(--ds-bg);
}

.comparison-col-highlight {
    border-color: rgba(255, 193, 7, 0.35);
}

.comparison-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ds-text);
}

.comparison-col-highlight .comparison-heading {
    color: var(--ds-primary);
}

.comparison-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparison-col li {
    position: relative;
    padding-left: 1.125rem;
    font-size: 0.9375rem;
    color: var(--ds-muted);
    margin-bottom: 0.625rem;
    line-height: 1.5;
}

.comparison-col li:last-child { margin-bottom: 0; }

.comparison-col li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #666;
}

.comparison-col-highlight li::before {
    content: '•';
    color: var(--ds-primary);
}

/* ── Panels ── */

.panel {
    padding: 2rem;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
}

.panel-accent {
    border-left: 3px solid var(--ds-primary);
}

.panel-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ds-text);
}

.panel-text {
    color: var(--ds-muted);
    margin-bottom: 1.25rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ds-muted);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ds-primary);
    font-weight: 700;
}

/* ── FAQ (Bootstrap override) ── */

.descreen-accordion .accordion-item {
    background: var(--ds-surface) !important;
    border: 1px solid var(--ds-border) !important;
    border-radius: var(--ds-radius) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.descreen-accordion .accordion-button {
    background: var(--ds-surface) !important;
    color: var(--ds-text) !important;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1.125rem 1.25rem;
    box-shadow: none !important;
}

.descreen-accordion .accordion-button:not(.collapsed) {
    color: var(--ds-text) !important;
    background: var(--ds-surface) !important;
    border-bottom: 1px solid var(--ds-border);
}

.descreen-accordion .accordion-button::after {
    filter: invert(1);
    opacity: 0.6;
}

.descreen-accordion .accordion-body {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--ds-muted) !important;
    line-height: 1.7;
    background: var(--ds-surface) !important;
}

/* ── CTA ── */

.section-cta {
    padding-bottom: 5rem;
}

.cta-panel {
    padding: 3rem 2rem;
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    text-align: center;
}

.cta-panel-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--ds-text);
}

.cta-panel-text {
    color: var(--ds-muted);
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

/* ── Footer ── */

.descreen-footer {
    padding: 3rem 0 2rem;
    background: #0A0A0A;
    border-top: 1px solid var(--ds-border);
}

.footer-tagline {
    margin: 1rem 0 0;
    font-size: 0.9375rem;
    color: var(--ds-muted);
    max-width: 300px;
    line-height: 1.6;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ds-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.875rem;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: var(--ds-muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

.footer-links a:hover { color: var(--ds-text); }

.footer-email {
    color: var(--ds-muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

.footer-email:hover { color: var(--ds-primary); }

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ds-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--ds-muted);
    margin: 0;
}

/* ── Legal Pages ── */

.legal-page-header {
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid var(--ds-border);
}

.legal-page-title {
    font-size: clamp(1.875rem, 3.5vw, 2.375rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--ds-text);
}

.legal-page-meta {
    font-size: 0.9375rem;
    color: var(--ds-muted);
    margin: 0;
}

.legal-document {
    padding: 3rem 0 5rem;
}

.legal-content {
    max-width: 680px;
}

.legal-section {
    margin-bottom: 2.25rem;
}

.legal-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--ds-text);
}

.legal-section p,
.legal-section li {
    font-size: 0.9375rem;
    color: var(--ds-muted);
    line-height: 1.75;
}

.legal-section p { margin-bottom: 0.875rem; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0.875rem;
}

.legal-section li { margin-bottom: 0.375rem; }

.legal-section a {
    color: var(--ds-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-list-no {
    list-style: none;
    padding-left: 0;
}

.legal-list-no li {
    position: relative;
    padding-left: 1.25rem;
}

.legal-list-no li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #888;
}

/* ── Responsive ── */

@media (max-width: 991.98px) {
    .hero-section { padding: 3rem 0 2.5rem; }
    .section-block { padding: 3.5rem 0; }
    .hero-visual { margin-bottom: 0.5rem; }
}

@media (max-width: 767.98px) {
    .comparison-grid { grid-template-columns: 1fr; }

    .hero-actions .btn-descreen-primary,
    .hero-actions .btn-descreen-outline {
        width: 100%;
    }

    .panel .text-lg-end {
        text-align: left !important;
        margin-top: 0.75rem;
    }

    .panel .text-lg-end .btn-descreen-outline {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
