/* ============================================
   BluBrain Premium Design System
   A $6,000-$7,000 Aesthetic Website
   ============================================ */

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

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors - BluBrain Brand */
    --primary-blue: #1B3A5F;
    --primary-blue-dark: #142D4A;
    --deep-blue: #1B3A5F;
    --light-blue: #A8C5DA;
    --electric-blue: #A8C5DA;
    --navy: #0F2236;

    /* Accent Colors */
    --accent-purple: #5A7A9A;
    --accent-cyan: #A8C5DA;
    --accent-green: #4CAF50;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-gray: #F1F5F9;
    --medium-gray: #94A3B8;
    --dark-gray: #475569;
    --dark-text: #1E293B;
    --black: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    --gradient-hero: linear-gradient(135deg, var(--deep-blue) 0%, var(--navy) 50%, #0D1927 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(27, 58, 95, 0.3) 0%, transparent 70%);
    --gradient-mesh:
        radial-gradient(at 40% 20%, rgba(168, 197, 218, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(90, 122, 154, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(27, 58, 95, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(168, 197, 218, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(90, 122, 154, 0.1) 0px, transparent 50%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
    --shadow-glow-lg: 0 0 60px rgba(0, 102, 255, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-4);
    color: var(--dark-gray);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Layout & Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-lg {
    max-width: 1440px;
}

.container-sm {
    max-width: 960px;
}

section {
    padding: var(--space-24) 0;
    position: relative;
}

/* ============================================
   Navigation (Glassmorphism)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-link {
    color: var(--dark-text);
}

.navbar.scrolled .nav-logo {
    color: var(--primary-blue);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition-base);
}

.nav-logo span {
    color: var(--electric-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    height: 100%;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: var(--space-2) 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

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

.nav-link:hover {
    color: var(--electric-blue);
}

.nav-link.has-dropdown {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link.has-dropdown::after {
    content: '▾';
    font-size: 0.8em;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.3s ease;
    background: none;
    position: static;
    width: auto;
    height: auto;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

.nav-cta {
    padding: var(--space-3) var(--space-6);
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ensure the link inside nav-item behaves correctly */
.nav-item>.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: #ffffff !important;
    /* Force white background */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 9999;
    /* Very high z-index */
    margin-top: 5px;
}

/* Show dropdown on hover */
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: #1a1a1a !important;
    /* High contrast text */
    font-weight: 500;
    font-size: var(--text-base);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    background: var(--light-blue);
    color: var(--primary-blue) !important;
    padding-left: var(--space-6);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark-text);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-8);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--electric-blue);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, var(--text-7xl));
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--medium-gray);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite, morph 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    top: 60%;
    right: -5%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    background: var(--electric-blue);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

/* Animated Background Particles */
.bg-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(168, 197, 218, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-duration: 22s;
    animation-delay: -3s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-duration: 17s;
    animation-delay: -8s;
}

.particle:nth-child(6) {
    width: 6px;
    height: 6px;
    left: 60%;
    animation-duration: 19s;
    animation-delay: -12s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-duration: 21s;
    animation-delay: -6s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-duration: 16s;
    animation-delay: -14s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-duration: 23s;
    animation-delay: -2s;
}

.particle:nth-child(10) {
    width: 6px;
    height: 6px;
    left: 15%;
    animation-duration: 20s;
    animation-delay: -7s;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: rotate 30s linear infinite;
}

.geometric-shape.square {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-blue);
    top: 20%;
    right: 15%;
    animation-duration: 40s;
}

.geometric-shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid var(--electric-blue);
    bottom: 30%;
    left: 10%;
    animation-duration: 35s;
    animation-direction: reverse;
}

.geometric-shape.circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent-purple);
    border-radius: 50%;
    top: 50%;
    right: 25%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Gradient Wave Animation */
@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Particle Float Animation */
@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Morph Animation */
@keyframes morph {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    }

    75% {
        border-radius: 60% 40% 60% 50% / 60% 70% 40% 30%;
    }
}

