/*
Theme Name: CK Insights Premium Theme
Theme URI: https://ckinsights.com
Author: Antigravity Code Assistant
Description: Custom high-performance, glassmorphic WordPress theme for CK Insights.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ck-insights
*/
/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    --bg-darker: #0b1120;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #06b6d4;
    
    --gradient-primary: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient-text: linear-gradient(to right, #60a5fa, #22d3ee);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1200px;
    --nav-height: 100px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 75px;
    width: auto;
    /* Invert the black logo to make it white for the dark background */
    filter: invert(1) brightness(2);
    transition: var(--transition);
}

.brand-logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-btn {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 5%;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    background: var(--bg-darker);
    padding: 60px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    color: white;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* =========================================
   About Section
   ========================================= */
.about {
    background: var(--bg-darker);
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-wrapper img {
    border-radius: var(--border-radius);
    filter: brightness(0.8);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.exp-years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.about-content .section-title {
    margin-top: 16px;
    font-size: 2.5rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.about-features {
    margin: 32px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    flex-wrap: wrap;
}

.about-features i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.about-details-link {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    cursor: pointer;
    border-bottom: 1px dashed var(--secondary);
    padding-bottom: 1px;
}

.about-details-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    transform: translateX(2px);
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    position: relative;
    padding: 100px 5%;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-choices-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.contact-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
    max-width: 800px;
}

.contact-choice-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-choice-card h3 {
    font-size: 1.5rem;
    margin: 16px 0 8px;
    font-family: var(--font-heading);
}

.contact-choice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.choice-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

/* WhatsApp Card Styles */
.whatsapp-card .choice-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.15);
}

.whatsapp-card:hover .choice-icon {
    background: #25d366;
    color: white;
    transform: scale(1.1);
}

/* Email Card Styles */
.email-card .choice-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.email-card:hover,
.email-card.active {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.email-card:hover .choice-icon,
.email-card.active .choice-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Collapsible Form Animation */
.collapsible-form {
    width: 100%;
    max-width: 600px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 40px; /* Zero top/bottom padding initially */
    border: 1px solid transparent;
    transition: max-height 0.6s cubic-bezier(0.77, 0, 0.175, 1), 
                opacity 0.4s ease, 
                padding 0.6s cubic-bezier(0.77, 0, 0.175, 1),
                margin 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    margin-top: 0;
}

.collapsible-form.active {
    max-height: 1500px;
    opacity: 1;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    accent-color: var(--primary);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.checkbox-label {
    margin-bottom: 0 !important;
    cursor: pointer;
    user-select: none;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5% 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Interactive Advantage Cards
   ========================================= */
.service-card {
    cursor: pointer;
    position: relative;
    padding-bottom: 60px !important;
}

.service-card::after {
    content: 'Learn more \2192';
    position: absolute;
    bottom: 24px;
    left: 32px;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.6;
    transform: translateX(0);
    transition: var(--transition);
    font-weight: 600;
}

.service-card:hover::after {
    opacity: 1;
    transform: translateX(6px);
    color: white;
}

/* =========================================
   Interactive Modal Overlay
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.modal-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    color: white;
}

.modal-body {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.modal-body strong {
    color: white;
    font-weight: 600;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 12px;
    list-style-type: square;
    color: var(--text-muted);
}

.modal-body li::marker {
    color: var(--primary);
}

body.modal-open {
    overflow: hidden;
}

.modal-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.modal-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* =========================================
   Insights Section Styling
   ========================================= */
.insights-section {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.insights-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.live-feed-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: fit-content;
}

.expand-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition);
    padding: 10px 24px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.05);
}

.expand-news-link:hover {
    color: white !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 182, 212, 0.2);
}

.pulse-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.feed-status-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #10b981;
    font-family: var(--font-heading);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.insight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.insight-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.insight-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.insight-card:hover .insight-img-wrapper img {
    transform: scale(1.08);
}

.insight-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.insight-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.insight-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.insight-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.insight-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    align-self: flex-start;
    margin-top: auto;
}

.insight-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

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

.insight-card:hover .insight-link i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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