/* ==========================================================================
   BRAY CONSULTANTS PREMIUM REDESIGNED THEME SYSTEM (2026)
   Cohesive, Glassmorphic, Obsidian & Gold Corporate Design System
   ========================================================================== */

/* Design Tokens & Theme Variables */
@import url("https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap");

:root {
    /* Clean Modern Black & White Design System */
    --bg-main: #f8fafc;        /* Soft crisp light background */
    --bg-secondary: #ffffff;   /* Pure white widget & section background */
    --card-bg: #ffffff;        /* Pure white card background */
    --text-main: #0b0f19;      /* Crisp high-contrast obsidian text */
    --text-muted: #475569;     /* Slate gray muted text */
    --border-color: #e2e8f0;   /* Clean light gray card border */
    --border-color-glow: rgba(0, 0, 0, 0.1);
    
    --primary: #0b0f19;
    --primary-light: #334155;
    --accent: #000000;
    --accent-text: #ffffff;
    
    --success: #000000;
    --error: #f04438;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    
    /* Fonts & Transitions */
    --font-sans: 'Onest', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s ease;
    --border-radius: 8px;
}

/* Dark Mode Theme Variables & Overrides */
body.dark-mode {
    --bg-main: #0b0f19;
    --bg-secondary: #111827;
    --card-bg: #1e293b;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --primary: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
}

body.dark-mode .bray-nav {
    background: #111827 !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .nav-cta {
    background: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
}

/* Dynamic Dark Mode Automatic Contrast Safety Inversions */
body.dark-mode [style*="color: #000000"],
body.dark-mode [style*="color: #000"],
body.dark-mode [style*="color:#000000"],
body.dark-mode [style*="color:#000"] {
    color: #ffffff !important;
}

body.dark-mode [style*="color: #475569"],
body.dark-mode [style*="color: #64748b"],
body.dark-mode [style*="color: #1e293b"] {
    color: #cbd5e1 !important;
}

