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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    --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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(102, 126, 234, 0.88), rgba(118, 75, 162, 0.88)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Capabilities Grid */
.capabilities {
    background: var(--bg-light);
}

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

.capability-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.capability-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.learn-more:hover {
    color: var(--primary-dark);
}

/* Impact Section */
.impact {
    background: var(--bg-white);
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
}

.comparison-header {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.comparison-row {
    border-bottom: 1px solid var(--border-color);
}

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

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

.comparison-col:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-col.highlight {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-color);
}

.comparison-col.success {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Platform Components */
.platform-components {
    background: var(--bg-light);
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.arch-layer {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.arch-layer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.arch-components {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.component {
    background: var(--bg-light);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.demo-form input {
    padding: 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

.demo-form button {
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Feature Detail Sections */
.feature-detail {
    padding: 5rem 0;
}

.feature-detail.alt-bg {
    background: var(--bg-light);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Data Sources Grid */
.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.source-category h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.25rem;
}

/* Visual Placeholders */
.visual-placeholder {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alt-bg .visual-placeholder {
    background: var(--bg-white);
}

/* Search Demo */
.search-demo {
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.search-bar span {
    font-size: 1.5rem;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.result-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.result-icon {
    font-size: 2rem;
}

.result-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.result-item p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* AI Demo */
.ai-demo {
    width: 100%;
}

.chat-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.chat-message.user {
    background: var(--primary-color);
    color: white;
}

.chat-message.assistant {
    background: var(--bg-light);
}

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

.step {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

.mini-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Pipeline Visualization */
.pipeline-viz {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
}

.pipeline-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Lineage Graph */
.lineage-graph {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.lineage-node {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.lineage-node.source {
    background: var(--primary-color);
    color: white;
}

.lineage-node.output {
    background: var(--secondary-color);
    color: white;
}

.lineage-connector {
    width: 2px;
    height: 20px;
    background: var(--border-color);
    margin: 0 auto;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.security-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Use Cases */
.use-cases-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.use-case-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    overflow: hidden;
}

.use-case-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.use-case-icon {
    font-size: 3rem;
}

.use-case-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.use-case-content {
    padding: 2rem;
}

.use-case-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.use-case-content h3:first-child {
    margin-top: 0;
}

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

.result-metric {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

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

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

/* Industries Section */
.industries-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.industry-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: white;
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.industry-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

/* Pricing */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card .price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Feature Comparison Table */
.comparison-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.feature-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.feature-comparison-table th,
.feature-comparison-table td {
    padding: 1.25rem;
    text-align: left;
}

.feature-comparison-table th {
    font-weight: 700;
    font-size: 1.125rem;
}

.feature-comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

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

.feature-comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.feature-comparison-table td:first-child {
    font-weight: 600;
}

.feature-comparison-table td:not(:first-child) {
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

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

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

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

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

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: left !important;
    }

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

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-content,
    .feature-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .data-sources-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-hero h1 {
        font-size: 2rem;
    }

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .cta-buttons {
        flex-direction: column;
    }
}

