/*
Theme Name: Oisulli Tech Labs - Premium Edition
Version: 2.0.1
Description: Ultra-modern, technologically advanced design system - FIXED MOBILE MENU
*/

/* ========================================
   PREMIUM DESIGN TOKENS
   ======================================== */

:root {
    /* Premium Color Palette */
    --gold-primary: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8941F;
    --gold-accent: #FFD700;
    
    --black-pure: #000000;
    --black-rich: #0a0a0f;
    --navy-deep: #0a0a1a;
    --navy-medium: #12121f;
    --navy-light: #1a1a2e;
    
    --white-pure: #FFFFFF;
    --white-soft: #F8F9FA;
    --gray-light: rgba(255, 255, 255, 0.1);
    --gray-medium: rgba(255, 255, 255, 0.2);
    
    /* Premium Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8941F 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 70%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(212, 175, 55, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(212, 175, 55, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(212, 175, 55, 0.06) 0px, transparent 50%);
    
    /* Typography Scale */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --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 System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);
    --shadow-gold-lg: 0 16px 48px rgba(212, 175, 55, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   GLOBAL RESETS & BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--gold-primary);
    color: var(--black-pure);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background: var(--black-rich);
    color: var(--white-pure);
    line-height: 1.7;
    min-width: 320px;
    overflow-x: hidden;
    position: relative;
    padding-top: 100px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    z-index: 0;
    pointer-events: none;
}

.site-wrapper {
    position: relative;
    z-index: 1;
}

/* ========================================
   PREMIUM ADVANCED FOOTER
   ======================================== */

footer {
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.95) 0%, rgba(5, 5, 15, 0.98) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.6;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: var(--space-4xl) var(--space-2xl) var(--space-3xl);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
}

/* Footer About Section */
.footer-about {
    max-width: 400px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

.footer-logo {
    margin-bottom: var(--space-lg);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.footer-logo img {
    max-width: 160px;
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    font-size: var(--text-sm);
}

.footer-tagline strong {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Certifications */
.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--gold-primary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.certification-badge:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.certification-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--gold-primary);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    border-color: var(--gold-primary);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.social-link:hover svg {
    color: var(--black-pure);
}

/* Footer Sections */
.footer-section {
    position: relative;
}

.footer-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--gold-primary);
    margin-bottom: var(--space-xl);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    padding: var(--space-xs) 0;
}

.footer-links a svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
    transition: transform var(--transition-base);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

.footer-links a:hover svg {
    transform: translateX(4px);
}

/* Contact Info */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    color: var(--gold-primary);
}

.contact-details h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--gold-primary);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.contact-details a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--gold-primary);
}

.contact-secondary {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: var(--text-xs) !important;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-xl) var(--space-2xl);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.footer-copyright strong {
    color: var(--gold-primary);
    font-weight: 600;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--text-xs);
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-trust-badges {
    display: flex;
    gap: var(--space-md);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--gold-primary);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--black-pure);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold-lg);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--black-pure);
    stroke-width: 3;
}

/* ========================================
   HERO SECTION - IMMERSIVE
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-2xl) var(--space-3xl);
    position: relative;
    overflow: hidden;
    margin-top: -100px;
    padding-top: calc(var(--space-4xl) + 100px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15), transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(212, 175, 55, 0.1), transparent 60%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    animation: grid-flow 30s linear infinite;
    z-index: 0;
}

@keyframes grid-flow {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch {
    position: relative;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch-pulse 4s ease-in-out infinite;
}

@keyframes glitch-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black-pure);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-pure);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.2);
}

/* Hero Visual */
.hero-visual {
    margin-top: var(--space-3xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.browser-mockup {
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    max-width: 1100px;
    margin: 0 auto var(--space-3xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-smooth);
    position: relative;
}

.browser-mockup::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-gold);
    opacity: 0;
    border-radius: var(--radius-xl);
    filter: blur(20px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.browser-mockup:hover::before {
    opacity: 0.3;
}

.browser-mockup:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
}

.browser-header {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
}

.browser-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.browser-dot:hover {
    transform: scale(1.2);
}

.dot-red { background: #ff5f56; box-shadow: 0 0 10px #ff5f56; }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 10px #ffbd2e; }
.dot-green { background: #27c93f; box-shadow: 0 0 10px #27c93f; }

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.handshake-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   BENTO GRID SYSTEM
   ======================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    height: auto;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card.bento-large {
    grid-column: span 2;
}

.bento-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    position: relative;
    z-index: 1;
}

.bento-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--white-pure);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    position: relative;
    z-index: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    line-height: 1.4;
}

