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

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #f59e0b;
    --dark: #111827;
    --light: #f9fafb;
    --gray: #6b7280;
    --success: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

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

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

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

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

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

.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: var(--light);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

.lang-btn.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 64, 175, 0.8) 100%), url('images/hero-robot-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Product Positioning Section */
.product-positioning {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.positioning-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.positioning-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.problem-point h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.problem-point p {
    color: var(--gray);
    line-height: 1.6;
}

.solution-highlight {
    position: sticky;
    top: 2rem;
}

.solution-box {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.solution-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.solution-box > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.solution-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.solution-option {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.solution-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.option-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), #ea580c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.option-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.option-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Implementation Section */
.implementation {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.5) 0%, white 50%, rgba(249, 250, 251, 0.5) 100%);
    position: relative;
    overflow: visible;
}

.implementation .section-header {
    margin-bottom: 4rem;
}

.collaboration-visual {
    max-width: 800px;
    margin: 3rem auto 4rem;
    padding: 2rem;
}

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

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

.collaboration-visual circle[fill="#f59e0b"] {
    animation: pulse 2s infinite;
}

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

.workflow-visual g {
    animation: slideIn 0.8s ease-out forwards;
    opacity: 0;
}

.workflow-visual g:nth-child(3) { animation-delay: 0.2s; }
.workflow-visual g:nth-child(5) { animation-delay: 0.4s; }
.workflow-visual g:nth-child(7) { animation-delay: 0.6s; }
.workflow-visual g:nth-child(9) { animation-delay: 0.8s; }
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.support-visual circle[stroke-dasharray] {
    transform-origin: center;
    animation: rotate 20s linear infinite;
}

.workflow-visual {
    max-width: 1000px;
    margin: 2rem auto 4rem;
    padding: 1rem;
    overflow-x: auto;
}

.workflow-visual svg {
    width: 100%;
    height: auto;
    min-width: 800px;
}

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

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

/* Process flow arrows */
.implementation-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 25%, transparent 25%, transparent 50%, var(--primary) 50%, var(--primary) 75%, transparent 75%, transparent 100%);
    z-index: 1;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .implementation-grid::before {
        display: none;
    }
}

.implementation-card {
    position: relative;
    padding: 2rem;
    padding-top: 4rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 2;
}

.implementation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 1rem auto 1.5rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.implementation-card:hover .step-icon {
    opacity: 1;
    transform: scale(1.1);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #ea580c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.implementation-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.implementation-card p {
    color: var(--gray);
    line-height: 1.8;
}

