/* Color Variables */
:root {
    --color-dark: #1c1c1e;           /* Dark grey — professional, not pure black */
    --color-mid-dark: #252527;       /* Card / section background */
    --color-light-grey: #8e8e93;     /* Subtitles / secondary text — neutral grey */
    --color-white: #d8e4d0;          /* Main text — very slightly warm, easy on eyes */
    --color-green-accent: #72a830;   /* Kiwi green — muted, professional */
    --color-blue-accent: #3a7fc1;    /* Blue — softened */
    --color-purple-accent: #7030A0;  /* Purple */
    --color-orange-accent: #d4722a;  /* Orange — softened */
    --color-green-dark: #5a8824;     /* Button hover */
    --color-border: #38383a;         /* Borders — visible but subtle */
    --color-dot: #375f57;            /* Hero dot grid — lighter teal-grey */
    --bs-body-bg: var(--color-dark);
    --bs-body-color: var(--color-white);
    --bs-success: var(--color-green-accent);

    /* Dropdown */
    --color-dropdown-bg: #222426;
    --color-dropdown-active: #2e3033;
    --color-dropdown-border: rgba(255, 255, 255, 0.10);
}

.kiwi_logo_floating {
    width: 130%;
    height: 130%;
    object-fit: contain;
}

/* Base Styles & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Exo', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
}


/* --- Navbar Toggler Visibility Fix --- */
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.15); /* lighter box */
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/*
.navbar-toggler-icon {
    filter: invert(1); /* makes the hamburger icon light */
}
*/

/* Optional: hover/focus polish */
.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: rgba(255, 255, 255, 0.25);
}


/* Open Source badge */
.badge-open-source {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.55rem;

    font-size: 0.60rem;
    font-weight: 600;
    letter-spacing: 0.02em;

    color: var(--color-green-accent);
    background-color: rgba(114, 168, 48, 0.10);

    border: 1px solid rgba(114, 168, 48, 0.32);
    border-radius: 999px;
    vertical-align: middle;
    white-space: nowrap;
}

.menu-column:first-child > .dropdown-item.menu-item:nth-child(2) {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.25rem;
}

.menu-column:first-child > .dropdown-item.menu-item:nth-child(2)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    /* Top highlight + bottom shadow */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.22),
        rgba(0, 0, 0, 0.6)
    );
}


a {
    transition: color 0.3s;
    text-decoration: none;
}

/* ── Tooltip overrides (product tab icon labels) ── */
.tooltip .tooltip-inner {
    background-color: #2c2c2e;
    color: #ffffff !important;
    border: 1px solid var(--color-border);
    font-size: 0.78rem;
    font-family: 'Exo', sans-serif;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
}
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: #2c2c2e;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #2c2c2e;
}

a:hover {
    color: var(--color-green-accent) !important;
}

section {
    padding: 5rem 0; /* Bootstrap sections */
}

/* --- Font Size Adjustments --- */
.display-3 {
    font-size: clamp(3rem, 5.5vw, 4.75rem); /* Fluid: 3rem → 4.75rem */
    line-height: 1.12;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    letter-spacing: -0.01em;
}
h3 { font-size: 1.2rem; }
.subtitle {
    color: var(--color-light-grey);
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--color-dark);
    border-bottom: none;
}
.nav-gradient-line {
    height: 1px;
    background: linear-gradient(
        to right,
        var(--color-orange-accent) 0%,
        var(--color-green-accent) 60%,
        transparent 100%
    );
}

.navbar-brand.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
}

.navbar-logo {
    height: 78px;
    width: auto;
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
}

.nav-link:hover {
    color: var(--color-green-accent) !important;
}

.btn-outline-light {
    color: var(--color-light-grey);
    border-color: var(--color-mid-dark);
}
.btn-outline-light:hover {
    color: var(--color-white) !important;
    background-color: var(--color-mid-dark);
    border-color: var(--color-white);
}

/* Ensure the success buttons use the accent green */
.btn-success {
    background-color: var(--color-green-accent);
    border-color: var(--color-green-accent);
    color: var(--color-dark) !important; 
}
.btn-success:hover {
    background-color: var(--color-green-dark);
    border-color: var(--color-green-dark);
}

/* --- PRODUCT DROPDOWN FIXES (Hover/Click Logic) --- */
.dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-toggle {
    position: relative;
    padding-right: 1.5rem; 
}

