/* Industry Page Styles */

/* Industry Hero */
.industry-hero {
    padding: 8rem 0 6rem;
    background: var(--gradient-subtle);
    position: relative;
    overflow: hidden;
}

.industry-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.industry-hero .hero-content {
    max-width: 85%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.industry-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.industry-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Pain Points Section */
.pain-points-section {
    padding: 6rem 0;
    background: white;
}

.pain-points-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.pain-point {
    text-align: center;
}

.pain-point h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pain-point p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.use-cases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.use-cases-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tab-pane p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tab-pane ul {
    list-style: none;
    padding: 0;
}

.tab-pane li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tab-pane li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ROI Section */
.roi-section {
    padding: 6rem 0;
    background: white;
}

.roi-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.roi-card {
    text-align: center;
}

/* Government page specific styles */
.government-hero .hero-badge svg {
    color: #1e3a8a;
}

.government-hero .roi-number svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.roi-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.roi-percent {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.roi-number .roi-percent {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.roi-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.roi-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Case Study Section */
.case-study-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.case-study-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.case-study-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.case-study-content blockquote {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
}

.case-study-content cite {
    display: block;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: normal;
    margin-top: 1rem;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Industry CTA Section */
.industry-cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 85%;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.industry-cta-section .cta-primary {
    background: white;
    color: var(--primary-color);
}

.industry-cta-section .cta-primary:hover {
    background: #f8f9fa;
}

.industry-cta-section .cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.industry-cta-section .cta-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Industry-specific colors */
.legal-hero .hero-badge { color: #8B4513; }
.government-hero .hero-badge { color: #1e3a8a; }
.hr-hero .hero-badge { color: #059669; }
.pe-hero .hero-badge { color: #7c3aed; }
.compliance-hero .hero-badge { color: #dc2626; }

/* Responsive */
@media (max-width: 768px) {
    .industry-hero {
        padding: 6rem 0 4rem;
    }
    
    .industry-hero .hero-title {
        font-size: 2rem;
    }
    
    .tab-buttons {
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .tab-content {
        padding: 2rem;
    }
    
    .roi-number {
        font-size: 3rem;
    }
}
/* Financial Services Specific Styles */
.financial-hero {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
}

.financial-hero .hero-badge {
    color: white !important;
}

.financial-hero .hero-badge svg {
    color: white !important;
}

.financial-hero .hero-title {
    color: white !important;
}

.financial-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Financial hero buttons */
.financial-hero .cta-primary {
    background: white !important;
    color: #1a472a !important;
    border: 2px solid white !important;
}

.financial-hero .cta-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.financial-hero .cta-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.financial-hero .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.testimonial-container {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.testimonial-quote {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-quote::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.testimonial-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: normal;
    text-align: right;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Financial Services Page Sections */
.achievement-section {
    padding: 6rem 0;
    background: var(--background-secondary);
}

.achievement-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.why-choose-section {
    padding: 6rem 0;
    background: white;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Fix Features Section for Financial Services */
.features-section .section-subtitle {
    margin-bottom: 3rem;
}

/* Financial Services Platform Capabilities - Custom Design */
.features-section.financial-services {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.financial-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .financial-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.financial-capability-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: white;
    border-radius: 30px;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.financial-capability-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.financial-capability-item:hover::before {
    transform: scale(1);
}

.financial-capability-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.capability-icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.financial-capability-item:hover .capability-icon-wrapper {
    transform: rotate(0deg) scale(1.1);
}

.capability-icon-wrapper svg {
    width: 50px;
    height: 50px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.capability-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.capability-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Add numbering or accent */
.financial-capability-item:nth-child(1) .capability-icon-wrapper {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.financial-capability-item:nth-child(2) .capability-icon-wrapper {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.financial-capability-item:nth-child(3) .capability-icon-wrapper {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.financial-capability-item:nth-child(4) .capability-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Ensure proper spacing at bottom */
.industry-cta-section {
    margin-top: 0;
}

/* Dark Mode Support - DISABLED: Force Light Mode */
/* @media (prefers-color-scheme: dark) {
    .pain-points-section,
    .roi-section,
    .achievement-section,
    .why-choose-section,
    .regulatory-challenge-section {
        background: var(--dark-background-primary) !important;
    }
    
    .achievement-card,
    .why-card,
    .testimonial-quote {
        background: var(--dark-surface) !important;
        border-color: var(--dark-border-color) !important;
    }
    
    .tab-content {
        background: var(--dark-surface) !important;
    }
    
    .tab-button {
        background: var(--dark-surface) !important;
        border-color: var(--dark-border-color) !important;
        color: var(--dark-text-secondary) !important;
    }
    
    .tab-button.active {
        background: var(--primary-color) !important;
        color: white !important;
    }
    
    .financial-capability-item {
        background: var(--dark-surface) !important;
        border-color: var(--dark-border-color) !important;
    }
    
    .financial-capability-item:hover {
        background: var(--dark-surface) !important;
    }
} */

/* Force Light Mode Overrides */
@media (prefers-color-scheme: dark) {
    .pain-points-section,
    .roi-section,
    .achievement-section,
    .why-choose-section,
    .regulatory-challenge-section {
        background: white !important;
    }
    
    .achievement-card,
    .why-card,
    .testimonial-quote {
        background: white !important;
        border-color: rgba(0, 0, 0, 0.05) !important;
    }
    
    .tab-content {
        background: white !important;
    }
    
    .tab-button {
        background: white !important;
        border-color: var(--border-color) !important;
        color: var(--text-secondary) !important;
    }
    
    .tab-button.active {
        background: var(--primary-color) !important;
        color: white !important;
    }
    
    .financial-capability-item {
        background: white !important;
        border-color: transparent !important;
    }
    
    .financial-capability-item:hover {
        background: white !important;
    }
    
    /* Additional overrides for text colors */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary) !important;
    }
    
    p, li, span {
        color: var(--text-secondary) !important;
    }
    
    .hero-title {
        color: var(--text-primary) !important;
    }
    
    .hero-subtitle {
        color: var(--text-secondary) !important;
    }
    
    body {
        background: white !important;
        color: var(--text-primary) !important;
    }
    
    /* Ensure proper backgrounds for sections */
    .use-cases-section {
        background: var(--bg-light) !important;
    }
    
    .case-study-section {
        background: var(--bg-light) !important;
    }
    
    .features-section.financial-services {
        background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%) !important;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .achievement-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .achievement-card,
    .why-card {
        padding: 2rem;
    }
    
    .achievement-icon,
    .why-icon {
        font-size: 2rem;
    }
    
    .testimonial-quote {
        padding: 2rem;
        font-size: 1.125rem;
    }
}

/* Regulatory Challenge Section */
.regulatory-challenge-section {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.regulatory-challenge-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.challenge-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Ensure footer has proper spacing */
.footer {
    margin-top: 0;
}