.bento-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.bento-large-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold-primary);
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.chart-visual {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--gold-primary), rgba(212, 175, 55, 0.5));
    border-radius: 6px 6px 0 0;
    animation: bar-grow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ========================================
   SECTIONS & CONTENT
   ======================================== */

section {
    padding: var(--space-4xl) var(--space-2xl);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-lg);
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: var(--space-4xl) var(--space-2xl);
    background: rgba(0, 0, 0, 0.3);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gold-primary);
    font-family: var(--font-display);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* ========================================
   AUTHORITY SECTION
   ======================================== */

.authority-section {
    padding: var(--space-4xl) var(--space-2xl);
    background: rgba(212, 175, 55, 0.02);
}

.authority-container {
    max-width: 1400px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.capability-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
    min-height: 280px;
    height: auto;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.capability-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--gold-primary);
}

.capability-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--white-pure);
    margin-bottom: var(--space-sm);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    line-height: 1.4;
}

.capability-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    padding: var(--space-4xl) var(--space-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    height: auto;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    color: var(--white-pure);
    margin-bottom: var(--space-md);
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    line-height: 1.4;
}

.service-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    padding-left: 0;
}

.service-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

.service-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
}

.service-link:hover {
    color: var(--gold-light);
    gap: var(--space-md);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio-preview-section,
.portfolio-section {
    padding: var(--space-4xl) var(--space-2xl);
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: var(--space-2xl);
}

.portfolio-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.portfolio-title a {
    color: var(--white-pure);
    text-decoration: none;
    transition: color var(--transition-base);
}

.portfolio-title a:hover {
    color: var(--gold-primary);
}

.portfolio-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.portfolio-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
}

.portfolio-link:hover {
    color: var(--gold-light);
    gap: var(--space-md);
}

.portfolio-placeholder {
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
}

.placeholder-icon {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-lg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.portfolio-placeholder h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--white-pure);
    margin-bottom: var(--space-sm);
}

.portfolio-placeholder p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: var(--space-4xl) var(--space-2xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.testimonial-rating {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
}

.author-name {
    font-weight: 600;
    color: var(--white-pure);
    margin-bottom: 4px;
}

.author-company {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    padding: var(--space-4xl) var(--space-2xl);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

.cta-background-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white-pure);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.final-cta-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.cta-buttons-final {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    font-weight: 600;
}

.trust-icon {
    color: var(--gold-primary);
    font-weight: bold;
}

/* ========================================
   PAGE HEADER STYLES
   ======================================== */

.page-header {
    padding: var(--space-4xl) var(--space-2xl) var(--space-3xl);
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white-pure);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   RESPONSIVE DESIGN - NO CONFLICTS
   ======================================== */

@media (max-width: 1200px) {
    :root {
        --space-4xl: 6rem;
        --space-3xl: 4rem;
    }
    
    .bento-card.bento-large {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CRITICAL: NO HEADER/NAV STYLES HERE - Controlled by header.php */
@media (max-width: 1024px) {
    body {
        padding-top: 95px !important;
    }
    
    .bento-grid,
    .services-grid,
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
        --space-2xl: 2rem;
    }
    
    body {
        padding-top: 90px !important;
    }
    
    .hero {
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
        margin-top: -90px;
        padding-top: calc(var(--space-3xl) + 90px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    section {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .stats-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-about {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        order: -1;
    }
    
    .scroll-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 45px;
        height: 45px;
    }
    
    /* Footer logo mobile fix */
    .footer-logo img {
        max-width: 80px !important;
        width: 80px !important;
    }
    
    .footer-logo-text {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-tagline {
        font-size: 0.875rem !important;
    }
    
    .footer-certifications,
    .social-links {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 85px !important;
    }
    
    .hero-eyebrow {
        font-size: var(--text-xs);
        padding: var(--space-xs) var(--space-md);
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: stretch;
    }
    
    .trust-item {
        justify-content: center;
    }
    
    .footer-main {
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    }
    
    .footer-trust-badges {
        flex-direction: column;
        width: 100%;
    }
    
    .trust-badge {
        justify-content: center;
    }
    
    /* Footer logo extra small fix */
    .footer-logo img {
        max-width: 65px !important;
        width: 65px !important;
    }
    
    .footer-logo-text {
        font-size: 1.25rem !important;
    }
    
    .footer-content {
        gap: 2rem !important;
    }
    
    .footer-section {
        text-align: center !important;
    }
    
    .footer-title {
        text-align: center !important;
    }
    
    .footer-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}