.nav-item.dropdown .dropdown-toggle::before {
    content: "\F282"; 
    font-family: "bootstrap-icons";
    font-size: 0.7rem;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
}

.dropdown-lg .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px; /* Adjusted to match image width */
    
    
    /* SOLID, LIGHTER SURFACE */
    background-color: var(--color-dropdown-bg);

    /* Clear, visible separation */
    border: 1px solid var(--color-dropdown-border);
    
    /*
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    */
    
    /* Strong elevation so nothing underneath shows through */
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
        
    padding: 1.5rem; /* Increased padding to match image */
}

/* Force-close the dropdown when a product is selected (JS adds this class briefly) */
.dropdown-lg.force-close .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Desktop Hover Logic — pointer devices only (lg+) */
@media (min-width: 992px) and (pointer: fine) {
    .dropdown-lg .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }

    .dropdown.hover-dropdown:hover .dropdown-menu {
        display: flex;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
    }

    .dropdown.hover-dropdown:hover .dropdown-toggle::before {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Desktop — coarse pointer (touch laptops/tablets at lg width) falls back to click */
@media (min-width: 992px) and (pointer: coarse) {
    .dropdown-lg .dropdown-menu {
        display: none;
    }
    .dropdown-lg .dropdown-menu.show {
        display: block !important;
    }
}

/* Product Menu Spacing */

.dropdown-lg .row {
    margin: 0; 
}

.menu-column {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; 
}

/*
.dropdown-item.menu-item {
    background-color: transparent;
    border-radius: 6px;
    padding: 0.75rem 0.5rem; 
    color: var(--color-white);
    /* NEW: Use flexbox alignment for item container */
    align-items: flex-start !important; 
}

.dropdown-item.menu-item:hover {
    background-color: var(--color-mid-dark);
}

*/


.dropdown-item.menu-item {
    border-radius: 6px; /* ensure rounded box is visible */
    transition: background-color 0.2s ease;
}

.dropdown-item.menu-item:hover,
.dropdown-item.menu-item:focus,
.dropdown-item.menu-item:active {
    background-color: var(--color-dropdown-active);
}

/* NEW: Style for the text content within the menu item */
.dropdown-item.menu-item div {
    /* Set a max-width for the text container to prevent overflow,
       or simply allow it to fill the remaining space */
    flex-grow: 1; 
    /* Max width helps ensure the text wraps correctly before hitting the edge of the column */
    max-width: 80%; 
}

.dropdown-item.menu-item .text-secondary {
    /* Ensure description text wraps properly */
    white-space: normal; 
    line-height: 1.3;
}

.dropdown-item.menu-item h4 {
    font-size: 1rem; /* Smaller title font size */
    font-weight: 600;
    margin-bottom: 0; /* Remove default margin */
}
.dropdown-item.menu-item p {
    font-size: 0.8rem; /* Smaller description font size */
    color: var(--color-light-grey);
    margin-bottom: 0; /* Remove default margin */
}


/* Specific product icon colors for dropdown (matching image) */
.icon-kiwidistro, .icon-kiwiflow, .icon-kiwiorm, .icon-kiwicmd, .icon-kiwiconfig, .icon-cloud {
    /* NEW: Increase margin to give description text more room */
    margin-right: 0.8rem !important; 
    /* Ensure a consistent vertical position */
    margin-top: 0.1rem;
    align-self: flex-start; /* Aligns the icon to the top of the content box */
}

.dropdown-item.menu-item i {
    width: 28px; /* Fixed width for consistent alignment */
    text-align: center;
    font-size: 1.7rem; /* Larger icon size */
    margin-right: 0.8rem; /* Space between icon and text */
    /* !important to override potential generic icon colors */
}
.dropdown-item.menu-item .icon-kiwidistro { color: var(--color-blue-accent) !important; } 
.dropdown-item.menu-item .icon-kiwiflow { color: var(--color-orange-accent) !important; } 
.dropdown-item.menu-item .icon-kiwiorm { color: var(--color-green-accent) !important; } 
.dropdown-item.menu-item .icon-kiwicmd { color: var(--color-green-accent) !important; } 
.dropdown-item.menu-item .icon-kiwiconfig { color: var(--color-green-accent) !important; } 
.dropdown-item.menu-item .icon-cloud { color: var(--color-green-accent) !important; }

