/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;

    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);

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

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.logo:hover {
    color: var(--gray-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.nav-cta {
    display: flex;
    gap: 0.75rem;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-subtitle-wide {
    max-width: none;
    width: calc(200% + 4rem);
    margin-right: calc(-100% - 4rem);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.context-diagram {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.context-input, .context-output {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.context-input {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.context-output {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.context-input h4, .context-output h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.context-input ul, .context-output ul {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.context-input li, .context-output li {
    padding: 0.25rem 0;
}

.context-arrow {
    flex-shrink: 0;
}

.context-arrow svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

/* ===== Problem Section ===== */
.problem-section {
    background: var(--dark);
    padding: 4rem 0;
}

.problem-section h2 {
    color: var(--white);
}

.problem-section .highlight {
    color: var(--danger);
}

.problem-section p {
    color: var(--gray-400);
}

/* ===== Challenges Section ===== */
.challenges-section {
    background: var(--gray-50);
}

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

.challenge-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.challenge-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.challenge-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.challenge-impact {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.impact-label {
    font-weight: 600;
    color: var(--danger);
}

.common-thread {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-xl);
}

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

.thread-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.thread-content h3 {
    margin-bottom: 0.5rem;
}

.thread-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.thread-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.thread-content li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding-left: 1.5rem;
    position: relative;
}

.thread-content li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* ===== Solution Section ===== */
.solution-section {
    background: var(--dark);
    padding: 5rem 0;
}

.solution-section .section-label {
    color: var(--primary-light);
}

.solution-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.comparison-card.negative {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.comparison-card.positive {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.comparison-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
}

.comparison-card.negative .comparison-icon {
    background: var(--danger);
    color: var(--white);
}

.comparison-card.positive .comparison-icon {
    background: var(--success);
    color: var(--white);
}

.comparison-header h4 {
    color: var(--white);
    font-size: 1.125rem;
}

.comparison-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-300);
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

.comparison-card.negative li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--danger);
}

.comparison-card.positive li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

.comparison-card li.result {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card.negative li.result {
    color: var(--danger);
}

.comparison-card.positive li.result {
    color: var(--success);
}

.pillars h3 {
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

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

.pillar {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--gradient);
    border-radius: var(--radius);
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.pillar h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.pillar p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

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

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

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

.impact-table th,
.impact-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.impact-table th {
    background: var(--gray-900);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impact-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
}

.impact-table tbody tr:hover {
    background: var(--gray-50);
}

.impact-table td {
    font-size: 0.9375rem;
}

.impact-positive {
    color: var(--success);
    font-weight: 600;
}

/* ===== Segments Section ===== */
.segments-section {
    background: var(--gray-50);
}

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

.segment-card {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

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

.segment-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.segment-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.segment-header {
    margin-bottom: 1.5rem;
}

.segment-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.segment-header p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

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

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

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

.segment-benefits {
    margin-bottom: 1.5rem;
    text-align: left;
}

.segment-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.segment-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.segment-card .btn {
    width: 100%;
}

/* ===== Pricing Coming Soon Section ===== */
.pricing-coming-soon-section {
    background: var(--gray-50);
    padding: 6rem 0;
}

.pricing-coming-soon-section .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.pricing-coming-soon-section .section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--gray-600);
}

.coming-soon-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (max-width: 480px) {
    .coming-soon-cta {
        flex-direction: column;
        align-items: center;
    }

    .coming-soon-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient);
    padding: 5rem 0;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-brand .tagline {
    color: var(--primary-light);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray-500);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-subtitle-wide {
        width: 100%;
        margin-right: 0;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

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

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

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

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

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

    .hero {
        padding: 6rem 0 3rem;
    }

    .context-diagram {
        flex-direction: column;
    }

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

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

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

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

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .common-thread {
        flex-direction: column;
        text-align: center;
    }

    .segment-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Coming Soon Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 50%;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.modal-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modal-form input[type="email"]::placeholder {
    color: var(--gray-400);
}

.modal-form .btn {
    flex-shrink: 0;
}

.modal-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.modal-success {
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-success.show {
    display: block;
}

.modal-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

.modal-success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--success);
}

.modal-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.modal-success p {
    color: var(--gray-600);
}

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

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-form {
        flex-direction: column;
    }

    .modal-form .btn {
        width: 100%;
    }
}

/* ===== Navigation Dropdowns ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        margin-top: 0.5rem;
        padding: 0.5rem 0;
    }

    .nav-dropdown.mobile-open .dropdown-menu {
        display: block;
    }

    .nav-dropdown > a::after {
        content: "▼";
        font-size: 0.625rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.mobile-open > a::after {
        transform: rotate(180deg);
    }
}

.nav-links a.active {
    color: var(--primary);
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Architecture Diagram Section ===== */
.architecture-diagram-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.architecture-diagram-section .container {
    max-width: 1400px;
    padding: 0 1.5rem;
}

.architecture-diagram-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ===== Platform Diagram ===== */
.platform-diagram {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
}

.platform-diagram-large {
    width: 100%;
    max-width: 100%;
    padding: 2rem;
}

.diagram-layer {
    text-align: center;
    padding: 1rem 0.5rem;
}

.diagram-layer.layer-teams {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-200);
}

.layer-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.team-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.team-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Team boxes with personas */
.team-boxes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.team-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 0.5rem;
    text-align: center;
    transition: var(--transition);
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.team-box:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.team-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient);
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-personas {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.team-personas span {
    font-size: 0.7rem;
    color: var(--gray-700);
    padding: 0.25rem 0.4rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-weight: 500;
    line-height: 1.3;
}

.team-personas span:hover {
    background: var(--gray-100);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Customer Organization Layer - Premium Enterprise Styling */
.layer-customer-org {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%) 1;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.layer-customer-org::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #10b981, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.layer-customer-org > .layer-label {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    display: inline-block;
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(139, 92, 246, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.customer-org-content {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.org-section {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
}

.org-section .section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7) 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.org-section .section-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Teams Section */
.teams-section {
    flex: 0 0 38%;
}

.teams-section .team-boxes {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.teams-section .team-box {
    min-height: 110px;
    padding: 0.6rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.teams-section .team-box:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.teams-section .team-name {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.teams-section .team-personas span {
    font-size: 0.62rem;
    padding: 0.2rem 0.35rem;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Technology Landscape Section */
.tech-landscape-section {
    flex: 1;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Cloud Providers */
.cloud-providers {
    margin-bottom: 0.5rem;
}

.cloud-providers .category-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cloud-providers .category-title::before {
    content: '☁️';
    font-size: 1rem;
}

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

.cloud-provider {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cloud-provider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.cloud-provider.aws::before {
    background: linear-gradient(90deg, #FF9900, #FFB84D);
}

.cloud-provider.azure::before {
    background: linear-gradient(90deg, #0078D4, #00A4EF);
}

.cloud-provider.gcp::before {
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
}

.cloud-provider:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cloud-provider.aws {
    border-left: 4px solid #FF9900;
}

.cloud-provider.aws:hover {
    box-shadow: 0 12px 30px rgba(255, 153, 0, 0.25);
}

.cloud-provider.azure {
    border-left: 4px solid #0078D4;
}

.cloud-provider.azure:hover {
    box-shadow: 0 12px 30px rgba(0, 120, 212, 0.25);
}

.cloud-provider.gcp {
    border-left: 4px solid #4285F4;
}

.cloud-provider.gcp:hover {
    box-shadow: 0 12px 30px rgba(66, 133, 244, 0.25);
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.provider-header .provider-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.provider-header span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gray-800);
    letter-spacing: 0.5px;
}

.services-list {
    font-size: 0.7rem;
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 500;
}

/* Service Icons Grid (for cloud providers) */
.service-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-start;
}

.svc-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.svc-icon svg {
    width: 20px;
    height: 20px;
}

.svc-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.svc-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 100;
}

/* Bucket Icons Grid */
.bucket-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
}

.tech-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.tech-icon svg {
    width: 18px;
    height: 18px;
}

.tech-icon:hover {
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
    border-color: var(--primary);
    z-index: 10;
}

.tech-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.tech-bucket {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius);
    padding: 0.6rem;
    transition: all 0.3s ease;
    position: relative;
}

.tech-bucket::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.tech-bucket:hover::after {
    width: 80%;
}

.tech-bucket:hover {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.bucket-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), transparent) 1;
}

.bucket-header svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.bucket-header span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-800);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Critical Challenges Section - Warning Styling */
.missing-automation-section {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%) !important;
    border: 2px solid #f87171 !important;
    border-left: 5px solid #dc2626 !important;
    position: relative;
    overflow: hidden;
    margin-top: 1.25rem;
    flex-basis: 100%;
}

.missing-automation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f97316, #eab308, #dc2626);
    background-size: 200% 100%;
    animation: warningPulse 3s ease infinite;
}

@keyframes warningPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.missing-automation-section .section-title.warning-title {
    color: #991b1b;
    border-image: linear-gradient(90deg, #dc2626, #f97316) 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.missing-automation-section .section-title.warning-title::before {
    display: none;
}

.missing-automation-section .section-title svg {
    width: 20px;
    height: 20px;
    color: #dc2626;
    flex-shrink: 0;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.challenge-box {
    background: linear-gradient(145deg, #ffffff 0%, #fef2f2 100%);
    border: 1px solid #fca5a5;
    border-radius: var(--radius);
    padding: 0.75rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.6rem;
    transition: all 0.3s ease;
    position: relative;
}

.challenge-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.challenge-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.challenge-icon svg {
    width: 20px;
    height: 20px;
    color: #dc2626;
}

.challenge-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.challenge-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #991b1b;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.challenge-desc {
    font-size: 0.65rem;
    font-weight: 500;
    color: #7f1d1d;
    line-height: 1.4;
    padding: 0.35rem 0.5rem;
    background: rgba(254, 202, 202, 0.5);
    border-left: 2px solid #f87171;
    border-radius: 0 4px 4px 0;
}

.challenge-stat {
    font-size: 0.6rem;
    font-weight: 600;
    color: #dc2626;
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.challenge-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

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

.summary-text {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}

.summary-text strong {
    font-weight: 800;
    color: #fef08a;
}

@media (max-width: 900px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .challenge-box {
        flex-direction: row;
    }
}

@media (max-width: 900px) {
    .customer-org-content {
        flex-direction: column;
    }

    .teams-section {
        flex: none;
    }

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

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

    .team-boxes {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-diagram-large {
        max-width: 100%;
        padding: 1.5rem;
    }

    .platform-row {
        flex-direction: column;
    }

    .platform-row .ai-integration-panel {
        flex-direction: row;
        justify-content: space-around;
    }

    .platform-row-extended {
        flex-direction: column;
    }

    /* Platform content row stacks vertically on mobile */
    .platform-content-row {
        flex-direction: column;
        gap: 1rem;
    }

    .platform-content-row .package-injection-panel {
        max-width: 100%;
        min-width: auto;
    }

    .platform-content-row .package-component-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .platform-content-row .pkg-component {
        flex: 1 1 45%;
    }

    .platform-content-row .injection-arrow-connector {
        transform: rotate(90deg);
        align-self: center;
    }

    .platform-row-extended .package-injection-panel {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .platform-row-extended .package-component-list {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
    }

    .platform-row-extended .pkg-component {
        flex: 1 1 45%;
    }

    .platform-row-extended .injection-arrow-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .platform-row-extended .ai-integration-panel {
        flex-direction: row;
        justify-content: space-around;
    }

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

    .svc-icon {
        width: 28px;
        height: 28px;
    }

    .svc-icon svg {
        width: 18px;
        height: 18px;
    }

    .tech-icon {
        width: 24px;
        height: 24px;
    }

    .tech-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 600px) {
    .team-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams-section .team-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .team-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

.diagram-arrow {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.diagram-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--gray-400);
}

/* Platform Row - Architron + AI Panel side by side */
.platform-row {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    margin: 0.5rem 0;
}

.platform-row .layer-platform {
    flex: 1;
    margin: 0;
}

.platform-row .ai-integration-panel {
    flex-shrink: 0;
}

/* Extended Platform Row with Package Injection */
.platform-row-extended {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    margin: 0.5rem 0;
}

.platform-row-extended .layer-platform {
    flex: 1;
    margin: 0;
}

.platform-row-extended .ai-integration-panel {
    flex-shrink: 0;
}

/* Package Injection Panel */
.package-injection-panel {
    background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border: 2px solid rgba(129, 140, 248, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem;
    min-width: 160px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25);
}

.package-panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.package-panel-icon {
    font-size: 1.25rem;
}

.package-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-component-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
}

.pkg-component {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.pkg-component:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Package Component Color Coding - matches target pillars */
/* Governance = indigo (#6366f1), Runtime = green (#10b981), Knowledge = amber (#f59e0b), Enterprise = blue (#3b82f6), Reports = pink (#ec4899) */

/* SpecTypes, Records, LinkTypes → Knowledge (amber) */
.pkg-component[data-injects="knowledge"] {
    border-left: 3px solid #f59e0b;
    background: rgba(245, 158, 11, 0.25);
}

/* Workflows, Operations, Connectors → Runtime (green) */
.pkg-component[data-injects="runtime"] {
    border-left: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.25);
}

/* Standards → Governance + Enterprise (indigo + blue gradient) */
.pkg-component[data-injects="governance,enterprise"] {
    border-left: 3px solid #6366f1;
    border-right: 3px solid #3b82f6;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
}

/* Reports & Score Cards → Governance (pink) */
.pkg-component[data-injects="governance"] {
    border-left: 3px solid #ec4899;
    background: rgba(236, 72, 153, 0.25);
}

/* Roles, Permissions, Personas → Governance (cyan) */
.pkg-component[data-injects="governance-rbac"] {
    border-left: 3px solid #06b6d4;
    background: rgba(6, 182, 212, 0.25);
}

/* Programs → Projects → Teams → Governance (violet) */
.pkg-component[data-injects="governance-hierarchy"] {
    border-left: 3px solid #a855f7;
    background: rgba(168, 85, 247, 0.25);
}

.pkg-comp-icon {
    font-size: 0.875rem;
}

.pkg-comp-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
}

.package-examples-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pkg-example {
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    font-weight: 500;
}

/* Injection Arrow Connector */
.injection-arrow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.arrow-line {
    width: 3px;
    height: 0;
    flex: 1;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 2px;
    display: none;
}

.injection-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.arrow-head {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.7; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

.layer-platform {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0.5rem 0;
}

/* Platform Header Row - contains ARCHITRON title */
.platform-header-row {
    text-align: center;
    margin-bottom: 1rem;
}

/* Platform Content Row - contains package components + arrow + pillars */
.platform-content-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

/* Package injection panel inside layer-platform */
.platform-content-row .package-injection-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(129, 140, 248, 0.4);
    min-width: 180px;
    max-width: 200px;
    flex-shrink: 0;
}

/* Arrow inside layer-platform - Points to first pillar */
.platform-content-row .injection-arrow-connector {
    background: transparent;
    border: none;
    padding: 0.5rem;
    min-width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    padding-top: 2.5rem;
}

.platform-content-row .injection-label {
    color: #fbbf24;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: none;
    padding: 0;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.platform-content-row .arrow-head {
    font-size: 3rem;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.9), 0 0 30px rgba(251, 191, 36, 0.6);
    animation: arrow-pulse 1.2s ease-in-out infinite;
    line-height: 1;
}

@keyframes arrow-pulse {
    0%, 100% {
        opacity: 0.9;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(6px);
    }
}

/* Pillars with Marketplace wrapper */
.pillars-with-marketplace {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pillars-with-marketplace .platform-pillars-expanded {
    flex: 0;
}

.pillars-with-marketplace .marketplace-row {
    margin-top: 0;
}

.platform-core-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.platform-core {
    flex: 1;
    text-align: center;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

/* Expanded Pillars with Features */
.platform-pillars-expanded {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.pillar-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.pillar-box:hover {
    background: rgba(255, 255, 255, 0.18);
}

.pillar-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pillar Title Color Coding - more prominent than features */
.pillar-box[data-pillar="governance"] .pillar-title {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: 1px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.pillar-box[data-pillar="runtime"] .pillar-title {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.pillar-box[data-pillar="knowledge"] .pillar-title {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid rgba(245, 158, 11, 0.5);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.pillar-box[data-pillar="enterprise"] .pillar-title {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.pillar-features {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pillar-features span {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.15rem 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    font-weight: 500;
}

/* Feature Items Color Coding - matches package components */
/* SpecTypes = amber, Records = amber, LinkTypes = amber */
/* Workflows = green, Operations = green, Connectors = green */
/* Standards = indigo+blue, Reports = pink, RBAC = cyan */

.pillar-features .from-spectypes {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
    font-weight: 600 !important;
}

.pillar-features .from-reports {
    background: rgba(236, 72, 153, 0.5) !important;
    border-left: 3px solid #ec4899;
    font-weight: 600 !important;
}

.pillar-features .from-rbac {
    background: rgba(6, 182, 212, 0.5) !important;
    border-left: 3px solid #06b6d4;
    font-weight: 600 !important;
}

.pillar-features .from-hierarchy {
    background: rgba(168, 85, 247, 0.5) !important;
    border-left: 3px solid #a855f7;
    font-weight: 600 !important;
}

.pillar-features .from-records {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
    font-weight: 600 !important;
}

.pillar-features .from-linktypes {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
    font-weight: 600 !important;
}

.pillar-features .from-workflows {
    background: rgba(16, 185, 129, 0.5) !important;
    border-left: 3px solid #10b981;
    font-weight: 600 !important;
}

.pillar-features .from-operations {
    background: rgba(16, 185, 129, 0.5) !important;
    border-left: 3px solid #10b981;
    font-weight: 600 !important;
}

.pillar-features .from-connectors {
    background: rgba(16, 185, 129, 0.5) !important;
    border-left: 3px solid #10b981;
    font-weight: 600 !important;
}

.pillar-features .from-standards {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.6) 0%, rgba(59, 130, 246, 0.6) 100%) !important;
    border-left: 3px solid #6366f1;
    border-right: 3px solid #3b82f6;
    font-weight: 600 !important;
}

/* Knowledge Base Component Styles with Subcomponents */
.knowledge-features {
    gap: 0.2rem !important;
}

.knowledge-component {
    display: flex;
    flex-direction: column;
    padding: 0.2rem 0.35rem;
    border-radius: 3px;
}

.knowledge-component .component-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 0.1rem;
}

.knowledge-component .component-examples {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    padding-left: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    margin-left: 0.1rem;
}

.knowledge-component.from-spectypes {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
}

.knowledge-component.from-linktypes {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
}

.knowledge-component.from-records {
    background: rgba(245, 158, 11, 0.5) !important;
    border-left: 3px solid #f59e0b;
}

/* Packages Marketplace Section - mirrors Technology Landscape */
.marketplace-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    padding: 0.5rem;
}

.marketplace-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.marketplace-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

/* Featured packages styling */
.marketplace-grid .tech-bucket.featured-pkg {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%);
    border-color: rgba(245, 158, 11, 0.5);
}

.marketplace-grid .tech-bucket.featured-pkg .bucket-header {
    color: #fbbf24;
}

.marketplace-grid .tech-bucket.featured-pkg .bucket-header.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.4) 100%);
    border-color: rgba(245, 158, 11, 0.5);
}

.marketplace-grid .tech-bucket.featured-pkg .bucket-header svg {
    stroke: #fbbf24;
}

/* Marketplace tech-bucket sizing - larger for visibility */
.marketplace-grid .tech-bucket {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.marketplace-grid .bucket-header {
    padding: 0.3rem 0.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
    gap: 0.35rem;
}

.marketplace-grid .bucket-header svg {
    width: 14px;
    height: 14px;
}

.marketplace-grid .bucket-header span {
    font-size: 0.6rem;
    font-weight: 600;
}

.marketplace-grid .bucket-icons {
    gap: 0.4rem;
    justify-content: center;
}

.marketplace-grid .tech-icon {
    width: 22px;
    height: 22px;
}

.marketplace-grid .tech-icon svg {
    width: 18px;
    height: 18px;
}

/* Connector Marketplace Section */
.connector-marketplace-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.connector-marketplace-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.connector-marketplace-icon {
    font-size: 1rem;
}

.connector-marketplace-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.connector-count {
    font-size: 0.6rem;
    color: rgba(167, 139, 250, 0.9);
    background: rgba(139, 92, 246, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
}

.connector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.connector-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: var(--transition);
}

.connector-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.connector-icon svg {
    width: 18px;
    height: 18px;
}

/* AI Integration Panel */
.ai-integration-panel {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.ai-panel-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.ai-section {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.ai-section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.ai-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: var(--radius);
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.ai-icon:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ai-icon svg {
    width: 26px;
    height: 26px;
}

.ai-icon.agent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.25) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.ai-icon.agent:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(5, 150, 105, 0.4) 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ai-icon.mcp {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(2, 132, 199, 0.25) 100%);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.ai-icon.mcp:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.4) 0%, rgba(2, 132, 199, 0.4) 100%);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Context Injection Arrow - Architron to AI & MCP */
.context-injection-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
}

.context-injection-arrow .arrow-line {
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #a78bfa 0%, #6366f1 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.context-injection-arrow .arrow-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    margin: 0.25rem 0;
    text-align: center;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6), 0 0 25px rgba(99, 102, 241, 0.3);
    }
}

.context-injection-arrow .arrow-head-down {
    color: #a78bfa;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.context-injection-arrow .arrow-head-down svg {
    width: 28px;
    height: 28px;
}

/* AI Integration Layer - Horizontal Layout (Outside Architron) */
.layer-ai-integration {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    margin-top: 0;
}

.ai-integration-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ai-layer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #a78bfa, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.ai-sections-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ai-section-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.ai-section-horizontal .ai-section-label {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
}

.ai-icons-row {
    display: flex;
    gap: 0.5rem;
}

.ai-icons-row .ai-icon {
    width: 32px;
    height: 32px;
}

.ai-icons-row .ai-icon svg {
    width: 18px;
    height: 18px;
}

/* AI & Contributors Layer */
.layer-ai-contributors {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    margin-top: 0;
}

.ai-contributors-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.ai-integration-box {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.contributors-section {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.contributor-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.4rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.contributor-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.vendor-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.3) 100%);
}

.partner-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
}

.community-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(234, 88, 12, 0.3) 100%);
}

