/* -----------------------------------------------------------------------------
   Overview (home) — page-specific styles
   Loaded conditionally for 'home' and 'overview' routes.
----------------------------------------------------------------------------- */

/* =============================================================================
   REGULATORY COVERAGE STRIP (static pill cloud, replaces scrolling marquee)
============================================================================= */

.ov-compliance-strip {
    padding: 2rem 0 2.25rem;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Reused in §12 partner logos section */
.ov-marquee-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
}

.ov-compliance-group {
    margin-bottom: 1rem;
}

.ov-compliance-group:last-child {
    margin-bottom: 0;
}

.ov-compliance-group-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.ov-compliance-group-label i {
    font-size: 0.45rem;
    color: var(--primary-green);
}

.ov-compliance-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}

/* Traveling-wave keyframe — very brief gentle highlight passing through all pills */
@keyframes ov-pill-pulse {
    0%, 43%, 57%, 100% {
        background: var(--neutral-100);
        border-color: var(--border-color);
        color: var(--text-secondary);
    }
    50% {
        background: var(--light-green);
        border-color: var(--primary-green);
        color: var(--primary-green);
    }
}

.ov-compliance-pill {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--neutral-100);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    white-space: nowrap;
    animation: ov-pill-pulse 11s ease-in-out infinite;
    /* animation-delay set inline per pill — timing only, same pattern as transition-delay */
}

.ov-compliance-pill--featured {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
    animation: none;
}

.ov-compliance-pill--more {
    animation: none;
    background: transparent;
    border-color: transparent;
    color: var(--text-tertiary);
    font-style: italic;
    font-weight: 500;
}

/* =============================================================================
   SHARED UTILITIES (overview-specific)
============================================================================= */

.ov-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-green);
    /*border-left: 3px solid var(--primary-green);*/
    padding-left: 0.75rem;
    line-height: 1;
}

.ov-section-label.is-light {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.ov-patent-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(220, 38, 38, 0.13);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f87171;
    margin-bottom: 1rem;
}
.ov-patent-tag i { font-size: 0.65rem; }

.ov-body-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
}

/* Ghost button — for use on dark section backgrounds */
.ov-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--btn-radius);
    padding: 0.9rem 2rem;
    font-weight: 500;
    height: auto;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ov-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

/* =============================================================================
   IMAGE SIZE HELPERS — extend .custom-image (border-radius + shadow from cards.css)
============================================================================= */

.ov-dcode-image    { height: 480px; }
.ov-service-img    { height: 255px; }
.ov-case-card-image { height: 100%; min-height: 340px; }

/* =============================================================================
   PLATFORM INTRO — UCP overview section
============================================================================= */

/* =============================================================================
   FLAGSHIP PLATFORM CARDS (TimberID + StoryOfProduct)
============================================================================= */

.ov-platform-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small-card);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ov-platform-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.ov-platform-card-image {
    height: 332px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.ov-platform-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ov-platform-card:hover .ov-platform-card-image img {
    transform: scale(1.03);
}

.ov-platform-card-content {
    padding: 2rem;
}

.ov-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: var(--light-green);
    color: var(--primary-green-darker);
}

.ov-platform-logo-wrap {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--navbar-bg);
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-platform-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.ov-platform-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ov-platform-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ov-platform-features li i {
    color: var(--primary-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* =============================================================================
   DCODE SECTION — dark background
============================================================================= */

.ov-dcode-section {
    background: var(--navbar-bg);
}

.ov-dcode-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.ov-dcode-spec {
    text-align: center;
    padding: 1.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.04);
}

.ov-dcode-spec-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ov-dcode-spec-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    line-height: 1.3;
}

/* =============================================================================
   ECOSYSTEM — mobile apps + hardware cards
============================================================================= */

/* Apple-style squircle icon */
.ov-eco-card-hw-content .ov-service-link {
    align-self: flex-end;
    margin-top: auto;
}

/* =============================================================================
   SERVICES
============================================================================= */

.ov-service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small-card);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ov-service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.ov-service-card .ov-service-img {
    flex-shrink: 0;
}

.ov-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ov-service-content {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ov-service-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin: 0 0 0.65rem;
}