/* Special style for the Cloud Platform "Sign up now" link */
.cloud-platform .sign-up {
    color: var(--color-green-accent) !important;
    font-size: 0.85rem;
}
.cloud-platform .sign-up i {
    font-size: 0.85rem; /* Adjust arrow size */
    vertical-align: middle;
}


/* --- HERO SECTION & LOGO FIXES --- */

/* Dotted Background */
.hero-section {
    position: relative;
    overflow: hidden;

    background-image: radial-gradient(var(--color-dot) 0.8px, transparent 0.8px);
    background-size: 22px 22px;
    background-position: 0 0;
    padding: 7rem 0 6.5rem;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);

    width: 700px;
    height: 700px;

    background: url("images/Kiwi_logo_watermark.png") no-repeat center;
    background-size: contain;

    opacity: 0.18;
    filter: brightness(2.2) contrast(0.7);
    mix-blend-mode: screen;

    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-animation {
    animation: float 3s ease-in-out infinite;
}

/* KIWI LOGO CONTAINER RESTORATION 
.kiwi-logo-circle {
    width: 220px; 
    height: 220px; 
    border-radius: 50%;
    border: 5px solid var(--color-green-accent); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: var(--color-dark); 
}
*/
.kiwi-logo-circle {
    width: 170px; 
    height: 170px; 
    border-radius: 50%;
    border: 2px solid var(--color-green-accent); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: var(--color-dark); 
}


.kiwi-logo-circle i {
    font-size: 4rem; 
    color: var(--color-green-accent);
}

.kiwi-logo-circle .dot {
    position: absolute;
    width: 16px; 
    height: 16px; 
    background-color: var(--color-orange-accent); 
    border-radius: 50%;
    border: 3px solid var(--color-dark);
}
.kiwi-logo-circle .d1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.kiwi-logo-circle .d2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.kiwi-logo-circle .d3 { top: 50%; right: 0; transform: translate(50%, -50%); }


/* --- HOW KIWI WORKS ICONS & SYMMETRY FIXES --- */
.works-section {
    padding-bottom: 5rem;
}

/* ICON BACKGROUND FIX: Must be round, green, and centered */
.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(114, 168, 48, 0.15) !important;
    border: 1px solid rgba(114, 168, 48, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
/* Icon colour on muted green circle */
.icon-circle i {
    color: var(--color-green-accent) !important;
}

.work-card {
    height: 100%;   /* stretch every card to match the tallest sibling */
}
.work-card h3 {
    font-size: 1.2rem;
}
.work-card p {
    font-size: 0.95rem;
    color: var(--color-light-grey);
}

/* --- OUR PRODUCTS SECTION NEW STYLES --- */
#products {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center; 
}

/* Product Navigation Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem; 
    margin-bottom: 3rem;
    flex-wrap: wrap; 
}

.product-tab {
    background-color: transparent;
    border: none;
    padding: 0.75rem 0; 
    color: var(--color-light-grey);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent; 
    transition: color 0.3s, border-color 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem; 
}

.product-tab:hover {
    color: var(--color-white);
}

.product-tab.active {
    color: var(--color-green-accent);
    border-color: var(--color-green-accent);
}

.product-tab i {
    font-size: 1.5rem; 
}

/* Product Content Areas */
.product-content {
    background-color: var(--color-mid-dark);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: left;
    animation: fadeIn 0.45s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-description {
    margin-bottom: 3rem;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}
.product-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light-grey);
}