body.dark-mode [style*="background: #ffffff"],
body.dark-mode [style*="background: #fff"],
body.dark-mode [style*="background:#ffffff"],
body.dark-mode [style*="background:#fff"] {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

body.dark-mode [style*="background: #f8fafc"],
body.dark-mode [style*="background: #f1f5f9"] {
    background: #111827 !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

body.dark-mode svg[fill="#000000"],
body.dark-mode svg path[fill="#000000"],
body.dark-mode i[style*="color: #000000"],
body.dark-mode i[style*="color:#000000"] {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* ==========================================================================
   1. CORE BASE RESETS & SCROLLBARS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s, color 0.4s;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}
::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

/* ==========================================================================
   2. TYPOGRAPHY & LAYOUT UTILITIES
   ========================================================================== */
.bray-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.bray-section {
    padding: 100px 0;
    position: relative;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.84rem;
    font-weight: 800;
    color: #000000;
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

/* Grid Layouts */
.bray-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.bray-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .bray-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn-primary, .btn-secondary, .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #111111 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.nav-cta {
    background: #e2e8f0 !important;
    color: #000000 !important;
    border-radius: 99px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 22px;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

/* No Hover Animation */
.nav-cta:hover {
    background: #e2e8f0 !important;
    color: #000000 !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Dark Mode: Opposite to Light Mode (Dark slate/black background with white text) */
body:not(.light-mode) .nav-cta {
    background: #111827 !important;
    color: #ffffff !important;
    border: 1px solid #374151 !important;
}

body:not(.light-mode) .nav-cta:hover {
    background: #111827 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Global Eyebrow Tag System with Dot Accent */
.section-eyebrow {
    color: #000000;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    box-shadow: none !important;
}

/* High-Contrast Crisp Eyebrow on Dark Sections (Zero Glow, Pure White Text & Dot) */
.dark-textured-section .section-eyebrow,
section[style*="background: radial-gradient"] .section-eyebrow,
body.dark-mode .section-eyebrow {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 16px !important;
    border-radius: 99px !important;
    box-shadow: none !important;
}

.dark-textured-section .section-eyebrow::before,
section[style*="background: radial-gradient"] .section-eyebrow::before,
body.dark-mode .section-eyebrow::before {
    background: #ffffff !important;
    box-shadow: none !important;
}

/* Dark sections: ensure section titles and leads are white */
.dark-textured-section .section-title {
    color: #ffffff !important;
}
.dark-textured-section .section-lead {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Dark Section / Dark Mode High-Visibility Button System */
.dark-textured-section .btn-primary,
body:not(.light-mode) .dark-textured-section .btn-primary {
    background: linear-gradient(135deg, #000000 0%, #000000 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.dark-textured-section .btn-primary:hover,
body:not(.light-mode) .dark-textured-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   4. NAVIGATION & HEADER SYSTEM
   ========================================================================== */
.bray-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1180px;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 99px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
}

body.dark-mode .bray-nav {
    background: #111827 !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

.bray-nav-inner {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bray-logo span {
    white-space: nowrap;
}

.bray-logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.bray-logo:hover .bray-logo-img {
    transform: scale(1.05);
}

.bray-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.bray-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bray-nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.bray-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.bray-nav-links a:hover {
    color: var(--text-main);
}

.bray-nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu styling */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    width: 280px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(16px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(204, 255, 0, 0.1);
}

.dropdown-item i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 4px;
}

.dropdown-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dropdown-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav-cta {
    background: #e2e8f0 !important;
    color: #000000 !important;
    padding: 8px 20px;
    border-radius: 99px !important;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--font-sans);
    box-shadow: none !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1 !important;
    cursor: pointer;
    transition: none !important;
}

.nav-cta:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #cbd5e1 !important;
    color: #000000 !important;
}

.nav-cta::after {
    display: none !important;
}

/* Dark Mode Icon Button */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-main);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
}

.dark-mode-toggle:hover {
    background: var(--border-color);
    color: var(--text-main);
    transform: rotate(15deg);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-main);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger span:last-child {
    margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 25, 0.6);
    backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -320px;
    width: 300px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 95;
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-drawer .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-drawer .nav-link:hover {
    color: var(--text-main);
    transform: translateX(5px);
    opacity: 0.8;
}

.mobile-dark-mode-toggle {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--border-color);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-dark-mode-toggle:hover {
    background: var(--accent);
    color: #000;
}

@media (max-width: 992px) {
    .bray-nav-links {
        display: none !important;
    }
    .bray-nav-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    .hamburger {
        display: block !important;
    }
}

/* ==========================================================================
   5. HOME PAGE & HERO LAYOUTS
   ========================================================================== */
.bray-hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.05) 0%, transparent 60%);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-lead-enhanced {
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Statistics Badges & Cards */
.bray-stats-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 6px;
    background: linear-gradient(135deg, var(--text-main) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   6. GLASSMORPHIC CARDS & SERVICES
   ========================================================================== */
.service-card, .ai-feature-card, .testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.service-card::after, .ai-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--text-main), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::after, .ai-feature-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover, .ai-feature-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 25px var(--shadow-glow);
}

.service-icon, .ai-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(204, 255, 0, 0.15);
    color: var(--text-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-icon svg, .ai-feature-icon svg, .service-icon-wrapper svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
}

.service-card:hover .service-icon, .ai-feature-card:hover .ai-feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: #000;
}

.service-card h3, .ai-feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.service-card p, .ai-feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.service-list, .ai-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li, .ai-feature-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i, .ai-feature-list li i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* AI Showcase Section Specific */
.ai-showcase-section {
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.ai-showcase-cta {
    text-align: center;
    margin-top: 48px;
}

/* Testimonial Quote Styles */
.quote-icon {
    font-size: 2.5rem;
    color: var(--border-color-glow);
    margin-bottom: 20px;
}

/* ==========================================================================
   7. BLOG SYSTEMS & DYNAMIC DETAILS
   ========================================================================== */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Article Page Layout */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 160px 24px 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
}

.article-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 16px 0;
    letter-spacing: -0.01em;
}