.ov-service-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.ov-service-link {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.ov-service-link:hover {
    gap: 0.65rem;
    color: var(--primary-green-dark);
    text-decoration: none;
}

/* =============================================================================
   IMPACT STATS — dark section
============================================================================= */

.ov-stats-section {
    background: var(--navbar-bg);
}

.ov-stat-block {
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ov-stat-block:last-child {
    border-right: none;
}

.ov-stat-value {
    display: block;
    font-size: 2.75rem;
    font-weight: 500;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.ov-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    line-height: 1.4;
    max-width: 140px;
    margin: 0 auto;
}

/* =============================================================================
   CASE STUDY PREVIEW
============================================================================= */

.ov-case-card {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small-card);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.ov-case-card-image {
    flex: 0 0 42%;
    overflow: hidden;
}

.ov-case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ov-case-card:hover .ov-case-card-image img {
    transform: scale(1.03);
}

.ov-case-card-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ov-case-stats {
    display: flex;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 1.25rem 0;
}

.ov-case-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.2rem;
}

.ov-case-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* =============================================================================
   PARTNER LOGOS
============================================================================= */

/* Partner logos inside Contact CTA dark section */
.ov-contact-logos {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.ov-contact-logos-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 1.25rem;
}

.ov-contact-logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.ov-contact-logos-strip .ov-partner-logo img {
    max-height: 40px;
    max-width: 160px;
    opacity: 0.5;
    filter: brightness(10);
    transition: opacity 0.2s ease;
}

.ov-contact-logos-strip .ov-partner-logo img:hover {
    opacity: 0.85;
}

.ov-partner-logo {
    opacity: 0.55;
    transition: opacity 0.2s ease;
    max-height: 40px;
    display: flex;
    align-items: center;
}

.ov-partner-logo:hover {
    opacity: 1;
}

.ov-partner-logo img {
    max-height: 40px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
}

/* =============================================================================
   PARTNERSHIP CTA
============================================================================= */

.ov-partnership-section {
    background: var(--neutral-100);
}

/* =============================================================================
   CONTACT CTA — final dark section
============================================================================= */

.ov-contact-cta {
    background: linear-gradient(135deg, #14161A 0%, #1a2e10 100%);
}

.ov-contact-cta-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.ov-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    border: 1px solid var(--primary-green);
    color: #ffffff;
    border-radius: var(--btn-radius);
    padding: 0.9rem 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    height: auto;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}
.ov-cta-btn-primary:hover { background: #96DC4B; border-color: #96DC4B; color: #ffffff; }

.ov-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--btn-radius);
    padding: 0.9rem 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    height: auto;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}
.ov-cta-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: #ffffff; }

/* =============================================================================
   UCP PLATFORM PILLARS — Section 4 redesign
============================================================================= */

.ov-ucp-pillar {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small-card);
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ov-ucp-pillar-content {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.ov-ucp-pillar:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

.ov-ucp-pillar-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.ov-ucp-pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: saturate(0.85);
}

.ov-ucp-pillar:hover .ov-ucp-pillar-img img {
    transform: scale(1.04);
    filter: saturate(1);
}

.ov-ucp-pillar-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.65rem;
}

.ov-ucp-pillar-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    flex: 1;
}

.ov-ucp-pillar .ov-service-link {
    align-self: flex-start;
    margin-top: auto;
}

.ov-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: var(--neutral-100);
    border-radius: var(--radius-small-card);
}

.ov-module-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.35rem 0.85rem;
}

.ov-module-tag i {
    color: var(--primary-green);
    font-size: 0.68rem;
}

/* =============================================================================
   eDN SUPPLY CHAIN FLOW — Section 8 redesign
============================================================================= */

.ov-flow-strip {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 0;
}

.ov-flow-step {
    text-align: center;
    flex: 1;
    min-width: 100px;
    max-width: 180px;
}

.ov-flow-step-icon {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.4rem;
    margin: 0 auto 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.ov-flow-step--final .ov-flow-step-icon {
    background: var(--primary-green);
    color: #ffffff;
}

.ov-flow-step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.25rem;
}

.ov-flow-step-sub {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.ov-flow-connector {
    color: var(--primary-green);
    font-size: 0.85rem;
    padding: 0 0.25rem;
    padding-bottom: 2.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    padding-top: 1.1rem;
}

/* eDN section — image + numbered features */
.ov-edn-hero-img {
    height: 300px;
}

.ov-edn-features {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-small-card);
    padding: 0 1.5rem;
}

.ov-edn-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ov-edn-feature:last-child {
    border-bottom: none;
}

.ov-edn-feature-num {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-green);
    opacity: 0.28;
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.25rem;
}

.ov-edn-feature-icon {
    width: 34px;
    height: 34px;
    background: var(--primary-green);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ov-edn-feature-body strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.3rem;
}

.ov-edn-feature-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* =============================================================================
   PARTNERSHIP TYPE CARDS — Section 13 redesign
============================================================================= */

/* =============================================================================
   PARTNERSHIP SPLIT LAYOUT — Section 13 (rows + CTA panel)
============================================================================= */

/* Left column: stacked horizontal partner-type rows */
.ov-partner-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
}

.ov-partner-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ov-partner-row:first-child {
    border-top: 1px solid var(--border-color);
}

.ov-partner-row-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ov-partner-row-body {
    flex: 1;
}

.ov-partner-row-body strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.35rem;
}