/* Pricing Cards */
.pricing-card {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.pricing-card h4 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.price span {
    font-size: 1.5rem; 
}

.per-resource {
    color: var(--color-light-grey);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cloud-tag {
    background-color: var(--color-mid-dark);
    color: var(--color-light-grey);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    display: inline-block; 
    margin-bottom: 1.5rem;
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--color-light-grey);
    flex-grow: 1; 
    margin-bottom: 1.5rem; 
}

.pricing-card .btn {
    width: 100%;
}

/* --- Solutions & Use Cases (Color Check) --- */
.read-case-study {
    color: var(--color-green-accent) !important;
}

/* Specific Icon Background Colors */
.financial { background-color: #3f51b5; } 
.healthcare { background-color: #9c27b0; } 
.iot { background-color: #4caf50; } 
.ecommerce { background-color: #f44336; } 

/* --- What Our Clients Say (Color Check) --- */
.testimonial-card {
    border-left: 4px solid rgba(114, 168, 48, 0.55) !important;
}
.quote::before, .quote::after {
    color: rgba(114, 168, 48, 0.18);
}

.avatar {
    width: 40px; 
    height: 40px; 
    font-size: 0.9rem; 
    background-color: #3f51b5; 
}

.tb { background-color: #3f51b5; } 
.sj { background-color: #9c27b0; } 


/* --- Contact Section (Color Check) --- */
.contact-details ul li i {
    color: var(--color-green-accent);
}

.social-icons a {
    color: var(--color-light-grey);
    transition: background-color 0.25s, color 0.25s;
}
.social-icons a:hover {
    background-color: var(--color-green-accent) !important;
    color: var(--color-dark) !important;   /* overrides global a:hover !important */
}
.social-icons a i {
    pointer-events: none;   /* keep icon colour tied to the anchor, not separately targeted */
}

/* ======================================= */
/* ====== RESPONSIVENESS CUSTOM FIXES ====== */
/* ======================================= */

/* Adjust large dropdown for smaller screens */
@media (min-width: 992px) and (max-width: 1200px) {
    .product-tab {
        padding: 0.75rem 0.5rem;
    }
}
@media (max-width: 991.98px) {
    /* Reset desktop positioning */
    .dropdown-lg .dropdown-menu {
        position: static;
        left: auto;
        transform: none;
        min-width: 100%;
        margin-top: 0.25rem;
        padding: 0.75rem;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        /* Hidden by default — Bootstrap JS adds .show to open */
        display: none;
    }

    /* Bootstrap 5 adds .show directly to .dropdown-menu on click */
    .dropdown-lg .dropdown-menu.show {
        display: block !important;
    }

    /* Suppress the desktop-only CSS hover trigger on mobile entirely */
    .dropdown.hover-dropdown:hover > .dropdown-menu:not(.show) {
        display: none !important;
    }

    .nav-item.dropdown .dropdown-toggle::before {
        display: inline-block;
        transform: translateY(-50%) rotate(0deg);
    }

    .product-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    .product-tab {
        width: auto;
        flex: 1;
        justify-content: center;
        padding: 0.65rem 0;
        gap: 0;
        max-width: 60px;
    }
    .product-tab-label {
        display: none;
    }
    .product-tab i {
        font-size: 1.4rem;
        margin: 0;
    }
    .product-content {
        padding: 1.5rem;
    }
    .hero-section::after {
        display: none;
    }

}





/* Mobile adjustments (Kept the same) */
@media (max-width: 767.98px) {
    .hero-text {
        text-align: center;
    }
    .hero-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .hero-partners {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-form-area h2, .contact-form-area p {
        text-align: center;
    }
    .contact-info-area h3 {
        text-align: center;
    }
    .contact-details ul {
        align-items: center;
    }
    .contact-details ul li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-details ul li i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    .social-icons {
        text-align: center;
    }
    .arch-row {
        flex-direction: column;
    }
    .arch-connector {
        display: none;
    }
    .arch-diagram {
        padding: 1.25rem;
    }
    .partners-cta-block {
        padding: 2rem 1.25rem;
    }
    .about-vision-panel {
        padding: 2rem 1.25rem;
    }
    .footer-bottom {
        text-align: center;
    }
}


/* ==========================================================
   NEW SECTIONS: Kiwify Labs Enterprise Website Extensions
   ========================================================== */

/* ── Accent text colour ── */
.text-accent { color: var(--color-green-accent) !important; }

/* ── HERO text refinements ── */
.hero-platform-statement {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 600;
    line-height: 1.55;
    color: var(--color-white);
    max-width: 580px;
    letter-spacing: -0.01em;
}
@media (max-width: 767.98px) {
    .hero-platform-statement { max-width: 100%; font-size: 1.15rem; }
}
.hero-tagline {
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-green-accent);
    opacity: 1;
}

/* ── ORANGE ACCENTS ── */

/* 1. Kiwi Launch product tab — orange active underline */
.product-tab[data-product="kiwi-launch-content"].active {
    color: var(--color-orange-accent);
    border-color: var(--color-orange-accent);
}
.product-tab[data-product="kiwi-launch-content"]:hover {
    color: var(--color-orange-accent);
}

/* 2. Kiwi Launch feature card icon colour already set via icon-kiwilaunch.
   Give the whole card a very faint orange left-border accent on hover */
#kiwi-launch-content .feature-card:hover {
    border-color: rgba(212, 114, 42, 0.45);
    box-shadow: 0 8px 24px rgba(212, 114, 42, 0.08);
}

/* 3. Automation & Provisioning capability cards — subtle orange icon */
.capability-card .cap-icon .bi-gear-wide-connected,
.capability-card .cap-icon .bi-toggle2-on {
    color: var(--color-orange-accent) !important;
}

/* 4. Section-eyebrow for Partners & About — a small warm orange dot prefix */
#partners .section-eyebrow::before,
#about .section-eyebrow::before {
    content: "●";
    font-size: 0.45rem;
    vertical-align: middle;
    margin-right: 0.45rem;
    color: var(--color-orange-accent);
    opacity: 0.8;
}

/* 5. Platform architecture — Kiwi Launch block label in orange */
.arch-launch-block .arch-label {
    color: var(--color-orange-accent);
    opacity: 0.85;
}

/* 6. Hero tagline — separator dots in green */
.hero-tagline-dot {
    color: var(--color-orange-accent);
    opacity: 0.9;
    margin: 0 0.55rem;
    font-size: 1.0rem;
    vertical-align: middle;
}

/* 7. Footer bottom border — thin orange-to-green gradient line */
.footer-bottom {
    border-top: 1px solid transparent;
    border-image: linear-gradient(
        to right,
        var(--color-orange-accent) 0%,
        var(--color-green-accent) 60%,
        transparent 100%
    ) 1;
}

/* 8. Stat number accent — alternate one stat in orange */
.stat-block:nth-child(2) .stat-number {
    color: var(--color-orange-accent);
}

/* ── Status & Layer Badges ── */
.badge-status {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    white-space: nowrap;
    vertical-align: middle;
}
.badge-preview {
    color: #c792ea;
    background-color: rgba(199, 146, 234, 0.12);
    border: 1px solid rgba(199, 146, 234, 0.4);
}
.badge-early {
    color: var(--color-orange-accent);
    background-color: rgba(237, 125, 49, 0.12);
    border: 1px solid rgba(237, 125, 49, 0.4);
}

/* ── Nav icon colours (new products) ── */
.dropdown-item.menu-item .icon-kiwilaunch    { color: var(--color-orange-accent) !important; }
.dropdown-item.menu-item .icon-kiwifoundation { color: var(--color-green-accent)  !important; }
.dropdown-item.menu-item .icon-kiwicli       { color: var(--color-green-accent)  !important; }

/* product tab icons */
.icon-kiwilaunch    { color: var(--color-orange-accent); }
.icon-kiwifoundation { color: var(--color-green-accent);  }
.icon-kiwicli       { color: var(--color-green-accent);  }

/* ── HERO extensions ── */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-green-accent);
    opacity: 0.9;
    margin-bottom: 1.25rem;
    /* Solid background — prevents dot grid from bleeding through */
    padding: 0.3rem 1rem;
    border: 1px solid rgba(212, 114, 42, 1);
    /* border: 1px solid rgba(114, 168, 48, 0.32); */
    border-radius: 999px;
    background-color: var(--color-dark);
}
.hero-partners .partner-logos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.partner-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-light-grey);
}

/* Hero visual orbit */
.hero-visual {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.orbit-node {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-mid-dark);
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--color-green-accent);
}
.on1 { top: -10px;  left: 50%; transform: translateX(-50%); }
.on2 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.on3 { left: -10px;  top: 50%; transform: translateY(-50%); }
.on4 { right: -10px; top: 50%; transform: translateY(-50%); }

