/* Professional Optimizations for The Heedful */
/* This file optimizes performance and creates a more professional look */

/* ===== Performance Optimizations ===== */

/* Disable heavy animations */
.gradient-mesh,
.aurora-bg,
.cyber-grid,
.svg-pattern,
.morph-shape,
.dynamic-particle {
    display: none !important;
}

/* Optimize animations for better FPS */
* {
    /* Removed global animation override to preserve intended durations */
}

/* Disable complex animations on cards */
.story-card::before,
.service-card::after,
.value-card::before,
.aspiration-card::before {
    animation: none !important;
    display: none !important;
}

/* ===== Professional Button Styles ===== */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover::before {
    width: 100%;
    height: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== Professional Card Styles ===== */

.story-card,
.service-card,
.value-card,
.aspiration-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-card:hover,
.service-card:hover,
.value-card:hover,
.aspiration-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

/* Remove 3D transforms for better performance */
.card-3d {
    transform-style: flat !important;
}

.card-3d:hover {
    transform: translateY(-5px) !important;
}

/* ===== Simplified Hero Section ===== */

.hero {
    background: linear-gradient(135deg, #0f1020 0%, #1a1d3a 50%, #0f1020 100%);
    position: relative;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none !important;
}

.hero-subtitle {
    animation: none !important;
    color: var(--text-gray);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* ===== Optimized Navigation ===== */

.navbar {
    background: rgba(15, 16, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    transition: width 0.2s ease;
}

/* ===== Clean Typography ===== */

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: none !important;
    text-align: center;
    letter-spacing: -1px;
    text-transform: capitalize;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    animation: none !important;
}

/* ===== Professional Form Styles ===== */

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* ===== Optimize Scroll Animations ===== */

.reveal-on-scroll,
.reveal-item {
    opacity: 1 !important;
    transform: none !important;
}

.animate-in {
    animation: simpleReveal 0.5s ease forwards;
}

@keyframes simpleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Disable Heavy Effects ===== */

.floating-particles::before,
.floating-particles::after,
.floating-particle {
    animation: none !important;
    display: none !important;
}

.neon-text,
.holographic,
.glitch-text {
    animation: none !important;
    text-shadow: none !important;
}

/* ===== Professional KPI Cards ===== */

.kpi {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.kpi:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.kpi h4 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* ===== Professional Footer ===== */

.footer {
    background: #0f1020;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Professional Adjustments ===== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Disable all hover effects on mobile */
    .story-card:hover,
    .service-card:hover,
    .value-card:hover,
    .aspiration-card:hover,
    .btn:hover {
        transform: none !important;
    }
}

/* ===== Global Performance Rules ===== */

/* Use GPU acceleration wisely */
.btn,
.card {
    will-change: transform;
    transform: translateZ(0);
}

/* After animation/transition complete, remove will-change */
.btn:not(:hover),
.card:not(:hover) {
    will-change: auto;
}

/* Reduce paint areas */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===== Professional Vision Circle ===== */

.vision-circle {
    animation: rotate 60s linear infinite !important; /* Slow professional rotation */
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

/* Professional slow rotation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Clean Loading State ===== */

body.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ===== Professional Scroll Bar ===== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1020;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00a8cc, #6a2fc7);
}