.article-cover {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2, .article-body h3 {
    color: var(--text-main);
    font-weight: 700;
}

.article-body h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 16px;
}

.article-body h3 {
    font-size: 1.35rem;
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-body blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 36px 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.25rem;
}

/* ==========================================================================
   8. FOOTER SYSTEM
   ========================================================================== */
.bray-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   9. MODALS, INPUTS & COMPLIANCE FORMS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    max-width: 520px;
    width: 100%;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
    backdrop-filter: blur(16px);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    font-weight: 800;
}

.modal-header p {
    color: var(--text-muted);
    margin: 0 0 28px 0;
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* ==========================================================================
   10. FLOATING WIDGETS
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 80;
}

.cta-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
}

.cta-whatsapp {
    background: #25d366;
}

.cta-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.1) rotate(10deg);
}

.cta-phone {
    background: var(--accent);
    color: #000;
}

.cta-phone:hover {
    background: var(--accent-light);
    transform: scale(1.1) rotate(-10deg);
}

/* ==========================================================================
   11. REVEAL ANIMATIONS ON SCROLL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   12. PROCESS TIMELINE & FLOW
   ========================================================================== */
.process-timeline {
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='1100' height='600' viewBox='0 0 1100 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M183 100 L 917 100 C 1017 100, 1017 350, 917 350 L 183 350 C 83 350, 83 600, 183 600 L 917 600' stroke='%23ff0000' stroke-width='2' stroke-opacity='0.15' stroke-dasharray='10 10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center top 60px;
    background-size: 100% auto;
}

body.dark-mode .process-timeline {
    background-image: url("data:image/svg+xml,%3Csvg width='1100' height='600' viewBox='0 0 1100 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M183 100 L 917 100 C 1017 100, 1017 350, 917 350 L 183 350 C 83 350, 83 600, 183 600 L 917 600' stroke='%23fbbf24' stroke-width='2' stroke-opacity='0.25' stroke-dasharray='10 10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
}

.process-step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-glow);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: -70px auto 20px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
    border: 4px solid var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.process-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 992px) {
    .process-timeline {
        background-image: none !important;
    }
    .process-step {
        margin-top: 40px;
    }
}

/* ==========================================================================
   13. WHY CHOOSE US SECTIONS
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.why-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.why-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-glow);
}

.why-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.why-item:hover .icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}

.why-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   14. PORTFOLIO & INDUSTRIES
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.portfolio-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-glow);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    display: block;
    background: var(--bg-secondary);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.portfolio-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 4px 12px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-light);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Industries Section */
.industries-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px 16px;
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md), 0 0 15px var(--shadow-glow);
}

.industry-icon {
    font-size: 2.2rem;
    color: var(--accent-light);
    margin-bottom: 16px;
    display: block;
}

.industry-title {
    font-weight: 700;
    font-size: 0.95rem;
}

/* ==========================================================================
   15. INTERACTIVE PRICING CALCULATOR
   ========================================================================== */
.pricing-calculator {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.pricing-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.pricing-header p {
    color: var(--text-muted);
    margin: 0;
}

.service-cards-wrapper {
    margin-bottom: 40px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
}

.service-card-option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.service-card-option:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.service-card-option.active {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: #000;
    border-color: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.service-card-option i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.service-card-option .name {
    font-weight: 700;
    font-size: 0.85rem;
}

.timeline-slider {
    margin-bottom: 40px;
}

.timeline-slider label {
    display: block;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 1.05rem;
}

.timeline-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    outline: none;
}

.timeline-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 3px solid var(--bg-secondary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.timeline-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--accent);
}

.price-result {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.price-result p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.price-result h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 12px 0;
    color: var(--accent-light);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#price-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .pricing-calculator {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   16. BLOG DIRECTORIES & CARD DESIGN
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-glow);
}

.blog-image {
    width: 100%;
    height: 200px;
    display: block;
    background-color: var(--bg-secondary);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-light);
    margin-bottom: 12px;
    display: inline-block;
}