/* ── CAPABILITIES SECTION ── */
.capabilities-section {
    padding: 5rem 0;
}
.capability-card {
    background-color: var(--color-mid-dark);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.capability-card:hover {
    border-color: rgba(114, 168, 48, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.cap-icon i {
    font-size: 2rem;
}
.capability-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.capability-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── PRODUCT CONTENT — new layout (no pricing) ── */
.product-layer-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-light-grey);
}
.product-status-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
}
.product-status-badge.preview {
    color: #c792ea;
    background-color: rgba(199, 146, 234, 0.15);
    border: 1px solid rgba(199, 146, 234, 0.4);
}
.product-status-badge.early {
    color: var(--color-orange-accent);
    background-color: rgba(237, 125, 49, 0.12);
    border: 1px solid rgba(237, 125, 49, 0.4);
}
.product-status-badge.oss {
    color: var(--color-green-accent);
    background-color: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.4);
}
.product-tagline {
    font-size: 1rem;
    font-style: italic;
}
.product-description-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-light-grey);
    max-width: 780px;
    margin: 0 auto;
}
.product-header { }

/* Feature Cards */
.feature-card {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(114, 168, 48, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.feature-card-oss {
    border-style: dashed;
}

/* ── Kiwi ORM — structured layout elements ── */

/* Section group label row */
.orm-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.orm-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-border), transparent);
}
.orm-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-light-grey);
    white-space: nowrap;
}

