/**
 * DealBridge — Cross-Border Virtual Deal Room
 * Complete CSS for marketing widget and deal room interface
 *
 * @package    Global Legal Network
 * @author     GLL Development Team
 * @copyright  2024-2026 Global Law Lists
 * @license    Proprietary
 *
 * Prefix: .db-
 * Colors: Gold #B8922A, Navy #000a24
 */

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.db-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(165deg, #000a24 0%, #0d1b3e 40%, #162850 70%, #0a1628 100%);
}

.db-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 146, 42, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 146, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.db-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0, 10, 36, 0.9));
    pointer-events: none;
}

.db-hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.db-hero-left {
    max-width: 600px;
}

/* Eyebrow */
.db-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.db-eyebrow-icon {
    width: 16px;
    height: 16px;
    stroke: #B8922A;
    stroke-width: 1.5;
    fill: none;
}

.db-eyebrow-line {
    width: 32px;
    height: 1px;
    background: #B8922A;
}

.db-eyebrow-text {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d4b36b;
}

/* Heading */
.db-hero-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 1.25rem;
}

.db-hero-heading em {
    font-style: italic;
    color: #d4b36b;
    font-weight: 400;
}

/* Subtitle */
.db-hero-subtitle {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem;
    max-width: 500px;
}

/* Hero CTA */
.db-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.db-btn-gold {
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 32px;
    background: #B8922A;
    border: 1px solid #B8922A;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.db-btn-gold:hover {
    background: #9a7820;
    border-color: #9a7820;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184, 146, 42, 0.3);
}

.db-btn-gold svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.2s;
}

.db-btn-gold:hover svg {
    transform: translateX(3px);
}

.db-btn-outline {
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.db-btn-outline:hover {
    border-color: #B8922A;
    color: #d4b36b;
    text-decoration: none;
}

/* Hero trust micro */
.db-hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.db-hero-trust-icon {
    width: 18px;
    height: 18px;
    stroke: #B8922A;
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.db-hero-trust-text {
    font-family: "Roboto", sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.01em;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO VISUALIZATION (Floating Icons)
   ═══════════════════════════════════════════════════════════════════════════ */
.db-hero-viz {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
}

.db-hero-viz-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.db-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(184, 146, 42, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: dbGlow 3s ease-in-out infinite alternate;
}

@keyframes dbGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating icons */
.db-float-icon {
    position: absolute;
    z-index: 3;
    width: 64px;
    height: 64px;
    background: rgba(184, 146, 42, 0.1);
    border: 1.5px solid rgba(184, 146, 42, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: default;
}

.db-float-icon:hover {
    background: rgba(184, 146, 42, 0.2);
    border-color: #B8922A;
    transform: scale(1.12);
    box-shadow: 0 0 28px rgba(184, 146, 42, 0.25);
}

.db-float-icon svg {
    width: 26px;
    height: 26px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

/* Icon positions */
.db-float-icon--doc {
    top: 8%;
    left: 12%;
    animation: dbFloat1 5s ease-in-out infinite;
}

.db-float-icon--lock {
    top: 6%;
    right: 18%;
    animation: dbFloat2 6s ease-in-out 0.5s infinite;
}

.db-float-icon--globe {
    top: 55%;
    right: 5%;
    animation: dbFloat3 5.5s ease-in-out 1s infinite;
}

.db-float-icon--shield {
    bottom: 12%;
    left: 8%;
    animation: dbFloat4 6.5s ease-in-out 0.3s infinite;
}

.db-float-icon--users {
    bottom: 8%;
    right: 20%;
    animation: dbFloat5 5.2s ease-in-out 1.5s infinite;
}

@keyframes dbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -10px); }
}

@keyframes dbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -8px); }
}

@keyframes dbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, 10px); }
}

@keyframes dbFloat4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -6px); }
}

@keyframes dbFloat5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, 8px); }
}

