/* ================================================================
   Coreva Platform - Public Landing Page Styles
   Brand Identity: Controlled Stability (Direction A - Pure Authority)
   Design System v3 — Inter font, gradient CTAs, section visuals
   ================================================================ */

:root {
    /* ── Core Brand Palette ───────────────────────────────────────── */
    --color-primary:         #0F172A;
    --color-secondary:       #334155;
    --color-base:            #FFFFFF;
    --color-accent:          #14B8A6;
    --color-icon-stroke:     #2FB7EC;

    /* ── Text Tokens ─────────────────────────────────────────────── */
    --color-text-primary:    #0F172A;
    --color-text-secondary:  #334155;
    --color-text-light:      #94a3b8;
    --color-border:          #e2e8f0;
    --color-divider:         #cbd5e1;

    /* ── Gradient Accents ─────────────────────────────────────────── */
    --gradient-accent:   linear-gradient(135deg, #2FB7EC 0%, #14B8A6 100%);
    --gradient-accent-h: linear-gradient(90deg,  #2FB7EC 0%, #14B8A6 100%);

    /* ── Typography (Inter — primary SaaS brand font) ─────────────── */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-weight-normal:   400;
    --font-weight-medium:   500;
    --font-weight-semibold: 600;
    --font-weight-bold:     700;

    /* ── Spacing ──────────────────────────────────────────────────── */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* ── Radius / Shadow ─────────────────────────────────────────── */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow-xs: 0 1px  3px rgba(15,23,42,0.06);
    --shadow-sm: 0 2px  8px rgba(15,23,42,0.08);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.10);
    --shadow-lg: 0 8px 32px rgba(15,23,42,0.14);
}

/* ================================================================
   Base Reset & Smooth Scroll
   ================================================================ */

html {
    scroll-behavior: smooth;
}

/* ================================================================
   Base Typography
   ================================================================ */

body {
    font-family: var(--font-family-base);
    color: var(--color-text-primary);
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

/* ================================================================
   Navigation Bar
   ================================================================ */

.navbar-coreva {
    background-color: var(--color-primary) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.navbar-coreva .navbar-brand {
    color: var(--color-base) !important;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.coreva-logo    { height: 24px; width: auto; display: inline-block; vertical-align: middle; }
.coreva-logo-sm { height: 18px; width: auto; display: inline-block; vertical-align: middle; }
.coreva-logo-lg { height: 32px; width: auto; display: inline-block; vertical-align: middle; }

.navbar-coreva .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
    padding-left:  0.875rem !important;
    padding-right: 0.875rem !important;
}

.navbar-coreva .nav-link:hover,
.navbar-coreva .nav-link:focus { color: #ffffff !important; }

.navbar-coreva .nav-link.active {
    color: var(--color-base) !important;
    border-bottom: 2px solid var(--color-icon-stroke);
}

/* ── Mobile Toggler ──────────────────────────────────────────── */
.navbar-coreva .navbar-toggler {
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.30) !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    color: #22D3EE;
}

.navbar-coreva .navbar-toggler:hover,
.navbar-coreva .navbar-toggler:focus {
    background: rgba(34, 211, 238, 0.20);
    border-color: rgba(34, 211, 238, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
    outline: none;
}

.navbar-coreva .navbar-toggler:active {
    background: rgba(34, 211, 238, 0.28);
}

.navbar-coreva .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2322D3EE' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

/* ================================================================
   Buttons — Gradient Primary
   ================================================================ */

.btn-coreva-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--color-base);
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(20,184,166,0.30);
}

.btn-coreva-primary:hover,
.btn-coreva-primary:focus {
    opacity: 0.90;
    color: var(--color-base);
    box-shadow: 0 4px 16px rgba(20,184,166,0.40);
    transform: translateY(-1px);
}

.btn-coreva-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-coreva-secondary:hover,
.btn-coreva-secondary:focus {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-base);
}

/* Ghost button for dark hero backgrounds */
.btn-hero-ghost {
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.btn-hero-ghost:hover,
.btn-hero-ghost:focus {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.60);
    color: #ffffff;
}

/* ================================================================
   Hero Section — full-bleed marketing image
   ================================================================ */

.hero-section {
    position: relative;
    background-image: url('/images/coreva-marketing/hero.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: var(--spacing-xl) 0;
    min-height: 580px;
    display: flex;
    align-items: center;
    /* Dark overlay so text stays legible over any image */
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(15,23,42,0.95) 0%,
        rgba(15,23,42,0.92) 55%,
        rgba(15,23,42,0.88) 100%);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* Hero badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(47,183,236,0.14);
    border: 1px solid rgba(47,183,236,0.35);
    color: #7DD3FC;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    line-height: 1.1;
}

.hero-lead {
    color: rgba(255,255,255,0.88);
    font-size: 1.25rem;
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
}

/* Trust indicator row below hero CTAs */
.hero-trust-item {
    color: rgba(255,255,255,0.68);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

/* Hero dashboard preview image */
.hero-dashboard-img {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
}

/* ================================================================
   Sections
   ================================================================ */

.section-primary {
    background-color: var(--color-base);
    padding: var(--spacing-xl) 0;
}

.section-secondary {
    background-color: #f8fafc;
    padding: var(--spacing-xl) 0;
}

.section-title {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    font-weight: var(--font-weight-normal);
}

/* Small all-caps eyebrow label above section headings */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-icon-stroke);
    margin-bottom: 0.625rem;
}