/* Model cards — subtle top accent line to distinguish from capability cards */
.feature-card-model {
    border-top: 2px solid rgba(114, 168, 48, 0.4);
}
.feature-card-model:hover {
    border-top-color: var(--color-green-accent);
}

/* "Model 1/2/3" badge inside the card header */
.orm-model-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-green-accent);
    background-color: rgba(114, 168, 48, 0.10);
    border: 1px solid rgba(114, 168, 48, 0.28);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    white-space: nowrap;
}

/* Subtle emphasis for "cross-database Markup DSL" inline text */
.text-subtle {
    color: var(--color-white);
    font-weight: 600;
}

/* ── Kiwi Distro — Big Picture image ── */
.distro-bigpicture-wrap {
    margin-top: 1rem;
}
.distro-bigpicture-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.distro-bigpicture-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-border), transparent);
}
.distro-bigpicture-frame {
    border: 1px solid rgba(212, 114, 42, 0.3);
    border-left: 3px solid var(--color-orange-accent);
    border-radius: 10px;
    background: linear-gradient(135deg, #221f1a, #1e2420);
    line-height: 1.6;
}
.distro-bp-icon {
    font-size: 1.8rem;
    color: var(--color-orange-accent);
    opacity: 0.9;
    flex-shrink: 0;
}
.distro-bp-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}
.distro-bigpicture-img {
    width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.distro-bp-img-wrap:hover .distro-bigpicture-img {
    transform: scale(1.015);
}

/* ── Compliance Auditing enterprise block ── */
.orm-audit-block {
    background: linear-gradient(135deg, #221f1a, #1e2420);
    border: 1px solid rgba(212, 114, 42, 0.3);
    border-left: 3px solid var(--color-orange-accent);
    border-radius: 10px;
}
.orm-audit-icon {
    font-size: 2rem;
    color: var(--color-orange-accent);
    opacity: 0.9;
    flex-shrink: 0;
}
.orm-commercial-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-orange-accent);
    background-color: rgba(212, 114, 42, 0.12);
    border: 1px solid rgba(212, 114, 42, 0.35);
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    white-space: nowrap;
}
.orm-compliance-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-light-grey);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}
.orm-audit-point {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 114, 42, 0.15);
    border-radius: 8px;
    transition: border-color 0.25s;
}
.orm-audit-point:hover {
    border-color: rgba(212, 114, 42, 0.38);
}
.orm-audit-point strong {
    font-size: 0.88rem;
    color: var(--color-white);
}

/* Pipeline callout bar */
.orm-pipeline-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-dark);
    font-size: 0.82rem;
    color: var(--color-light-grey);
    letter-spacing: 0.02em;
    text-align: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.feature-card-highlight {
    background: linear-gradient(135deg, var(--color-mid-dark), #1f2822);
    border: 1px solid rgba(114, 168, 48, 0.2);
}
.feature-icon {
    font-size: 1.75rem;
}
.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.88rem;
    line-height: 1.65;
}
.product-cta-row {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ── PLATFORM ARCHITECTURE ── */
.platform-section { padding: 5rem 0; }

.arch-diagram {
    max-width: 860px;
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
}

.arch-layer-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-light-grey);
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
}
.arch-tier-badge {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    border: 1px solid var(--color-border);
    color: var(--color-light-grey);
}
.arch-tier-oss { border-color: rgba(139, 195, 74, 0.4); color: var(--color-green-accent); }

