/* =====================================================
   GREEDLEADS SHARED CSS SYSTEM
   Design System & Global Styles
   ===================================================== */

/* =====================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ===================================================== */

:root {
    /* Brand Colors */
    --color-primary: #007cba;
    --color-primary-dark: #0056b3;
    --color-primary-darker: #004494;
    --color-secondary: #ff6b35;
    --color-secondary-dark: #e55a2b;
    --color-accent: #10b981;
    --color-accent-dark: #059669;
    
    /* Neutral Colors */
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-lighter: #e9ecef;
    --color-border: #dee2e6;
    
    /* Status Colors */
    --color-success: #28a745;
    --color-warning: #fbbf24;
    --color-error: #dc3545;
    --color-info: #17a2b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-modern: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.2rem;
    
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.3;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50px;
    
    /* Shadows - Enhanced Shadow Scale */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 30px 80px rgba(0, 0, 0, 0.2);
    
    /* Overlay Colors */
    --overlay-light: rgba(0, 0, 0, 0.02);
    --overlay-subtle: rgba(0, 0, 0, 0.05);
    --overlay-default: rgba(0, 0, 0, 0.1);
    --overlay-dark: rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index */
    --z-sticky: 50;
    --z-fixed: 100;
    --z-modal: 1000;
    
    /* ====== PHASE 8: Dark Theme Colors ====== */
    
    /* Black Background Palette */
    --color-black-primary: #0a0a0a;      /* Main background */
    --color-black-secondary: #111111;    /* Slightly lighter */
    --color-black-tertiary: #1a1a1a;     /* Card backgrounds */
    --color-black-quaternary: #262626;   /* Hover states */
    
    /* Border Colors */
    --color-border-dark: #2a2a2a;        /* Default border */
    --color-border-hover: #404040;       /* Hover border */
    
    /* Text Colors */
    --color-text-primary: #ffffff;       /* White text */
    --color-text-secondary: #b4b4b4;     /* Light gray */
    --color-text-tertiary: #808080;      /* Medium gray */
    
    /* Accent Colors */
    --color-accent-cyan: #00d4ff;        /* Primary accent */
    --color-accent-orange: #ff6b35;      /* Secondary accent */
    --color-accent-green: #10b981;       /* Success/CTA accent */
    
    /* Gradient Presets */
    --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #d84315 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    /* Enhanced Shadows */
    --shadow-dark-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-dark-md: 0 4px 20px rgba(0, 212, 255, 0.15);
    --shadow-dark-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    /* Z-Index Scale (updated) */
    --z-dropdown: 1001;
}

/* =====================================================
   2. RESET & BASE STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-sm);
}

/* =====================================================
   3. LAYOUT UTILITIES
   ===================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-sm {
    max-width: 800px;
}

.container-lg {
    max-width: 1400px;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    align-items: center;
    justify-content: space-between;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Grid */