/* ================================================================
   Feature Benefits Section
   ================================================================ */

.feature-benefit-card {
    background-color: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: var(--shadow-xs);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-benefit-card:hover {
    border-color: var(--color-icon-stroke);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-benefit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #f1f5f9;
}

.feature-benefit-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(47,183,236,0.25);
    flex-shrink: 0;
}

.feature-benefit-icon img.ci {
    filter: brightness(0) invert(1);
}

.feature-benefit-title {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.feature-benefit-text {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    flex: 1;
}

/* ================================================================
   Trust / Statistics Section
   ================================================================ */

.trust-section {
    background: var(--gradient-accent);
    padding: 3rem 0;
}

.stat-counter-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-counter-label {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.82);
}

/* ================================================================
   Product Cards — elevated with accent line
   ================================================================ */

.card-coreva {
    background-color: var(--color-base);
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.card-coreva::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent-h);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card-coreva:hover {
    border-color: var(--color-icon-stroke) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-coreva:hover::after { opacity: 1; }

.card-coreva .card-body   { display: flex; flex-direction: column; flex: 1; }
.card-coreva .card-title  { color: var(--color-primary); font-weight: var(--font-weight-semibold); }
.card-coreva .card-text   { color: var(--color-text-secondary); line-height: 1.6; flex: 1; min-height: 4rem; }
.card-coreva .card-action { margin-top: auto; padding-top: 1rem; }

/* Product card header – replaces static per-product images */
.card-product-header {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1rem 1.25rem;
}

.card-product-name {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    user-select: none;
}

/* ================================================================
   Pricing Cards
   ================================================================ */

.pricing-card {
    background-color: var(--color-base);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-xs);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--color-icon-stroke);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--color-accent);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

/* "Most Popular" badge anchored to top of featured card */
.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    white-space: nowrap;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.pricing-title  { color: var(--color-primary); font-weight: var(--font-weight-bold); margin-bottom: 0.5rem; }
.pricing-price  { font-size: 2.5rem; font-weight: var(--font-weight-bold); color: var(--color-primary); margin-bottom: 0.25rem; }
.pricing-period { color: var(--color-text-secondary); font-size: 0.875rem; }
.pricing-features { padding: 2rem; flex: 1; }
.pricing-features ul { list-style: none; padding: 0; margin: 0; }

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

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

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--gradient-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") center/contain no-repeat;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.pricing-footer { padding: 2rem; padding-top: 0; }

/* ================================================================
   Feature Icon Containers — values section
   ================================================================ */

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(47,183,236,0.25);
    flex-shrink: 0;
}

.feature-icon-wrap img.ci {
    filter: brightness(0) invert(1);
}

/* ================================================================
   Section with background image — CTA / features
   ================================================================ */

.section-cta {
    position: relative;
    background-image: url('/images/coreva-marketing/cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xl) 0;
    isolation: isolate;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.72);
    z-index: 0;
}