.ov-partner-row-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Right column: dark panel on light section bg */
.ov-partner-cta-panel {
    background: var(--navbar-bg);
    border: none;
    border-radius: var(--radius-small-card);
    padding: 2.5rem 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Image block — edge-to-edge top */
.ov-partner-cta-img {
    position: relative;
    margin: -2.5rem -2.25rem 1.75rem -2.25rem;
    height: 200px;
    border-radius: var(--radius-small-card) var(--radius-small-card) 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

.ov-partner-cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.8);
}

/* Gradient fades image into panel bg */
.ov-partner-cta-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--navbar-bg) 100%);
}

.ov-partner-cta-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-green);
    /*border-left: 3px solid var(--primary-green);*/
    padding-left: 0.65rem;
}

.ov-partner-cta-statement {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Stats row inside CTA panel */
.ov-partner-cta-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}

.ov-partner-cta-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ov-partner-cta-stat:last-child {
    border-right: none;
}

.ov-partner-cta-stat-value {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.ov-partner-cta-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   EMBEDDED AI AGENTS — Section 6
============================================================================= */

/* Left column: flex-column so image stretches to fill height */
.ov-ai-left-col {
    display: flex;
    flex-direction: column;
}

/* Image wrapper: grows to fill remaining column height */
.ov-ai-img-wrap {
    width: 100%;
    flex: 1;
    min-height: 300px;
    height: auto;
}

.ov-ai-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Compliance badge pills below the image */
.ov-ai-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.ov-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-green);
    background: var(--light-green);
    border: 1px solid rgba(123, 185, 62, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.ov-ai-badge i {
    font-size: 0.65rem;
}

/* Privacy & Security block — left column, below badges */
.ov-ai-security-block {
    margin-top: 1.25rem;
    background: var(--navbar-bg);
    border-radius: var(--radius-small-card);
    /*border-left: 4px solid var(--primary-green);*/
    padding: 1.5rem 1.75rem;
}

.ov-ai-security-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.ov-ai-security-header i {
    color: var(--primary-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ov-ai-security-header strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.ov-ai-security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ov-ai-security-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.ov-ai-security-list li i {
    color: var(--primary-green);
    font-size: 0.7rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Inline links inside the security block */
.ov-ai-security-link {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ov-ai-security-link:hover {
    color: var(--neutral-500);
}

/* "Rapidly evolving" note — bottom of right column */
.ov-ai-evolving-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.25rem;
    background: var(--light-green);
    border: 1px solid rgba(123, 185, 62, 0.3);
    border-radius: var(--radius-small);
    padding: 1rem 1.25rem;
}

.ov-ai-evolving-note > i {
    color: var(--primary-green);
    font-size: 0.9rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.ov-ai-evolving-note div {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ov-ai-evolving-note strong {
    display: block;
    color: var(--navbar-bg);
    font-weight: 500;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

/* Short intro paragraph */
/* Feature rows */
.ov-ai-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ov-ai-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ov-ai-feature:first-child {
    border-top: 1px solid var(--border-color);
}

.ov-ai-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1rem;
}

.ov-ai-feature-body {
    flex: 1;
}

.ov-ai-feature-body strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.3rem;
}

.ov-ai-feature-body p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Human-in-the-Loop strip */
.ov-ai-hitl {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
    background: var(--navbar-bg);
    border-radius: var(--radius-small-card);
    padding: 2rem 2.25rem;
    /*border-left: 4px solid var(--primary-green);*/
}

.ov-ai-hitl-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(123, 185, 62, 0.15);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.3rem;
}

.ov-ai-hitl-body {
    flex: 1;
}

.ov-ai-hitl-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.ov-ai-hitl-body p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

.ov-ai-hitl-tag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-green);
    background: rgba(123, 185, 62, 0.12);
    border: 1px solid rgba(123, 185, 62, 0.3);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    align-self: center;
}

/* =============================================================================
   RESPONSIVE
============================================================================= */

@media screen and (max-width: 1023px) {
    .ov-dcode-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .ov-case-card {
        flex-direction: column;
    }

    .ov-case-card-image {
        flex: 0 0 auto;
        height: 240px;
    }

    .ov-case-card-content {
        padding: 1.75rem;
    }

    .ov-case-stats {
        gap: 1.25rem;
    }

    .ov-section-img,
    .ov-dcode-image {
        height: 320px;
    }

    .ov-edn-hero-img {
        height: 240px;
    }

    .ov-partners-strip {
        gap: 2rem;
    }

    .ov-flow-step {
        min-width: 80px;
    }

    .ov-partnership-stats-strip {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* §13 Partnership: slightly reduce CTA panel padding on tablet */
    .ov-partner-cta-panel {
        padding: 2rem 1.75rem;
    }

    /* AI agents: fixed height when stacked on tablet */
    .ov-ai-img-wrap {
        height: 360px;
        flex: none;
    }

    /* HitL: hide decorative tag, keep icon+body */
    .ov-ai-hitl-tag {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .ov-dcode-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .ov-patent-tag { display: flex; width: fit-content; margin: 0 auto 1rem; }
    .ov-edn-btn-wrap { text-align: center; }

    .ov-stat-block {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.5rem 1rem;
    }

    .ov-stat-block:last-child {
        border-bottom: none;
    }

    .ov-stat-value { font-size: 1.8rem; }

    .ov-platform-card-image {
        height: 255px;
    }

    .ov-section-img,
    .ov-dcode-image {
        height: 240px;
        margin-top: 1.5rem;
    }

    .ov-edn-hero-img {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .ov-service-img {
        height: 230px;
    }

    .ov-partners-strip {
        gap: 1.5rem;
    }

    .ov-case-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Flow: hide connectors, 3-per-row grid */
    .ov-flow-connector {
        display: none;
    }

    .ov-flow-step {
        flex: 0 0 calc(33.333% - 0.5rem);
        min-width: 0;
        max-width: none;
    }

    .ov-flow-strip {
        gap: 0.75rem;
        padding: 1.5rem 0;
    }

    /* Partnership stats: 2-column wrap */
    .ov-partnership-stats-strip {
        flex-wrap: wrap;
        padding: 1.25rem;
        gap: 0;
    }

    .ov-partnership-stat {
        flex: 0 0 50%;
        padding: 0.75rem 0.5rem;
    }

    .ov-partnership-stat-divider {
        display: none;
    }

    /* Module tags slightly smaller */
    .ov-module-tags {
        padding: 1.25rem;
    }

    /* Partnership section: center heading when columns stack */
    .ov-partnership-section .column h2,
    .ov-partnership-section .column .title { text-align: center; }

    /* §13 Partnership split: stack columns, CTA panel margin-top */
    .ov-partner-cta-panel {
        height: auto;
        margin-top: 2rem;
    }

    .ov-partner-cta-img {
        height: 160px;
        margin: -2rem -1.75rem 1.5rem -1.75rem;
    }

    /* AI agents: fixed height when stacked (flex:1 has no parent height) */
    .ov-ai-img-wrap {
        height: 260px;
        flex: none;
    }

    /* HitL strip: stack vertically, hide icon */
    .ov-ai-hitl {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1.25rem;
    }

    .ov-ai-hitl-icon {
        display: none;
    }
}

/* =============================================================================
   SUPER HERO — full-bleed cinematic section (overview / home)
============================================================================= */

.ov-super-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ov-super-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.ov-super-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(14, 16, 18, 0.92) 0%,
        rgba(14, 16, 18, 0.70) 55%,
        rgba(14, 16, 18, 0.30) 100%
    );
}

.ov-super-content {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
}

.ov-super-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-green);
    padding-left: 0.75rem;
}

.ov-super-title {
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.ov-super-title span {
    color: var(--primary-green);
}

.ov-super-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 0;
}

/* buttons */
.ov-super-btn-primary {
    background: var(--primary-green);
    border: none;
    color: #ffffff;
    border-radius: var(--btn-radius);
    padding: 0.85rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    height: auto;
    transition: background 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ov-super-btn-primary:hover { background: #96DC4B; color: #ffffff; }

.ov-super-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--btn-radius);
    padding: 0.85rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    height: auto;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ov-super-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* glass stat panel */
/* dark tags row */
.ov-super-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ov-super-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(123, 185, 62, 0.15);
    border: 1px solid rgba(123, 185, 62, 0.3);
    color: #a8d96a;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* image panel */
.ov-super-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 360px;
    border: 1px solid rgba(123, 185, 62, 0.2);
}

.ov-super-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* bottom vignette — blends image into dark background */
.ov-super-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(14, 16, 18, 0.65) 100%
    );
    pointer-events: none;
}

/* glassmorphism live badge */
.ov-super-img-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 16, 18, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(123, 185, 62, 0.35);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
}

/* stats row under image */
.ov-super-img-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
}

.ov-super-img-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ov-super-img-stat-val {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ov-super-img-stat-lbl {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.3rem;
}

.ov-super-img-stat-div {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* responsive */
@media screen and (max-width: 768px) {
    .ov-super-hero { min-height: 75vh; }
    .ov-super-content { padding: 3.5rem 1.5rem; }
    .ov-super-title { font-size: 1.6rem; }
    .ov-super-sub { font-size: 0.95rem; text-align: center; }

    /* Hero mobile centering */
    .ov-super-hero .column { text-align: center; }
    .ov-super-hero .buttons { justify-content: center; }
    .ov-super-tags { justify-content: center; }
}
