/* Color Palette */
:root {
    --primary-color: #7c9cbf;        /* Light slate blue */
    --primary-dark: #5a7fa3;         /* Darker slate blue */
    --primary-light: #a8c5e4;        /* Lighter slate blue */
    --secondary-color: #6b9080;      /* Sage green */
    --secondary-light: #8fad9f;      /* Light sage */
    --accent-color: #4a5f7f;         /* Deep blue-gray */
    --gold-color: #c9a961;           /* Muted gold */
    --gold-light: #d4b878;           /* Light gold */
    --gold-dark: #b8944a;            /* Dark gold */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 75px;
    width: auto;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .navbar {
        width: 100%;
        max-width: 100vw;
    }

    .nav-container {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        max-width: 100%;
    }

    .logo-image {
        height: 50px;
    }

    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        padding: 0.75rem 1rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 0.3rem;
        margin-top: 0.5rem;
    }

    .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }

    .nav-cta {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.8rem;
    }
}

/* Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0.25rem;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.dropdown-item.active:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.header p {
    font-size: 1.2em;
    opacity: 0.95;
}

.visualization {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

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

.viz-title {
    font-size: 2em;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 700;
}

.viz-subtitle {
    color: #718096;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Visualization 1: Value Flow */
.value-flow {
    display: grid;
    grid-template-columns: 1fr auto 2fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.problem-box, .solution-box, .value-box {
    padding: 25px;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease;
}

.problem-box:hover, .solution-box:hover, .value-box:hover {
    transform: translateY(-5px);
}

.problem-box {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.solution-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.solution-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.value-box {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
}

.box-header {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-content {
    font-size: 0.95em;
    line-height: 1.6;
}

.arrow {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow::before {
    content: '→';
    font-size: 2em;
    color: #cbd5e0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

/* Visualization 2: Tech Stack */
.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stack-layer {
    background: linear-gradient(90deg, #f7fafc, #ffffff);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.stack-layer:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.layer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.layer-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.layer-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2d3748;
}

.layer-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.layer-description {
    flex: 1;
    color: #4a5568;
    line-height: 1.6;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e0;
    font-size: 0.9em;
    color: #4a5568;
    transition: all 0.2s ease;
}

.tech-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: scale(1.1);
}

.versifai-core {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.versifai-core .layer-title {
    color: var(--gray-800);
    font-weight: bold;
}

.versifai-core .layer-description {
    color: var(--gray-700);
}

.gold-star {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: white;
    font-size: 1.5em;
}

.gold-item {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: white;
    font-weight: 600;
}

.gold-item:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: scale(1.05);
}

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

/* Visualization 3: Organizational Model */
.org-model {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.role-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.role-card.ai-writer {
    border-top: 4px solid var(--secondary-color);
}

.role-card.ai-editor {
    border-top: 4px solid #ed8936;
}

.role-card.reader {
    border-top: 4px solid var(--primary-light);
}

.role-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.ai-writer .role-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
}

.ai-editor .role-icon {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
}

.reader .role-icon {
    background: linear-gradient(135deg, var(--primary-light), #3182ce);
    color: white;
}

.role-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 10px;
}

.role-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.role-tasks {
    list-style: none;
}

.role-tasks li {
    padding: 8px 0;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-tasks li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
}

.workflow-diagram {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.workflow-title {
    font-size: 1.3em;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: bold;
}

.workflow-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    background: white;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.workflow-step:hover .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: scale(1.1);
}

.step-label {
    color: #4a5568;
    font-weight: 600;
    max-width: 120px;
    text-align: center;
}

.workflow-arrow {
    font-size: 2em;
    color: #cbd5e0;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .value-flow {
        grid-template-columns: 1fr;
    }
    
    .org-model {
        grid-template-columns: 1fr;
    }
    
    .tech-items {
        flex-direction: column;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* Platform Page Styles */
.platform-body {
    background: #f8fafc;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.platform-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-header {
    background: white;
    border-bottom: 3px solid var(--primary-color);
    padding: 2rem 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.platform-meta {
    color: #718096;
    font-size: 0.9rem;
}

.separator {
    margin: 0 0.5rem;
}

.platform-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.control-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.platform-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.featured-story {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.story-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.featured-story h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
    line-height: 1.3;
}

.story-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.story-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.story-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.news-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: white;
}

.news-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-card.urgent {
    border-left: 4px solid #ff6b6b;
}

.news-priority {
    background: #ff6b6b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card p {
    color: #718096;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.news-meta {
    color: #a0aec0;
    font-size: 0.8rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.widget h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 0.5rem;
}

.stream-list, .alerts-list, .editorial-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stream-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.stream-item:hover {
    background: #f7fafc;
}

.stream-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    animation: pulse 2s ease-in-out infinite;
}

.stream-info {
    display: flex;
    flex-direction: column;
}

.stream-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.stream-status {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.stats-grid {
    display: grid;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
}

.stat-label {
    display: block;
    color: #718096;
    font-size: 0.8rem;
    margin: 0.25rem 0;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--secondary-color);
}

.stat-change.neutral {
    color: #718096;
}

.alert-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid;
}

.alert-item.high {
    border-left-color: #ff6b6b;
    background: #fff5f5;
}

.alert-item.medium {
    border-left-color: #ed8936;
    background: #fffaf0;
}

.alert-item.low {
    border-left-color: var(--primary-light);
    background: #f0f8ff;
}

.alert-priority {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #718096;
}

.alert-text {
    font-size: 0.9rem;
    color: #2d3748;
}

.alert-time {
    font-size: 0.8rem;
    color: #a0aec0;
}

.editor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.editor-item:hover {
    background: #f7fafc;
}

.editor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.editor-info {
    display: flex;
    flex-direction: column;
}

.editor-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.editor-status {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .platform-layout {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* AI Writer Workbench Styles */
.writer-body {
    background: #f1f5f9;
}

.writer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.writer-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.writer-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.writer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.writer-info h1 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.writer-subtitle {
    color: #718096;
    font-size: 0.9rem;
}

.writer-actions {
    display: flex;
    gap: 1rem;
}

.writer-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.writer-btn.secondary {
    background: white;
    border: 2px solid #e2e8f0;
    color: #4a5568;
}

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

.writer-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.writer-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.writer-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 1.5rem;
    min-height: calc(100vh - 200px);
}

/* Left Panel */
.left-panel {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.panel-header h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 0.5rem;
}

.connections-section h4,
.datasets-section h4 {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.connection-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.connection-item:hover {
    background: #f7fafc;
    border-color: var(--primary-color);
}

.connection-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: var(--primary-color);
}

.connection-icon {
    font-size: 1.2rem;
}

.connection-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.connection-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.connection-status {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.connection-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #718096;
    transition: color 0.3s ease;
}

.connection-btn:hover {
    color: var(--primary-color);
}

.datasets-section {
    margin-top: 2rem;
}

.dataset-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dataset-item:hover {
    background: #f7fafc;
}

.dataset-name {
    font-family: monospace;
    font-size: 0.85rem;
    color: #2d3748;
    flex: 1;
}

.dataset-rows {
    font-size: 0.75rem;
    color: #a0aec0;
}

/* Main Editor */
.main-editor {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prompt-section,
.code-section,
.viz-section,
.article-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.prompt-header,
.code-header,
.viz-header,
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.prompt-header h3,
.code-header h4,
.viz-header h4,
.article-header h4 {
    color: #2d3748;
    font-weight: 600;
}

.model-selector,
.viz-selector,
.setting-select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #4a5568;
    cursor: pointer;
}

.prompt-textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.prompt-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.prompt-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.prompt-btn,
.code-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.prompt-btn:hover,
.code-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

.code-editor {
    background: #1a202c;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-editor pre {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-editor .sql {
    color: #81e6d9;
}

/* Mock Chart */
.viz-container {
    height: 300px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
}

.mock-chart {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-bars {
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: space-around;
    padding: 0 2rem;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 200px;
    justify-content: end;
    position: relative;
}

.bar-group {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 200px;
}

.bar {
    width: 25px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.bar.forecast {
    background: #cbd5e0;
    opacity: 0.8;
}

.bar.actual {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* Visualization Tabs */
.viz-tabs {
    display: flex;
    gap: 0.5rem;
}

.viz-tab {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.viz-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.viz-content {
    display: none;
}

.viz-content.active {
    display: block;
}

/* Tableau Widget */
.tableau-container {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.tableau-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.tableau-logo {
    color: #1f77b4;
    font-weight: bold;
    font-size: 1rem;
}

.tableau-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 1rem;
}

.tableau-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.tableau-source {
    color: #718096;
    font-size: 0.8rem;
    font-family: monospace;
}

.tableau-fullscreen {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #718096;
    padding: 0.25rem;
}

.tableau-fullscreen:hover {
    color: var(--primary-color);
}

.tableau-dashboard {
    padding: 1rem;
}

.tableau-metric-cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.metric-label {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-change.positive {
    color: var(--secondary-color);
}

.metric-change.neutral {
    color: #718096;
}

.tableau-charts {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tableau-chart-area {
    flex: 2;
}

.tableau-line-chart {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.chart-title-small {
    text-align: center;
    font-weight: 600;
    color: #4a5568;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.tableau-filters {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.filter-item select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    font-size: 0.85rem;
}

/* Preview Modal */
.preview-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.preview-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.preview-header h2 {
    color: #2d3748;
    font-size: 1.3rem;
    margin: 0;
}

.preview-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #a0aec0;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-close:hover {
    color: var(--primary-color);
}

.preview-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.preview-article {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.preview-meta {
    margin-bottom: 2rem;
}

.preview-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.preview-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #718096;
    font-size: 0.9rem;
}

.preview-article h1 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.preview-article h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.preview-article p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.preview-article ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.preview-article li {
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.preview-chart {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.preview-chart .chart-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.preview-chart .chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 200px;
    margin-bottom: 1rem;
}

.preview-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8f9fa;
}

.bar-label {
    font-size: 0.8rem;
    color: #4a5568;
    margin-top: 0.5rem;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.forecast {
    background: #cbd5e0;
}

.legend-color.actual {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* Article Editor */
.article-meta {
    color: #718096;
    font-size: 0.9rem;
}

.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
}

.toolbar-btn {
    padding: 0.5rem;
    border: none;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

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

.article-content {
    min-height: 400px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    line-height: 1.6;
    font-size: 1rem;
}

.article-content:focus {
    outline: none;
    border-color: var(--primary-color);
}

.article-content h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content h3 {
    color: #4a5568;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.2rem;
}

.article-content p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.article-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.insight-callout {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.insight-callout h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Right Panel */
.right-panel {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.publish-section,
.distribution-section,
.freshness-section,
.ai-status-section {
    border-bottom: 1px solid #f7fafc;
    padding-bottom: 1.5rem;
}

.publish-section:last-child,
.distribution-section:last-child,
.freshness-section:last-child,
.ai-status-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.publish-section h4,
.distribution-section h4,
.freshness-section h4,
.ai-status-section h4 {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.setting-group {
    margin-bottom: 1rem;
}

.setting-group label {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e0;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .toggle-label {
    background: var(--primary-color);
}

input:checked + .toggle-label:before {
    transform: translateX(26px);
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audience-item input[type="checkbox"] {
    margin: 0;
}

.audience-item label {
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.freshness-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.freshness-label {
    font-size: 0.9rem;
    color: #4a5568;
}

.freshness-time {
    font-size: 0.8rem;
    color: #a0aec0;
}

.freshness-status.fresh {
    color: var(--secondary-color);
}

.freshness-status.stale {
    color: #ed8936;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ai-indicator {
    font-size: 1.5rem;
}

.ai-state {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.ai-task {
    color: #718096;
    font-size: 0.8rem;
}

.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-item {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #92400e;
}

@media (max-width: 1400px) {
    .writer-layout {
        grid-template-columns: 250px 1fr 280px;
    }
}

@media (max-width: 1024px) {
    .writer-layout {
        grid-template-columns: 1fr;
    }
    
    .left-panel,
    .right-panel {
        order: 2;
    }
    
    .main-editor {
        order: 1;
    }
    
    .writer-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Infographic Builder Styles */
.infographic-body {
    background: #f1f5f9;
}

.infographic-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.infographic-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.infographic-layout {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 1.5rem;
    min-height: calc(100vh - 200px);
}

.main-infographic {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Code Generation Panel */
.code-type-section h4 {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.code-type-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.code-type-tab {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
}

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

.code-type-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.code-output {
    display: none;
}

.code-output.active {
    display: block;
}

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

.code-header-small h5 {
    font-size: 0.9rem;
    color: #2d3748;
    margin: 0;
}

.code-btn-small {
    padding: 0.25rem 0.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.code-btn-small:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.code-preview {
    background: #1a202c;
    border-radius: 8px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.code-preview pre {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.code-preview .javascript {
    color: #81e6d9;
}

.code-preview .python {
    color: #fbb6ce;
}

.code-preview .jsx {
    color: #90cdf4;
}

/* Infographic Preview */
.infographic-preview-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.infographic-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-control {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.preview-control:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.preview-control.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.infographic-canvas {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    height: 600px;
    overflow-y: auto;
    position: relative;
}

/* Scroll Story */
.scroll-story {
    padding: 2rem;
}

.story-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    min-height: 200px;
}

.story-content {
    flex: 1;
}

.data-source-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    width: fit-content;
}

.source-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.update-time {
    font-size: 0.75rem;
    color: #64748b;
}

.story-content h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.story-content h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.story-subtitle {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.story-content p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.scroll-indicator {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.story-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-icon {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.metric-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

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

.metric-label {
    font-size: 0.9rem;
}

.transformation-chart {
    width: 100%;
    max-width: 300px;
}

.progress-bar {
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 10px;
    transition: width 2s ease;
    animation: fillProgress 3s ease-in-out;
}

@keyframes fillProgress {
    from { width: 0%; }
    to { width: 94%; }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #4a5568;
}

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

.result-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.result-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.interactive-timeline {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.timeline-month {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-month:hover {
    transform: translateY(-5px);
}

.timeline-month.active .month-marker {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.2);
}

.month-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e0;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    color: #4a5568;
}

/* Right Panel Features */
.scroll-features-section,
.interactive-elements-section,
.export-section,
.performance-section {
    border-bottom: 1px solid #f7fafc;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.scroll-features-section:last-child,
.interactive-elements-section:last-child,
.export-section:last-child,
.performance-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-list,
.element-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item label {
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.element-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f7fafc;
    transition: all 0.3s ease;
}

.element-item:hover {
    background: #edf2f7;
}

.element-icon {
    font-size: 1.2rem;
}

.element-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.element-name {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.element-status {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.export-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.export-btn {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

.export-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.perf-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.perf-label {
    font-size: 0.9rem;
    color: #4a5568;
}

.perf-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.perf-value.good {
    color: var(--secondary-color);
}

.perf-value.excellent {
    color: var(--secondary-light);
}

/* Infographic Preview Modal */
.infographic-modal {
    max-width: 1200px;
}

.infographic-preview-body {
    padding: 0;
}

.fullscreen-infographic {
    height: 70vh;
    overflow-y: auto;
}

.immersive-story {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.story-hero {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.story-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.story-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-animation {
    position: relative;
    height: 200px;
}

.floating-elements {
    position: relative;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 3rem;
    animation: floatingElement 4s ease-in-out infinite;
}

.element.truck {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element.box {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.element.chart {
    top: 10%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes floatingElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

.story-data {
    background: white;
    color: #2d3748;
    padding: 4rem 2rem;
    text-align: center;
}

.story-data h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.animated-counter {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.counter-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    flex: 1;
    max-width: 200px;
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 1400px) {
    .infographic-layout {
        grid-template-columns: 280px 1fr 280px;
    }
}

@media (max-width: 1024px) {
    .infographic-layout {
        grid-template-columns: 1fr;
    }
    
    .story-section {
        flex-direction: column;
        text-align: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .interactive-timeline {
        justify-content: center;
    }
}

/* Professional Value Story Styles */
.value-story-professional {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f8fafc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Base Section Styles */
.value-section {
    padding: 5rem 0;
    position: relative;
}

.value-section:nth-child(even) {
    background: white;
}

.value-section:nth-child(odd) {
    background: #f8fafc;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-intro {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.section-summary {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Key Statistics Grid */
.key-statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.key-stat {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.key-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.stat-description {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.stat-source {
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
}

/* Research Download Section */
.research-download {
    text-align: center;
    margin: 3rem 0 1rem 0;
}

.download-report-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-report-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.download-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.download-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* Timeline Section */
.timeline-section {
    background: white;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
}

/* Delivery Comparison Layout */
.delivery-comparison {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0;
}

.delivery-model {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.traditional-model {
    border: 2px solid #ef4444;
}

.versifai-model {
    border: 2px solid var(--secondary-color);
}

.model-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.traditional-model .model-title {
    color: #dc2626;
}

.versifai-model .model-title {
    color: var(--secondary-color);
}

.model-subtitle {
    font-size: 0.95em;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.analytics-journey-visual {
    position: relative;
    margin: 2rem 0;
}

/* Intelligence Flow */
.intelligence-flow {
    margin: 2rem 0;
    position: relative;
}

.flow-source {
    text-align: center;
    margin-bottom: 2rem;
}

.platform-icon {
    font-size: 3em;
    color: var(--gold-color);
    margin-bottom: 0.5rem;
}

.platform-label {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--gray-700);
}

.insights-stream {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    margin-bottom: 2rem;
}

.insight-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(107, 144, 128, 0.3);
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: none;
}

.insight-card.flowing {
    animation: fadeInDown 0.6s ease-out forwards;
    animation-fill-mode: forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.insight-badge {
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.insight-title {
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.insight-time {
    font-size: 0.7em;
    opacity: 0.9;
}

.flow-destination {
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.flow-destination.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.executive-avatar {
    margin-bottom: 0.5rem;
}

.executive-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.executive-label {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--gray-700);
}

.versifai-benefits {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.benefit-item {
    color: var(--secondary-color);
    font-size: 0.9em;
    font-weight: 500;
}

.journey-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stage {
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stage:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.stage h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stage p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Research Section */
.research-section {
    background: white;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.research-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.research-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.research-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.research-label {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.research-source {
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
}

.insight-summary {
    background: #f7fafc;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: left;
}

.insight-summary h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.insight-summary p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Integration Section */
.integration-section {
    background: #f8fafc;
}

.integration-comparison-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.model-side {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.model-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.model-visual {
    min-height: 350px;
    position: relative;
    margin: 2rem 0;
}

.stakeholders-level,
.tools-level {
    margin: 2rem 0;
}

.stakeholders-level h4,
.tools-level h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stakeholder-icons,
.tool-clusters,
.unified-tools {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    min-height: 100px;
}

.fragmentation-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem auto;
    max-width: 300px;
}

.fragment-item {
    background: #fed7d7;
    color: #c53030;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid #fc8181;
}

.unification-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem auto;
    max-width: 280px;
}

.benefit {
    background: #c6f6d5;
    color: #22543d;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid #9ae6b4;
}

.versifai-intelligence-layer {
    margin: 2rem 0;
    text-align: center;
}

.intelligence-hub {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.model-description {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.model-description p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Analogy Section */
.analogy-section {
    background: white;
}

.analogy-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.analogy-side {
    text-align: center;
}

.analogy-side h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.analogy-visual {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.traditional-analytics {
    border-color: #fed7d7;
    background: #fef5e7;
}

.intelligence-stream {
    border-color: #c6f6d5;
    background: #f0fff4;
}

.schedule-item,
.news-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.schedule-item {
    border-left: 4px solid #e53e3e;
}

.news-item {
    border-left: 4px solid var(--secondary-color);
}

.analogy-side p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.5;
}

.analogy-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

/* Intelligence Hub Preview Section */
.hub-preview-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.hub-article-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1400px;
    align-items: start;
}

.hub-screenshot-left {
    max-width: 100%;
}

.hub-screenshot {
    max-width: 900px;
    margin: 3rem auto;
}

.browser-frame {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.browser-header {
    background: #f1f5f9;
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.browser-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: var(--secondary-color); }

.browser-url {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.9rem;
    flex: 1;
    max-width: 300px;
}

.hub-content {
    padding: 2rem;
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.hub-header h3 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.hub-nav {
    display: flex;
    gap: 1rem;
}

.hub-nav .nav-item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.hub-nav .nav-item.active {
    background: var(--primary-color);
    color: white;
}

.intelligence-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intelligence-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.2s;
}

.intelligence-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.intelligence-card.breaking {
    border-left: 4px solid #ef4444;
    background: linear-gradient(90deg, #fef2f2 0%, #f8fafc 100%);
}

.card-badge {
    position: absolute;
    top: -8px;
    left: 1rem;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-timestamp {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.intelligence-card h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.intelligence-card p {
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-item {
    background: white;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.action-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Hub Pulse Card */
.hub-pulse-card {
    animation: cardBounce 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
    cursor: pointer;
}

.hub-pulse-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hub-pulse-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(245,101,101,0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.hub-pulse-card::after {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2em;
    animation: sparkleRotate 3s linear infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(245,101,101,0.6));
}

/* Article Preview Card */
.article-preview-right {
    position: sticky;
    top: 2rem;
}

.article-card-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    max-height: 700px;
    overflow-y: auto;
}

.article-card-preview .modal-article {
    padding: 2rem;
}

.article-header-compact {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-category-badge-compact {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title-compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-author-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-compact {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-info-compact {
    flex: 1;
}

.author-name-compact {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.author-role-compact {
    font-size: 0.8rem;
    color: #64748b;
}

.article-summary-compact {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.article-summary-compact p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.metrics-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-compact {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-value-compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label-compact {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.metric-change-compact {
    font-size: 0.85rem;
    font-weight: 600;
}

.metric-change-compact.positive {
    color: var(--secondary-color);
}

.article-footer-compact {
    display: flex;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.ai-badge-compact {
    background: #ede9fe;
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.review-badge-compact {
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

/* Enterprise Roles Section */
.roles-section {
    background: white;
    padding: 4rem 0;
}

.roles-comparison {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0;
}

.traditional-roles, .versifai-roles {
    padding: 2rem;
    border-radius: 12px;
}

.traditional-roles {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.versifai-roles {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
}

.role-structure {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.traditional-role {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.traditional-role h4 {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.traditional-role p {
    font-size: 0.85rem;
    color: #718096;
}

.traditional-challenges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.role-challenges, .missed-opportunities {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.role-challenges h4 {
    color: #ef4444;
    margin-bottom: 1rem;
}

.missed-opportunities h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.role-challenges ul, .missed-opportunities ul {
    list-style: none;
    padding: 0;
}

.role-challenges li, .missed-opportunities li {
    padding: 0.5rem 0;
    color: #4a5568;
}

.new-positions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.new-role {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.role-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.new-role h4 {
    color: #1a202c;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.role-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.role-responsibilities {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.role-responsibilities h5 {
    color: #2d3748;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.role-responsibilities ul {
    list-style: none;
    padding: 0;
}

.role-responsibilities li {
    padding: 0.35rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.role-responsibilities li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.role-impact {
    background: #edf2ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.enterprise-benefits {
    margin-top: 2rem;
}

.enterprise-benefits h4 {
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.benefit-card h5 {
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #718096;
    font-size: 0.9rem;
}

.roi-callout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-top: 3rem;
    text-align: center;
}

.roi-callout h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.roi-callout p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.roi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roi-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.roi-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Outcomes Section */
.outcomes-section {
    background: #f8fafc;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.outcome-metric {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.outcome-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.metric-context {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

/* Next Steps Section */
.next-steps-section {
    background: white;
    text-align: center;
}

.next-steps-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.action-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.action-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.35);
}

.action-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.action-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .integration-comparison-clean,
    .analogy-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .model-side {
        padding: 2rem;
    }
    
    .research-grid,
    .outcomes-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .value-section {
        padding: 3rem 0;
    }
    
    .research-grid,
    .outcomes-grid,
    .analogy-benefits {
        grid-template-columns: 1fr;
    }
    
    .next-steps-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .key-insight-box {
        padding: 2rem;
    }
    
    
    .role-structure {
        grid-template-columns: 1fr;
    }
    
    .new-positions {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .roi-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .roi-value {
        font-size: 2.5rem;
    }
    
    .model-side {
        padding: 1.5rem;
    }
    
    .model-title {
        font-size: 1.3rem;
    }
    
    .stakeholders-level h4,
    .tools-level h4 {
        font-size: 0.9rem;
    }
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* Base Section Styles */
.infographic-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Removed duplicate .section-title that was overriding the dark color */

/* Hero Section */
.hero-section {
    background: radial-gradient(ellipse at center, #1a365d 0%, #0a0e27 70%);
    color: white;
    text-align: center;
    position: relative;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particleCanvas {
    width: 100%;
    height: 100%;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.animated-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.stat-visualization {
    position: relative;
}

.stat-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-center {
    position: absolute;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    color: #ff6b6b;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mini-stat {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffa726;
    margin-bottom: 0.5rem;
}

.mini-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Chaos Section */
.chaos-section {
    background: linear-gradient(135deg, #2d1b69 0%, #11052c 100%);
    color: white;
}

.chaos-timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.timeline-visualization {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pain-points {
    display: grid;
    gap: 2rem;
}

.pain-point {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.pain-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pain-point h3 {
    color: #ffa726;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.pain-point p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Stack Section */
.stack-section {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
}

.stack-comparison-3d {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.stack-before,
.stack-after {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stack-subtitle {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0 1rem;
}

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

.transform-animation {
    font-size: 4rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* ROI Section */
.roi-section {
    background: radial-gradient(ellipse at center, #1a202c 0%, #0a0e27 70%);
    color: white;
}

.roi-calculator-3d {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-input-side,
.roi-output-side {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.roi-input-side h3,
.roi-output-side h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffa726;
}

.investment-breakdown,
.return-breakdown {
    display: grid;
    gap: 1rem;
}

.cost-item,
.return-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-item.total,
.return-item.total {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
    font-weight: 700;
}

.cost-value,
.return-value {
    color: var(--secondary-color);
    font-weight: 600;
}

.roi-explosion {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explosion-center {
    text-align: center;
    z-index: 3;
    position: relative;
}

.roi-multiplier {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-shadow: 0 4px 20px rgba(72, 187, 120, 0.5);
}

.roi-label {
    font-size: 1.5rem;
    color: white;
    margin-top: 0.5rem;
}

#benefitOrbits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Integration Section */
.integration-section {
    background: #f8fafc;
    color: #1a202c;
}

.integration-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.integration-before,
.integration-after {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.integration-subtitle {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fragmented-model,
.unified-model {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.business-stakeholders h4,
.business-stakeholders-unified h4,
.tool-chaos h4,
.tool-harmony h4 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.stakeholder-row,
.stakeholder-row-unified,
.tool-grid,
.connected-tools {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.versifai-layer-visual {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.intelligence-layer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.layer-label {
    display: block;
    white-space: nowrap;
}

/* CTA Section */
.cta-section {
    background: radial-gradient(ellipse at center, #1a365d 0%, #0a0e27 70%);
    color: white;
    text-align: center;
}

.cta-visual {
    margin-bottom: 3rem;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-stories-ticker {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin: 3rem auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: ticker 15s linear infinite;
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.company {
    font-weight: 600;
    color: #ffa726;
    margin-bottom: 0.5rem;
}

.result {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.cta-primary,
.cta-secondary {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .animated-stats,
    .chaos-timeline-container,
    .stack-comparison-3d,
    .roi-calculator-3d,
    .integration-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .transform-animation {
        transform: rotate(90deg);
    }
    
    .integration-subtitle {
        font-size: 1.2rem;
        padding: 0 2rem;
    }
    
    .stack-subtitle {
        font-size: 1.1rem;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .infographic-section {
        padding: 2rem 1rem;
    }
    
    .integration-subtitle,
    .stack-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .integration-before,
    .integration-after,
    .stack-before,
    .stack-after {
        padding: 2rem 1.5rem;
    }
    
    .business-stakeholders h4,
    .business-stakeholders-unified h4,
    .tool-chaos h4,
    .tool-harmony h4 {
        font-size: 0.9rem;
        padding: 0 1rem;
        line-height: 1.2;
    }
}

/* Hub Ecosystem Layout */
.hub-ecosystem {
    display: grid;
    grid-template-columns: 1fr auto 2fr auto 1fr;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
    position: relative;
}

.ecosystem-section-title {
    text-align: center;
    color: #2d3748;
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Left Side - Content Creators */
.ecosystem-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.creator-roles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.role-card-compact {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card-compact:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.role-card-compact.ai-writer {
    border-left: 4px solid var(--secondary-color);
}

.role-card-compact.ai-editor {
    border-left: 4px solid #ed8936;
}

.role-card-compact h4 {
    color: #2d3748;
    font-size: 1.1em;
    margin: 10px 0 8px 0;
}

.role-card-compact p {
    color: #718096;
    font-size: 0.85em;
    line-height: 1.4;
}

.arrow-right {
    font-size: 3em;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

/* Center - Analytics as News Hub */
.ecosystem-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-hub-visual {
    position: relative;
}

.browser-frame-compact {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.browser-header-compact {
    background: #f7fafc;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.browser-buttons-compact {
    display: flex;
    gap: 6px;
}

.browser-dot-compact {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot-compact.red { background: #fc5c65; }
.browser-dot-compact.yellow { background: #fd9644; }
.browser-dot-compact.green { background: #26de81; }

.browser-url-compact {
    flex: 1;
    text-align: center;
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75em;
    color: #718096;
}

.hub-content-compact {
    padding: 20px;
}

.hub-header-compact {
    margin-bottom: 15px;
}

.hub-header-compact h3 {
    color: #2d3748;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.hub-nav-compact {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.nav-item-compact {
    font-size: 0.85em;
    color: #718096;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item-compact.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.intelligence-feed-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intelligence-card-compact {
    background: #f7fafc;
    border-left: 3px solid #cbd5e0;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.intelligence-card-compact:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(2px);
}

.intelligence-card-compact.breaking {
    border-left-color: #f56565;
    background: linear-gradient(135deg, #fff5f5, #f7fafc);
}

.card-badge-compact {
    display: inline-block;
    font-size: 0.65em;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.card-badge-compact.breaking-badge {
    background: #f56565;
    color: white;
}

.card-timestamp-compact {
    font-size: 0.7em;
    color: #a0aec0;
    margin-bottom: 5px;
}

.intelligence-card-compact h4 {
    color: #2d3748;
    font-size: 0.95em;
    margin-bottom: 5px;
    font-weight: 600;
}

.intelligence-card-compact p {
    color: #718096;
    font-size: 0.8em;
    line-height: 1.4;
}

.platform-badge {
    text-align: center;
    margin-top: 15px;
    padding: 20px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.platform-badge strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--gray-800);
}

.platform-badge h4 {
    color: var(--gray-700);
}

.platform-badge p {
    font-size: 0.9em;
    color: var(--gray-600);
}

.capability-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 3px;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.2);
}

/* Right Side - Business Consumers */
.ecosystem-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arrow-left {
    font-size: 3em;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.consumer-roles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consumer-card {
    background: white;
    border-radius: 15px;
    padding: 18px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 4px solid var(--primary-light);
}

.consumer-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.consumer-icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.consumer-card h4 {
    color: #2d3748;
    font-size: 1em;
    margin-bottom: 5px;
}

.consumer-card p {
    color: #718096;
    font-size: 0.8em;
}

/* Bottom - Data Foundation */
.data-foundation {
    margin-top: 40px;
    position: relative;
}

.arrow-up {
    text-align: center;
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0.6;
}

.foundation-stack {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.foundation-badge {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.foundation-badge h4 {
    color: var(--gray-600);
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 500;
}

.foundation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.foundation-pill {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

.foundation-content {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.data-sources-section h4,
.ai-engine-section h4 {
    color: #2d3748;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.data-source-badges,
.engine-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.data-badge {
    background: linear-gradient(135deg, var(--primary-light), #3182ce);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.capability-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.engine-tagline {
    color: #718096;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 10px;
}

.infrastructure-note {
    color: #718096;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .hub-ecosystem {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 20px;
    }

    .arrow-right,
    .arrow-left {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .foundation-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .consumer-roles,
    .creator-roles {
        width: 100%;
    }

    .intelligence-card-compact h4 {
        font-size: 0.9em;
    }

    .intelligence-card-compact p {
        font-size: 0.75em;
    }
}

/* Modern Article Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

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

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: normal;
    color: #aaa;
    cursor: pointer;
    z-index: 1001;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
    margin: 0;
    transition: all 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    background: #f0f0f0;
}

.modal-article {
    padding: 40px 50px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
}

.article-badge {
    display: inline-block;
    font-size: 0.75em;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 2.2em;
    color: #2d3748;
    margin: 15px 0;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #718096;
    font-size: 0.9em;
}

.article-timestamp,
.article-category {
    display: flex;
    align-items: center;
}

.article-content {
    color: #2d3748;
    line-height: 1.8;
}

.article-summary {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1.05em;
}

.article-section {
    margin-bottom: 30px;
}

.article-section h3 {
    color: #2d3748;
    font-size: 1.5em;
    margin-bottom: 15px;
    margin-top: 25px;
}

.article-section p {
    margin-bottom: 15px;
    color: #4a5568;
}

.article-visualization {
    margin: 25px 0;
    background: #f7fafc;
    padding: 30px;
    border-radius: 12px;
}

.bar-chart {
    max-width: 500px;
    margin: 0 auto;
}

.chart-title {
    text-align: center;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.chart-bars {
    display: flex;
    justify-content: center;
    gap: 60px;
    height: 250px;
    align-items: flex-end;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bar {
    width: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
}

.bar.forecast {
    background: linear-gradient(135deg, #cbd5e0, #a0aec0);
}

.bar.actual {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.bar span {
    font-size: 1.1em;
}

.bar-label {
    color: #4a5568;
    font-weight: 600;
    margin-top: 8px;
}

.insight-list {
    list-style: none;
    padding-left: 0;
}

.insight-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.insight-list li:last-child {
    border-bottom: none;
}

.article-callout {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    border-left: 4px solid #f56565;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.article-callout ul {
    margin-top: 10px;
    padding-left: 25px;
}

.article-callout li {
    margin: 8px 0;
    color: #2d3748;
}

.article-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
}

.article-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    color: white;
    font-weight: bold;
    font-size: 1.3em;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 3px;
}

.author-role {
    color: #718096;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.author-note {
    color: #a0aec0;
    font-size: 0.85em;
    font-style: italic;
}

.article-discussion {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.article-discussion h3 {
    color: #2d3748;
    font-size: 1.4em;
    margin-bottom: 20px;
}

.discussion-thread {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.discussion-comment {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #3182ce);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
}

.comment-header {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.comment-header strong {
    color: #2d3748;
}

.comment-role {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
}

.comment-time {
    color: #a0aec0;
    font-size: 0.85em;
}

.comment-content p {
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.discussion-input {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.comment-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.2s;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-button {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.clickable {
    cursor: pointer;
    animation: cardBounce 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.clickable::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(245,101,101,0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.clickable::after {
    content: '✨';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2em;
    animation: sparkleRotate 3s linear infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(245,101,101,0.6));
}

.clickable:hover {
    transform: translateX(4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    animation: none;
}

.clickable:hover::before,
.clickable:hover::after {
    animation: none;
    opacity: 0.5;
}

@keyframes cardBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes sparkleRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        opacity: 1;
        transform: rotate(10deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    75% {
        opacity: 1;
        transform: rotate(-10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-article {
        padding: 25px 20px;
    }

    .article-header h1 {
        font-size: 1.6em;
    }

    .chart-bars {
        gap: 30px;
    }

    .bar {
        width: 70px;
    }

    .discussion-comment {
        flex-direction: column;
        gap: 10px;
    }
}
/* ========================================
   MODERN ARTICLE MODAL REDESIGN
   ======================================== */

.modal-content-article {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1000px;
    border-radius: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.4s;
    max-height: 95vh;
    overflow-y: auto;
}

.modal-article {
    padding: 0;
}

/* Article Header */
.article-header-modern {
    padding: 40px 60px 30px 60px;
    border-bottom: 1px solid #e2e8f0;
    background: #fafafa;
}

.article-category-badge {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    margin-bottom: 20px;
}

.article-title-modern {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.article-author-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.author-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-header-name {
    font-size: 0.95em;
    font-weight: 600;
    color: #2d3748;
}

.author-header-role {
    font-size: 0.85em;
    color: #718096;
}

.article-meta-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meta-label {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a0aec0;
    font-weight: 600;
}

.meta-value {
    font-size: 0.9em;
    color: #4a5568;
    font-weight: 500;
}

.meta-value.impact-high {
    color: #f56565;
    font-weight: 700;
}

.meta-separator {
    width: 1px;
    height: 30px;
    background: #cbd5e0;
}

/* Article Body */
.article-body-modern {
    padding: 50px 60px;
}

.executive-summary {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    margin-bottom: 50px;
}

.summary-label {
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.summary-text {
    font-size: 1.15em;
    line-height: 1.7;
    color: #2d3748;
    margin: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.metric-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 25px;
    text-align: center;
    transition: all 0.2s;
}

.metric-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.metric-value {
    font-size: 2.2em;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.85em;
    color: #718096;
    margin-bottom: 10px;
    font-weight: 500;
}

.metric-change {
    font-size: 0.8em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    display: inline-block;
}

.metric-change.positive {
    background: #c6f6d5;
    color: #22543d;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.section-heading {
    font-size: 1.6em;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.section-text {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}

.visualization-container {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    padding: 30px;
    margin: 30px 0;
}

.plotly-chart {
    min-height: 400px;
}

/* Drivers Grid */
.drivers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.driver-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
}

.driver-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.driver-metric {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.driver-detail {
    font-size: 0.95em;
    line-height: 1.6;
    color: #718096;
}

/* Recommendations Panel */
.recommendations-panel {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 1px solid #feb2b2;
    border-radius: 0;
    padding: 35px;
    margin: 40px 0;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fc8181;
}

.panel-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #742a2a;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendation-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.rec-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #742a2a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
}

.rec-content {
    flex: 1;
}

.rec-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #742a2a;
    margin-bottom: 6px;
}

.rec-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #4a5568;
}

/* Article Footer */
.article-footer-modern {
    padding: 40px 60px;
    background: #fafafa;
}

.footer-divider {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 30px;
}

.article-byline {
    display: flex;
    gap: 20px;
    align-items: center;
}

.byline-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3em;
}

.byline-info {
    flex: 1;
}

.byline-name {
    font-size: 1.15em;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.byline-role {
    font-size: 0.9em;
    color: #718096;
    margin-bottom: 8px;
}

.byline-attribution {
    font-size: 0.85em;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attribution-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Discussion Section */
.discussion-section-modern {
    padding: 40px 60px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.discussion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.discussion-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.discussion-count {
    font-size: 0.9em;
    color: #a0aec0;
}

.comments-thread {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.comment-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, #3182ce 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95em;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.commenter-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 0.95em;
}

.commenter-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.comment-timestamp {
    color: #a0aec0;
    font-size: 0.85em;
}

.comment-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.comment-compose {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.comment-input-modern {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 0;
    font-size: 0.95em;
    font-family: inherit;
    transition: all 0.2s;
}

.comment-input-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-submit-btn {
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-submit-btn:hover {
    background: #5568d3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .article-header-modern,
    .article-body-modern,
    .article-footer-modern,
    .discussion-section-modern {
        padding-left: 30px;
        padding-right: 30px;
    }
}

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

    .article-title-modern {
        font-size: 1.8em;
    }

    .article-meta-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-separator {
        display: none;
    }

    .article-header-modern,
    .article-body-modern,
    .article-footer-modern,
    .discussion-section-modern {
        padding: 25px 20px;
    }

    .comment-compose {
        flex-direction: column;
    }
}

/* Font Awesome Icon Styling */
.box-header i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2em;
}

.feature-item i {
    margin-right: 10px;
    color: #2d3748;
    width: 20px;
    text-align: center;
}

.value-box li i {
    margin-right: 10px;
    color: #2d3748;
    width: 20px;
    text-align: center;
}

.problem-box li i {
    margin-right: 10px;
    color: #2d3748;
    width: 20px;
    text-align: center;
}

.role-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.ai-writer .role-avatar img {
    border-color: var(--secondary-color);
}

.ai-editor .role-avatar img {
    border-color: #ed8936;
}

.consumer-avatar {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consumer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.data-sources-section h4 i {
    margin-right: 10px;
    color: #4a5568;
}

.ai-engine-section h4 i {
    margin-right: 10px;
    color: #4a5568;
}

/* Compact Business Flow Visualization */
.compact-viz {
    padding: 40px 0 !important;
}

.business-flow-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.flow-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
}

.flow-item.versifai-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

.flow-label {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.versifai-highlight .flow-label {
    color: white;
}

.flow-tech-compact {
    font-size: 0.9em;
    color: #718096;
    line-height: 1.6;
}

.versifai-highlight .flow-tech-compact {
    color: rgba(255, 255, 255, 0.95);
}

.flow-arrow-compact {
    font-size: 2em;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .business-flow-compact {
        flex-direction: column;
    }

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

/* Compact Tech Stack Styles */
.tech-stack-compact {
    gap: 8px;
}

.stack-layer-compact {
    padding: 15px 25px;
}

.versifai-core-compact {
    padding: 20px 25px;
}

.layer-header-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.layer-number-compact {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
    flex-shrink: 0;
}

.layer-title-compact {
    font-size: 1.1em;
    font-weight: 700;
    color: #2d3748;
}

.versifai-core-compact .layer-title-compact {
    color: white;
}

.tech-items-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 50px;
}

.tech-item-compact {
    display: inline-block;
    padding: 6px 14px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85em;
    color: #4a5568;
    font-weight: 500;
}

.tech-item-compact.versifai-item {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

@media (max-width: 768px) {
    .tech-items-compact {
        margin-left: 0;
    }

    .layer-header-compact {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Modern Value Flow Redesign */
.value-flow-modern {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.card-label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.problem-card .card-label {
    color: #ed8936;
}

.solution-card {
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(124, 156, 191, 0.3);
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(124, 156, 191, 0.05) 0%, rgba(90, 127, 163, 0.05) 100%);
    position: relative;
    z-index: 10;
}

.solution-card .card-label {
    color: var(--primary-color);
    font-size: 0.85em;
}

.impact-card .card-label {
    color: var(--secondary-color);
}

.card-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.solution-card .card-title {
    font-size: 1.6em;
    color: var(--primary-dark);
}

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

.card-list li {
    padding: 10px 0;
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.5;
    border-bottom: 1px solid #f7fafc;
    position: relative;
    padding-left: 20px;
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cbd5e0;
    font-weight: bold;
}

.solution-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.2);
}

.feature-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
}

.flow-connector {
    font-size: 2.5em;
    color: #cbd5e0;
    font-weight: 300;
}

@media (max-width: 1200px) {
    .value-flow-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flow-connector {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

/* Contact Page */
.contact-page-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-form-wrapper h1 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 32px;
}

.contact-form-wrapper p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 16px;
}

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

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

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.contact-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
}

/* Success Notification */
.success-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    border-left: 4px solid #10b981;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 3000;
    transition: right 0.4s ease-in-out;
    min-width: 320px;
}

.success-notification.show {
    right: 20px;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.success-text strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.success-text p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper h1 {
        font-size: 24px;
    }

    .success-notification {
        right: auto;
        left: -100%;
        min-width: auto;
        max-width: calc(100% - 40px);
        transition: left 0.4s ease-in-out;
    }

    .success-notification.show {
        left: 20px;
    }
}

/* Pricing Page */
.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 16px;
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.pricing-section {
    margin-bottom: 80px;
}

.integration-section .section-title {
    color: #1a202c;
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}

.integration-section .section-subtitle {
    color: #4a5568;
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.under-construction {
    background: var(--gray-100);
    opacity: 0.7;
}

.construction-badge {
    background: var(--gray-400);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card-header {
    margin-bottom: 30px;
}

.pricing-card-header h3 {
    color: var(--gray-800);
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-label {
    color: var(--gray-600);
    font-size: 14px;
    margin-right: 4px;
}

.price-amount {
    color: var(--primary-dark);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    color: var(--gray-600);
    font-size: 18px;
}

.pricing-card-body {
    flex: 1;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-features li {
    color: var(--gray-700);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    background: var(--gray-50);
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.pricing-note strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
}

.pricing-card-footer {
    margin-top: auto;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

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

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

.pricing-btn.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pricing-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pricing-faq {
    background: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.pricing-faq h3 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 16px;
}

.pricing-faq p {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
}

.pricing-btn-secondary:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 32px;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-faq {
        padding: 30px 20px;
    }
}

/* About Page */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-content {
    background: white;
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-header h1 {
    color: var(--primary-dark);
    font-size: 42px;
    margin: 0;
}

.about-text {
    color: var(--gray-700);
    font-size: 18px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 24px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-closing {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 20px;
    margin-top: 40px;
    font-style: italic;
}

.about-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.about-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.2s;
}

.about-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .about-content {
        padding: 40px 20px;
    }

    .about-header h1 {
        font-size: 32px;
    }

    .about-avatar {
        width: 140px;
        height: 140px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-closing {
        font-size: 18px;
    }
}

.about-name-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--primary-color);
}

.about-name-section h2 {
    color: var(--primary-dark);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-name-section p {
    color: var(--gray-700);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.about-contact-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--primary-color);
}

.about-contact-section h2 {
    color: var(--primary-dark);
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--gray-700);
    font-size: 18px;
    margin: 0;
}

.contact-item a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #0077b5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.linkedin-link:hover {
    color: #005582;
}

.linkedin-link svg {
    width: 24px;
    height: 24px;
}

/* Consulting Page */
.consulting-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

.consulting-hero {
    text-align: center;
    padding: 80px 20px 60px;
    color: white;
}

.consulting-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.consulting-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-row.reverse {
    grid-template-columns: 1fr 1.3fr;
}

.service-row.reverse .service-content {
    order: 1;
}

.service-row.reverse .service-image {
    order: 2;
}

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

.placeholder-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-content h3 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 20px;
}

.service-content p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.8;
}

.consulting-cta {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.consulting-cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.consulting-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 968px) {
    .services-container {
        padding: 0 15px;
        max-width: 100%;
    }

    .service-row,
    .service-row.reverse {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        max-width: 100%;
    }

    /* Always put content on top, image on bottom for mobile */
    .service-row .service-content,
    .service-row.reverse .service-content {
        order: 1;
    }

    .service-row .service-image,
    .service-row.reverse .service-image {
        order: 2;
    }

    .consulting-hero h1 {
        font-size: 36px;
    }

    .service-content h3 {
        font-size: 24px;
    }

    .placeholder-image {
        font-size: 60px;
    }

    .architecture-diagram {
        max-width: 100%;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 0 10px;
    }

    .service-row,
    .service-row.reverse {
        padding: 20px 15px;
        gap: 20px;
        margin-bottom: 40px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .consulting-hero {
        padding: 40px 15px 30px;
    }

    .consulting-hero h1 {
        font-size: 28px;
    }

    .consulting-hero p {
        font-size: 16px;
    }
}

/* Footer */
.site-footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-location {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-phone {
    color: var(--gray-500);
    font-size: 14px;
    margin-top: 5px;
}

.footer-phone a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer {
        padding: 40px 20px 20px;
        margin-top: 60px;
    }
}

.architecture-diagram {
    width: 100%;
    min-height: 350px;
    height: auto;
    border-radius: 8px;
    background: #f5f5f5;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Under Construction Page */
.under-construction {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
}

.construction-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.construction-content h1 {
    color: var(--primary-dark);
    font-size: 42px;
    margin-bottom: 20px;
}

.construction-content p {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.construction-content .construction-subtitle {
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .construction-content {
        padding: 40px 30px;
    }

    .construction-content h1 {
        font-size: 32px;
    }

    .construction-content p {
        font-size: 16px;
    }
}

/* ============================
   Use Case Delivery Page Styles
   ============================ */

.use-case-page {
    background: #f8fafc;
    min-height: 100vh;
}

.use-case-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.use-case-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.use-case-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.use-case-hero .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.use-case-hero .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: white;
}

.use-case-hero .stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.use-case-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Delivery Section Base */
.delivery-section {
    padding: 60px 0;
}

.delivery-section.alt-bg {
    background: white;
}

.delivery-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.delivery-section .section-intro {
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview Section */
.overview-section .section-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-section .section-content > p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

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

.deliverable-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.deliverable-icon {
    margin-bottom: 1rem;
}

.deliverable-item h4 {
    color: #1a202c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.deliverable-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Timeline Section */
.delivery-section.timeline-section {
    background: white;
}

.timeline-visual {
    margin: 3rem 0;
    overflow-x: auto;
}

.timeline-diagram {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
}

/* Phase Sections */
.phase-section {
    padding: 60px 40px;
}

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

.phase-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(124, 156, 191, 0.4);
}

.phase-title h2 {
    text-align: left;
    margin-bottom: 0.25rem;
    font-size: 1.75rem;
}

.phase-duration {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.phase-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.phase-description {
    flex: 1;
}

.phase-description > p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.activities-list {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.activities-list h4 {
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.activities-list li {
    padding: 0.75rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.6;
}

.activities-list li:last-child {
    border-bottom: none;
}

.activities-list li strong {
    color: #1a202c;
}

/* Phase Visual */
.phase-visual {
    margin: 2rem 0;
}

.phase-diagram {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Phase Deliverables */
.phase-deliverables {
    margin-top: 2rem;
}

.phase-deliverables h4 {
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deliverable-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.deliverable-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deliverable-card span {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Highlight Box (Phase 4) */
.highlight-box {
    background: linear-gradient(135deg, rgba(124, 156, 191, 0.1), rgba(90, 127, 163, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.highlight-box h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.highlight-item {
    text-align: center;
}

.highlight-label {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight-value {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Training Tracks (Phase 5) */
.training-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.training-track {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.training-track h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.training-track > p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.training-track ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-track li {
    padding: 0.4rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.training-track li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Documentation List (Phase 5) */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.doc-icon {
    flex-shrink: 0;
}

.doc-details {
    display: flex;
    flex-direction: column;
}

.doc-name {
    color: #1a202c;
    font-weight: 600;
    font-size: 0.95rem;
}

.doc-desc {
    color: #64748b;
    font-size: 0.85rem;
}

/* Support Features (Phase 6) */
.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.support-feature {
    text-align: center;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.support-icon {
    margin-bottom: 1rem;
}

.support-feature h4 {
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.support-feature p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.delivery-section.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-top: 40px;
}

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

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

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

.delivery-section .cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.delivery-section .cta-btn.primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.delivery-section .cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.delivery-section .cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.delivery-section .cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Use Case Delivery */
@media (max-width: 768px) {
    .use-case-hero h1 {
        font-size: 2rem;
    }

    .use-case-hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .use-case-hero .stat-item {
        padding: 1rem 1.5rem;
    }

    .use-case-hero .stat-number {
        font-size: 2rem;
    }

    .phase-header {
        flex-direction: column;
        text-align: center;
    }

    .phase-title h2 {
        text-align: center;
    }

    .phase-section {
        padding: 40px 20px;
    }

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

    .training-tracks {
        grid-template-columns: 1fr;
    }

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

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

    .deliverable-cards {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .support-features {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        flex-direction: column;
    }

    .use-case-hero .stat-item {
        width: 100%;
    }
}