.contributor-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contributor-icon svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.vendor-box .contributor-icon svg {
    color: #60a5fa;
}

.partner-box .contributor-icon svg {
    color: #34d399;
}

.community-box .contributor-icon svg {
    color: #fb923c;
}

.contributor-title {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.contributor-subtitle {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.2;
}

.contribution-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding-right: 1rem;
}

.contribution-label svg {
    width: 14px;
    height: 14px;
    color: #a78bfa;
}

.contribution-label span {
    font-size: 0.55rem;
    font-weight: 600;
    color: #a78bfa;
    font-style: italic;
}

/* Legacy pillar-item styles */
.platform-pillars {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    transition: var(--transition);
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.pillar-item svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.pillar-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

@media (max-width: 900px) {
    .platform-core-wrapper {
        flex-direction: column;
    }

    /* Platform content row adjustments for tablets */
    .platform-content-row {
        flex-direction: column;
        gap: 1rem;
    }

    .platform-content-row .package-injection-panel {
        max-width: 100%;
        min-width: auto;
    }

    .platform-content-row .injection-arrow-connector {
        transform: rotate(90deg);
        align-self: center;
        padding: 0.5rem 0;
    }

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

    .ai-integration-panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: auto;
    }

    .ai-panel-title {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .ai-section {
        flex: 1;
        min-width: 100px;
    }
}

.platform-features-extended {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-features-extended span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.platform-personas {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    max-width: 100%;
}

.platform-personas .persona-label {
    font-size: 0.5rem;
    font-weight: 700;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.platform-personas span:not(.persona-label) {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.125rem 0.35rem;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    font-weight: 500;
    white-space: nowrap;
}

.platform-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-features span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
}

.tool-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.tool-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.tool-icon svg {
    width: 30px;
    height: 30px;
}

/* Long label for integrations layer */
.layer-label-long {
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 450px;
    text-align: center;
    margin: 0 auto 0.75rem;
    color: var(--gray-600);
}

/* ===== Architecture Explanation Section ===== */
.architecture-explanation-section {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding: 3rem 0;
    color: var(--white);
}

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

.story-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.story-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #a78bfa, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.story-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.story-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.story-card.highlight-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.story-number {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
}

.story-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.story-card strong {
    color: #c7d2fe;
}

.story-conclusion {
    text-align: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
}

.story-conclusion p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.story-conclusion strong {
    color: #4ade80;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Pillars Showcase ===== */
.platform-section {
    background: var(--white);
    padding: 5rem 0;
}

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

.pillar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pillar-icon-large {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.pillar-icon-large svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.pillar-card > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.pillar-features {
    margin-bottom: 1.5rem;
}

.pillar-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

.pillar-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.pillar-features li strong {
    color: var(--gray-800);
}

/* ===== Hierarchy Section ===== */
.hierarchy-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

.hierarchy-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hierarchy-visual {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.hierarchy-level {
    text-align: center;
    margin: 0.5rem 0;
}

.hierarchy-node {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    min-width: 280px;
}

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

.node-secondary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(14, 165, 233, 0.8) 100%);
    color: var(--white);
}

.node-tertiary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6) 0%, rgba(14, 165, 233, 0.6) 100%);
    color: var(--white);
}

