/**
 * Documenso Cloud — Dark Mode Design System
 * Primary Accent: Documenso Emerald (#00dc82 / #00f59b / #10b981)
 * Backgrounds: Obsidian Slate (#090d16 / #0b0f19 / #0e1422)
 */

:root {
    --dm-bg-base: #07090e;
    --dm-bg-surface: #0b0f18;
    --dm-bg-card: rgba(14, 20, 32, 0.75);
    --dm-bg-card-hover: rgba(18, 26, 42, 0.9);
    --dm-border: rgba(255, 255, 255, 0.08);
    --dm-border-accent: rgba(0, 220, 130, 0.28);
    --dm-border-focus: rgba(0, 245, 155, 0.5);

    --dm-emerald: #00dc82;
    --dm-emerald-bright: #00f59b;
    --dm-emerald-dark: #059669;
    --dm-emerald-deep: #047857;
    --dm-emerald-glow: rgba(0, 220, 130, 0.25);
    --dm-emerald-glow-strong: rgba(0, 245, 155, 0.45);

    --dm-text-primary: #ffffff;
    --dm-text-secondary: #94a3b8;
    --dm-text-muted: #64748b;
    --dm-text-dim: #475569;

    --dm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --dm-font-mono: 'JetBrains Mono', 'Fira Code', 'Fragment Mono', Menlo, Monaco, Consolas, monospace;

    --dm-radius-sm: 8px;
    --dm-radius-md: 12px;
    --dm-radius-lg: 18px;
    --dm-radius-xl: 24px;
    --dm-radius-full: 9999px;
}

/* Base Wrapper */
.docuseal-cloud-wrap,
.documenso-cloud-wrap {
    color: var(--dm-text-primary);
    font-family: var(--dm-font-sans);
    color: var(--dm-text-primary);
    line-height: 1.6;
    background: transparent !important;
    background-color: transparent !important;
    position: relative;
    overflow-x: clip;
}

.documenso-cloud-wrap *,
.documenso-cloud-wrap *::before,
.documenso-cloud-wrap *::after {
    box-sizing: border-box;
}

.dm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent !important;
}

/* Typography & Headings */
.documenso-cloud-wrap h1,
.documenso-cloud-wrap h2,
.documenso-cloud-wrap h3,
.documenso-cloud-wrap h4 {
    color: var(--dm-text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-top: 0;
}

.documenso-cloud-wrap a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.dm-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(11, 15, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--dm-border);
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.25s ease;
    will-change: transform;
}

.dm-topbar.dm-topbar-hidden {
    transform: translateY(-130%);
    pointer-events: none;
}

.dm-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.dm-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dm-topbar-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 220, 130, 0.2), rgba(0, 245, 155, 0.05));
    border: 1px solid var(--dm-border-accent);
}

.dm-topbar-brand-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dm-topbar-brand-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dm-topbar-brand-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 220, 130, 0.15);
    color: var(--dm-emerald-bright);
    border: 1px solid var(--dm-border-accent);
    padding: 2px 7px;
    border-radius: var(--dm-radius-full);
    font-weight: 700;
}

.dm-topbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dm-topbar-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--dm-text-secondary);
}

.dm-topbar-nav a:hover {
    color: var(--dm-emerald-bright);
}

.dm-topbar-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dm-topbar-github {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dm-border);
    padding: 6px 14px;
    border-radius: var(--dm-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--dm-text-secondary);
    transition: all 0.2s ease;
}

.dm-topbar-github svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.dm-topbar-github:hover {
    border-color: var(--dm-border-accent);
    color: #fff;
    background: rgba(0, 220, 130, 0.1);
}

.dm-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
}

/* Mobile Nav Drawer */
.dm-mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.dm-mobile-nav.dm-mobile-nav-open {
    opacity: 1;
    pointer-events: auto;
}

.dm-mobile-nav-content {
    background: var(--dm-bg-surface);
    width: 300px;
    height: 100%;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-mobile-nav.dm-mobile-nav-open .dm-mobile-nav-content {
    transform: translateX(0);
}

.dm-mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--dm-text-secondary);
    cursor: pointer;
    padding: 4px;
}

.dm-mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dm-text-primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--dm-border);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.dm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--dm-font-sans);
    font-weight: 600;
    border-radius: var(--dm-radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-align: center;
}

