/* ============================================================================
   PREMIUM VISUAL UPGRADE
   Comprehensive enhancements for modern, high-end feel
   ============================================================================ */

/* ==========================================================================
   1. ENHANCED DESIGN TOKENS
   ========================================================================== */
:root {
    /* Premium Shadows - Layered depth */
    --shadow-premium-sm: 
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-premium-md: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-premium-lg: 
        0 8px 16px rgba(0, 0, 0, 0.16),
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-premium-xl: 
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    
    /* Premium Glass Effects */
    --glass-premium: 
        rgba(255, 255, 255, 0.06);
    --glass-premium-border: 
        rgba(255, 255, 255, 0.12);
    --glass-premium-highlight: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    
    /* Enhanced Gradients */
    --gradient-premium-orange: 
        linear-gradient(135deg, 
            #FF6100 0%, 
            #FF8533 25%,
            #FFAF3F 50%,
            #FF8533 75%,
            #FF6100 100%);
    --gradient-premium-glow: 
        radial-gradient(circle at center, 
            rgba(255, 97, 0, 0.25) 0%,
            rgba(255, 97, 0, 0.12) 40%,
            transparent 70%);
}

/* ==========================================================================
   2. ENHANCED BODY & BACKGROUND
   ========================================================================== */
body {
    background: #000000;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 97, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 175, 63, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   3. PREMIUM TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-light);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section__title {
    font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 20%,
        rgba(255, 175, 63, 0.95) 40%,
        rgba(255, 255, 255, 1) 60%,
        rgba(255, 255, 255, 0.95) 100%
    );
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: premiumShimmer 8s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

@keyframes premiumShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-premium-orange);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: flowGradient 4s ease infinite;
    box-shadow: 0 0 20px rgba(255, 97, 0, 0.5);
}

@keyframes flowGradient {
    0%, 100% { 
        background-position: 0% center; 
        width: 80px;
    }
    50% { 
        background-position: 100% center; 
        width: 100px;
    }
}

.section__subtitle {
    font-size: clamp(var(--font-size-base), 2vw, var(--font-size-lg));
    font-weight: var(--font-weight-light);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 840px;
    margin: 0 auto var(--space-8);
}

/* ==========================================================================
   4. PREMIUM BUTTONS
   ========================================================================== */
.btn {
    position: relative;
    overflow: hidden;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.01em;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary {
    background: var(--gradient-premium-orange);
    background-size: 200% 100%;
    color: var(--color-white);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
        0 8px 24px rgba(255, 97, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 100%
    );
    border-radius: 12px 12px 0 0;
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.btn--primary:hover {
    background-position: 100% center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.25) inset,
        0 16px 40px rgba(255, 97, 0, 0.5);
}

.btn--primary:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn--outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 97, 0, 0.15) 0%,
        rgba(255, 175, 63, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.btn--outline:hover {
    border-color: rgba(255, 97, 0, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
        0 16px 40px rgba(255, 97, 0, 0.3);
}

.btn--outline:hover::before {
    opacity: 1;
}

/* ==========================================================================
   5. PREMIUM CARDS & COMPONENTS
   ========================================================================== */
.service-card,
.dual-intro__card,
.case-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-7);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before,
.dual-intro__card::before,
.case-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
}

.service-card::after,
.dual-intro__card::after,
.case-tile::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: var(--gradient-premium-glow);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover,
.dual-intro__card:hover,
.case-tile:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 97, 0, 0.3);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 97, 0, 0.2);
}

.service-card:hover::after,
.dual-intro__card:hover::after,
.case-tile:hover::after {
    opacity: 1;
}

/* Card Icons */
.service-card__icon,
.dual-intro__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 97, 0, 0.1);
    border: 1px solid rgba(255, 97, 0, 0.2);
    border-radius: 16px;
    margin-bottom: var(--space-5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card__icon::before,
.dual-intro__icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
}

.service-card:hover .service-card__icon,
.dual-intro__card:hover .dual-intro__icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 97, 0, 0.2);
    border-color: rgba(255, 97, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 97, 0, 0.3);
}

