/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* AOS Library CSS */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
    /* Ultra-Premium Dark Theme */
    --bg-color: #050505;
    --bg-card: rgba(15, 15, 20, 0.6);
    --bg-card-hover: rgba(25, 25, 35, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-color: #00f0ff; /* Cyber Blue */
    --accent-secondary: #ff5e00; /* Neon Orange */
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(0, 240, 255, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #0a0a0f 0%, #000000 100%);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.4);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
}

/* Hero Section */
.hero, .inner-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem;
}

.inner-hero {
    min-height: 60vh;
}

.hero-content {
    max-width: 900px;
}

.hero-subtitle {
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Data Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid (Glowing Cards) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Glowing Border Effect on Hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 94, 0, 0.1));
    border-color: rgba(0, 240, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Vendor Grid */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.vendor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-decoration: none;
    color: var(--text-primary);
}

.vendor-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-5px);
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

/* Timeline (About Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--bg-card);
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 94, 0, 0.1);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

/* Forms */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 2rem 2rem;
    background: rgba(5, 5, 5, 0.9);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Lifecycle Engineering */
.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.lifecycle-step {
    text-align: center;
    padding: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.lifecycle-step:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.05);
}

.lifecycle-icon {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 21px;
    }
    .timeline-right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 3rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .contact-container {
        padding: 2rem;
    }
}

/* Logo styles */
.vendor-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.vendor-card {
    flex-direction: column;
}

.hero-vendor-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- V3 Polish & Accessibility Additions --- */

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}
.btn:focus-visible {
    outline-offset: 4px;
    border-radius: 30px;
}
.nav-link:focus-visible {
    outline: none;
    color: var(--accent-color);
}
.nav-link:focus-visible::after {
    width: 100%;
}

/* Button Micro-interactions */
.btn:active {
    transform: scale(0.96) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Navigation Overlay */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links .nav-link {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hamburger Animation to X */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-container .btn-primary {
        display: none; /* Hide 'Get Started' on very small screens to make room for hamburger, or move it inside nav */
    }
}

/* --- Ultra Premium Effects --- */

/* Custom Glowing Cursor */
body {
    cursor: none; /* Hide default cursor */
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-secondary);
    transition: transform 0.15s ease-out, background 0.2s, border 0.2s;
    transform: translate(-50%, -50%);
}

.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-secondary);
}

/* Gradient Text Shimmer Animation */
@keyframes textShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.gradient-text {
    background-size: 200% auto;
    animation: textShine 5s linear infinite;
}

/* Base transition for the new 3D tilt cards to smoothly return */
.service-card, .stat-card, .vendor-card, .timeline-content {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    will-change: transform;
}

/* --- GDPR Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--accent-color);
    color: #000;
}

.cookie-btn-accept:hover {
    box-shadow: 0 0 15px var(--accent-color);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Trusted Badges Section */
.trusted-badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.trusted-badges-container:hover {
    opacity: 1;
}
.trusted-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.trusted-badge img {
    height: 30px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}
.trusted-badge:hover img {
    filter: grayscale(0%) brightness(100%);
}

/* =========================================
   V4 ULTRA-FUTURISTIC OVERHAUL
   ========================================= */

/* 1. System Boot-Up Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #050505;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.loader-terminal {
    font-family: monospace;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-align: left;
    width: 300px;
}
.loader-terminal::after {
    content: '_';
    animation: blink 0.5s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

/* 2. Holographic Glitch Typography */
.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(11px, 9999px, 86px, 0); transform: skew(0.5deg); }
    5% { clip: rect(61px, 9999px, 8px, 0); transform: skew(0.5deg); }
    10% { clip: rect(98px, 9999px, 66px, 0); transform: skew(0.2deg); }
    15% { clip: rect(31px, 9999px, 12px, 0); transform: skew(0.5deg); }
    20% { clip: rect(14px, 9999px, 87px, 0); transform: skew(0.8deg); }
    25% { clip: rect(0px, 0px, 0px, 0px); transform: skew(0deg); }
    100% { clip: rect(0px, 0px, 0px, 0px); transform: skew(0deg); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); transform: skew(0.8deg); }
    5% { clip: rect(2px, 9999px, 45px, 0); transform: skew(0.2deg); }
    10% { clip: rect(33px, 9999px, 21px, 0); transform: skew(0.5deg); }
    15% { clip: rect(89px, 9999px, 44px, 0); transform: skew(0.5deg); }
    20% { clip: rect(14px, 9999px, 87px, 0); transform: skew(0.8deg); }
    25% { clip: rect(0px, 0px, 0px, 0px); transform: skew(0deg); }
    100% { clip: rect(0px, 0px, 0px, 0px); transform: skew(0deg); }
}

