/* ============================================
   ELNO - Intelligent Forecasting Platform
   Comprehensive Stylesheet
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

:root {
    /* Color Palette */
    --primary-orange: #FF6B4A;
    --primary-orange-dark: #E5543A;
    --primary-orange-light: #FF8A6F;

    --bg-cream: #F5F1ED;
    --bg-white: #FFFFFF;
    --bg-light-gray: #FAFAF9;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;

    --success-green: #10B981;
    --success-green-light: #D1FAE5;
    --warning-yellow: #F59E0B;
    --warning-yellow-light: #FEF3C7;
    --error-red: #EF4444;
    --error-red-light: #FEE2E2;
    --info-blue: #3B82F6;
    --info-blue-light: #DBEAFE;
    --purple: #6366F1;
    --purple-light: #E0E7FF;

    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: var(--font-size-5xl);
    letter-spacing: -0.025em;
}

h2 {
    font-size: var(--font-size-4xl);
    letter-spacing: -0.025em;
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-orange);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    cursor: pointer;
}

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

.logo-text {
    letter-spacing: -0.025em;
}

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

.nav-menu li a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    background-color: var(--primary-orange);
    color: white !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--primary-orange-dark);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #FFF8F5 100%);
}

.hero-content {
    max-width: 700px;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 107, 74, 0.1);
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, #4B5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.hero-visual {
    margin-top: 3rem;
}

.dashboard-mockup {
    background-color: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #F9FAFB 0%, white 100%);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--border-color);
}

.mockup-dots span:nth-child(1) {
    background-color: #FF5F57;
}

.mockup-dots span:nth-child(2) {
    background-color: #FFBD2E;
}

.mockup-dots span:nth-child(3) {
    background-color: #28CA41;
}

.mockup-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.mockup-content {
    padding: 2rem;
    background-color: #FAFAFA;
}

.forecast-chart {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-svg {
    width: 100%;
    height: auto;
}

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

.metric-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border-color);
}

.metric-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.metric-value-small {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-secondary);
}

