/* ========================================
   Insights Styles - Liquid Glass
   ======================================== */

.insights-hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 153, 204, 0.05) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.insights-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.insights-hero-content {
    position: relative;
    z-index: 1;
}

.insights-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.insights-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    color: var(--light-text);
}

.insights-section {
    padding: 4rem 2rem;
}

.insights-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.insights-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.insights-intro p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1.05rem;
}

.insights-table-wrapper {
    max-width: 1200px;
    margin: 0 auto 3rem;
    overflow-x-auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.insights-table {
    width: 100%;
    border-collapse: collapse;
}

.insights-table thead {
    background: rgba(0, 212, 255, 0.15);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.insights-table th {
    padding: 1rem;
    text-align: left;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.insights-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.insights-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.insights-table td {
    padding: 1.25rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.column-primary {
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.column-code {
    background: rgba(0, 212, 255, 0.08);
    padding: 0.5rem;
    border-radius: 0.375rem;
    border-left: 3px solid var(--primary-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

.insight-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.insight-card:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.insight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--light-text);
    position: relative;
    transition: color 0.3s ease;
}

.insight-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

/* Responsive */
@media (max-width: 768px) {
    .insights-hero h1 {
        font-size: 2rem;
    }

    .insights-hero .subtitle {
        font-size: 1rem;
    }

    .insights-table-wrapper {
        padding: 1rem;
    }

    .insights-table th,
    .insights-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .insight-card {
        padding: 1.5rem;
    }

    .insight-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .insights-hero {
        padding: 4rem 1rem;
    }

    .insights-hero h1 {
        font-size: 1.5rem;
    }

    .insights-section {
        padding: 2rem 1rem;
    }

    .insights-table-wrapper {
        overflow-x: auto;
        padding: 0.5rem;
    }

    .insights-table th,
    .insights-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}

/* Insights List Styles */
.insights-list {
    max-width: 1000px;
    margin: 0 auto;
}

.insight-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.insight-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.insight-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    margin: 0;
}

.insight-badge {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.insight-description {
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Embed Section */
.embed-section {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.embed-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.embed-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.embed-code code {
    color: var(--primary-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.embed-hint {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Preview Section */
.preview-section {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.preview-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.preview-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.375rem;
}

.preview-link:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}