.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Padding Utilities */
.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.px-sm { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-md { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-lg { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-xl { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

.py-sm { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-md { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-xl { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

/* Margin Utilities */
.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* =====================================================
   4. TEXT UTILITIES
   ===================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }

.font-regular { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-light { color: var(--color-text-light); }
.text-white { color: white; }

/* =====================================================
   5. BUTTON STYLES
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 124, 186, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3), 0 0 0 4px rgba(0, 124, 186, 0.2);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3), 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-accent:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
    transition: all var(--transition-base);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
    transform: translateY(-2px);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.2);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.btn-white:hover {
    background: var(--color-bg-light);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-white:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* =====================================================
   6. CARD STYLES
   ===================================================== */

.card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.card-accent {
    border-top: 4px solid var(--color-primary);
}

.card-elevated {
    box-shadow: var(--shadow-lg);
}

.card-subtle {
    background: var(--overlay-light);
    border: 1px solid var(--color-border);
    box-shadow: none;
}

.card-gradient-top {
    border-top: 3px solid;
    position: relative;
}

.card-gradient-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

/* =====================================================
   7. BADGE & TAG STYLES
   ===================================================== */

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.badge-primary {
    background: var(--color-primary);
    color: white;
}

.badge-secondary {
    background: var(--color-secondary);
    color: white;
}

.badge-success {
    background: var(--color-success);
    color: white;
}

.badge-warning {
    background: var(--color-warning);
    color: #000;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

/* =====================================================
   8. FORM STYLES
   ===================================================== */

.form-group {
    margin-bottom: var(--spacing-lg);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

input, textarea, select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: inherit;
    transition: all var(--transition-base);
    background-color: var(--color-bg);
}

input::placeholder, textarea::placeholder {
    color: var(--color-text-light);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.1), 0 0 0 1.5px rgba(0, 124, 186, 0.3);
    background-color: rgba(0, 124, 186, 0.02);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* =====================================================
   9. ANIMATIONS
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade { animation: fadeIn 0.3s ease; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-slide-in-right { animation: slideInRight 0.5s ease; }
.animate-slide-in-left { animation: slideInLeft 0.5s ease; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* =====================================================
   10. RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.2rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
        --spacing-4xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .grid-auto {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.8rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.2rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
    }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none !important;
    }
}

/* =====================================================
   11. UTILITY CLASSES
   ===================================================== */

.w-100 { width: 100%; }
.w-50 { width: 50%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-none { box-shadow: none; }
.shadow-hover {
    transition: box-shadow var(--transition-base);
}
.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Display */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Float */
.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Transitions */
.transition-fast { transition: all var(--transition-fast); }
.transition-base { transition: all var(--transition-base); }
.transition-slow { transition: all var(--transition-slow); }

/* Scale & Transform Utilities */
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

.hover-scale-105:hover {
    transform: scale(1.05);
    transition: transform var(--transition-base);
}

.hover-scale-110:hover {
    transform: scale(1.1);
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    transition: transform var(--transition-base);
}

.hover-lift-sm:hover {
    transform: translateY(-2px);
    transition: transform var(--transition-base);
}

/* Border */
.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-r { border-right: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-l { border-left: 1px solid var(--color-border); }

.border-primary { border-color: var(--color-primary); }
.border-secondary { border-color: var(--color-secondary); }

/* Background */
.bg-white { background-color: white; }
.bg-light { background-color: var(--color-bg-light); }
.bg-lighter { background-color: var(--color-bg-lighter); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }

/* =====================================================
   INSIGHTS SECTION STYLES
   ===================================================== */

.insights-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    padding: 50px 20px;
    margin: 40px 0;
    border-top: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-secondary);
}

.insights-container {
    max-width: 1200px;
    margin: 0 auto;
}

.insights-header {
    text-align: center;
    margin-bottom: 40px;
}

.insights-title {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.insights-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.insights-tips h3,
.insights-platforms h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insights-list li {
    padding: 12px 16px;
    margin-bottom: 12px;
    background: white;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-text);
    line-height: 1.6;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.insights-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.1);
}

.insights-list li::before {
    content: '✓ ';
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 8px;
}

.insights-recommendation {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.insights-takeaway {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.takeaway-label {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.insights-takeaway p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.insights-platforms {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insights-platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.insights-platform-card {
    display: block;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    border: 2px solid var(--color-border);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insights-platform-card:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 124, 186, 0.15);
}

.insights-platform-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.insights-platform-rating {
    color: var(--color-warning);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.insights-platform-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .insights-section {
        padding: 30px 15px;
        margin: 30px 0;
    }
    
    .insights-title {
        font-size: 1.5rem;
    }
    
    .insights-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .insights-list li {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .insights-takeaway,
    .insights-platforms {
        padding: 20px;
    }
    
    .insights-tips h3,
    .insights-platforms h3 {
        font-size: 1.1rem;
    }
}