.section-cta > .container { position: relative; z-index: 1; }
.section-cta .section-title { color: #ffffff; }
.section-cta .section-subtitle { color: rgba(255,255,255,0.80); }

/* ================================================================
   Footer
   ================================================================ */

.footer-coreva {
    background-color: var(--color-primary);
    color: rgba(255,255,255,0.85);
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover { color: #ffffff; text-decoration: underline; }

/* ================================================================
   Icons / SVG
   ================================================================ */

.icon-primary   { color: var(--color-primary); }
.icon-accent    { color: var(--color-accent); }
.icon-secondary { color: var(--color-secondary); }

/* ================================================================
   Social Media Links
   ================================================================ */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-secondary);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.social-icon:hover,
.social-icon:focus {
    color: var(--color-icon-stroke);
    border-color: var(--color-icon-stroke);
    box-shadow: 0 0 0 3px rgba(47,183,236,0.12);
    transform: translateY(-2px);
}

/* ================================================================
   Final CTA Section — strong conversion block
   ================================================================ */

.section-final-cta {
    position: relative;
    background-image: url('/images/coreva-marketing/cta-demo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    isolation: isolate;
    text-align: center;
}

.section-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,23,42,0.93) 0%,
        rgba(15,23,42,0.80) 100%
    );
    z-index: 0;
}

.section-final-cta > .container {
    position: relative;
    z-index: 1;
}

.final-cta-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.final-cta-subtitle {
    color: rgba(255,255,255,0.80);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   Scroll Reveal Animation
   ================================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger siblings */
.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.20s; }

/* ================================================================
   Responsive Adjustments
   ================================================================ */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-title      { font-size: 2.25rem; }
    .hero-lead       { font-size: 1.0625rem; }

    .section-primary,
    .section-secondary { padding: 3rem 0; }

    .section-final-cta  { padding: 3.5rem 0; }
    .final-cta-title    { font-size: 2rem; }

    .stat-counter-value { font-size: 2rem; }
}

@media (max-width: 575.98px) {
    .hero-title         { font-size: 1.875rem; }
    .trust-section      { padding: 2rem 0; }
    .stat-counter-value { font-size: 1.75rem; }
    .pricing-price      { font-size: 2rem; }
    .final-cta-title    { font-size: 1.75rem; }
}

/* ================================================================
   Utility Classes
   ================================================================ */

.text-primary-coreva   { color: var(--color-primary) !important; }
.text-secondary-coreva { color: var(--color-text-secondary) !important; }
.text-muted-coreva     { color: var(--color-text-light) !important; }
.bg-primary-coreva     { background-color: var(--color-primary) !important; }
.bg-secondary-coreva   { background-color: #f8fafc !important; }
.border-coreva         { border-color: var(--color-border) !important; }
.divider-coreva        { border-top: 1px solid var(--color-divider); }

/* ================================================================
   Focus States
   ================================================================ */

a:focus,
button:focus,
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--color-icon-stroke);
    outline-offset: 2px;
}

/* ================================================================
   Smooth Scrolling
   ================================================================ */

html { scroll-behavior: smooth; }

/* ================================================================
   Platform Icon sizes
   ================================================================ */

.platform-icon    { height: 32px; width: 32px; display: inline-block; vertical-align: middle; }
.platform-icon-sm { height: 24px; width: 24px; display: inline-block; vertical-align: middle; }
.platform-icon-xs { height: 16px; width: 16px; display: inline-block; vertical-align: middle; }
.platform-icon-lg { height: 48px; width: 48px; display: inline-block; vertical-align: middle; }
.platform-icon-xl { height: 64px; width: 64px; display: inline-block; vertical-align: middle; }

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 768px) {
    .hero-title     { font-size: 2rem; }
    .section-title  { font-size: 1.75rem; }
    .pricing-price  { font-size: 2rem; }

    .hero-section {
        background-position: 65% center;
        padding: 3rem 0;
    }
}


/* ================================================================
   HERO v2 — Split layout, floating stat cards, grid overlay
   ================================================================ */

/* Grid overlay pattern */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47,183,236,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,183,236,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    pointer-events: none;
}

.hero-container { position: relative; z-index: 1; }

/* Gradient accent word in headline */
.hero-title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero CTA primary — slightly larger glow */
.hero-cta-primary {
    box-shadow: 0 0 0 0 rgba(47,183,236,0.40);
    animation: hero-cta-pulse 2.8s ease-in-out infinite;
}

@keyframes hero-cta-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(20,184,166,0.40); }
    50%       { box-shadow: 0 4px 30px rgba(47,183,236,0.55); }
}

/* Trust bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.68);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.hero-trust-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(60%)
            saturate(400%) hue-rotate(120deg);
    opacity: 0.85;
}

.hero-trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.20);
    flex-shrink: 0;
}

/* Right panel — container for dashboard + floating cards */
.hero-right-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 360px;
    /* padding absorbs the negative-offset absolute stat cards so they
       stay inside the column and never get clipped by the gutter */
    padding: 28px 36px;
}