.node-quaternary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(14, 165, 233, 0.4) 100%);
    color: var(--gray-800);
}

.node-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.node-examples {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.hierarchy-connector {
    height: 24px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hierarchy-connector::after {
    content: "";
    width: 2px;
    height: 100%;
    background: var(--gray-300);
}

.hierarchy-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== Roles Section ===== */
.roles-section {
    background: var(--white);
    padding: 5rem 0;
}

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

.role-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.role-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: var(--radius);
}

.role-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.role-header h3 {
    font-size: 1.125rem;
}

.role-pain, .role-solution {
    margin-bottom: 1.5rem;
}

.pain-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--danger);
    margin-bottom: 0.5rem;
}

.solution-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.role-pain p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.role-solution ul {
    font-size: 0.875rem;
}

.role-solution li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--gray-700);
}

.role-solution li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-size: 0.75rem;
}

.role-impact {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.impact-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== Capabilities Section ===== */
.capabilities-section {
    background: var(--dark);
    padding: 5rem 0;
}

.capabilities-section .section-label {
    color: var(--primary-light);
}

.capabilities-section .section-header h2 {
    color: var(--white);
}

.capabilities-section .section-header p {
    color: var(--gray-400);
}

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

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

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.capability-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.capability-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.capability-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.capability-card p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ===== Updated Segments Section ===== */
.segments-section .segment-card {
    text-align: left;
}

.segment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.segment-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.segment-subtitle {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.segment-benefits {
    margin-bottom: 1.5rem;
}

.segment-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.segment-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.segment-metrics {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.segment-card .btn {
    width: 100%;
}

.segment-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* ===== Use Cases Section ===== */
.usecases-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

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

.usecase-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

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

.usecase-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.usecase-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.usecase-scenario {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.usecase-flow {
    margin-bottom: 1.5rem;
}

.flow-step {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.step-num {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.usecase-result {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.usecase-result strong {
    color: var(--success);
}

/* ===== CTA Note ===== */
.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

/* ===== Platform Page Styles ===== */
.architecture-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

.arch-diagram {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.arch-layer {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.arch-layer:last-child {
    margin-bottom: 0;
}

.arch-layer h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-align: center;
}

.marketplace-layer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.marketplace-layer h4 {
    color: var(--success);
}

.operations-layer {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.operations-layer h4 {
    color: var(--primary);
}

.ai-layer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ai-layer h4 {
    color: var(--warning);
}

.infrastructure-layer {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.infrastructure-layer h4 {
    color: var(--gray-700);
}

.arch-boxes {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.arch-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    min-width: 180px;
}

.box-title {
    display: block;
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.arch-box ul {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.arch-box li {
    padding: 0.125rem 0;
}

.revenue-share {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

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

.arch-column {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.col-title {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.arch-column ul {
    font-size: 0.6875rem;
    color: var(--gray-600);
}

.arch-column li {
    padding: 0.125rem 0;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.team-badges span {
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-700);
}

.tool-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tool-grid span {
    padding: 0.125rem 0.375rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    color: var(--gray-600);
}

/* Pillar Detail Sections */
.pillar-detail-section {
    padding: 5rem 0;
}

.pillar-detail-section.alt-bg {
    background: var(--gray-50);
}

.pillar-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pillar-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pillar-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pillar-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Feature Grid on Platform Page */
.pillar-detail-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar-detail-section .feature-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.pillar-detail-section .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.pillar-detail-section .feature-item .feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.pillar-detail-section .feature-item .feature-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.pillar-detail-section .feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pillar-detail-section .feature-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Context Injection Diagram */
.context-injection-diagram {
    margin-bottom: 3rem;
}

.injection-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.injection-input,
.injection-output {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.injection-input h4,
.injection-output h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.injection-input ul,
.injection-output ul {
    font-size: 0.875rem;
}

.injection-input li,
.injection-output li {
    padding: 0.375rem 0;
    color: var(--gray-600);
}

.injection-input li strong,
.injection-output li strong {
    color: var(--gray-800);
}

.injection-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.injection-arrow svg {
    width: 48px;
    height: 24px;
    color: var(--primary);
}

.injection-arrow span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
}

/* Accuracy Comparison */
.accuracy-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-block {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.comparison-block.negative {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-block.positive {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.comparison-block h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-block.negative h4 {
    color: var(--danger);
}

.comparison-block.positive h4 {
    color: var(--success);
}

.x-icon {
    color: var(--danger);
}

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

.comparison-block ul {
    font-size: 0.875rem;
}

.comparison-block li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--gray-700);
}

.comparison-block.negative li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--danger);
}

.comparison-block.positive li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Package Categories */
.package-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.package-category {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.package-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius);
    margin: 0 auto 0.75rem;
}

.category-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.package-category h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.package-category p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.component-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
}

/* Time to Value */
.time-to-value {
    text-align: center;
}

.value-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.time-to-value .value-item {
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
}

.time-to-value .value-item.negative {
    background: rgba(239, 68, 68, 0.1);
}

.time-to-value .value-item.positive {
    background: rgba(16, 185, 129, 0.1);
}

.value-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.value-time {
    font-size: 1.5rem;
    font-weight: 700;
}

.time-to-value .value-item.negative .value-time {
    color: var(--danger);
}

.time-to-value .value-item.positive .value-time {
    color: var(--success);
}

.value-arrow {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.value-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Enterprise Checklist */
.enterprise-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.checklist-category {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.checklist-category h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.checklist-category li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.checklist-category li.checked span:first-child {
    color: var(--gray-800);
    padding-left: 1.5rem;
    position: relative;
}

.checklist-category li.checked span:first-child::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.checklist-category .detail {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Platform Stats Section */
.platform-stats-section {
    background: var(--dark);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* Platform Page Responsive */
@media (max-width: 1024px) {
    .arch-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillar-detail-section .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .arch-boxes {
        flex-direction: column;
    }

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

    .pillar-detail-section .feature-grid {
        grid-template-columns: 1fr;
    }

    .injection-flow {
        grid-template-columns: 1fr;
    }

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

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

    .package-categories {
        grid-template-columns: 1fr;
    }

    .enterprise-checklist {
        grid-template-columns: 1fr;
    }

    .value-comparison {
        flex-direction: column;
    }

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

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

/* ===== Solutions Page Styles ===== */
.solutions-hero {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--white) 100%);
}

.solution-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.solution-section:nth-child(even) {
    background: var(--gray-50);
}

.solution-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.solution-icon-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.solution-icon-large svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.solution-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.solution-badge.featured {
    background: var(--gradient);
    color: var(--white);
}

.solution-header-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.solution-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
}

.solution-pain-section,
.solution-value-section {
    margin-bottom: 3rem;
}

.solution-pain-section h3,
.solution-value-section h3,
.success-story h3,
.weekly-impact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.pain-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.pain-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.pain-icon svg {
    width: 18px;
    height: 18px;
    color: var(--danger);
}

.pain-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pain-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

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

.value-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

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

.value-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 1rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== ROI Cards ===== */
.roi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.roi-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.roi-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.roi-card h3 {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.roi-metric {
    display: flex;
    flex-direction: column;
}

.roi-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.roi-breakdown {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.roi-breakdown h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.roi-breakdown ul {
    font-size: 0.875rem;
}

.roi-breakdown li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--gray-700);
}

.roi-breakdown li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

/* ===== Deployment & Partner Cards ===== */
.deployment-card,
.partner-card,
.pricing-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.deployment-card h3,
.partner-card h3,
.pricing-preview h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.deployment-list,
.partner-list,
.includes-list {
    font-size: 0.875rem;
}

.deployment-list li,
.partner-list li,
.includes-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.deployment-list svg,
.partner-list svg,
.includes-list svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-tag .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.price-tag .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.trial-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* ===== Comparison Tables ===== */
.comparison-table {
    overflow-x: auto;
}

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

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--gray-100);
    font-weight: 600;
    font-size: 0.875rem;
}

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

.comparison-table .negative {
    color: var(--danger);
}

.comparison-table .positive {
    color: var(--success);
    font-weight: 600;
}

.comparison-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

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

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

.full-comparison-table th,
.full-comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.full-comparison-table th {
    background: var(--gray-900);
    color: var(--white);
    font-weight: 600;
}

.full-comparison-table th:first-child {
    text-align: left;
}

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

.full-comparison-table .check::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

.full-comparison-table .cross {
    color: var(--gray-400);
}

/* ===== Weekly Impact ===== */
.weekly-impact {
    margin-top: 2rem;
}

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

.impact-column {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.impact-column.before {
    border-color: rgba(239, 68, 68, 0.3);
}

.impact-column.after {
    border-color: rgba(16, 185, 129, 0.3);
}

.impact-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.impact-column.before h4 {
    color: var(--danger);
}

.impact-column.after h4 {
    color: var(--success);
}

.impact-column li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-bottom: 1px dashed var(--gray-200);
}

.impact-column li .time {
    font-weight: 600;
}

.impact-column.before li .time {
    color: var(--danger);
}

.impact-column.after li .time {
    color: var(--success);
}

.total-time {
    margin-top: 1rem;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius);
}

.total-time.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.total-time.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* ===== Responsive Updates ===== */
@media (max-width: 1024px) {
    .pillars-showcase {
        grid-template-columns: 1fr;
    }

    .hierarchy-diagram {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .solution-sidebar {
        order: -1;
    }

    .pain-cards {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .roi-metrics {
        grid-template-columns: 1fr;
    }

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