.implementation-cta {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.implementation-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.implementation-cta p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Success Stories Section */
.success-stories {
    padding: 5rem 0;
    background: var(--light);
}

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

.story-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.story-visual {
    position: absolute;
    top: -15px;
    right: 20px;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 3px solid #f8fafc;
}

.story-icon {
    width: 50px;
    height: 50px;
    display: block;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.story-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.company-size {
    margin-bottom: 1rem;
}

.size-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-badge.small {
    background: #dcfce7;
    color: #166534;
}

.size-badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.size-badge.large {
    background: #dbeafe;
    color: #1e40af;
}

.story-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.company-info {
    color: var(--gray);
    font-size: 0.95rem;
}

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

.challenge, .solution {
    padding: 1rem 0;
}

.challenge h4, .solution h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.challenge h4 {
    color: #dc2626;
}

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

.challenge p, .solution p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.results {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.result-stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

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

/* Sovereignty Section */
.sovereignty {
    padding: 5rem 0;
    background: white;
}

.sovereignty-slider {
    margin-top: 3rem;
}

.slider-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

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

.sovereignty-option {
    background: var(--light);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.sovereignty-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.sovereignty-option.cloud {
    border-color: #3b82f6;
}

.sovereignty-option.cloud:hover {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.sovereignty-option.hybrid {
    border-color: #f59e0b;
}

.sovereignty-option.hybrid:hover {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.sovereignty-option.onpremise {
    border-color: #10b981;
}

.sovereignty-option.onpremise:hover {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.option-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sovereignty-icon {
    width: 60px;
    height: 60px;
}

.option-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.sovereignty-level {
    text-align: center;
    margin-bottom: 1rem;
}

.level-indicator {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-indicator.low {
    background: #dbeafe;
    color: #1e40af;
}

.level-indicator.medium {
    background: #fef3c7;
    color: #92400e;
}

.level-indicator.high {
    background: #d1fae5;
    color: #059669;
}

.option-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.option-content ul {
    list-style: none;
    padding: 0;
}

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

.option-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.sovereignty-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--light), white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: white;
}

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

.team-card {
    background: var(--light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar-placeholder svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.expertise-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.expertise-badge svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialty-tag {
    background: white;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--primary);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.tab-btn:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.tab-btn:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    max-width: 350px;
    width: 100%;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    display: none;
}

.pricing-card.active {
    display: block;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

.price-tag .setup {
    font-size: 1rem;
    opacity: 0.8;
}

.price-tag .monthly {
    font-size: 3rem;
    font-weight: bold;
}

.price-tag .period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    fill: white;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Language specific content */
.lang-content {
    display: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .positioning-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .positioning-text h2 {
        font-size: 2rem;
    }
    
    .solution-highlight {
        position: relative;
    }
    
    .solution-box {
        padding: 1.5rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .results {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sovereignty-spectrum {
        grid-template-columns: 1fr;
    }
    
    .sovereignty-cta {
        padding: 2rem 1rem;
    }
    
    .pricing-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
    }
    
    .tab-btn {
        border-radius: 0.5rem !important;
    }
    
    .implementation-grid {
        grid-template-columns: 1fr;
    }
    
    .implementation-cta {
        padding: 2rem 1rem;
    }
    
    .collaboration-visual {
        padding: 1rem;
    }
    
    .workflow-visual {
        padding: 0.5rem;
    }
    
    .workflow-visual svg {
        min-width: 600px;
    }
    
    .bep-architecture .architecture-visualization {
        padding: 1rem;
    }
    
    .bep-architecture .architecture-layer {
        margin-bottom: 2rem;
    }
    
    .bep-architecture .layer-content {
        overflow-x: auto;
        padding: 1rem 0;
    }
    
    .bep-architecture .option-card {
        min-width: 140px;
        margin-right: 0.75rem;
        padding: 0.75rem;
    }
    
    .bep-architecture .architecture-cta {
        padding: 2rem 1rem;
        text-align: center;
    }
}

/* BEP.chat Architecture Visualization */
.bep-architecture {
    background: var(--light);
    padding: 4rem 0;
}

/* Architecture Layout with Security Column */
.architecture-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 100%;
    overflow: hidden;
}

.security-column {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    border-radius: 1rem;
    padding: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.security-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.security-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.8rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.architecture-layers {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (max-width: 1024px) {
    .architecture-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-column {
        min-height: auto;
        order: -1;
    }
    
    .security-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .security-item {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

.architecture-visualization {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
}

.architecture-layer {
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.architecture-layer:last-of-type {
    margin-bottom: 2rem;
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.layer-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.scroll-hint {
    display: none;
}

.layer-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.layer-content {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

/* BEP.core subsections layout */
.core-subsections {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    overflow-x: visible;
    padding: 0.5rem 0;
    width: 100%;
}

.core-subsection {
    background: white;
    border-radius: 0.25rem;
    padding: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 0;
}

.subsection-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.4rem;
    text-align: center;
}

.subsection-examples {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.example-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    padding: 0.4rem;
    font-size: 0.75rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.example-item:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.example-item.selected {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
    font-weight: 600;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .core-subsections {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 0.75rem;
    }
    
    .core-subsection {
        padding: 0.75rem;
    }
    
    .subsection-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .example-item {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
}

.layer-content::-webkit-scrollbar {
    display: none;
}

.layer-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Middle layer (RAG) - horizontal scroll */
.rag-layer .layer-content {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.option-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    padding: 0.5rem;
    min-width: 80px;
    max-width: 100px;
    flex-shrink: 1;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.option-card.featured {
    border-color: var(--secondary);
    background: #fef3c7;
    transform: scale(1.05);
}

.option-card.featured:hover {
    transform: scale(1.05) translateY(-2px);
}

.option-card.selected {
    border-color: var(--success);
    background: #d1fae5;
}

.option-card.selected .option-icon {
    background: var(--success);
}

/* Logo styling */
.option-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    /* Removed filter to show original logo colors on light backgrounds */
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: white;
    padding: 4px;
}

.option-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.option-card.featured .option-icon {
    background: var(--secondary);
}

.option-icon svg {
    width: 24px;
    height: 24px;
}

.option-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.option-card p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.2;
}

/* Layer-specific styling using site color palette */
.access-layer {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.access-layer .option-card {
    background: white;
    border-color: var(--primary);
}

.rag-layer {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.rag-layer .option-card {
    background: white;
    border-color: var(--secondary);
}

.infrastructure-layer {
    background: var(--light);
    border: 2px solid var(--success);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.infrastructure-layer .option-card {
    background: white;
    border-color: var(--success);
}

.architecture-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--primary);
    border-radius: 1rem;
    color: white;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.architecture-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.architecture-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.architecture-cta .btn {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    font-weight: 600;
}

.architecture-cta .btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* Stack Building UI */
.stack-instructions {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 0.75rem;
    border: 2px dashed var(--primary);
}

.stack-instructions h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stack-instructions p {
    color: var(--gray);
    font-size: 1rem;
}

.selected-stack {
    background: var(--light);
    border: 2px solid var(--success);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.selected-stack h4 {
    color: var(--success);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.stack-components {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stack-item {
    background: white;
    border: 2px solid var(--success);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 150px;
}

.stack-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 0.25rem;
}

.stack-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.stack-connector {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success);
    animation: pulse 2s infinite;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.connection-line {
    stroke: var(--secondary);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 5,5;
    animation: dash 2s linear infinite;
    marker-end: url(#arrowhead);
}

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

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

@keyframes dash {
    to { stroke-dashoffset: -10; }
}

/* Enhanced selection states */
.option-card.stack-selected {
    border-color: var(--secondary);
    background: #fef3c7;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.option-card.stack-selected .option-icon {
    background: var(--secondary);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--secondary); }
    to { box-shadow: 0 0 20px var(--secondary); }
}