.arch-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.arch-cli-row .arch-block {
    border-color: rgba(114, 168, 48, 0.35);
    background: linear-gradient(135deg, rgba(114, 168, 48, 0.04), transparent);
}

.arch-block {
    flex: 1;
    background-color: var(--color-mid-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.arch-block strong {
    font-size: 1rem;
    display: block;
}
.arch-label {
    font-size: 0.78rem;
    color: var(--color-green-accent);
    display: block;
}
.arch-block-desc {
    font-size: 0.72rem;
    color: var(--color-light-grey);
    display: block;
    margin-top: 0.4rem;
    line-height: 1.4;
    font-weight: 400;
}
.arch-sublabel {
    font-size: 0.72rem;
    color: var(--color-light-grey);
    display: block;
    line-height: 1.5;
}
.arch-distro-block { border-color: rgba(58, 127, 193, 0.4); }
.arch-launch-block { border-color: rgba(212, 114, 42, 0.4); }
.arch-orm-block    { border-color: rgba(114, 168, 48, 0.35); }
.arch-foundation-block { border-color: rgba(114, 168, 48, 0.25); border-style: dashed; }

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-border);
    padding: 0 0.25rem;
    flex-shrink: 0;
}

.arch-targets {
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    text-align: center;
}
.arch-target-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-light-grey);
    margin-bottom: 0.75rem;
}
.arch-targets-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.arch-target {
    padding: 0.25rem 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--color-light-grey);
}

/* ── SOLUTIONS ── */
.solution-tag {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-green-accent);
    opacity: 0.8;
}
.usecase-1 { background-color: rgba(0, 112, 192, 0.2); color: #5ba4e0; }
.usecase-2 { background-color: rgba(156, 39, 176, 0.2); color: #ce93d8; }
.usecase-3 { background-color: rgba(237, 125, 49, 0.2); color: var(--color-orange-accent); }
.usecase-4 { background-color: rgba(139, 195, 74, 0.2); color: var(--color-green-accent); }
.usecase-5 { background-color: rgba(0, 112, 192, 0.2); color: #5ba4e0; }
.usecase-6 { background-color: rgba(76, 175, 80, 0.2); color: #81c784; }

/* ── OPEN SOURCE ── */
.opensource-section { padding: 5rem 0; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-green-accent);
    opacity: 0.8;
    margin-bottom: 0.75rem;
}
.oss-repos-panel {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}
.repo-item {
    background-color: var(--color-mid-dark);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: border-color 0.25s;
}
.repo-item:hover { border-color: var(--color-green-accent); }
.repo-coming-soon {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-light-grey);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── PARTNERS ── */
.partners-section { padding: 5rem 0; }
.partner-benefit-card {
    background-color: var(--color-mid-dark);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.partner-benefit-card:hover {
    border-color: rgba(114, 168, 48, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.partner-benefit-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.partners-cta-block {
    background: linear-gradient(135deg, var(--color-mid-dark), #202824);
    border: 1px solid rgba(114, 168, 48, 0.22);
    border-radius: 12px;
}

/* ── ABOUT ── */
.about-section { padding: 5rem 0; }
.stat-block {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-green-accent);
    display: block;
}
.about-vision-panel {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}
.vision-quote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.75;
    color: #c8d6c0;           /* slightly muted — not full white */
    padding-left: 1.5rem;
    border-left: 3px solid rgba(114, 168, 48, 0.55);
    margin: 0;
}
.vision-pillar h5 { font-size: 0.95rem; font-weight: 600; }

/* ── CONTACT extensions ── */
.contact-access-info {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}
.preview-dot { background-color: #c792ea; }
.early-dot   { background-color: var(--color-orange-accent); }
.oss-dot     { background-color: var(--color-green-accent); }

/* ── FOOTER ── */
.site-footer {
    background-color: var(--color-mid-dark);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}
.footer-logo { height: 40px; width: auto; }
.footer-tagline { font-style: italic; }
.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-light-grey);
    margin-bottom: 1rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    font-size: 0.88rem;
    color: var(--color-light-grey);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-green-accent) !important; }
.footer-main { margin-bottom: 3rem; }
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}
.footer-bottom p { margin: 0; }