:root {
    --dv-dark: #0A0F1A;
    --dv-navy: #1E3A5F;
    --dv-mid: #162842;
    --dv-light: #234E7A;
    --dv-accent: #0EA5E9;
    --dv-accent-light: #38BDF8;
    --dv-text: #F0F4F8;
    --dv-muted: #8BA8C4;
    --dv-border: #1E3A5F;
    --dv-alert: #EF4444;
    --dv-warn: #F59E0B;
    --dv-safe: #10B981;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background-color: #0A0F1A;
    color: #F0F4F8;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: #0EA5E9;
    text-decoration: none;
}

a:hover {
    color: #38BDF8;
}

.dv-navbar {
    background-color: rgba(10, 15, 26, 0.97);
    border-bottom: 1px solid #1E3A5F;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dv-navbar .navbar-brand {
    font-size: 22px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.5px;
}

.dv-navbar .navbar-brand .brand-accent {
    color: #0EA5E9;
}

.dv-navbar .nav-link {
    color: #8BA8C4;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    transition: color 0.2s;
}

.dv-navbar .nav-link:hover {
    color: #F0F4F8;
}

.dv-navbar .btn-nav-cta {
    background-color: #0EA5E9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.2s;
}

.dv-navbar .btn-nav-cta:hover {
    background-color: #0284C7;
    color: #fff;
}

.dv-hero {
    background: linear-gradient(160deg, #0A0F1A 0%, #0F1E33 60%, #0A0F1A 100%);
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.dv-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, rgba(10,15,26,0.92) 0%, rgba(15,30,51,0.85) 60%, rgba(10,15,26,0.95) 100%);
    z-index: 0;
}

.dv-hero .container {
    position: relative;
    z-index: 1;
}

.dv-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 30%, rgba(30,58,95,0.4) 0%, transparent 60%);
    pointer-events: none;
}

.dv-hero .badge-pill {
    display: inline-block;
    background-color: rgba(14, 165, 233, 0.12);
    color: #38BDF8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(14, 165, 233, 0.25);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dv-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #F0F4F8;
    max-width: 680px;
    margin: 0 0 20px;
}

.dv-hero h1 em {
    color: #0EA5E9;
    font-style: normal;
}

.dv-hero .subtitle {
    font-size: 17px;
    color: #8BA8C4;
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.7;
}

.dv-hero .hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.dv-hero .hero-live-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.dv-hero .live-stat {
    position: relative;
}

.dv-hero .live-stat .live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10B981;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.dv-hero .live-stat .stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.5px;
    line-height: 1;
}

.dv-hero .live-stat .stat-num span {
    color: #0EA5E9;
}

.dv-hero .live-stat .stat-label {
    font-size: 12px;
    color: #4D7499;
    margin-top: 4px;
}

.btn-primary-dv {
    background-color: #0EA5E9;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
}

.btn-primary-dv:hover {
    background-color: #0284C7;
    color: #fff;
}

.btn-outline-dv {
    background-color: transparent;
    color: #8BA8C4;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 6px;
    border: 1px solid #1E3A5F;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline-dv:hover {
    border-color: #234E7A;
    color: #F0F4F8;
    background-color: rgba(14,165,233,0.05);
}

.dv-section-dark {
    background-color: #0A0F1A;
    padding: 80px 0;
}

.dv-section-navy {
    background-color: #0D1724;
    padding: 80px 0;
}

.dv-section-mid {
    background-color: #0F1E33;
    padding: 80px 0;
}