.metric-confidence {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.confidence-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background-color: var(--success-green-light);
    color: var(--success-green);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.metric-change {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

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

.metric-change.negative {
    color: var(--error-red);
}

.driver-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.driver-tag {
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    padding: 3rem 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-text {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.trust-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.25rem;
}

.trust-stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

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

.section-header {
    max-width: 800px;
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FEATURES OVERVIEW
   ============================================ */

.features-overview {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 74, 0.3);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */

.comparison-section {
    padding: 6rem 0;
    background-color: white;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-column {
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 2px solid var(--border-color);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.comparison-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comparison-icon.legacy {
    background-color: #F1F5F9;
}

.comparison-icon.modern {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.comparison-header h3 {
    font-size: var(--font-size-2xl);
}

.comparison-list {
    list-style: none;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.item-icon.legacy {
    background-color: #FEE2E2;
    color: #DC2626;
}

.item-icon.modern {
    background-color: #DCFCE7;
    color: #16A34A;
}

/* ============================================
   USE CASES SECTION
   ============================================ */

.use-cases-section {
    padding: 6rem 0;
    background-color: var(--bg-cream);
}

.use-case-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
}

.use-case-block.reverse {
    direction: rtl;
}

.use-case-block.reverse > * {
    direction: ltr;
}

.use-case-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 107, 74, 0.1);
    color: var(--primary-orange);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-case-badge.churn {
    background-color: var(--error-red-light);
    color: var(--error-red);
}

.use-case-badge.demand {
    background-color: var(--info-blue-light);
    color: var(--info-blue);
}

.use-case-title {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.use-case-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.use-case-features-list {
    margin-bottom: 2rem;
}

.use-case-feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.use-case-feature-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.use-case-feature-item strong {
    color: var(--text-primary);
}

.use-case-metrics {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.metric-box {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    min-width: 140px;
}

.metric-box-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.25rem;
}

.metric-box-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.use-case-visual {
    position: sticky;
    top: 6rem;
}

.visual-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.visual-title {
    font-weight: 600;
    color: var(--text-primary);
}

.visual-badge {
    padding: 0.375rem 0.75rem;
    background-color: var(--success-green-light);
    color: var(--success-green);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.visual-badge.alert {
    background-color: var(--error-red-light);
    color: var(--error-red);
}

.use-case-chart {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.visual-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.legend-color {
    width: 1rem;
    height: 1rem;
    border-radius: var(--radius-sm);
}

.legend-color.historical {
    background-color: var(--success-green);
}

.legend-color.forecast {
    background-color: var(--primary-orange);
}

.legend-color.confidence {
    background-color: rgba(255, 107, 74, 0.2);
}

/* Churn Prediction Visual */
.churn-risk-grid {
    margin-bottom: 1.5rem;
}

.risk-category {
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.risk-category.high {
    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.risk-category.medium {
    background-color: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.risk-category.low {
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

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

.risk-label {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.risk-count {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.risk-bar {
    height: 0.5rem;
    background: linear-gradient(90deg, var(--error-red) 0%, var(--warning-yellow) 100%);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: white;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.risk-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.churn-factors {
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.factor-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.factor-item {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.factor-name {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.factor-impact-bar {
    height: 0.5rem;
    background-color: #E5E7EB;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.factor-impact-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--error-red) 100%);
    border-radius: var(--radius-sm);
}

.factor-impact {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* Demand Forecasting Visual */
.demand-chart-container {
    margin-bottom: 1.5rem;
}

.demand-chart {
    width: 100%;
    height: auto;
}

.demand-insights {
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.insight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.insight-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.insight-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Additional Use Cases */
.additional-use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.additional-use-case-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.additional-use-case-icon {
    margin-bottom: 1.5rem;
}

.additional-use-case-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.additional-use-case-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.additional-use-case-list {
    list-style: none;
    padding-left: 0;
}

.additional-use-case-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.additional-use-case-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */

.capabilities-section {
    padding: 6rem 0;
    background-color: white;
}

.capabilities-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 2px solid var(--border-color);
}

.capability-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.capability-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 107, 74, 0.2);
    line-height: 1;
    flex-shrink: 0;
}

.capability-content-wrapper {
    flex: 1;
}

.capability-text {
    margin-bottom: 3rem;
}

.capability-title {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.capability-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.capability-details h4 {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.data-source-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

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

.capability-feature {
    padding: 1rem;
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.capability-feature strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.capability-visual-large {
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

/* Integration Diagram */
.integration-diagram {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.integration-center span {
    font-weight: 700;
    color: var(--text-primary);
}

.integration-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.integration-node {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.integration-node.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.integration-node.node-2 {
    top: 20%;
    right: 0;
}

.integration-node.node-3 {
    bottom: 20%;
    right: 0;
}

.integration-node.node-4 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.integration-node.node-5 {
    bottom: 20%;
    left: 0;
}

.integration-node.node-6 {
    top: 20%;
    left: 0;
}

.integration-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Feature Engineering */
.feature-engineering-visual {
    padding: 1rem;
}

.engineering-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.flow-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.flow-label {
    font-weight: 600;
    color: var(--text-primary);
}

.flow-count {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-orange);
}

.engineering-improvement {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

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

.improvement-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.improvement-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--success-green);
}

.improvement-bar {
    height: 1rem;
    background-color: #E5E7EB;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.improvement-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-green) 0%, var(--primary-orange) 100%);
}

.feature-engineering-examples {
    display: grid;
    gap: 1.5rem;
}

.engineering-example {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.example-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.example-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-tag {
    padding: 0.375rem 0.75rem;
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Model Selection */
.model-selection-visual {
    padding: 1rem;
}

.model-comparison-table {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.comparison-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-light-gray);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-bottom: 2px solid var(--border-color);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.selected-row {
    background-color: rgba(255, 107, 74, 0.05);
}

.comparison-col {
    font-size: var(--font-size-sm);
}

.model-name {
    font-weight: 600;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    display: inline-block;
}

.status-badge.tested {
    background-color: var(--info-blue-light);
    color: var(--info-blue);
}

.status-badge.selected {
    background-color: var(--success-green-light);
    color: var(--success-green);
}

.selection-reason {
    background-color: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.model-type-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.model-type-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.model-type-header span {
    font-weight: 600;
    color: var(--text-primary);
}

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

.model-type-card li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Explainable AI */
.explanation-visual {
    padding: 1.5rem;
}

.explanation-chart-title {
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.waterfall-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    gap: 0.5rem;
}

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

.waterfall-bar {
    width: 100%;
    max-width: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: white;
}

.waterfall-item.baseline .waterfall-bar {
    background-color: var(--text-secondary);
}

.waterfall-item.positive .waterfall-bar {
    background: linear-gradient(180deg, var(--success-green) 0%, #059669 100%);
}

.waterfall-item.negative .waterfall-bar {
    background: linear-gradient(180deg, var(--error-red) 0%, #DC2626 100%);
}

.waterfall-item.total .waterfall-bar {
    background: linear-gradient(180deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.waterfall-value {
    display: block;
}

.waterfall-label {
    margin-top: 1rem;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-align: center;
}

.waterfall-connector {
    width: 100%;
    height: 2px;
    align-self: center;
    margin-bottom: 3rem;
}

.waterfall-connector.positive {
    background-color: var(--success-green);
}

.waterfall-connector.negative {
    background-color: var(--error-red);
}

.explanation-features {
    display: grid;
    gap: 1.5rem;
}

.explanation-feature {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: white;
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.explanation-icon {
    flex-shrink: 0;
}

.explanation-text {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.explanation-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* Scenario Planning */
.scenario-comparison-visual {
    padding: 1.5rem;
}

.scenario-header {
    margin-bottom: 2rem;
    text-align: center;
}

.scenario-title {
    font-weight: 600;
    color: var(--text-primary);
}

.scenario-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.scenario-column {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.scenario-column-header {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.baseline-scenario {
    background-color: var(--bg-light-gray);
    color: var(--text-primary);
}

.alternative-scenario {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1) 0%, rgba(255, 107, 74, 0.05) 100%);
    color: var(--primary-orange);
}

.scenario-metrics {
    padding: 1.5rem;
}

.scenario-metric {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.scenario-metric:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.metric-label-small {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.metric-value-large {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.metric-change {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.positive-change {
    background-color: var(--success-green-light);
    color: var(--success-green);
}

.negative-change {
    background-color: var(--error-red-light);
    color: var(--error-red);
}

.scenario-recommendation {
    background-color: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.scenario-example-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.scenario-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.scenario-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.scenario-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-style: italic;
}

/* Retraining */
.retraining-process {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.process-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.retraining-benefits {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    padding: 1rem;
    background-color: white;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-item strong {
    color: var(--text-primary);
}

.retraining-timeline {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.timeline-header {
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.timeline-chart {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.timeline-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.timeline-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.legend-line {
    width: 2rem;
    height: 0.25rem;
    border-radius: var(--radius-sm);
}

.legend-line.degrading {
    background-color: var(--error-red);
}

.legend-line.improving {
    background-color: var(--success-green);
}

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

.integrations-section {
    padding: 6rem 0;
    background-color: var(--bg-cream);
}

.integrations-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

.integration-category {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.integration-category-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.integration-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    flex: 0 0 150px;
    width: 150px;
}

.integration-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: white;
}

.integration-logo {
    width: 40px;
    height: 40px;
}

.integration-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.integration-cta {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.integration-cta-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
}

.integration-cta-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFF8F5 0%, var(--bg-cream) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-benefits {
    margin-bottom: 2rem;
}

.contact-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-benefit svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-info-box {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-info-item:first-child {
    padding-top: 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    padding-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 107, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-link {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-info-link:hover {
    color: var(--primary-orange);
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.form-footer-text {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info-item {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-info-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-info-item a:hover {
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .use-case-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .use-case-visual {
        position: static;
    }

    .capability-item {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

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

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

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

    .additional-use-cases {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .integration-items {
        justify-content: center;
    }

    .integration-item {
        flex: 0 0 120px;
        width: 120px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-orange {
    color: var(--primary-orange);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .contact-section,
    .footer {
        display: none;
    }

    body {
        background-color: white;
    }

    .section {
        page-break-inside: avoid;
    }
}