/* Solutions Page - Light Professional Theme */

/* CSS Variables */
:root {
    --primary: #151644;
    --secondary: #2563eb;
    --accent: #3b82f6;
    --danger: #dc2626;
    --light: #ffffff;
    --lighter: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border: rgba(21, 22, 68, 0.1);
}

/* Base Styles */
body {
    background: var(--lighter);
    color: var(--dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.solutions-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21, 22, 68, 0.05), rgba(37, 99, 235, 0.05));
    position: relative;
    overflow: hidden;
    padding: 5rem 5%;
    margin-top: 60px;
}

/* Animated Grid Background */
.solutions-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(21, 22, 68, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 22, 68, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Scanning Line Effect */
.solutions-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 0;
    animation: scan 3s linear infinite;
    opacity: 0.3;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) drop-shadow(0 0 20px var(--primary)); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

/* Filter Section */
.solutions-filters {
    padding: 2rem 5%;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(21, 22, 68, 0.08);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 22, 68, 0.15);
}

/* Solutions Grid */
.solutions-grid {
    padding: 5rem 5%;
    background: var(--lighter);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Solution Card */
.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(21, 22, 68, 0.08);
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::after {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(21, 22, 68, 0.15);
}

.card-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.card-logo img {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.solution-card:hover .card-logo {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(21, 22, 68, 0.1);
}

.solution-card:hover .card-logo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.card-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    margin: 1.5rem 0;
}

.card-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
    transition: all 0.3s ease;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-features li:hover {
    color: var(--dark);
    transform: translateX(5px);
}

.card-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-quote {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 22, 68, 0.1);
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 22, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .solution-card {
        padding: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