.dm-btn-emerald,
.dm-sso-link,
a.dm-btn-emerald,
button.dm-btn-emerald,
a.dm-sso-link {
    background: linear-gradient(135deg, var(--dm-emerald-bright) 0%, var(--dm-emerald) 100%);
    color: #000000 !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 220, 130, 0.3);
}

.dm-btn-emerald:hover,
.dm-sso-link:hover,
a.dm-btn-emerald:hover,
button.dm-btn-emerald:hover,
a.dm-sso-link:hover {
    background: linear-gradient(135deg, #26ffaa 0%, var(--dm-emerald-bright) 100%);
    box-shadow: 0 6px 28px rgba(0, 245, 155, 0.5);
    transform: translateY(-2px);
    color: #000000 !important;
}

.dm-btn-emerald svg,
.dm-sso-link svg {
    color: #000000 !important;
    stroke: #000000 !important;
}

.dm-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dm-border);
    color: #fff;
}

.dm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.dm-btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.dm-btn-md {
    padding: 11px 24px;
    font-size: 14px;
}

.dm-btn-lg {
    padding: 14px 30px;
    font-size: 15px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.dm-hero {
    position: relative;
    padding: 60px 0 90px;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 220, 130, 0.16), transparent 70%);
}

.dm-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 155, 0.12) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(80px);
}

.dm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(0, 220, 130, 0.08);
    border: 1px solid var(--dm-border-accent);
    padding: 6px 18px;
    border-radius: var(--dm-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--dm-emerald-bright);
    margin-bottom: 24px;
    box-shadow: 0 0 24px rgba(0, 220, 130, 0.15);
}

.dm-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dm-emerald-bright);
    box-shadow: 0 0 10px var(--dm-emerald-bright);
    animation: dmPulse 2s infinite;
}

@keyframes dmPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.dm-hero h1 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -0.035em;
    max-width: 960px;
    margin: 0 auto 20px;
    line-height: 1.12;
}

.dm-hero h1 span {
    background: linear-gradient(135deg, #ffffff 30%, var(--dm-emerald-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dm-hero-subtitle {
    font-size: 19px;
    color: var(--dm-text-secondary);
    max-width: 760px;
    margin: 0 auto 34px;
    line-height: 1.6;
    font-weight: 400;
}

.dm-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.dm-hero-actions .dm-btn svg {
    width: 18px;
    height: 18px;
}



/* Hero Interactive Demo / Showcase Card */
.dm-hero-screenshot {
    max-width: 1060px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1px;
    border-radius: var(--dm-radius-xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 220, 130, 0.12);
}

.dm-hero-screenshot-inner {
    background: #0d121c;
    border-radius: calc(var(--dm-radius-xl) - 1px);
    overflow: hidden;
    position: relative;
}

.dm-screenshot-bar {
    height: 42px;
    background: rgba(18, 24, 38, 0.9);
    border-bottom: 1px solid var(--dm-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.dm-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dm-dot-red {
    background: #ef4444;
}

.dm-dot-yellow {
    background: #f59e0b;
}

.dm-dot-green {
    background: #10b981;
}

.dm-screenshot-title {
    margin-left: 12px;
    font-size: 12px;
    font-family: var(--dm-font-mono);
    color: var(--dm-text-muted);
}

.dm-hero-screenshot-inner img,
.dm-hero-screenshot-inner video {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.dm-trust-bar {
    padding: 38px 0;
    border-top: 1px solid var(--dm-border);
    border-bottom: 1px solid var(--dm-border);
    background: rgba(11, 15, 24, 0.5);
    text-align: center;
}

.dm-trust-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dm-text-muted);
    margin-bottom: 22px;
}

.dm-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.dm-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dm-border);
    padding: 8px 18px;
    border-radius: var(--dm-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--dm-text-secondary);
}

.dm-trust-pill svg {
    width: 16px;
    height: 16px;
    color: var(--dm-emerald-bright);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.dm-stats-bar {
    padding: 60px 0;
}

.dm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dm-stat-item {
    background: var(--dm-bg-card);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 30px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dm-stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--dm-border-accent);
}

.dm-stat-value {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1;
}

.dm-stat-value span {
    color: var(--dm-emerald-bright);
}