/* Card Titles */
.service-card__title,
.dual-intro__title,
.case-tile__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-3);
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title,
.dual-intro__card:hover .dual-intro__title,
.case-tile:hover .case-tile__title {
    color: var(--color-white);
}

/* ==========================================================================
   6. ENHANCED SECTIONS
   ========================================================================== */
section {
    position: relative;
    padding: var(--space-10) 0;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
}

/* ==========================================================================
   7. PREMIUM HERO ENHANCEMENTS
   ========================================================================== */
.hero {
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 97, 0, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 175, 63, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, #000000 0%, #0D0D0D 50%, #000000 100%);
}

.hero__title {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero__manifesto-highlight {
    background: linear-gradient(135deg, 
        var(--color-white) 0%, 
        var(--color-vivid-orange) 20%,
        #FFAF3F 40%,
        var(--color-vivid-orange) 60%,
        var(--color-white) 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroManifestoFlow 10s ease-in-out infinite;
}

@keyframes heroManifestoFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ==========================================================================
   8. PREMIUM FOOTER
   ========================================================================== */
.footer {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(255, 97, 0, 0.03) 100%),
        rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 97, 0, 0.3) 50%,
        transparent 100%
    );
}

.footer__links a {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-vivid-orange);
    transition: width 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer__links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   9. PREMIUM PROOF/STATS SECTION
   ========================================================================== */
.proof-bar__stat,
.hero__trust-item {
    position: relative;
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.proof-bar__stat::before,
.hero__trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--color-vivid-orange) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.proof-bar__stat:hover,
.hero__trust-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 97, 0, 0.3);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
        0 20px 48px rgba(255, 97, 0, 0.25);
}

.proof-bar__stat:hover::before,
.hero__trust-item:hover::before {
    opacity: 1;
}

.proof-bar__number,
.hero__trust-number {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: var(--font-weight-light);
    background: var(--gradient-premium-orange);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberGradient 3s ease infinite;
    text-shadow: 0 0 40px rgba(255, 97, 0, 0.5);
}

@keyframes numberGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ==========================================================================
   10. COMPREHENSIVE RESPONSIVE REFINEMENTS
   ========================================================================== */

/* Tablet Responsive */
@media (max-width: 1024px) {
    .service-card,
    .dual-intro__card,
    .case-tile {
        padding: var(--space-6);
    }
    
    .btn--large {
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-size-base);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section__title {
        font-size: clamp(var(--font-size-xl), 8vw, var(--font-size-3xl));
    }
    
    .service-card,
    .dual-intro__card,
    .case-tile {
        padding: var(--space-5);
        border-radius: 16px;
    }
    
    .service-card__icon,
    .dual-intro__icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--font-size-sm);
        border-radius: 10px;
    }
    
    .btn--primary,
    .btn--outline {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .proof-bar__stat,
    .hero__trust-item {
        padding: var(--space-4);
        border-radius: 12px;
    }
    
    .proof-bar__number,
    .hero__trust-number {
        font-size: clamp(var(--font-size-2xl), 6vw, var(--font-size-3xl));
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .service-card,
    .dual-intro__card,
    .case-tile {
        padding: var(--space-4);
        border-radius: 12px;
    }
    
    .service-card__icon,
    .dual-intro__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-xs);
    }
    
    .section__title {
        font-size: clamp(var(--font-size-lg), 6vw, var(--font-size-xl));
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .dual-intro__card:hover,
    .case-tile:hover {
        transform: none;
        border-color: rgba(255, 97, 0, 0.3);
        box-shadow: 
            0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
            0 8px 24px rgba(0, 0, 0, 0.3);
    }
    
    .service-card:active,
    .dual-intro__card:active,
    .case-tile:active {
        transform: scale(0.98);
    }
    
    .btn--primary:hover,
    .btn--outline:hover {
        transform: none;
    }
    
    .btn--primary:active,
    .btn--outline:active {
        transform: scale(0.95);
    }
}

/* ==========================================================================
   11. MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
