/* ============================================================================
   ARDF - AI Resource Discovery Framework
   Modern, responsive landing page
   ============================================================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Dark Theme */
    --bg-dark: #0f172a;
    --bg-dark-lighter: #1e293b;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;

    /* 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;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-dark);
    overflow-x: hidden;
}

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

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar {
    background: var(--bg-dark-lighter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.btn-publish {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-publish:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
    background: linear-gradient(135deg, var(--bg-dark-lighter) 0%, var(--bg-dark) 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1), transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-buttons .btn-primary.large,
.hero-cta-buttons .btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    text-decoration: none;
}

/* ============================================================================
   Playground Section
   ============================================================================ */

.playground-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

/* Playground Section */
.playground-intro {
    font-size: 1.125rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0.5rem auto 2rem;
}

/* How it Works Section */
.how-it-works-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.how-it-works-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.how-it-works-header span {
    font-size: 1.5rem;
}

.how-it-works-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.how-it-works-step {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.step-badge {
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content p:first-child {
    margin: 0;
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.step-content p:last-child {
    margin: 0.25rem 0 0 0;
    color: #94a3b8;
    font-size: 0.75rem;
}

/* What Happens After Discovery */
.what-happens-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 2px solid #e5e7eb;
}

.what-happens-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.what-happens-header span {
    font-size: 1.5rem;
}

.what-happens-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: white;
}

.what-happens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.what-happens-item h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.what-happens-item p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

.what-happens-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.what-happens-item-header span {
    font-size: 1.25rem;
}

.playground-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.search-input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-examples {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.example-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.example-query {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.example-query:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
}

.search-loading {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-results {
    display: grid;
    gap: var(--spacing-lg);
}

.skill-result {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.skill-result:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.skill-badges {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-verified {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-trust {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-relevance {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Skill Type Badges */
.skill-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.badge-native {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-external {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.badge-sandbox {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.skill-description {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.skill-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
    margin-top: var(--spacing-xs);
}

.skill-capabilities {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.capability-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.skill-quick-start {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.skill-quick-start pre {
    margin: 0;
    overflow-x: auto;
}

.skill-quick-start code {
    color: var(--primary);
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

/* ============================================================================
   How to Use ARDF Section
   ============================================================================ */

.how-to-use-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    padding: 4rem 0;
}

.how-to-use-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.how-to-use-section .section-header p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

.how-to-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Option Cards */
.option-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.option-card-green {
    border: 2px solid #10b981;
}

.option-card-purple {
    border: 2px solid #667eea;
}

.option-card-orange {
    border: 2px solid #f59e0b;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-number {
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.option-number-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.option-number-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.option-number-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.option-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.option-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
}

.option-subtitle-green {
    color: #10b981;
}

.option-subtitle-purple {
    color: #667eea;
}

.option-subtitle-orange {
    color: #fbbf24;
}

.option-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.option-code-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.option-code-box p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.option-code-box pre {
    margin: 0;
    font-size: 0.875rem;
    overflow-x: auto;
    background: #1f2937;
    padding: 1rem;
    border-radius: 6px;
}

.option-code-box-small pre {
    font-size: 0.75rem;
    padding: 0.75rem;
}

.option-code-box pre code {
    color: #10b981;
}

.option-code-box-orange pre code {
    color: #f59e0b;
}

.option-examples {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-example-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(229, 231, 235, 0.2);
    font-size: 0.875rem;
    color: #e5e7eb;
}

.option-features-box {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.option-features-box-green {
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid #10b981;
}

.option-features-box-purple {
    background: rgba(102, 126, 234, 0.05);
    border-left: 4px solid #667eea;
}

.option-features-box-orange {
    background: rgba(245, 158, 11, 0.05);
    border-left: 4px solid #f59e0b;
}

.option-features-box p {
    margin: 0;
    font-size: 0.875rem;
}

.option-features-box ul {
    margin: 0.5rem 0 0 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.option-cta-link {
    display: inline-block;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.option-cta-link-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.option-cta-link-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.option-cta-link-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* What happens after discovery section */
.after-discovery-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 2px solid #e5e7eb;
}

.after-discovery-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.after-discovery-icon {
    font-size: 1.5rem;
}

.after-discovery-title {
    margin: 0;
    font-size: 1.125rem;
    color: white;
}

.after-discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.after-discovery-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.after-discovery-item-icon {
    font-size: 1.25rem;
}

.after-discovery-item-icon.green {
    color: #10b981;
}

.after-discovery-item-icon.purple {
    color: #667eea;
}

.after-discovery-item-icon.yellow {
    color: #fbbf24;
}

.after-discovery-item-title {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.after-discovery-item-text {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Native Skills Section */
.native-skills-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    padding: 4rem 0;
}

.native-skills-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-internal-skills {
    background: var(--bg-dark-lighter);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.why-internal-skills-title {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.metric-card {
    padding: 1rem;
    border-radius: 0.5rem;
}

.metric-card.green {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid #10b981;
}

.metric-card.purple {
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid var(--primary);
}

.metric-card.orange {
    background: rgba(245, 158, 11, 0.05);
    border-left: 3px solid var(--warning);
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.metric-value.green {
    color: #10b981;
}

.metric-value.purple {
    color: var(--primary);
}

.metric-value.orange {
    color: var(--warning);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.metric-description {
    color: var(--text-dark);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Native vs External Comparison Table */
.native-comparison-container {
    background: var(--bg-dark-lighter);
    padding: 2rem;
    border-radius: 1rem;
    overflow-x: auto;
}

.native-comparison-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.native-comparison-table thead tr {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.native-comparison-table th {
    padding: 1rem;
    font-weight: 600;
}

.native-comparison-table th.feature-col {
    text-align: left;
    color: var(--text-muted);
}

.native-comparison-table th.native-col {
    text-align: center;
    color: #10b981;
}

.native-comparison-table th.external-col {
    text-align: center;
    color: #3b82f6;
}

.native-comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.native-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.native-comparison-table td {
    padding: 1rem;
}

.native-comparison-table td.feature {
    color: var(--text-dark);
}

.native-comparison-table td.center {
    text-align: center;
}

.native-comparison-table td.highlight {
    color: #10b981;
    font-weight: bold;
}

.native-comparison-table td.muted {
    color: var(--text-muted);
}

/* Available Native Skills */
.available-skills-section {
    margin-top: 2rem;
}

.available-skills-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.available-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.native-skill-card {
    background: var(--bg-dark-lighter);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.native-skill-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.native-skill-icon {
    font-size: 1.5rem;
}

.native-skill-title {
    color: var(--text-dark);
    margin: 0;
}

.native-skill-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.native-skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.native-skill-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.native-skills-cta {
    text-align: center;
    margin-top: 2rem;
}

.native-skills-cta .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
}

/* Coming Soon Badge */
.coming-soon-badge {
    font-size: 0.75rem;
    color: #92400e;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: rgba(102, 126, 234, 0.03);
    padding: 4rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-dark-lighter);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-intro {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.pricing-price {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
}

.pricing-period {
    font-size: 14px;
    font-weight: normal;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.faq-cta .btn-secondary {
    margin-left: 1rem;
}

/* Disabled Link */
.link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Comparison Table */
.comparison-container {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

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

.comparison-table thead tr {
    border-bottom: 2px solid #e5e7eb;
}

.comparison-table th {
    padding: 1rem;
    font-weight: 600;
}

.comparison-table th.feature-col {
    text-align: left;
    color: #e2e8f0;
}

.comparison-table th.mcp-col {
    text-align: center;
    color: #10b981;
}

.comparison-table th.api-col {
    text-align: center;
    color: #667eea;
}

.comparison-table th.demo-col {
    text-align: center;
    color: #fbbf24;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1rem;
    color: #94a3b8;
}

.comparison-table td.center {
    text-align: center;
}

.comparison-table td.small {
    font-size: 0.875rem;
}

/* ============================================================================
   Featured Skills
   ============================================================================ */

.featured-skills {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark-lighter);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition);
    cursor: pointer;
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.skill-card-header {
    margin-bottom: var(--spacing-md);
}

.skill-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.skill-card-category {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.skill-card-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.skill-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card-trust {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
}

.trust-icon {
    color: var(--success);
}

.skill-card-pricing {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.view-all {
    text-align: center;
}

/* ============================================================================
   Features
   ============================================================================ */

.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-sm);
}

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

/* ============================================================================
   Pricing
   ============================================================================ */

.pricing-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark-lighter);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-dark);
}

.btn-pricing {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: transparent;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-pricing.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.btn-pricing.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.publisher-pricing {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    text-align: center;
}

.publisher-pricing h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xl);
}

.publisher-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.publisher-tier {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.publisher-tier strong {
    display: block;
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.publisher-tier p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================================================
   FAQ Section
   ============================================================================ */

.faq-section {
    background: rgba(102, 126, 234, 0.03);
    padding: 4rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-dark-lighter);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================================
   API Docs Preview
   ============================================================================ */

.api-docs-preview {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
}

.api-example {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.copy-btn {
    background: rgba(102, 126, 234, 0.2);
    color: var(--primary);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(102, 126, 234, 0.3);
}

.code-block pre {
    padding: var(--spacing-lg);
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    color: #10b981;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

.api-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================================
   Publish Section
   ============================================================================ */

.publish-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

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

.publish-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

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

.publish-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.benefit-icon {
    font-size: 1.5rem;
}

.publish-cta {
    margin-top: var(--spacing-2xl);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: var(--spacing-md) var(--spacing-2xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary.large {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: 1.25rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.publish-note {
    margin-top: var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background: var(--bg-dark-lighter);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

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

.footer-links a:hover {
    color: var(--primary);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .nav-links {
        display: none; /* Add mobile menu toggle */
    }

    .search-box {
        flex-direction: column;
    }

    .api-example {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--bg-dark-lighter) 0%, var(--bg-dark) 100%);
}

.security-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.security-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0 40px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        width: fit-content;
    }
}

/* ============================================================================
   IMPROVED PUBLISHER SECTION
   ============================================================================ */

.publisher-value {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.value-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.value-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.publish-process {
    background: var(--bg-dark-lighter);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.publish-process h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: white;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 var(--spacing-sm);
}

.publisher-benefits {
    margin-bottom: var(--spacing-2xl);
}

.publisher-benefits h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.benefit-item .benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.benefit-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.benefit-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.publisher-testimonial {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.publish-cta-section {
    text-align: center;
}

.publish-cta-section h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.publish-cta-section > p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.cta-buttons .btn-primary.large,
.cta-buttons .btn-secondary.large {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    text-decoration: none;
}

.publish-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-sm);
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}


/* ============================================================================
   FRAMEWORK INTEGRATIONS SECTION
   ============================================================================ */

.integrations-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
}

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.framework-card {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.framework-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.framework-logo {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.framework-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    flex: 1;
}

.framework-badge {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.framework-desc {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.code-snippet-mini {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
}

.code-snippet-mini pre {
    margin: 0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.5;
}

.code-snippet-mini code {
    color: #a6e22e;
}

.framework-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.framework-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.integration-cta {
    text-align: center;
    background: var(--bg-dark-lighter);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-cta h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.integration-cta p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.integration-cta .btn-secondary {
    margin: 0 var(--spacing-sm);
}

/* Responsive adjustments for integrations */
@media (max-width: 768px) {
    .frameworks-grid {
        grid-template-columns: 1fr;
    }

    .integration-cta .btn-secondary {
        display: block;
        margin: var(--spacing-sm) auto;
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================================================
   TRUST SCORE CALCULATOR (INTERACTIVE)
   ============================================================================ */

.trust-calculator-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--bg-dark-lighter) 0%, var(--bg-dark) 100%);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.calculator-inputs,
.calculator-output {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.calc-group {
    margin-bottom: var(--spacing-xl);
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.calc-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.calc-weight {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    cursor: pointer;
    transition: all 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.calc-value {
    text-align: right;
    margin-top: var(--spacing-xs);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.trust-score-display {
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.score-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.score-number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.score-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    background: #10b981;
    transition: all 0.3s ease;
}

.score-breakdown {
    margin-bottom: var(--spacing-xl);
}

.score-breakdown h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-md);
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.breakdown-value {
    font-weight: 700;
    color: var(--primary);
}

.score-insights {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.score-insights h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

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

.score-insights li {
    padding: var(--spacing-sm) 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.calculator-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-dark-lighter);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-cta p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

/* Responsive adjustments for calculator */
@media (max-width: 968px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .score-number {
        font-size: 4rem;
    }
}

/* ============================================================================
   FRAMEWORK FILTERS (INTERACTIVE)
   ============================================================================ */

.framework-filters {
    background: var(--bg-dark-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: white;
}

.filter-results {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.filter-results span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Responsive adjustments for filters */
@media (max-width: 768px) {
    .framework-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group {
        width: 100%;
    }

    .filter-results {
        width: 100%;
        text-align: center;
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ============================================================================
   PWA Install Banner
   ============================================================================ */

.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.pwa-install-banner.hidden {
    display: none;
}

.install-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.install-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-text strong {
    font-weight: 700;
    font-size: 1rem;
}

.install-text span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.install-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-text {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-text:hover {
    color: white;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive PWA banner */
@media (max-width: 768px) {
    .install-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .install-text {
        flex-direction: column;
        gap: 0.25rem;
    }

    .install-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================================
   Lazy Loading Image Styles
   ============================================================================ */

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Blur placeholder while loading */
img[loading="lazy"]:not(.loaded) {
    filter: blur(10px);
    transform: scale(1.05);
}

/* Image optimization hints */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift during image load */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio by default */
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   Demo Badge Styles
   ============================================================================ */

.demo-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-badge.show {
    opacity: 1;
    transform: translateY(0);
}

.demo-badge.minimized .demo-badge-content {
    height: 48px;
    overflow: hidden;
}

.demo-badge.minimized .demo-badge-body,
.demo-badge.minimized .demo-badge-footer {
    display: none;
}

.demo-badge-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 16px;
    transition: all 0.3s ease;
}

.demo-badge-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.demo-badge.minimized .demo-badge-header {
    margin-bottom: 0;
}

.demo-icon {
    font-size: 1.25rem;
}

.demo-title {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.demo-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.demo-badge-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-limit {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.demo-limit-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.demo-limit-info {
    opacity: 0.7;
    cursor: help;
    font-size: 0.75rem;
}

.demo-limit-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.demo-limit-progress {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 3px;
}

.demo-limit-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    font-weight: 500;
}

.demo-limit-text span {
    font-weight: 700;
}

.demo-badge-footer {
    margin-top: 12px;
}

.demo-upgrade-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: white;
    color: var(--primary);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Demo Limit Modal */
.demo-limit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-limit-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.demo-limit-modal-content {
    position: relative;
    z-index: 1;
    background: var(--bg-dark-lighter);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
    padding: 32px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.demo-limit-modal-header h2 {
    color: var(--text-dark);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.demo-limit-modal-body {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.demo-limit-modal-body p {
    margin-bottom: 12px;
}

.demo-limit-modal-body ul {
    padding-left: 20px;
}

.demo-limit-modal-body li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.demo-limit-modal-footer {
    display: flex;
    gap: 12px;
}

.demo-limit-modal-footer .btn-primary,
.demo-limit-modal-footer .btn-secondary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.demo-limit-modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
}

.demo-limit-modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.demo-limit-modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-limit-modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .demo-badge {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    .demo-limit-modal-content {
        padding: 24px;
    }

    .demo-limit-modal-footer {
        flex-direction: column;
    }
}