/* Slide Diagonal Animation */
@keyframes slideDiagonal {
    0% {
        transform: translate(-100%, -100%) rotate(0deg);
    }

    100% {
        transform: translate(100vw, 100vh) rotate(360deg);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: var(--transition-slow);
}

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

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dark {
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dark h3,
.card-dark h4,
.card-dark h5 {
    color: var(--white);
}

.card-dark p {
    color: var(--medium-gray);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-glow);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--dark-gray);
    margin-bottom: var(--space-4);
}

/* 3D Tilt Effect Container */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg) translateY(-8px);
}

/* ============================================
   Service Pillars / Bento Grid
   ============================================ */
.pillars-section {
    background: var(--off-white);
    position: relative;
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    flex: 0 1 calc(33.333% - var(--space-6));
    min-width: 300px;
    max-width: 400px;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--off-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--space-6);
    transition: var(--transition-base);
}

.pillar-card:hover .pillar-icon {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.pillar-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.pillar-text {
    color: var(--dark-gray);
    margin-bottom: var(--space-6);
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-base);
}

.pillar-link:hover {
    gap: var(--space-3);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-blue);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--dark-gray);
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--light-gray);
    transition: var(--transition-base);
    flex: 1 1 300px;
    max-width: 600px;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--primary-blue);
    margin-bottom: var(--space-4);
}

.feature-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.feature-text {
    color: var(--dark-gray);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-text {
    color: var(--medium-gray);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy);
    padding: var(--space-16) 0 var(--space-8);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.footer-logo span {
    color: var(--electric-blue);
}

.footer-desc {
    color: var(--medium-gray);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--medium-gray);
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--electric-blue);
    padding-left: var(--space-2);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.footer-legal a:hover {
    color: var(--electric-blue);
}

/* ============================================
   Page Heroes (Subpages)
   ============================================ */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: var(--space-12);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    color: var(--white);
    margin-bottom: var(--space-2);
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: var(--text-xl);
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Service Cards Grid
   ============================================ */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    flex: 0 1 calc(33.333% - var(--space-8));
    min-width: 320px;
    max-width: 450px;
}

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

.service-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.service-body {
    padding: var(--space-8);
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-text {
    color: var(--dark-gray);
    margin-bottom: var(--space-6);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.service-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.product-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--accent-green);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.product-image {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-6);
    background: var(--light-gray);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.product-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.product-price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--space-4);
}

.product-text {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-6);
}