/* Subtle fallback background — visible during image load and on tablet */
.hero-right-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg,
        rgba(34, 211, 238, 0.05) 0%,
        rgba(20, 184, 166, 0.07) 100%);
    border: 1px solid rgba(34, 211, 238, 0.12);
    pointer-events: none;
    z-index: 0;
}

/* Dashboard image */
.hero-dashboard-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.10);
}

/* Decorative glow ring */
.hero-glow-ring {
    position: absolute;
    inset: -20px;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse at 50% 50%,
        rgba(47,183,236,0.14) 0%,
        transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Floating stat cards */
.hero-stat-card {
    position: absolute;
    z-index: 3;
    background: rgba(15,23,42,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(47,183,236,0.25);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    animation: hero-card-float 4s ease-in-out infinite;
}

.hero-stat-card--tl {
    top: -18px;
    left: -24px;
    animation-delay: 0s;
}

.hero-stat-card--br {
    bottom: -18px;
    right: -24px;
    animation-delay: 2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes hero-card-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

.hero-stat-card__value {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    line-height: 1.1;
}

.hero-stat-card__label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.60);
    font-weight: var(--font-weight-medium);
    margin-top: 0.125rem;
}

.hero-stat-icon {
    filter: brightness(0) saturate(100%) invert(60%) sepia(80%)
            saturate(400%) hue-rotate(155deg);
    flex-shrink: 0;
}

/* Bottom fade into next section */
.hero-bottom-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(15,23,42,0.25));
    pointer-events: none;
}

/* ================================================================
   ENTERPRISE PRICING CARD — Premium dark premium treatment
   ================================================================ */

.pricing-card--enterprise {
    background: linear-gradient(160deg, #0c1a2e 0%, #0f172a 50%, #0a1628 100%) !important;
    border: 1.5px solid transparent !important;
    background-clip: padding-box;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 0 1.5px rgba(47,183,236,0.40),
                0 20px 60px rgba(15,23,42,0.60),
                inset 0 1px 0 rgba(255,255,255,0.06) !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.pricing-card--enterprise:hover {
    box-shadow: 0 0 0 2px rgba(47,183,236,0.70),
                0 28px 72px rgba(15,23,42,0.70),
                0 0 60px rgba(47,183,236,0.12),
                inset 0 1px 0 rgba(255,255,255,0.08) !important;
    transform: translateY(-6px) !important;
}

/* Animated radial glow behind the card */
.enterprise-glow-bg {
    position: absolute;
    top: -40px; left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(ellipse,
        rgba(47,183,236,0.15) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: enterprise-glow-pulse 3s ease-in-out infinite;
}

@keyframes enterprise-glow-pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1.0; transform: translateX(-50%) scale(1.1); }
}

/* Enterprise card header */
.enterprise-header {
    background: linear-gradient(160deg,
        rgba(47,183,236,0.10) 0%,
        rgba(20,184,166,0.06) 100%);
    border-bottom: 1px solid rgba(47,183,236,0.15) !important;
    position: relative;
    z-index: 1;
}

/* Icon wrap */
.enterprise-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(47,183,236,0.35);
}

/* Price text */
.enterprise-price {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem !important;
}

/* Feature list on dark background */
.enterprise-features {
    position: relative;
    z-index: 1;
}

.enterprise-features li {
    color: rgba(255,255,255,0.75) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

.enterprise-features li::before {
    background: var(--gradient-accent) !important;
}

/* CTA button — gradient full */
.btn-enterprise-cta {
    background: var(--gradient-accent);
    border: none;
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 16px rgba(47,183,236,0.35);
    position: relative;
    z-index: 1;
}

.btn-enterprise-cta:hover {
    opacity: 0.90;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(47,183,236,0.50);
    transform: translateY(-1px);
}

/* Bottom note */
.enterprise-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.40);
    margin: 0.625rem 0 0;
    position: relative;
    z-index: 1;
}

/* ================================================================
   NAVBAR ICON — ensure brand icon + wordmark align cleanly
   ================================================================ */

.navbar-brand.d-flex { gap: 0.5rem !important; }
.navbar-brand img[width="28"] {
    box-shadow: 0 0 10px rgba(47,183,236,0.35);
}