/* 3. Rotating Neon Borders for Cards */
.service-card, .vendor-card {
    position: relative;
    overflow: hidden;
}
.service-card::before, .vendor-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent-color));
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.service-card:hover::before, .vendor-card:hover::before {
    opacity: 1;
}
.service-card::after, .vendor-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(15, 15, 20, 0.95);
    border-radius: 19px; /* 1px less than outer */
    z-index: 1;
}
/* Ensure content sits above the pseudo elements */
.service-card > *, .vendor-card > * {
    position: relative;
    z-index: 2;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* =========================================
   CUSTOM AI CHATBOT UI
   ========================================= */
#ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}
#chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #ff00c1);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#chat-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}
#chat-window {
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}
#chat-window.chat-hidden {
    opacity: 0;
    transform: scale(0.5) translateY(100px);
    pointer-events: none;
}
.chat-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}
.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff64;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff64;
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
#chat-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}
#chat-close:hover { color: #fff; }
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    animation: popIn 0.3s ease forwards;
}
@keyframes popIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-top-left-radius: 4px;
}
.user-message {
    background: var(--accent-color);
    color: #000;
    align-self: flex-end;
    border-top-right-radius: 4px;
}
.chat-footer {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}
#chatInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}
#chatInput:focus { border-color: var(--accent-color); }
#chatSend {
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}
#chatSend:hover { transform: scale(1.05); }
.typing-indicator span {
    animation: typingBounce 1.4s infinite ease-in-out both;
    font-size: 1.5rem;
    line-height: 0.5;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chatbot Mobile Responsiveness */
@media (max-width: 480px) {
    #ai-chat-widget {
        right: 15px;
        bottom: 15px;
    }
    #chat-window {
        width: calc(100vw - 30px);
        height: 60vh;
    }
    .cookie-banner {
        max-width: calc(100vw - 40px);
    }
}

/* =========================================
   CLIENT INTELLIGENCE ENGINE (RECOMMENDATIONS)
   ========================================= */
.service-card.recommended-glow {
    position: relative;
    border: 2px solid #00ff64;
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.4), inset 0 0 20px rgba(0, 255, 100, 0.1);
    transform: translateY(-10px);
    z-index: 10;
    animation: intelligencePulse 3s infinite alternate;
}

