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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    color: white;
}

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

.header-text {
    text-align: left;
}

.header-logo {
    flex-shrink: 0;
}

.finabeo-logo {
    height: 60px;
    width: auto;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.header h1 i {
    color: #4fc3f7;
    margin-right: 15px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.nav-btn.active {
    background: #4fc3f7;
    border-color: #4fc3f7;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
}

/* Main Content */
.main {
    flex: 1;
    padding: 40px 0;
}

.section {
    background: white;
    margin: 20px 0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

.section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 3px solid #4fc3f7;
    padding-bottom: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Feature Cards */
.features-overview h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4fc3f7;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.feature-icon {
    font-size: 2rem;
    color: #4fc3f7;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Demo Controls */
.demo-controls, .auto-demo-controls, .swarm-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.demo-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.demo-btn.secondary {
    background: #6c757d;
}

.demo-btn.secondary:hover {
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

/* Progress Bar */
.demo-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4fc3f7, #667eea);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.step {
    background: #e9ecef;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step.active {
    background: #4fc3f7;
    color: white;
}

.step.completed {
    background: #28a745;
    color: white;
}

/* Demo Content */
.demo-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    min-height: 400px;
}

/* Terminal Output */
.auto-demo-output {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.terminal-header {
    background: #333;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #fff;
    font-weight: 500;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

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

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.terminal-content {
    padding: 20px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    line-height: 1.4;
    max-height: 500px;
    overflow-y: auto;
}

.terminal-content p {
    margin-bottom: 5px;
}

/* Individual Features */
.individual-features {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.feature-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-btn:hover {
    border-color: #4fc3f7;
    background: #f8f9fa;
}

.feature-btn.active {
    border-color: #4fc3f7;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-btn i {
    font-size: 1.5rem;
}

.feature-btn span {
    font-weight: 500;
}

.feature-demo-area {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    min-height: 400px;
}

.placeholder {
    text-align: center;
    color: #6c757d;
    padding: 50px;
}

.placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Swarm Dashboard */
.swarm-dashboard {
    margin-top: 20px;
}

.swarm-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4fc3f7;
}

.info-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card div {
    color: #6c757d;
    line-height: 1.6;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px 0;
}

.demo-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}

.curator {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

.contact {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.contact a {
    color: #4fc3f7;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .finabeo-logo {
        height: 45px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .nav .container {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 20px;
        margin: 10px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .individual-features {
        grid-template-columns: 1fr;
    }
    
    .swarm-info {
        grid-template-columns: 1fr;
    }
}

/* Feature-specific styles */
.customer-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Live Swarm Processing Styles */
.live-swarm-processing {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
}

.processing-step {
    margin: 8px 0;
    padding: 5px 0;
    opacity: 0;
    animation: fadeInSlide 0.5s ease-in forwards;
}

.processing-step:nth-child(odd) {
    color: #00ff00;
}

.processing-step:nth-child(even) {
    color: #00ccff;
}

.swarm-status {
    color: #ffff00;
    font-weight: bold;
    margin-bottom: 10px;
}

.swarm-complete {
    background: #0d4f3c;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #ffffff;
}

.swarm-complete h5 {
    color: #4fc3f7;
    margin-bottom: 15px;
}

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

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

.processing-step:last-child {
    animation: fadeInSlide 0.5s ease-in forwards, pulse 1s ease-in-out infinite;
}

.risk-indicator {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.risk-high {
    background: #ff4757;
    color: white;
}

.risk-medium {
    background: #ffa502;
    color: white;
}

.risk-low {
    background: #2ed573;
    color: white;
}

.workflow-step {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4fc3f7;
}

.workflow-step.completed {
    border-left-color: #28a745;
    background: #d4edda;
}

.workflow-step i {
    margin-right: 15px;
    color: #4fc3f7;
}

.workflow-step.completed i {
    color: #28a745;
}

.agent-script {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
    position: relative;
}

.agent-script::before {
    content: '"';
    font-size: 3rem;
    color: #2196f3;
    position: absolute;
    top: -10px;
    left: 10px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #4fc3f7;
    display: block;
}

.metric-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ReadMe Section Styles */
.readme-content {
    max-width: 900px;
    margin: 0 auto;
}

.readme-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.readme-section:last-child {
    border-bottom: none;
}

.readme-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.readme-section h3 i {
    color: #4fc3f7;
    margin-right: 10px;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.highlight-box h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.problem-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.problem-card p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.instruction-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.step:hover {
    background: #e9ecef;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.metric-highlight {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-highlight:hover {
    transform: translateY(-3px);
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.metric-desc {
    font-size: 1rem;
    opacity: 0.9;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.disclaimer h4 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.disclaimer h4 i {
    color: #ffc107;
    margin-right: 8px;
}

.disclaimer p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

.educational-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.education-item {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
}

.education-item h4 {
    color: #1976d2;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.education-item h4 i {
    margin-right: 8px;
}

/* Strategic Primer Styles */
.strategy-intro {
    margin-bottom: 40px;
}

.lead {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 500;
}

.ai-comparison {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.comparison-card {
    flex: 1;
    min-width: 280px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.comparison-card.generative {
    border-color: #ffc107;
}

.comparison-card.agentic {
    border-color: #4fc3f7;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.comparison-card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.analogy {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 500;
}

.vs-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4fc3f7;
    font-size: 2rem;
    min-width: 120px;
}

.vs-arrow span {
    font-size: 0.9rem;
    margin-top: 10px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.capability-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #4fc3f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
}

.capability-icon {
    font-size: 2.5rem;
    color: #4fc3f7;
    margin-bottom: 15px;
    text-align: center;
}

.capability-examples {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.capability-examples ul, .capability-examples ol {
    margin-top: 10px;
    padding-left: 20px;
}

.architecture-diagram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.component-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.component-card:hover {
    transform: translateY(-5px);
}

.component-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.component-card h5 {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.investment-highlight {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.value-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #4fc3f7;
}

.value-item i {
    font-size: 2rem;
    color: #4fc3f7;
    margin-bottom: 15px;
}

/* Case Studies Styles */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.application-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.application-item i {
    font-size: 2rem;
    color: #4fc3f7;
    margin-bottom: 15px;
}

.case-study-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.case-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.challenge-tag {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 5px 0;
}

.results-preview {
    text-align: center;
}

.result-metric {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

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

.case-content {
    padding: 25px;
}

.case-content > div {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.case-content > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.case-content h5 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.metrics-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.metric {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 10px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4fc3f7;
    display: block;
}

.metric-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

.relevance-text {
    font-weight: 500;
    color: #2c3e50;
}

.strategy-highlight {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.key-insight {
    text-align: center;
    margin-bottom: 25px;
}

.collaboration-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 15px;
}

/* CTA Styles */
.cta-container, .opportunity-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.primary {
    background: #28a745;
    color: white;
}

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

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.urgency-indicator, .confidence-indicators {
    margin-top: 20px;
    opacity: 0.9;
}

.confidence-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.opportunity-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.opportunity-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.action-center {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .ai-comparison {
        flex-direction: column;
    }
    
    .vs-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .capability-grid, .architecture-diagram {
        grid-template-columns: 1fr;
    }
    
    .case-study-cards {
        grid-template-columns: 1fr;
    }
    
    .case-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .metrics-row {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .confidence-indicators {
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive adjustments for ReadMe */
@media (max-width: 768px) {
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* n8n Workflows Styles */
.workflows-intro {
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--border-color);
}

.achievement-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card h4 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.workflow-solution {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.workflow-challenge, .workflow-architecture, .workflow-impact {
    margin: 1.5rem 0;
}

.workflow-challenge h4, .workflow-architecture h4, .workflow-impact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1em;
}

/* Custom Workflow Diagrams */
.workflow-diagram {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 1rem 0;
    overflow-x: auto;
}

.flow-step {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flow-step i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.flow-step.start {
    background: #e3f2fd;
    border-color: #1976d2;
}

.flow-step.start i {
    color: #1976d2;
}

.flow-step.success {
    background: #e8f5e8;
    border-color: #4caf50;
}

.flow-step.success i {
    color: #4caf50;
}

.flow-step.error {
    background: #ffebee;
    border-color: #f44336;
}

.flow-step.error i {
    color: #f44336;
}

.flow-step.alert {
    background: #fff3e0;
    border-color: #ff9800;
}

.flow-step.alert i {
    color: #ff9800;
}

.flow-step.urgent {
    background: #ffebee;
    border-color: #e91e63;
}

.flow-step.urgent i {
    color: #e91e63;
}

.flow-step.end {
    background: #f3e5f5;
    border-color: #9c27b0;
}

.flow-step.end i {
    color: #9c27b0;
}

.flow-step.ai {
    background: #fff3e0;
    border-color: #ff9800;
}

.flow-step.ai i {
    color: #ff9800;
}

.flow-step.human {
    background: #f3e5f5;
    border-color: #9c27b0;
}

.flow-step.human i {
    color: #9c27b0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0.25rem 0;
}

.flow-decision {
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    min-width: 150px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.flow-decision i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.decision-branches {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    gap: 2rem;
}

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

.branch-label {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.branch.valid .branch-label {
    background: #4caf50;
}

.branch.invalid .branch-label {
    background: #f44336;
}

.branch.normal .branch-label {
    background: #2196f3;
}

.branch.alert .branch-label {
    background: #ff9800;
}

.flow-convergence {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

/* Marketing Workflow Specific */
.workflow-diagram.marketing {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.process-group {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.process-group.automated {
    border-color: #4caf50;
}

.process-group.ai {
    border-color: #ff9800;
}

.process-group.human {
    border-color: #9c27b0;
}

.process-group h5 {
    margin: 0 0 1rem 0;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.process-group.automated h5 {
    color: #4caf50;
}

.process-group.ai h5 {
    color: #ff9800;
}

.process-group.human h5 {
    color: #9c27b0;
}

/* ReadMe Workflow Highlights */
.workflow-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.workflow-highlight {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.workflow-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workflow-highlight h4 i {
    margin-right: 0.5rem;
}

.workflow-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.workflow-metrics .metric {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border-left: 3px solid var(--primary-color);
}

.workflow-features {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.workflow-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workflow-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
}

.workflow-nav em {
    font-weight: 600;
    font-style: normal;
}

/* Development Process Section Styles */
.development-intro .executive-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.key-achievement {
    background: white;
    border-left: 4px solid var(--success-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.development-challenge {
    margin: 2rem 0;
}

.challenge-breakdown {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.challenge-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

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

.traditional-approach, .our-approach {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.traditional-approach {
    border-left: 4px solid #ffc107;
}

.our-approach {
    border-left: 4px solid var(--primary-color);
}

.agent-architecture {
    margin: 3rem 0;
}

.agent-layers {
    margin: 2rem 0;
}

.agent-layer {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.agent-layer.coordination {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #2196f3;
}

.agent-layer.research {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-left: 4px solid #9c27b0;
}

.agent-layer.development {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-left: 4px solid #4caf50;
}

.agent-layer.specialisation {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-left: 4px solid #ff9800;
}

.agent-layer h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.agent-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.agent-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.development-process {
    margin: 3rem 0;
}

.process-timeline {
    margin: 2rem 0;
}

.phase-card {
    background: white;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.phase-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phase-number {
    background: rgba(255,255,255,0.2);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.phase-header h4 {
    flex: 1;
    margin: 0 1rem;
    font-size: 1.3rem;
    color: white !important;
}

.phase-duration {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: white !important;
}

.phase-content {
    padding: 2rem;
}

.business-value, .key-innovation {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--success-color);
}

.architecture-diagram {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.arch-layer {
    background: white;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.arch-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.parallel-workstreams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.workstream {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.workstream h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.business-impact {
    margin: 3rem 0;
}

.quantified-outcomes {
    margin: 2rem 0;
}

.outcomes-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.outcome-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.outcome-row.header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.outcome-row.header > div,
.outcome-row > div {
    padding: 1rem;
    border-right: 1px solid var(--border-color);
}

.outcome-row > div:last-child {
    border-right: none;
}

.improvement.success {
    background: #e8f5e8;
    color: #2e7d32;
    font-weight: 600;
}

.strategic-benefits {
    margin: 2rem 0;
}

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

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.benefit-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strategic-implications {
    margin: 3rem 0;
}

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

.implication-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.implication-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.next-steps {
    margin: 3rem 0;
}

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

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    text-align: center;
}

.step-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.conclusion {
    margin: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 12px;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}

.key-takeaway {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.key-takeaway h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

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

.insight-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

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

.implementation-section {
    margin: 2rem 0;
}

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

.implementation-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.implementation-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.implementation-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.implementation-card li:last-child {
    border-bottom: none;
}

.implementation-card li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.workflow-conclusion {
    margin: 2rem 0;
}

.conclusion-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.conclusion-card h3 {
    margin-bottom: 1rem;
}

.conclusion-note {
    font-style: italic;
    opacity: 0.9;
    margin-top: 1rem;
    font-size: 0.9em;
}

/* Additional responsive styles for workflows */
@media (max-width: 768px) {
    .achievements-grid,
    .insights-grid,
    .implementation-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-solution {
        padding: 1rem;
    }
    
    .workflow-diagram {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .decision-branches {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-groups {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        min-width: 150px;
        padding: 0.75rem;
    }
    
    .conclusion-card {
        padding: 1.5rem;
    }
    
    .workflow-highlights {
        grid-template-columns: 1fr;
    }
    
    .workflow-highlight {
        padding: 1rem;
    }
    
    .workflow-features {
        padding: 1rem;
    }
    
    /* Development section responsive */
    .approach-comparison {
        grid-template-columns: 1fr;
    }
    
    .agent-grid {
        grid-template-columns: 1fr;
    }
    
    .parallel-workstreams {
        grid-template-columns: 1fr;
    }
    
    .outcome-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .outcome-row > div {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .outcome-row > div:last-child {
        border-bottom: none;
    }
    
    .benefits-grid,
    .implications-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .phase-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}