.dm-stat-label {
    font-size: 14px;
    color: var(--dm-text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.dm-section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 56px;
}

.dm-section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dm-emerald-bright);
    background: rgba(0, 220, 130, 0.1);
    border: 1px solid var(--dm-border-accent);
    padding: 4px 14px;
    border-radius: var(--dm-radius-full);
    margin-bottom: 16px;
}

.dm-section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.dm-section-subtitle {
    font-size: 17px;
    color: var(--dm-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SHOWCASE / PLATFORM DEEP DIVE
   ========================================================================== */
.dm-showcase-section {
    padding: 80px 0;
}

.dm-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.dm-showcase-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.dm-showcase-text {
    padding: 10px 0;
}

.dm-showcase-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dm-emerald-bright);
    margin-bottom: 12px;
}

.dm-showcase-text h3 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.dm-showcase-text p {
    font-size: 16px;
    color: var(--dm-text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.dm-showcase-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dm-showcase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #e2e8f0;
}

.dm-showcase-bullets li svg {
    width: 20px;
    height: 20px;
    color: var(--dm-emerald-bright);
    flex-shrink: 0;
    margin-top: 2px;
}

.dm-showcase-media {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-xl);
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dm-showcase-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--dm-radius-lg);
}

/* ==========================================================================
   PLATFORM & EMBEDDING SECTION
   ========================================================================== */
.dm-embed-section {
    padding: 80px 0;
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 220, 130, 0.08), transparent 70%);
}

.dm-embed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.dm-embed-card {
    background: var(--dm-bg-card);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-xl);
    padding: 36px;
    backdrop-filter: blur(16px);
}

.dm-embed-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.dm-embed-card p {
    font-size: 15px;
    color: var(--dm-text-secondary);
    margin-bottom: 24px;
}

.dm-code-box {
    background: #080c14;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-md);
    padding: 16px;
    font-family: var(--dm-font-mono);
    font-size: 13px;
    color: #e2e8f0;
    overflow-x: auto;
    line-height: 1.5;
}

.dm-code-box .kw {
    color: #f472b6;
}

.dm-code-box .str {
    color: #34d399;
}

.dm-code-box .fn {
    color: #60a5fa;
}

.dm-code-box .cm {
    color: var(--dm-text-muted);
}

.dm-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.dm-tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dm-border);
    padding: 5px 14px;
    border-radius: var(--dm-radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--dm-text-secondary);
}

/* ==========================================================================
   PRICING SECTION (2-COLUMN FORMAT)
   ========================================================================== */
.dm-pricing {
    padding: 90px 0;
    position: relative;
}

.dm-pricing-card-2col {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    max-width: 1020px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(14, 20, 32, 0.95), rgba(9, 13, 22, 0.98));
    border: 1px solid var(--dm-border-accent);
    border-radius: var(--dm-radius-xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 220, 130, 0.1);
    overflow: hidden;
}

.dm-pricing-col {
    padding: 48px;
}

.dm-pricing-col-left {
    border-right: 1px solid var(--dm-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dm-pricing-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000000 !important;
    background: var(--dm-emerald-bright);
    border: 1px solid var(--dm-border-accent);
    padding: 4px 14px;
    border-radius: var(--dm-radius-full);
    margin-bottom: 16px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0, 220, 130, 0.4);
}

.dm-pricing-plan-name {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.dm-pricing-plan-desc {
    font-size: 15px;
    color: var(--dm-text-secondary);
    margin-bottom: 28px;
}

/* Billing Toggle */
.dm-billing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-full);
    padding: 4px;
    margin-bottom: 30px;
    align-self: flex-start;
}