.blog-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.blog-meta {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* ==========================================================================
   17. CLIENT TESTIMONIAL CARDS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: var(--accent-light);
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-main);
    margin: 0 0 24px 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   18. PREMIUM MICRO-ANIMATIONS & OVERLAYS
   ========================================================================== */
@keyframes float-1 {
    0%, 100% { transform: rotate(-8deg) translateY(20px); }
    50% { transform: rotate(-8deg) translateY(5px); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(-20px); }
}
@keyframes float-3 {
    0%, 100% { transform: translateY(5px); }
    50% { transform: translateY(-10px); }
}
@keyframes float-4 {
    0%, 100% { transform: rotate(8deg) translateY(20px); }
    50% { transform: rotate(8deg) translateY(5px); }
}

.phone-1 { animation: float-1 6s ease-in-out infinite; }
.phone-2 { animation: float-2 5s ease-in-out infinite; }
.phone-3 { animation: float-3 5.5s ease-in-out infinite; }
.phone-4 { animation: float-4 6.5s ease-in-out infinite; }

/* Spaceship / Planet Orb animations */
@keyframes spin-planet {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float-planet {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 0, 0, 0.06) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-cyan {
    position: absolute;
    top: 25%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #f1f5f9 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

.hero-glow-purple {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(45px);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 10s ease-in-out infinite alternate-reverse;
}

.planet-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-planet 6s ease-in-out infinite;
}

.planet-orb {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #000000 0%, #000000 35%, #1e1b4b 75%, #080710 100%);
    box-shadow: inset -15px -15px 40px rgba(0, 0, 0, 0.9),
                0 0 35px rgba(255, 0, 0, 0.55),
                0 0 70px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.planet-texture {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: repeating-linear-gradient(45deg, #000 0px, #000 10px, transparent 10px, transparent 20px);
    animation: spin-planet 40s linear infinite;
}

/* Primary Saturn Rings */
.planet-ring {
    position: absolute;
    width: 260px;
    height: 48px;
    border: 5px solid rgba(255, 0, 0, 0.45);
    border-radius: 50%;
    transform: rotate(-15deg);
    box-shadow: none;
    z-index: 6;
    pointer-events: none;
}

.planet-ring-back {
    position: absolute;
    width: 260px;
    height: 48px;
    border: 5px solid rgba(255, 0, 0, 0.45);
    border-radius: 50%;
    transform: rotate(-15deg);
    box-shadow: none;
    z-index: 3;
    pointer-events: none;
}

/* Secondary Crossed Rings */
.planet-ring-2 {
    position: absolute;
    width: 230px;
    height: 38px;
    border: 3px dashed rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: rotate(20deg);
    box-shadow: none;
    z-index: 7;
    pointer-events: none;
}

.planet-ring-back-2 {
    position: absolute;
    width: 230px;
    height: 38px;
    border: 3px dashed rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: rotate(20deg);
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
}

/* iPhone Glassmorphic Satellites */
.hero-satellite {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

/* Light Mode Glass Adjustment */
body.light-mode .hero-satellite {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #111827 !important;
}

/* Dark Mode Glass Adjustment (Default) */
body:not(.light-mode) .hero-satellite {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc !important;
}

.sat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000000;
    display: inline-block;
    box-shadow: none;
}

.hero-satellite:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px 0 rgba(255, 0, 0, 0.2);
}

@keyframes sat-float-1 {
    0% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(-1deg); }
}
@keyframes sat-float-2 {
    0% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(1deg); }
}
@keyframes sat-float-3 {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

/* Wavy aurora vector elements */
.aurora-vector-left {
    position: absolute;
    top: 50px;
    left: -100px;
    width: 400px;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.06) 0%, transparent 75%);
    transform: skewY(-12deg);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

.aurora-vector-right {
    position: absolute;
    top: 50px;
    right: -100px;
    width: 400px;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06) 0%, transparent 75%);
    transform: skewY(12deg);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

/* ==========================================================================
   DARK SPRINKLE TEXTURE & DUAL-COLOR GLOW SYSTEM
   ========================================================================== */