/* ============================================
   Process Timeline
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--light-gray);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-12);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: var(--space-12);
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: var(--space-12);
}

.timeline-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 40px);
}

.timeline-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.timeline-text {
    color: var(--dark-gray);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-info {
    background: var(--gradient-hero);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.contact-info>* {
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    color: var(--white);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.contact-info p {
    color: var(--medium-gray);
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.contact-item-text h5 {
    color: var(--white);
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-item-text p {
    color: var(--medium-gray);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
    font-size: var(--text-sm);
}

.form-input,
.form-textarea,
.form-select {
    padding: var(--space-4);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition-base);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

/* ============================================
   Platform Logos Grid
   ============================================ */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.platform-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.platform-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.platform-amazon {
    background: linear-gradient(135deg, #FF9900 0%, #FFB84D 100%);
}

.platform-ebay {
    background: linear-gradient(135deg, #E53238 0%, #0064D2 50%, #86B817 100%);
}

.platform-walmart {
    background: linear-gradient(135deg, #0071DC 0%, #004C91 100%);
}

.platform-tiktok {
    background: linear-gradient(135deg, #000000 0%, #25F4EE 50%, #FE2C55 100%);
}

.platform-name {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.platform-text {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ============================================
   About Page
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-text h2 {
    margin-bottom: var(--space-6);
}

.about-text p {
    margin-bottom: var(--space-4);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.value-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--white);
}

.value-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.value-text {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-number {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
        --text-7xl: 3.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-8);
        transition: var(--transition-base);
        z-index: var(--z-modal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: calc(var(--z-modal) + 1);
    }

    .nav-link {
        font-size: var(--text-xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
        margin-top: var(--space-12);
        padding-top: var(--space-6);
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 250px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: var(--space-8);
    }

    .page-hero-title {
        font-size: 2rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.mb-16 {
    margin-bottom: var(--space-16);
}

.mt-0 {
    margin-top: 0;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ============================================
   Products Page
   ============================================ */

/* Products Hero */
.products-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.products-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
    z-index: 1;
}

.products-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-8);
}

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.products-section {
    background: var(--off-white);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 58, 95, 0.15);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.product-badge-featured {
    background: linear-gradient(135deg, #1B3A5F, #5A7A9A);
    color: var(--white);
}

.product-badge-sale {
    background: linear-gradient(135deg, #FF6B35, #FF4444);
    color: var(--white);
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

/* Product Info */
.product-info {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-blue);
    margin-bottom: var(--space-2);
}

.product-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.product-desc {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-4);
    line-height: 1.6;
    flex: 1;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.product-price {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary-blue);
}

.product-price-old {
    font-size: var(--text-base);
    color: var(--medium-gray);
    text-decoration: line-through;
}

/* Buy on Noon Button */
.product-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, #F5D100, #E8C500);
    color: #1A1A1A;
    font-weight: 700;
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.product-buy-btn:hover {
    background: linear-gradient(135deg, #FFE033, #F5D100);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 209, 0, 0.4);
}

.noon-icon {
    flex-shrink: 0;
}

/* Noon CTA */
.noon-cta-content {
    text-align: center;
}

.noon-cta-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.btn-noon {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, #F5D100, #E8C500);
    color: #1A1A1A;
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: var(--space-6);
}

.btn-noon:hover {
    background: linear-gradient(135deg, #FFE033, #F5D100);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 209, 0, 0.4);
}

/* fadeInUp for filter animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .product-filters {
        gap: var(--space-2);
    }

    .filter-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Customer Service Chatbot (BluBrain Theme)
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Toggle Button */
.chatbot-toggle {
    min-width: 120px;
    height: 60px;
    padding: 0 var(--space-6);
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.chatbot-toggle .agent-text {
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}

.chatbot-toggle .chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-lg);
}

.chatbot-container.open .chatbot-toggle .chat-icon {
    transform: rotate(180deg);
}

/* Pulse animation for the Agent button */
.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    opacity: 0.5;
    animation: pulse-agent 2s ease-in-out infinite;
    z-index: -1;
}

.chatbot-container.open .chatbot-toggle::before {
    animation: none;
}

@keyframes pulse-agent {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}


/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 58, 95, 0.1);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.chat-header {
    background: var(--gradient-primary);
    padding: var(--space-4) var(--space-6);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.chat-back-arrow {
    font-size: 2rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-right: var(--space-1);
}

.chat-header h4 {
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: 600;
}

.chat-menu-btn {
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* Messages Area */
.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    background: rgba(248, 250, 252, 0.5);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.message {
    display: flex;
    gap: var(--space-3);
    max-width: 85%;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.bot-avatar {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    line-height: 1.5;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.bot .message-content {
    background: var(--white);
    color: var(--dark-text);
    border-bottom-left-radius: 0;
}

.user .message-content {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom-right-radius: 0;
}

.message-time {
    font-size: 0.7rem;
    color: var(--medium-gray);
    margin-top: var(--space-1);
    text-align: right;
}

.user .message-time {
    text-align: left;
}

/* Typing Indicator */
.typing .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--medium-gray);
    border-radius: 50%;
    margin-right: 3px;
    animation: typing 1s infinite alternate;
}

.typing .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    from {
        opacity: 0.3;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Quick Options */
.chat-options {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: var(--space-4);
}

.option-btn {
    padding: var(--space-2) var(--space-4);
    background: var(--white);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    transition: var(--transition-base);
    white-space: nowrap;
}

.option-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Input Area */
.chat-input-area {
    padding: var(--space-4);
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

#chatInput {
    width: 100%;
    padding: var(--space-3);
    border: none;
    font-size: var(--text-sm);
    outline: none;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.chat-input-icons {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-4);
    padding: 0 var(--space-2);
}

.chat-icon-btn {
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.chat-icon-btn:hover {
    transform: scale(1.2);
}

/* Responsive Chatbot */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: min(500px, calc(100vh - 100px));
        bottom: 70px;
    }
}