.dm-billing-toggle-btn {
    background: none;
    border: none;
    color: var(--dm-text-secondary);
    font-family: var(--dm-font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--dm-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dm-billing-toggle-btn.active {
    background: var(--dm-emerald-bright);
    color: #05160e;
    box-shadow: 0 2px 12px rgba(0, 220, 130, 0.35);
}

.dm-billing-save {
    background: rgba(0, 0, 0, 0.15);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: var(--dm-radius-full);
}

/* Price Display */
.dm-price-display {
    margin-bottom: 32px;
}

.dm-price-amount {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.dm-price-currency {
    font-size: 30px;
    font-weight: 600;
    color: var(--dm-emerald-bright);
}

.dm-price-period {
    font-size: 16px;
    color: var(--dm-text-muted);
    font-weight: 500;
    margin-left: 6px;
}

.dm-price-yearly-note {
    font-size: 13px;
    color: var(--dm-emerald-bright);
    margin-top: 8px;
    font-weight: 500;
}

.dm-pricing-cta {
    width: 100%;
    margin-bottom: 14px;
}

.dm-pricing-guarantee {
    font-size: 12px;
    color: var(--dm-text-muted);
    text-align: center;
    margin: 0;
}

/* Right Column Features */
.dm-pricing-col-right {
    background: rgba(11, 16, 26, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dm-pricing-features-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.dm-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dm-pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #e2e8f0;
}

.dm-pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--dm-emerald-bright);
    flex-shrink: 0;
}

/* ==========================================================================
   SECURITY & COMPLIANCE
   ========================================================================== */
.dm-compliance-section {
    padding: 80px 0;
    border-top: 1px solid var(--dm-border);
}

.dm-compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dm-compliance-card {
    background: var(--dm-bg-card);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 30px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dm-compliance-card:hover {
    transform: translateY(-3px);
    border-color: var(--dm-border-accent);
}

.dm-compliance-card svg {
    width: 32px;
    height: 32px;
    color: var(--dm-emerald-bright);
    margin-bottom: 16px;
}

.dm-compliance-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.dm-compliance-card p {
    font-size: 14px;
    color: var(--dm-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.dm-faq-section {
    padding: 90px 0;
}

.dm-faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dm-faq-item {
    background: var(--dm-bg-card);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dm-faq-item.active {
    border-color: var(--dm-border-accent);
    background: rgba(16, 24, 38, 0.85);
}

.dm-faq-question {
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.dm-faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--dm-emerald-bright);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.dm-faq-item.active .dm-faq-chevron {
    transform: rotate(180deg);
}

.dm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 28px;
    color: var(--dm-text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.dm-faq-item.active .dm-faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

/* ==========================================================================
   SLIDE PANEL OVERLAY & IFRAME
   ========================================================================== */
#bajhi-product-slide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#bajhi-product-slide-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

#bajhi-product-slide-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    background: #0b0f19;
    z-index: 99999;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

#bajhi-product-slide-panel.visible {
    transform: translateX(0);
}

#bajhi-product-slide-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#bajhi-product-slide-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

#bajhi-product-slide-frame {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
    background: #0b0f19;
}

/* Body open panel lock */
body.bajhi-panel-open {
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .dm-hero h1 {
        font-size: 46px;
    }

    .dm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dm-showcase-row,
    .dm-showcase-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dm-embed-grid {
        grid-template-columns: 1fr;
    }

    .dm-pricing-card-2col {
        grid-template-columns: 1fr;
    }

    .dm-pricing-col-left {
        border-right: none;
        border-bottom: 1px solid var(--dm-border);
    }

    .dm-compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .dm-topbar-nav,
    .dm-topbar-github {
        display: none;
    }

    .dm-container {
        padding: 0 18px !important;
    }

    .dm-mobile-menu-toggle {
        display: block;
    }

    .dm-hero {
        padding: 40px 0 60px;
    }

    .dm-hero-badge {
        display: none;
    }

    /* requested: hide badge on mobile */
    .dm-hero h1 {
        font-size: 34px;
    }

    .dm-hero-subtitle {
        font-size: 16px;
    }

    .dm-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .dm-hero-actions .dm-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
        white-space: normal;
        line-height: 1.3;
    }

    .dm-topbar .dm-sso-link,
    .dm-btn.dm-btn-emerald.dm-btn-sm.dm-sso-link {
        display: none !important;
    }

    .dm-topbar-inner {
        padding: 8px 16px;
    }

    .dm-stats-grid {
        grid-template-columns: 1fr;
    }

    .dm-compliance-grid {
        grid-template-columns: 1fr;
    }

    .dm-pricing-col {
        padding: 32px 20px;
    }

    .dm-price-amount {
        font-size: 44px;
    }

    #bajhi-product-slide-panel {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .dm-container {
        padding: 0 16px !important;
    }

    .dm-topbar-inner {
        padding: 6px 14px;
        height: 52px;
    }
}