.dark-textured-section {
    background-color: #060913 !important;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(14, 165, 233, 0.18), transparent 70%),
        radial-gradient(circle at 85% 80%, rgba(255, 0, 0, 0.14), transparent 50%),
        radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.12), transparent 50%) !important;
    background-size: 20px 20px, 100% 100%, 100% 100%, 100% 100% !important;
    position: relative;
    overflow: hidden;
}

.dark-textured-section .section-title {
    color: #ffffff !important;
}

.dark-textured-section .section-lead {
    color: rgba(255, 255, 255, 0.65) !important;
}

.dark-textured-section .section-eyebrow {
    color: #000000 !important;
    background: rgba(8, 28, 54, 0.75) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 6px 18px !important;
    border-radius: 8px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    box-shadow: none;
    text-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ==========================================================================
   INVENTORY & REACH BUBBLE CLUSTER STYLES (STATIC & STRUCTURED)
   ========================================================================== */
.bubble-cluster-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 24px;
    padding: 20px 10px;
}

/* Clean Minimal Brand Grid (Theme Adaptable) */
.brand-grid-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: all 0.25s ease;
    cursor: pointer;
}

.brand-grid-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

#inventory .brand-grid-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}


/* ==========================================================================
   HERO SPLIT LAYOUT — Browser Mockup Dashboard
   ========================================================================== */

#home .bray-container {
    max-width: 1380px;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: center;
}

.hero-text-col {
    max-width: 340px;
}

/* ---- App Sidebar & Workspace Inside Browser ---- */
.hero-dashboard-app {
    display: flex;
    background: #0b0f17;
    min-height: 380px;
}

.app-sidebar {
    width: 140px;
    background: #080b12;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.app-sidebar-item {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-sidebar-item i {
    width: 14px;
    height: 14px;
}

.app-sidebar-item.active,
.app-sidebar-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

.app-main-content {
    flex: 1;
    padding: 20px;
    background: #0e1420;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workspace-card {
    background: #151d2a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.workspace-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.mini-pill {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-sans);
}

/* ---- Browser Frame ---- */
.hero-mockup-col {
    position: relative;
}

.hero-browser-frame {
    background: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-browser-header {
    background: #080c14;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Dashboard Body ---- */
.hero-dashboard {
    padding: 20px;
    background: #111827;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dash-stat {
    background: #1a2234;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-stat-label {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-family: var(--font-sans);
}

.dash-stat-value {
    font-size: 1.55rem;
    font-weight: 900;
    font-family: var(--font-sans);
    line-height: 1;
}

.dash-stat-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #000000;
    font-family: var(--font-sans);
}

.dashboard-chart-area {
    background: #1a2234;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px;
}

.dashboard-channels {
    background: #1a2234;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 14px;
}

.channel-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid;
    font-family: var(--font-sans);
}

/* ---- Floating Revenue Badge ---- */
.hero-float-badge {
    position: absolute;
    bottom: -32px;
    left: -40px;
    background: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px 26px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    z-index: 10;
    min-width: 520px;
}

/* ---- Hero Split Layout Grid (Ultra-Wide Widget Bleed) ---- */
.hero-split-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
}

.hero-mockup-col {
    position: relative;
    margin-right: -120px;
    min-width: 740px;
}

@media (min-width: 1400px) {
    .hero-mockup-col {
        margin-right: -180px;
        min-width: 820px;
    }
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .hero-text-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .hero-mockup-col {
        margin-right: 0 !important;
        min-width: 100% !important;
        width: 100% !important;
        overflow-x: auto;
    }
}

/* Standard Pure Light Mode Eyebrow & Dark Textured Section Neutralization */
.dark-textured-section {
    background: #f8fafc !important;
    color: #0b0f19 !important;
    border-color: #e2e8f0 !important;
}

.dark-textured-section .section-eyebrow {
    color: #000000 !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
}

.dark-textured-section .section-eyebrow::before {
    background: #000000 !important;
    box-shadow: none !important;
}

.dark-textured-section .section-title {
    color: #000000 !important;
}

