/* ===================================
   FINAXIL - PROFESSIONAL REFINEMENTS
   Subtle animations, clean layouts
   =================================== */

/* Hero Enhancements - Subtle */
.hero-professional {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a2f45 50%, #0f1e2e 100%);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 167, 181, 0.1) 0%, transparent 50%);
    z-index: 2;
}

/* Floating Orbs - Reduced opacity */
.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00a7b5 0%, transparent 70%);
    top: 15%;
    left: -8%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0066cc 0%, transparent 70%);
    bottom: 15%;
    right: -5%;
    animation-delay: -10s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #6b46c1 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -18s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-25px, 25px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-title {
    color: white !important;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Subtle Card Animations */
.card-subtle {
    transition: all 0.3s ease;
}

.card-subtle:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 167, 181, 0.1);
}

.value-icon svg {
    transition: transform 0.3s ease;
}

.card-subtle:hover .value-icon svg {
    transform: scale(1.05);
}

/* Button Subtle Effects */
.btn-subtle {
    transition: all 0.3s ease;
}

.btn-subtle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 167, 181, 0.2);
}

/* Why Choose Us - Compact Grid */
.why-choose-refined {
    padding: 5rem 0;
    background: #f7fafc;
}

.features-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-compact {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-icon-sm {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-compact:hover .feature-icon-sm {
    transform: scale(1.08);
}

.feature-compact h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.feature-compact p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Services - 3 Column Grid */
.services-three-col {
    padding: 5rem 0;
}

.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon-box {
    transform: scale(1.05);
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.service-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-box p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-box a {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-box a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Industries - Compact 4 Column Grid */
.industries-compact {
    padding: 5rem 0;
    background: #f7fafc;
}

.industry-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-box {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.industry-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    border-color: var(--color-secondary);
}

.ind-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.industry-box:hover .ind-emoji {
    transform: scale(1.15);
}

.industry-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a2332 0%, #2d4a62 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-primary-inverse {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-inverse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-compact-grid,
    .service-grid-3,
    .industry-grid-4 {
        grid-template-columns: 1fr;
    }

    .orb {
        opacity: 0.15;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .feature-compact,
    .service-box,
    .industry-box {
        padding: 1.5rem;
    }
}