/* Center deal room icon */
.db-float-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 96px;
    height: 96px;
    background: rgba(184, 146, 42, 0.15);
    border: 2px solid rgba(184, 146, 42, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.db-float-center svg {
    width: 32px;
    height: 32px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-float-center-label {
    font-family: "Jost", sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d4b36b;
}

/* Connection lines */
.db-hero-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.db-conn-line {
    stroke: rgba(184, 146, 42, 0.12);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.db-conn-pulse {
    fill: #B8922A;
    opacity: 0;
}

.db-conn-pulse-1 { animation: dbConnPulse1 4s ease-in-out infinite; }
.db-conn-pulse-2 { animation: dbConnPulse2 5s ease-in-out 1s infinite; }
.db-conn-pulse-3 { animation: dbConnPulse3 4.5s ease-in-out 2s infinite; }

@keyframes dbConnPulse1 {
    0%, 100% { opacity: 0; cx: 200; cy: 200; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 80; cy: 60; }
}

@keyframes dbConnPulse2 {
    0%, 100% { opacity: 0; cx: 200; cy: 200; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 320; cy: 80; }
}

@keyframes dbConnPulse3 {
    0%, 100% { opacity: 0; cx: 200; cy: 200; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { cx: 340; cy: 240; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════════════════════════════════════════ */
.db-stats {
    position: relative;
    z-index: 2;
    background: #000a24;
    border-top: 1px solid rgba(184, 146, 42, 0.15);
    border-bottom: 1px solid rgba(184, 146, 42, 0.15);
}

.db-stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.db-stats-item {
    padding: 2.25rem 1.5rem;
    text-align: center;
    position: relative;
}

.db-stats-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(184, 146, 42, 0.15);
}

.db-stats-number {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #d4b36b;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.db-stats-label {
    font-family: "Jost", sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.db-how {
    background: linear-gradient(180deg, #000a24 0%, #060d1f 100%);
    padding: 5rem 0;
}

.db-how-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section eyebrow (shared) */
.db-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.db-section-eyebrow-text {
    font-family: "Jost", sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d4b36b;
}

.db-section-eyebrow-line {
    width: 32px;
    height: 1px;
    background: #B8922A;
}

.db-section-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 0.75rem;
}

.db-section-heading em {
    font-style: italic;
    color: #d4b36b;
    font-weight: 400;
}

.db-section-sub {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 3.5rem;
    max-width: 550px;
}

/* Steps */
.db-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.db-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 1px;
    background: linear-gradient(90deg, #B8922A, rgba(184, 146, 42, 0.3), #B8922A, rgba(184, 146, 42, 0.3), #B8922A);
    z-index: 0;
}

.db-step {
    text-align: center;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.db-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: rgba(184, 146, 42, 0.08);
    border: 1px solid rgba(184, 146, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.db-step:hover .db-step-icon {
    background: rgba(184, 146, 42, 0.15);
    border-color: rgba(184, 146, 42, 0.4);
    transform: translateY(-4px);
}

.db-step-icon svg {
    width: 28px;
    height: 28px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #B8922A;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.db-step-title {
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
}

.db-step-desc {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.45);
}


/* ═══════════════════════════════════════════════════════════════════════════
   KEY FEATURES GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.db-features {
    background: #060d1f;
    padding: 5rem 0;
    border-top: 1px solid rgba(184, 146, 42, 0.08);
}

.db-features-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.db-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.db-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.db-feature-card:hover {
    border-color: rgba(184, 146, 42, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.db-feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    background: rgba(184, 146, 42, 0.08);
    border: 1px solid rgba(184, 146, 42, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.db-feature-card:hover .db-feature-icon {
    background: rgba(184, 146, 42, 0.15);
    border-color: rgba(184, 146, 42, 0.4);
}

.db-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-feature-title {
    font-family: "Jost", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.5rem;
}

.db-feature-desc {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1rem;
}

.db-feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.db-feature-tag {
    font-family: "Jost", sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(184, 146, 42, 0.08);
    border: 1px solid rgba(184, 146, 42, 0.15);
    color: #d4b36b;
    border-radius: 3px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.db-pricing {
    background: linear-gradient(180deg, #060d1f 0%, #000a24 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(184, 146, 42, 0.08);
}

.db-pricing-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.db-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 1rem;
}

.db-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.db-pricing-card:hover {
    border-color: rgba(184, 146, 42, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Popular card */
.db-pricing-card--popular {
    border-color: rgba(184, 146, 42, 0.4);
    background: rgba(184, 146, 42, 0.05);
    transform: scale(1.04);
    z-index: 2;
}

.db-pricing-card--popular:hover {
    transform: scale(1.04) translateY(-4px);
    border-color: #B8922A;
}

.db-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 18px;
    background: #B8922A;
    color: #fff;
    white-space: nowrap;
}

.db-pricing-tier {
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.db-pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.db-pricing-currency {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #d4b36b;
}

.db-pricing-amount {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #d4b36b;
    line-height: 1;
}

.db-pricing-period {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.db-pricing-desc {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.db-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.db-pricing-features li {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.db-pricing-features li svg {
    width: 14px;
    height: 14px;
    stroke: #B8922A;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

.db-pricing-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECURITY & TRUST
   ═══════════════════════════════════════════════════════════════════════════ */
.db-security {
    background: #060d1f;
    padding: 5rem 0;
    border-top: 1px solid rgba(184, 146, 42, 0.08);
}

.db-security-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.db-security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.db-security-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.db-security-card:hover {
    border-color: rgba(184, 146, 42, 0.3);
    transform: translateY(-4px);
}

.db-security-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(184, 146, 42, 0.08);
    border: 1px solid rgba(184, 146, 42, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-security-icon svg {
    width: 24px;
    height: 24px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-security-title {
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.5rem;
}

.db-security-desc {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Trust badges */
.db-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.db-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s;
}

.db-trust-badge:hover {
    border-color: rgba(184, 146, 42, 0.25);
}

.db-trust-badge svg {
    width: 20px;
    height: 20px;
    stroke: #B8922A;
    stroke-width: 1.5;
    fill: none;
}

.db-trust-badge span {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}


/* ═══════════════════════════════════════════════════════════════════════════
   BOTTOM CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.db-bottom-cta {
    background: linear-gradient(135deg, #000a24 0%, #162850 50%, #000a24 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.db-bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(184, 146, 42, 0.06) 0%, transparent 70%);
}

.db-bottom-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.db-bottom-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #fff;
    margin: 0 0 1rem;
}

.db-bottom-sub {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 2rem;
}

.db-bottom-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GUEST MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.db-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 10, 36, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.db-modal-overlay.active {
    display: flex;
}

.db-modal {
    background: #0d1b3e;
    border: 1px solid rgba(184, 146, 42, 0.2);
    max-width: 480px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
}

.db-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.db-modal-close:hover {
    border-color: #B8922A;
    color: #d4b36b;
}

.db-modal-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 0.5rem;
}

.db-modal-sub {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.db-field {
    margin-bottom: 1rem;
}

.db-label {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.db-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.db-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.db-input:focus {
    border-color: #B8922A;
    background: rgba(255, 255, 255, 0.08);
}

.db-modal-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-family: "Jost", sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.db-modal-divider::before,
.db-modal-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.db-modal-register {
    text-align: center;
}

.db-modal-register a {
    color: #d4b36b;
    text-decoration: none;
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.db-modal-register a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.db-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.db-animate.db-visible {
    opacity: 1;
    transform: translateY(0);
}

.db-animate-delay-1 { transition-delay: 0.1s; }
.db-animate-delay-2 { transition-delay: 0.2s; }
.db-animate-delay-3 { transition-delay: 0.3s; }
.db-animate-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════════════════
   DEAL ROOM INTERFACE STYLES — Document Management
   ═══════════════════════════════════════════════════════════════════════════ */

/* Drag & drop area */
.db-dropzone {
    border: 2px dashed rgba(184, 146, 42, 0.25);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(184, 146, 42, 0.03);
    transition: all 0.3s;
    cursor: pointer;
}

.db-dropzone.db-dropzone--active {
    border-color: #B8922A;
    background: rgba(184, 146, 42, 0.08);
    box-shadow: inset 0 0 30px rgba(184, 146, 42, 0.05);
}

.db-dropzone-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.db-dropzone-icon svg {
    width: 48px;
    height: 48px;
    stroke: rgba(184, 146, 42, 0.5);
    stroke-width: 1;
    fill: none;
}

.db-dropzone--active .db-dropzone-icon svg {
    stroke: #B8922A;
}

.db-dropzone-text {
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.db-dropzone-text strong {
    color: #d4b36b;
    font-weight: 500;
    cursor: pointer;
}

.db-dropzone-hint {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
}

/* Upload progress */
.db-upload-progress {
    margin-top: 1rem;
}

.db-upload-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.db-upload-item-name {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-upload-item-size {
    font-family: "Jost", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.db-progress-bar {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.db-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B8922A, #d4b36b);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.db-progress-fill--complete {
    background: #2ecc71;
}

.db-progress-fill--error {
    background: #e74c3c;
}

/* File list */
.db-file-list {
    margin-top: 1.5rem;
}

.db-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
    transition: border-color 0.2s, background 0.2s;
}

.db-file-item:hover {
    border-color: rgba(184, 146, 42, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.db-file-icon {
    width: 36px;
    height: 36px;
    background: rgba(184, 146, 42, 0.08);
    border: 1px solid rgba(184, 146, 42, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-file-icon svg {
    width: 18px;
    height: 18px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-file-info {
    flex: 1;
    min-width: 0;
}

.db-file-name {
    font-family: "Roboto", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-file-meta {
    font-family: "Roboto", sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

.db-file-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.db-file-action {
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.4);
}

.db-file-action:hover {
    border-color: rgba(184, 146, 42, 0.3);
    color: #d4b36b;
}

.db-file-action svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Folder tree */
.db-folder-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.db-folder-tree li {
    padding: 0;
}

.db-folder-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    border-left: 2px solid transparent;
}

.db-folder-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
}

.db-folder-item.db-folder-item--active {
    border-left-color: #B8922A;
    background: rgba(184, 146, 42, 0.06);
    color: #d4b36b;
}

.db-folder-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.db-folder-children {
    padding-left: 1.5rem;
}

/* Storage usage bar */
.db-storage {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.db-storage-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.db-storage-label {
    font-family: "Jost", sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.db-storage-value {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.db-storage-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.db-storage-fill {
    height: 100%;
    background: linear-gradient(90deg, #B8922A, #d4b36b);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.db-storage-fill--warning {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.db-storage-fill--danger {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}


/* ═══════════════════════════════════════════════════════════════════════════
   MILESTONE TIMELINE
   ═══════════════════════════════════════════════════════════════════════════ */
.db-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.db-timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(184, 146, 42, 0.15);
}

.db-timeline-item {
    position: relative;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.db-timeline-item:last-child {
    border-bottom: none;
}

.db-timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 1.75rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d1b3e;
    border: 2px solid rgba(184, 146, 42, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.db-timeline-dot svg {
    width: 10px;
    height: 10px;
    stroke: rgba(184, 146, 42, 0.5);
    stroke-width: 2;
    fill: none;
}

.db-timeline-dot--complete {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.db-timeline-dot--complete svg {
    stroke: #2ecc71;
}

.db-timeline-dot--active {
    border-color: #B8922A;
    background: rgba(184, 146, 42, 0.1);
    box-shadow: 0 0 12px rgba(184, 146, 42, 0.2);
}

.db-timeline-dot--active svg {
    stroke: #B8922A;
}

.db-timeline-dot--overdue {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.db-timeline-dot--overdue svg {
    stroke: #e74c3c;
}

.db-timeline-title {
    font-family: "Jost", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.25rem;
}

.db-timeline-date {
    font-family: "Roboto", sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.db-timeline-desc {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.db-timeline-deps {
    margin-top: 0.5rem;
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.db-timeline-deps span {
    color: #d4b36b;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PARTY CARDS & ROLE BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
.db-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.db-party-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s;
}

.db-party-card:hover {
    border-color: rgba(184, 146, 42, 0.2);
}

.db-party-avatar {
    width: 44px;
    height: 44px;
    background: rgba(184, 146, 42, 0.12);
    border: 1px solid rgba(184, 146, 42, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #d4b36b;
    flex-shrink: 0;
}

.db-party-info {
    flex: 1;
    min-width: 0;
}

.db-party-name {
    font-family: "Jost", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.15rem;
}

.db-party-firm {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

/* Role badges */
.db-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-family: "Jost", sans-serif;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 3px;
}

.db-role-badge--owner {
    background: rgba(184, 146, 42, 0.15);
    border: 1px solid rgba(184, 146, 42, 0.3);
    color: #d4b36b;
}

.db-role-badge--counsel {
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #5dade2;
}

.db-role-badge--client {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.db-role-badge--counterparty {
    background: rgba(155, 89, 182, 0.12);
    border: 1px solid rgba(155, 89, 182, 0.3);
    color: #bb8fce;
}

.db-role-badge--advisor {
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f5b041;
}

.db-role-badge--viewer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.db-party-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MESSAGING / CHAT
   ═══════════════════════════════════════════════════════════════════════════ */
.db-messages {
    display: flex;
    flex-direction: column;
    height: 500px;
    background: rgba(0, 10, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.db-messages-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.db-messages-title {
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.db-messages-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.db-message {
    display: flex;
    gap: 0.75rem;
    max-width: 80%;
}

.db-message--own {
    margin-left: auto;
    flex-direction: row-reverse;
}

.db-message-avatar {
    width: 32px;
    height: 32px;
    background: rgba(184, 146, 42, 0.12);
    border: 1px solid rgba(184, 146, 42, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Jost", sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: #d4b36b;
    flex-shrink: 0;
}

.db-message-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1rem;
    border-radius: 8px 8px 8px 0;
}

.db-message--own .db-message-content {
    background: rgba(184, 146, 42, 0.08);
    border-color: rgba(184, 146, 42, 0.15);
    border-radius: 8px 8px 0 8px;
}

.db-message-sender {
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #d4b36b;
    margin-bottom: 0.25rem;
}

.db-message-text {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.db-message-time {
    font-family: "Roboto", sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.35rem;
}

.db-message--system {
    max-width: 100%;
    justify-content: center;
}

.db-message--system .db-message-content {
    background: rgba(184, 146, 42, 0.05);
    border-color: rgba(184, 146, 42, 0.1);
    border-radius: 4px;
    text-align: center;
    padding: 0.5rem 1rem;
}

.db-message--system .db-message-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.db-message--pinned {
    border-left: 3px solid #B8922A;
    padding-left: 0.5rem;
}

.db-message-reply {
    margin-left: 2.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(184, 146, 42, 0.15);
}

/* Message input */
.db-messages-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.db-messages-input textarea {
    flex: 1;
    resize: none;
    min-height: 42px;
    max-height: 120px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    outline: none;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.db-messages-input textarea:focus {
    border-color: #B8922A;
}

.db-messages-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.db-messages-send {
    width: 42px;
    height: 42px;
    background: #B8922A;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.db-messages-send:hover {
    background: #9a7820;
}

.db-messages-send svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ACTIVITY FEED
   ═══════════════════════════════════════════════════════════════════════════ */
.db-activity-feed {
    padding: 0;
    margin: 0;
    list-style: none;
}

.db-activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.db-activity-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.db-activity-item:last-child {
    border-bottom: none;
}

.db-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-activity-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    fill: none;
}

.db-activity-icon--upload {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
}
.db-activity-icon--upload svg { stroke: #3498db; }

.db-activity-icon--message {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
}
.db-activity-icon--message svg { stroke: #2ecc71; }

.db-activity-icon--milestone {
    background: rgba(184, 146, 42, 0.1);
    border: 1px solid rgba(184, 146, 42, 0.2);
}
.db-activity-icon--milestone svg { stroke: #B8922A; }

.db-activity-icon--party {
    background: rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.2);
}
.db-activity-icon--party svg { stroke: #9b59b6; }

.db-activity-icon--security {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
}
.db-activity-icon--security svg { stroke: #e74c3c; }

.db-activity-body {
    flex: 1;
    min-width: 0;
}

.db-activity-text {
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.db-activity-text strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.db-activity-time {
    font-family: "Roboto", sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.2rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   DEAL ROOM VIEW TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.db-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.db-tabs::-webkit-scrollbar {
    display: none;
}

.db-tab {
    padding: 1rem 1.5rem;
    font-family: "Jost", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    flex-shrink: 0;
}

.db-tab:hover {
    color: rgba(255, 255, 255, 0.7);
}

.db-tab.db-tab--active {
    color: #d4b36b;
    border-bottom-color: #B8922A;
}

.db-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(184, 146, 42, 0.15);
    border-radius: 9px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #d4b36b;
    margin-left: 0.4rem;
}

.db-tab-panel {
    display: none;
    padding: 1.5rem 0;
}

.db-tab-panel.db-tab-panel--active {
    display: block;
}


/* ═══════════════════════════════════════════════════════════════════════════
   AI ANALYSIS RESULT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.db-ai-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.db-ai-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    border-left: 3px solid #B8922A;
    transition: border-color 0.2s;
}

.db-ai-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: #B8922A;
}

.db-ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.db-ai-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(184, 146, 42, 0.1);
    border: 1px solid rgba(184, 146, 42, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-ai-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: #d4b36b;
    stroke-width: 1.5;
    fill: none;
}

.db-ai-card-title {
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.db-ai-card-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.db-ai-card-body {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.db-ai-card-body ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.db-ai-card-body li {
    margin-bottom: 0.35rem;
}

/* Risk levels */
.db-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 3px 10px;
    font-family: "Jost", sans-serif;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 3px;
}

.db-risk-badge--low {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.db-risk-badge--medium {
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f5b041;
}

.db-risk-badge--high {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* AI loading */
.db-ai-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
}

.db-ai-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(184, 146, 42, 0.15);
    border-top-color: #B8922A;
    border-radius: 50%;
    animation: dbSpin 0.8s linear infinite;
}

@keyframes dbSpin {
    to { transform: rotate(360deg); }
}

.db-ai-loading-text {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.db-ai-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.db-ai-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B8922A, #d4b36b);
    border-radius: 2px;
    animation: dbAIProgress 3s ease-in-out;
}

@keyframes dbAIProgress {
    0% { width: 0%; }
    20% { width: 15%; }
    50% { width: 45%; }
    80% { width: 75%; }
    100% { width: 95%; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   STATUS BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
.db-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 12px;
    font-family: "Jost", sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 3px;
}

.db-status-badge--draft {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
}

.db-status-badge--active {
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #5dade2;
}

.db-status-badge--in-progress {
    background: rgba(184, 146, 42, 0.12);
    border: 1px solid rgba(184, 146, 42, 0.3);
    color: #d4b36b;
}

.db-status-badge--review {
    background: rgba(155, 89, 182, 0.12);
    border: 1px solid rgba(155, 89, 182, 0.3);
    color: #bb8fce;
}

.db-status-badge--completed {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.db-status-badge--closed {
    background: rgba(149, 165, 166, 0.12);
    border: 1px solid rgba(149, 165, 166, 0.3);
    color: #95a5a6;
}

.db-status-badge--cancelled {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.db-status-badge--pending {
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f5b041;
}

.db-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .db-hero-grid { gap: 3rem; }
    .db-hero-viz { max-width: 400px; }
}

@media (max-width: 992px) {
    .db-hero { min-height: auto; padding: 4rem 0 3rem; }
    .db-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 640px; }
    .db-hero-left { max-width: 100%; }
    .db-hero-viz { max-width: 400px; margin: 0 auto; }
    .db-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .db-stats-item:nth-child(2)::after { display: none; }
    .db-stats-item:nth-child(1),
    .db-stats-item:nth-child(2) { border-bottom: 1px solid rgba(184, 146, 42, 0.1); }
    .db-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .db-steps::before { display: none; }
    .db-features-grid { grid-template-columns: repeat(2, 1fr); }
    .db-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .db-pricing-card--popular { transform: none; }
    .db-pricing-card--popular:hover { transform: translateY(-4px); }
    .db-security-grid { grid-template-columns: repeat(2, 1fr); }
    .db-party-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .db-hero { padding: 3rem 0 2.5rem; }
    .db-hero-grid { padding: 0 1.25rem; }
    .db-stats-grid { padding: 0 1.25rem; }
    .db-stats-item { padding: 1.5rem 1rem; }
    .db-how-inner,
    .db-features-inner,
    .db-pricing-inner,
    .db-security-inner,
    .db-bottom-cta-inner { padding: 0 1.25rem; }
    .db-how,
    .db-features,
    .db-pricing,
    .db-security { padding: 3.5rem 0; }
    .db-bottom-cta { padding: 3rem 0; }
    .db-messages { height: 400px; }
    .db-message { max-width: 90%; }
    .db-tabs { gap: 0; }
    .db-tab { padding: 0.75rem 1rem; }
}

@media (max-width: 576px) {
    .db-hero { padding: 2.5rem 0 2rem; }
    .db-hero-heading { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .db-hero-cta { flex-direction: column; }
    .db-btn-gold,
    .db-btn-outline { width: 100%; justify-content: center; text-align: center; }
    .db-stats-grid { grid-template-columns: 1fr 1fr; }
    .db-steps { grid-template-columns: 1fr 1fr; }
    .db-step { padding: 0 0.75rem; }
    .db-step-icon { width: 56px; height: 56px; }
    .db-step-icon svg { width: 22px; height: 22px; }
    .db-features-grid { grid-template-columns: 1fr; }
    .db-security-grid { grid-template-columns: 1fr; }
    .db-trust-badges { gap: 1rem; }
    .db-trust-badge { padding: 8px 16px; }
    .db-float-icon { width: 48px; height: 48px; border-radius: 10px; }
    .db-float-icon svg { width: 20px; height: 20px; }
    .db-float-center { width: 72px; height: 72px; border-radius: 16px; }
    .db-float-center svg { width: 24px; height: 24px; }
    .db-file-item { flex-wrap: wrap; }
    .db-file-actions { width: 100%; justify-content: flex-end; }
    .db-messages-body { padding: 1rem; }
    .db-messages-input { padding: 0.75rem 1rem; }
}

@media (max-width: 480px) {
    .db-hero-grid { padding: 0 1rem; }
    .db-stats-grid { padding: 0 1rem; }
    .db-stats-number { font-size: 1.6rem; }
    .db-how-inner,
    .db-features-inner,
    .db-pricing-inner,
    .db-security-inner,
    .db-bottom-cta-inner { padding: 0 1rem; }
}

@media (max-width: 360px) {
    .db-stats-grid { grid-template-columns: 1fr; }
    .db-stats-item::after { display: none; }
    .db-stats-item { border-bottom: 1px solid rgba(184, 146, 42, 0.1); padding: 1.25rem 1rem; }
    .db-stats-item:last-child { border-bottom: none; }
    .db-steps { grid-template-columns: 1fr; }
    .db-bottom-actions { flex-direction: column; }
}