@keyframes intelligencePulse {
    0% { box-shadow: 0 0 20px rgba(0, 255, 100, 0.3), inset 0 0 10px rgba(0, 255, 100, 0.1); }
    100% { box-shadow: 0 0 40px rgba(0, 255, 100, 0.6), inset 0 0 20px rgba(0, 255, 100, 0.2); }
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(90deg, #00ff64, #00d2ff);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 255, 100, 0.5);
    z-index: 11;
    animation: badgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* =========================================
   V5 PHASE 1: LIGHT MODE & NAVBAR CONTROLS
   ========================================= */

/* Light Mode Overrides */
body.light-mode {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #ff5722;
    --accent-hover: #e64a19;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .navbar {
    background: rgba(248, 250, 252, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .logo,
body.light-mode .nav-link,
body.light-mode .hero-title,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 {
    color: var(--text-primary);
}

body.light-mode .blob-bg {
    opacity: 0.3; /* Soften blobs in light mode */
}

/* Navbar Controls (Theme & Lang) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}
body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-selector {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}
.lang-selector:focus {
    border-color: var(--accent-color);
}
body.light-mode .lang-selector option {
    background: #fff;
    color: #000;
}

/* =========================================
   V6: SOFTWAREONE-INSPIRED ENHANCEMENTS
   ========================================= */

/* Service Delivery Tiers (Advisory → Professional → Managed) */
.service-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.tier-card:hover::before {
    opacity: 1;
}

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tier-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.tier-label.advisory {
    color: var(--accent-color);
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.tier-label.professional {
    color: var(--accent-secondary);
    border: 1px solid rgba(255, 94, 0, 0.3);
    background: rgba(255, 94, 0, 0.05);
}

.tier-label.managed {
    color: #00ff64;
    border: 1px solid rgba(0, 255, 100, 0.3);
    background: rgba(0, 255, 100, 0.05);
}

.tier-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Vendor Logo Strip (inline on service pages) */
.vendor-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vendor-strip-title {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.vendor-strip img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.vendor-strip img:hover {
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.15);
}

/* Delivery Model Section (How We Deliver) */
.delivery-model {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.delivery-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.delivery-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.delivery-step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.delivery-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.delivery-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Global Presence / Stats Highlights */
.presence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.presence-card {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.presence-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.03);
}

.presence-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.presence-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Footer (4-column + Marketplace) */
.footer-content-enhanced {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-content-enhanced {
        grid-template-columns: 1fr 1fr;
    }
    .service-tiers {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content-enhanced {
        grid-template-columns: 1fr;
    }
    .delivery-model {
        grid-template-columns: 1fr;
    }
}

/* Text Accent Utility */
.text-accent {
    color: var(--accent-color);
}

/* Customer Logos Strip */
.customer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.customer-logos:hover {
    opacity: 1;
}

.customer-logos img {
    height: 35px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.customer-logos img:hover {
    filter: grayscale(0%) brightness(100%);
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Industry Cards (for industry solutions page) */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 35px rgba(255, 94, 0, 0.1);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.industry-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.industry-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-weight: 600;
}

/* ==========================================================================
   Ultra-Premium Additions (ROI Calculator, Filters, Glassmorphism)
   ========================================================================== */

/* Glassmorphism Enhancements */
.navbar {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(10, 10, 15, 0.7);
}

.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
.light-mode ::-webkit-scrollbar-track {
    background: var(--light-bg);
}
.light-mode ::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.3);
}
.light-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--light-accent);
}

/* ROI Calculator */
.roi-calculator {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}
.light-mode .roi-calculator {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.roi-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.roi-results {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.light-mode .roi-results {
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.2);
}
.roi-results h3 {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.light-mode .roi-results h3 {
    color: var(--light-text-secondary);
}
.savings-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.light-mode .savings-amount {
    color: var(--light-accent);
    text-shadow: none;
}
.savings-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.light-mode .savings-note {
    color: var(--light-text-secondary);
}
.form-group input[type="range"] {
    width: 100%;
    margin-top: 1rem;
    accent-color: var(--accent-color);
}
.light-mode .form-group input[type="range"] {
    accent-color: var(--light-accent);
}
.range-value {
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 0.5rem;
}
.light-mode .range-value {
    color: var(--light-accent);
}

@media (max-width: 768px) {
    .roi-calculator {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

/* Marketplace Filter Chips */
.filter-chip {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.filter-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.filter-chip.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}
.light-mode .filter-chip {
    background: #f0f4f8;
    border-color: #d1d9e6;
    color: var(--light-text-secondary);
}
.light-mode .filter-chip:hover {
    background: #e2e8f0;
    color: var(--light-text);
}
.light-mode .filter-chip.active {
    background: var(--light-accent);
    color: #fff;
    border-color: var(--light-accent);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}
.fab-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #0099ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: pulse 2s infinite;
}
.fab-btn:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 15px 25px rgba(0, 240, 255, 0.5);
}
.light-mode .fab-btn {
    background: linear-gradient(135deg, var(--light-accent), #005bb5);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}
.light-mode .fab-btn:hover {
    box-shadow: 0 15px 25px rgba(0, 102, 204, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(0, 240, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}
.light-mode @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(0, 102, 204, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

/* ==========================================================================
   Product Detail Page & Verified Support Hub Styles
   ========================================================================== */
.product-hero-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-hero-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.08);
}

.copy-action-btn {
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
}
.copy-action-btn:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #fff !important;
}

.channel-quick-link:hover {
    text-decoration: underline !important;
    color: #fff !important;
}

.specs-custom-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Light mode styles for Product Detail */
.light-mode .product-hero-card,
.light-mode .product-overview-card,
.light-mode .product-specs-card,
.light-mode .rfq-box {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.light-mode .product-hero-card #prodName,
.light-mode .product-overview-card h2,
.light-mode .product-specs-card h2,
.light-mode .rfq-box h3 {
    color: #1a1a24 !important;
}

.light-mode .verified-support-card {
    background: linear-gradient(145deg, rgba(0, 102, 204, 0.06) 0%, #ffffff 100%) !important;
    border-color: rgba(0, 102, 204, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08) !important;
}

.light-mode .verified-support-card h3 {
    color: #1a1a24 !important;
}

.light-mode .support-channel-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.light-mode #prodSupportPhone,
.light-mode #prodSupportEmail {
    color: #0f172a !important;
}

.light-mode .specs-custom-table td {
    color: #334155 !important;
}
.light-mode .specs-custom-table tr {
    border-bottom-color: #e2e8f0 !important;
}

.light-mode .rfq-box input,
.light-mode .rfq-box textarea {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Responsive adjustments for Product Details */
@media (max-width: 992px) {
    .product-grid-layout {
        grid-template-columns: 1fr !important;
    }
    .product-right-col {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .product-hero-layout {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .product-logo-wrapper {
        margin: 0 auto;
    }
    .product-action-buttons {
        justify-content: center;
    }
    .support-channels-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   AutoBlog & Enterprise Tech News Styles
   ========================================================================== */
.ticker-pulse {
    display: inline-block;
    color: #ff0055;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.blog-card {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.35s ease, box-shadow 0.35s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1);
}
.blog-card:hover img {
    transform: scale(1.05);
}

.featured-blog-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 240, 255, 0.15);
}
.featured-blog-card:hover img {
    transform: scale(1.04);
}

/* Blog Article Body Elements */
.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.article-body-content p {
    margin-bottom: 1.25rem;
}
.article-body-content ul,
.article-body-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.article-body-content li {
    margin-bottom: 0.5rem;
}

.blog-callout {
    background: rgba(0, 240, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.blog-callout h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.blog-callout p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #ddd;
}

.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}
.blog-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    color: var(--accent-color);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}
.blog-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Light mode for blog components */
.light-mode .blog-card,
.light-mode .featured-blog-card,
.light-mode .news-ticker-container,
.light-mode .executive-summary-box,
.light-mode #relatedProductWidget {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.light-mode .article-body-content h2,
.light-mode .article-body-content h3,
.light-mode .article-body-content h4,
.light-mode #postTitle,
.light-mode .featured-blog-card h2 a,
.light-mode .blog-card h3 a {
    color: #0f172a !important;
}

.light-mode .article-body-content p,
.light-mode .article-body-content li {
    color: #334155 !important;
}

.light-mode .blog-table th {
    background: #f1f5f9 !important;
    color: #0066cc !important;
    border-bottom-color: #cbd5e1 !important;
}
.light-mode .blog-table td {
    color: #334155 !important;
    border-bottom-color: #e2e8f0 !important;
}

.light-mode .blog-callout {
    background: #f0f9ff !important;
    border-left-color: #0284c7 !important;
}
.light-mode .blog-callout h4 {
    color: #0369a1 !important;
}
.light-mode .blog-callout p {
    color: #334155 !important;
}

@media (max-width: 992px) {
    .featured-blog-card {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================================
   GOOGLE ADSENSE COMPLIANCE & LEGAL TYPOGRAPHY STYLES
   =================================================== */

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-toc {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.legal-body h2 {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-body h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-body p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-body li {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

/* Responsive Google AdSense Containers */
.adsense-slot {
    margin: 2rem auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.adsense-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.adsense-slot-header {
    max-width: 970px;
    min-height: 90px;
    margin: 1.5rem auto;
}

.adsense-slot-in-article {
    max-width: 728px;
    min-height: 250px;
    margin: 2.5rem auto;
}

.adsense-slot-sidebar {
    max-width: 336px;
    min-height: 280px;
    margin: 1.5rem 0;
}

/* Light mode overrides for legal & AdSense */
.light-mode .legal-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.light-mode .legal-toc {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
}

.light-mode .legal-body h2,
.light-mode .legal-body h3 {
    color: #0f172a !important;
    border-bottom-color: #e2e8f0 !important;
}

.light-mode .legal-body p,
.light-mode .legal-body li {
    color: #334155 !important;
}

.light-mode .adsense-slot {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* ===================================================
   USER AUTH MODAL & INTERACTIVE COMMENTS STYLES
   =================================================== */

.auth-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.25s ease-out;
}

.auth-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #0d1222;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: rotate(90deg);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.auth-tab {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.auth-alert {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid;
    text-align: center;
}

/* Discussion & Comments Widget */
.discussion-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-item:hover {
    border-color: rgba(0, 240, 255, 0.25) !important;
}

/* Light Mode Overrides */
.light-mode .auth-modal-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.light-mode .auth-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.light-mode .comment-compose-card,
.light-mode .comment-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.light-mode .comment-item div {
    color: #334155 !important;
}

/* ===================================================
   MULTI-CLOUD CALCULATOR STYLES
   =================================================== */

.prov-tab {
    background: transparent;
    border: none;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.prov-tab:hover {
    color: #fff;
}

.prov-tab.active {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

.term-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.term-btn:hover {
    border-color: rgba(0, 240, 255, 0.4);
    color: #fff;
}

.term-btn.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
}

.cloud-comp-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.cloud-comp-card:hover {
    transform: translateY(-4px);
}

/* Brand Ecosystem Logos */
.customer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}

.brand-logo-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.brand-logo-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.brand-logo-img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.brand-logo-name {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ===================================================
   SMART GOOGLE ADSENSE ZERO-CLS RESPONSIVE STYLING
   =================================================== */
.w365-ad-slot-container {
    width: 100%;
    margin: 2rem auto;
    position: relative;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    contain: layout style;
}

.w365-ad-label {
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-secondary, #718096);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

.w365-ad-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 18, 34, 0.6);
    border-radius: 12px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.skeleton-pulse {
    width: 90%;
    height: 75%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.05), transparent);
    animation: adShimmer 2s infinite ease-in-out;
}

@keyframes adShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.w365-ad-collapsed {
    border: none !important;
    background: transparent !important;
    min-height: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.w365-infeed-ad-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.w365-infeed-ad-card:hover {
    border-color: rgba(0, 240, 255, 0.3) !important;
    transform: translateY(-3px);
}