.dark-textured-section .section-lead {
    color: #475569 !important;
}

.dark-textured-section div[style*="background: #111827"],
.dark-textured-section div[style*="background:#111827"],
.dark-textured-section .brand-grid-card,
.dark-textured-section .faq-question {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #000000 !important;
}

.dark-textured-section h3,
.dark-textured-section h4,
.dark-textured-section strong {
    color: #000000 !important;
}

.dark-textured-section p,
.dark-textured-section li {
    color: #475569 !important;
}

.dark-textured-section i,
.dark-textured-section svg {
    color: #000000 !important;
}

/* ==========================================================================
   20. ULTRA-RESPONSIVE DEVICE OPTIMIZATION SYSTEM (MOBILE, TAB & LAPTOP)
   ========================================================================== */

/* 1. Global Viewport & Touch Safeguards */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* 2. Laptop & Desktop High-DPI Tweaks (1025px - 1440px) */
@media (min-width: 1025px) {
    .bray-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }
}

/* 3. Tablet & iPad Optimizations (769px to 1024px) */
@media (max-width: 1024px) {
    .bray-container {
        padding: 0 20px !important;
    }
    
    .bray-section {
        padding: 70px 0 !important;
    }

    .bray-grid-3, .why-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .modal-card-container > div[style*="grid-template-columns"],
    .article-container div[style*="grid-template-columns"] {
        grid-template-columns: 240px 1fr !important;
        gap: 24px !important;
    }

    .section-title {
        font-size: clamp(2rem, 3.8vw, 2.8rem) !important;
    }
}

/* 4. Mobile Devices & Small Tablets (Up to 768px) */
@media (max-width: 768px) {
    .bray-container {
        padding: 0 16px !important;
    }

    .bray-section {
        padding: 50px 0 !important;
    }

    /* Collapse all grids to single column on mobile */
    .bray-grid-3, .bray-grid-2, .why-grid, .blog-grid, .footer-grid,
    div[style*="grid-template-columns: repeat(auto-fit"],
    div[style*="grid-template-columns:repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Modal splits collapse vertically */
    .modal-card-container > div[style*="grid-template-columns"],
    .article-container div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 24px 18px !important;
    }

    .modal-card-container div[style*="border-right"],
    .article-container div[style*="border-right"] {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-right: 0 !important;
        padding-bottom: 24px !important;
    }

    /* Form input grids collapse to 1 column on mobile */
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(3,1fr)"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Hero section & floating elements */
    .bray-hero {
        padding-top: 130px !important;
        padding-bottom: 70px !important;
    }

    .hero-float-badge {
        min-width: auto !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -20px !important;
        padding: 16px !important;
    }

    .section-lead {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 28px !important;
    }

    /* Button Tap Areas for Touchscreens */
    .btn-primary, .btn-secondary, .nav-cta {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Sticky Navigation Pill on Mobile */
    .bray-nav {
        padding: 8px 14px !important;
        top: 8px !important;
        width: calc(100% - 16px) !important;
    }
}

/* 5. Small Mobile Screens (Up to 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem !important;
        letter-spacing: -0.5px !important;
        line-height: 1.25 !important;
    }

    .modal-card-container {
        border-radius: 12px !important;
        margin: 8px !important;
    }
}

/* 6. Mobile Safeguards for Hero Mockup & Before-After Grid (< 768px) */
@media (max-width: 768px) {
    .hero-split-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .hero-mockup-col {
        margin-right: 0 !important;
        margin-left: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .hero-browser-frame {
        border-radius: 12px !important;
        width: 100% !important;
    }

    .hero-browser-frame > div:first-child {
        padding: 8px 12px !important;
    }

    .browser-chrome-partner {
        display: none !important;
    }

    .marketplace-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .marketplace-card-grid > div {
        padding: 8px !important;
    }

    /* Before vs After Section Mobile Fix */
    .before-after-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 20px !important;
    }

    .before-after-grid > div {
        margin-top: 0 !important;
        margin-left: 0 !important;
        border-radius: 16px !important;
    }
}