.section-label-dv {
    font-size: 11px;
    font-weight: 700;
    color: #0EA5E9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title-dv {
    font-size: 36px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle-dv {
    font-size: 16px;
    color: #8BA8C4;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

.dv-risk-card {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-left: 4px solid #EF4444;
    border-radius: 10px;
    padding: 28px;
    height: 100%;
    transition: border-color 0.2s;
}

.dv-risk-card.warn { border-left-color: #F59E0B; }
.dv-risk-card.info { border-left-color: #0EA5E9; }
.dv-risk-card.safe { border-left-color: #10B981; }

.dv-risk-card:hover {
    background-color: #111F30;
}

.dv-risk-card .risk-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.dv-risk-card .risk-tag.high { background-color: rgba(239,68,68,0.15); color: #F87171; }
.dv-risk-card .risk-tag.medium { background-color: rgba(245,158,11,0.15); color: #FCD34D; }
.dv-risk-card .risk-tag.low { background-color: rgba(14,165,233,0.15); color: #38BDF8; }
.dv-risk-card .risk-tag.clear { background-color: rgba(16,185,129,0.15); color: #34D399; }

.dv-risk-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #F0F4F8;
    margin-bottom: 10px;
}

.dv-risk-card p {
    font-size: 14px;
    color: #4D7499;
    line-height: 1.6;
    margin-bottom: 14px;
}

.dv-risk-card .risk-example {
    font-size: 12px;
    color: #2A4A6A;
    font-family: monospace;
    padding: 8px 12px;
    background-color: #080E19;
    border-radius: 4px;
}

.dv-metrics-strip {
    background-color: #0D1724;
    border-top: 1px solid #1E3A5F;
    border-bottom: 1px solid #1E3A5F;
    padding: 48px 0;
}

.dv-metric {
    text-align: center;
    padding: 20px 24px;
    border-right: 1px solid #1E3A5F;
}

.dv-metric:last-child { border-right: none; }

.dv-metric .m-value {
    font-size: 42px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.dv-metric .m-value span { color: #0EA5E9; }

.dv-metric .m-label {
    font-size: 13px;
    color: #4D7499;
    line-height: 1.4;
}

.dv-case-strip {
    background-color: #0F1E33;
    border-top: 1px solid #1E3A5F;
    border-bottom: 1px solid #1E3A5F;
    padding: 36px 0;
}

.dv-case-item {
    text-align: center;
    padding: 20px 28px;
    border-right: 1px solid #1E3A5F;
}

.dv-case-item:last-child { border-right: none; }

.dv-case-item .case-industry {
    font-size: 11px;
    font-weight: 700;
    color: #0EA5E9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.dv-case-item .case-stat {
    font-size: 26px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.dv-case-item .case-desc {
    font-size: 13px;
    color: #4D7499;
}

.dv-cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 8px;
    padding: 14px 20px;
}

.dv-cert-badge i {
    color: #10B981;
    font-size: 16px;
}

.dv-cert-badge span {
    font-size: 13px;
    font-weight: 600;
    color: #8BA8C4;
}

.dv-feature-card {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 10px;
    padding: 28px;
    height: 100%;
    transition: border-color 0.2s;
}

.dv-feature-card:hover {
    border-color: #234E7A;
}

.dv-feature-card .feat-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dv-feature-card .feat-icon i {
    color: #0EA5E9;
    font-size: 18px;
}

.dv-feature-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #F0F4F8;
    margin-bottom: 8px;
}

.dv-feature-card p {
    font-size: 14px;
    color: #4D7499;
    line-height: 1.6;
    margin: 0;
}

.dv-team-card {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.dv-team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #1E3A5F;
}

.dv-team-card .team-info {
    padding: 20px;
}

.dv-team-card .team-name {
    font-size: 16px;
    font-weight: 700;
    color: #F0F4F8;
    margin-bottom: 4px;
}

.dv-team-card .team-title {
    font-size: 13px;
    color: #4D7499;
    margin-bottom: 12px;
}

.dv-team-card .team-bio {
    font-size: 13px;
    color: #4D7499;
    line-height: 1.6;
}

.dv-blog-card {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: border-color 0.2s;
}

.dv-blog-card:hover { border-color: #234E7A; }

.dv-blog-card .blog-img {
    width: 100%;
    height: 190px;
    background-color: #162842;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E3A5F;
    font-size: 13px;
}

.dv-blog-card .blog-body { padding: 22px; }

.dv-blog-card .blog-tag {
    font-size: 10px;
    font-weight: 700;
    color: #0EA5E9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.dv-blog-card .blog-title {
    font-size: 16px;
    font-weight: 700;
    color: #F0F4F8;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dv-blog-card .blog-excerpt {
    font-size: 13px;
    color: #4D7499;
    line-height: 1.6;
    margin-bottom: 14px;
}

.dv-blog-card .blog-meta {
    font-size: 12px;
    color: #2A4A6A;
}

.dv-cta-section {
    background: linear-gradient(135deg, #0A0F1A 0%, #0F1E33 50%, #0A0F1A 100%);
    border-top: 1px solid #1E3A5F;
    padding: 80px 0;
    text-align: center;
}

.dv-cta-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.dv-cta-section p {
    font-size: 16px;
    color: #8BA8C4;
    margin-bottom: 32px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.dv-footer {
    background-color: #060B14;
    border-top: 1px solid #1E3A5F;
    padding: 60px 0 28px;
}

.dv-footer .footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: #F0F4F8;
    margin-bottom: 12px;
}

.dv-footer .footer-brand span { color: #0EA5E9; }

.dv-footer .footer-tagline {
    font-size: 14px;
    color: #2A4A6A;
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 20px;
}

.dv-footer .footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: #2A4A6A;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.dv-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dv-footer ul li {
    margin-bottom: 10px;
    color: #2A4A6A;
    font-size: 14px;
}

.dv-footer ul li a {
    color: #4D7499;
    font-size: 14px;
    transition: color 0.2s;
}

.dv-footer ul li a:hover { color: #8BA8C4; }

.dv-footer .footer-bottom {
    border-top: 1px solid #0D1724;
    margin-top: 40px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dv-footer .footer-bottom p {
    font-size: 13px;
    color: #1E3A5F;
    margin: 0;
}

.dv-footer .footer-bottom a {
    color: #2A4A6A;
    font-size: 13px;
}

.dv-contact-form {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 12px;
    padding: 36px;
}

.dv-form-group { margin-bottom: 18px; }

.dv-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #4D7499;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dv-form-group input,
.dv-form-group select,
.dv-form-group textarea {
    width: 100%;
    background-color: #080E19;
    border: 1px solid #1E3A5F;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    color: #F0F4F8;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.dv-form-group input:focus,
.dv-form-group select:focus,
.dv-form-group textarea:focus {
    border-color: #0EA5E9;
}

.dv-form-group input::placeholder,
.dv-form-group textarea::placeholder {
    color: #1E3A5F;
}

.dv-contact-info-card {
    background-color: #0D1724;
    border: 1px solid #1E3A5F;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 14px;
}

.dv-contact-info-card .ci-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.dv-contact-info-card .ci-icon i {
    color: #0EA5E9;
    font-size: 15px;
}

.dv-contact-info-card .ci-label {
    font-size: 10px;
    font-weight: 700;
    color: #2A4A6A;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.dv-contact-info-card .ci-value {
    font-size: 14px;
    color: #8BA8C4;
}

.dv-contact-info-card .ci-value a { color: #8BA8C4; }

.page-hero-dv {
    background: linear-gradient(160deg, #0A0F1A 0%, #0D1724 100%);
    padding: 68px 0 52px;
    border-bottom: 1px solid #1E3A5F;
}

.page-hero-dv h1 {
    font-size: 42px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-hero-dv p {
    font-size: 16px;
    color: #4D7499;
    max-width: 500px;
    line-height: 1.7;
}

.about-stat-dv {
    text-align: center;
    padding: 28px;
    border-right: 1px solid #1E3A5F;
}

.about-stat-dv:last-child { border-right: none; }

.about-stat-dv .stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #F0F4F8;
    letter-spacing: -0.8px;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-dv .stat-value span { color: #0EA5E9; }

.about-stat-dv .stat-label {
    font-size: 13px;
    color: #2A4A6A;
}

.legal-content {
    max-width: 740px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 34px;
    font-weight: 800;
    color: #F0F4F8;
    margin-bottom: 8px;
}

.legal-content .legal-date {
    font-size: 13px;
    color: #2A4A6A;
    margin-bottom: 40px;
    display: block;
}

.legal-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: #D8E8F5;
    margin-top: 38px;
    margin-bottom: 12px;
}

.legal-content p, .legal-content li {
    font-size: 15px;
    color: #8BA8C4;
    line-height: 1.8;
}

.legal-content ul { padding-left: 20px; }

.legal-content a { color: #38BDF8; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0D1724;
    border-top: 1px solid #1E3A5F;
    padding: 16px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 13px;
    color: #8BA8C4;
    margin: 0;
    flex: 1;
    min-width: 260px;
}

.cookie-banner a { color: #38BDF8; }

.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn-cookie-accept {
    background-color: #0EA5E9;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.cookie-banner .btn-cookie-reject {
    background-color: transparent;
    color: #4D7499;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #1E3A5F;
    cursor: pointer;
}

@media (max-width: 768px) {
    .dv-hero h1 { font-size: 34px; }
    .section-title-dv { font-size: 26px; }
    .dv-metric { border-right: none; border-bottom: 1px solid #1E3A5F; }
    .dv-metric:last-child { border-bottom: none; }
    .dv-case-item { border-right: none; border-bottom: 1px solid #1E3A5F; }
    .dv-case-item:last-child { border-bottom: none; }
    .about-stat-dv { border-right: none; border-bottom: 1px solid #1E3A5F; }
    .about-stat-dv:last-child { border-bottom: none; }
}

/* === Card Uniformity Fix (auto-generated) === */

.dv-blog-card {
  display: flex;
  flex-direction: column;
}

.dv-case-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dv-contact-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dv-feature-card {
  display: flex;
  flex-direction: column;
}

.dv-risk-card {
  display: flex;
  flex-direction: column;
}

.dv-team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-body > a:last-child,
.blog-body > p:last-child + a {
  margin-top: auto;
}

.dv-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dv-case-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dv-contact-info-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dv-feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dv-risk-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* === Read More Pin Fix (auto-generated) === */

.blog-body > p {
  flex: 1;
}

.blog-body > a:last-child,
.blog-body > a:last-of-type {
  margin-top: auto;
  padding-top: 12px;
}

.read-more,
a[class*="read-more"],
a[class*="readmore"] {
  margin-top: auto;
  padding-top: 12px;
}

/* === Last-Child Pin Fix (auto-generated) === */

.blog-body > :last-child {
  margin-top: auto;
}

.dv-blog-card > :last-child {
  margin-top: auto;
}

.dv-risk-card > :last-child {
  margin-top: auto;
}

.dv-team-card > :last-child {
  margin-top: auto;
}

a.read-more,
[class*="read-more"],
[class*="blog-read-more"] {
  margin-top: auto;
}

/* Card title link styling */
.blog-card h3 a, .blog-card h4 a, .blog-card h5 a,
.news-card h3 a, .news-card h4 a, .news-card h5 a,
.insight-card h3 a, .insight-card h4 a, .insight-card h5 a,
[class*="-card"] h3 a, [class*="-card"] h4 a, [class*="-card"] h5 a {
  color: inherit;
  text-decoration: none;
}
[class*="-card"] h3 a:hover, [class*="-card"] h4 a:hover, [class*="-card"] h5 a:hover {
  text-decoration: underline;
}

/* Universal card equal height */
[class$="-card"], [class*="-card "] {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Active nav link highlighting */
.dv-navbar .nav-link.active {
  color: #0EA5E9;
  font-weight: 700;
}
