/* =====================[SOLUTIONS PAGE STYLES]===================== */
:root {
    /* --primary: #0f2b4b;
    --primary-dark: #0a1e36;
    --primary-light: #1e3a5f;
    --accent: #c7a254;
    --accent-light: #d9b771;
    --accent-dark: #b38b3f;
    --text: #1e293b;
    --text-light: #475569;
    --text-lighter: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-dark: #0f172a;
    --border: #e9eef2;
    --border-dark: #cbd5e1;
    --success: #2e7d32; */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 35px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 30px 50px rgba(15, 43, 75, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 1rem;
    --border-radius-lg: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================[SOLUTIONS HERO]===================== */
.solutions-hero {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(199, 162, 84, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(199, 162, 84, 0.12) 0%, transparent 40%);
    z-index: -1;
    animation: ambientPulse 10s ease-in-out infinite;
}

.solutions-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(199, 162, 84, 0.15);
    border: 1px solid rgba(199, 162, 84, 0.3);
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.solutions-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.solutions-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* =====================[SOLUTIONS NAVIGATION]===================== */
.solutions-nav-section {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.95);
}

.solutions-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--accent);
}

/* =====================[SOLUTION SECTIONS]===================== */
.solution-section {
    padding: 6rem 0;
    background: white;
}

.solution-section.alt {
    background: var(--background-alt);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 40px 0;
}

.solution-grid.reverse {
    direction: rtl;
}

.solution-grid.reverse .solution-content {
    direction: ltr;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(199, 162, 84, 0.1);
    border-radius: 100px;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.solution-content h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 1rem 0 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Challenge Box */
.challenge-box {
    background: rgba(199, 162, 84, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 2rem;
}

.challenge-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.challenge-box p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Capability List */
.capability-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.capability {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.capability i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.capability h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.capability p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Case Study */
.case-study {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.case-study h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.case-study p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Visual Card */
.solution-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(199, 162, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(199, 162, 84, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.visual-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================[COMPARISON SECTION]===================== */
.comparison-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.comparison-table {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.25rem 1rem;
    text-align: left;
}

th:first-child {
    border-top-left-radius: var(--border-radius);
}

th:last-child {
    border-top-right-radius: var(--border-radius);
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

td:first-child {
    font-weight: 500;
    color: var(--primary-dark);
}

td i.fa-check {
    color: var(--success);
    font-size: 1.1rem;
}

td i.fa-minus {
    color: var(--text-lighter);
    font-size: 1.1rem;
}

tr:hover td {
    background: var(--background-alt);
}

/* =====================[CTA SECTION]===================== */
.cta-section {
    padding: 4rem 0 6rem;
    background: white;
}

.cta-box {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(199, 162, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(199, 162, 84, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

/* .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
} */

/* =====================[ANIMATIONS]===================== */
.solution-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.solution-section:nth-child(odd) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visual-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =====================[RESPONSIVE DESIGN]===================== */
@media (max-width: 1024px) {
    .solution-grid,
    .solution-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    
    .solution-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .solutions-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .solutions-hero {
        padding: 6rem 0 4rem;
    }
    
    .solutions-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .solutions-nav-section {
        top: 60px;
    }
    
    .solutions-nav {
        padding: 0.75rem 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .solution-section {
        padding: 4rem 0;
    }
    
    .solution-content h2 {
        font-size: 2rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .visual-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-box {
        padding: 3rem 2rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .solutions-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .solutions-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .capability {
        flex-direction: column;
        text-align: center;
    }
    
    .capability i {
        margin: 0 auto;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-table {
        margin: 0 -1.5rem;
        border-radius: 0;
    }
    
    th, td {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}