/* CTA */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #12141b 0%, #0f1320 100%);
}

.cta-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.cta-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-subtitle {
    color: var(--text-2);
    font-size: 1.125rem;
}

.cta-actions { display: flex; gap: 1rem; }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid var(--border);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-outline:hover { border-color: var(--primary); background: rgba(122, 92, 255, 0.12); }

.cta-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 8px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border); color: var(--text-2); font-size: 0.9rem;
}

.cta-side { display: flex; align-items: center; justify-content: center; }
.cta-highlight {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 1rem 1.25rem;
}
.highlight-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.highlight-text { display: flex; flex-direction: column; gap: 4px; }
.highlight-text strong { font-weight: 700; }
.highlight-text span { color: var(--text-3); font-size: 0.9rem; }

@media (max-width: 900px) { .cta-card { grid-template-columns: 1fr; } }
:root {
    --bg: #0b0c10;
    --bg-elevated: #0f1117;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --border-soft: rgba(255, 255, 255, 0.08);
    --primary: #6b7cff;
    --primary-2: #7a5cff;
    --text: #ffffff;
    --text-2: rgba(255, 255, 255, 0.8);
    --text-3: rgba(255, 255, 255, 0.6);
    --accent: #48bb78;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 60%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 17, 23, 0.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    padding: 0.85rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 20px;
    color: white;
}

.logo-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #667eea;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-neon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-neon:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    margin-bottom: 1.5rem;
}

.badge-text {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-2);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-play {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.play-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.value-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.value-content h4 {
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.value-content p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.4;
}

/* Hero Visual - New Illustration */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: -1.5s;
}

.element-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: -3s;
}

.element-4 {
    top: 30%;
    right: 30%;
    animation-delay: -4.5s;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-30px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: auto;
}

/* hero now uses .demo-interface directly */

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #48bb78;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.chat-interface {
    height: 100%;
    overflow-y: auto;
}

/* Hero chat header */
.hero-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.hero-chat-header .chat-ai-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-chat-header .ai-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.hero-chat-header .ai-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.hero-chat-header .ai-info p {
    color: #48bb78;
    font-size: 0.8rem;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
}

.message.user-message {
    flex-direction: row-reverse;
    animation: slideInRight 0.5s ease forwards;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ai-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.user-avatar {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    max-width: 70%;
    position: relative;
}

.message-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.action-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.education-card {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.trial-card {
    top: 30%;
    right: -15%;
    animation-delay: 2s;
}

.banking-card {
    bottom: 20%;
    left: -10%;
    animation-delay: 4s;
}

.firm-card {
    bottom: 10%;
    right: -20%;
    animation-delay: 1s;
}

/* Platform Showcase */
.platform-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.title-accent {
    color: rgba(255, 255, 255, 0.7);
}

.title-main {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.platform-module {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-module:hover::before {
    transform: scaleX(1);
}

.platform-module:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.module-visual {
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network {
    position: relative;
    width: 100px;
    height: 60px;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.node:nth-child(1) { top: 0; left: 0; }
.node:nth-child(2) { top: 0; right: 0; }
.node:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: flow 2s infinite;
}

.connection:nth-child(4) {
    top: 6px;
    left: 12px;
    width: 76px;
    transform: rotate(0deg);
}

.connection:nth-child(5) {
    top: 6px;
    left: 12px;
    width: 76px;
    transform: rotate(0deg);
}

.connection:nth-child(6) {
    top: 6px;
    left: 12px;
    width: 76px;
    transform: rotate(0deg);
}

@keyframes flow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.module-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.module-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "→";
    color: #667eea;
    font-weight: bold;
}

.module-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Virtual Courtroom with AI + Human Collaboration */
.virtual-court {
    position: relative;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.court-bench {
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    opacity: 0.7;
}

.court-podium {
    position: absolute;
    bottom: 25px;
    width: 30px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.court-jury {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-lawyer-avatar {
    position: absolute;
    left: 10px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    z-index: 2;
}

.human-lawyer-avatar {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    z-index: 2;
}

.ai-status-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #667eea;
    border-radius: 50%;
    animation: aiPulse 2s infinite;
}

.human-status-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #48bb78;
    border-radius: 50%;
    animation: humanPulse 2s infinite;
}

@keyframes aiPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes humanPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.collaboration-line {
    position: absolute;
    top: 32px;
    left: 34px;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #48bb78);
    border-radius: 1px;
    animation: collaborationFlow 3s infinite;
}

@keyframes collaborationFlow {
    0% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.3; transform: scaleX(0.8); }
}

/* MedTech & Pharma Legal Module */
.medical-device {
    position: relative;
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-body {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.device-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #333;
    font-weight: bold;
}

.device-sensors {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.sensor {
    width: 6px;
    height: 6px;
    background: #48bb78;
    border-radius: 50%;
    animation: sensorPulse 2s infinite;
}

.sensor:nth-child(2) { animation-delay: 0.5s; }
.sensor:nth-child(3) { animation-delay: 1s; }

@keyframes sensorPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.compliance-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    animation: complianceGlow 3s infinite;
}

@keyframes complianceGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(72, 187, 120, 0.5); }
    50% { box-shadow: 0 0 16px rgba(72, 187, 120, 0.8); }
}

.medtech-card {
    top: 50%;
    left: -25%;
    animation-delay: 3s;
}

/* SaaS Platform Section */
.saas-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.saas-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.saas-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.saas-card:hover::before {
    transform: scaleX(1);
}

.saas-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.saas-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 32px;
    color: white;
}

.saas-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.saas-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.saas-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: #48bb78;
    font-size: 16px;
    width: 20px;
}

.saas-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.saas-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.saas-benefits {
    text-align: center;
    margin-top: 4rem;
}

.saas-benefits h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 24px;
    color: white;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Core Values Section */
.core-values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.transparency::before { background: linear-gradient(135deg, #48bb78, #38a169); }
.trust::before { background: linear-gradient(135deg, #667eea, #764ba2); }
.time::before { background: linear-gradient(135deg, #f59e0b, #d97706); }

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-visual {
    height: 150px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Transparency Visual */
.transparency-layers {
    position: relative;
    width: 100px;
    height: 100px;
}

.layer {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(72, 187, 120, 0.3);
    animation: transparencyPulse 3s infinite;
}

.layer-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.layer-2 {
    width: 70px;
    height: 70px;
    top: 15px;
    left: 15px;
    animation-delay: 1s;
}

.layer-3 {
    width: 40px;
    height: 40px;
    top: 30px;
    left: 30px;
    animation-delay: 2s;
}

.transparency-eye {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    animation: eyeBlink 4s infinite;
}

@keyframes transparencyPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes eyeBlink {
    0%, 90%, 100% { transform: translate(-50%, -50%) scale(1); }
    95% { transform: translate(-50%, -50%) scale(0.8); }
}

/* Trust Visual */
.trust-shield {
    position: relative;
    width: 100px;
    height: 120px;
}

.shield-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.shield-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shield-layers .layer {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: shieldPulse 2s infinite;
}

.shield-layers .layer:nth-child(1) {
    width: 100px;
    height: 120px;
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.shield-layers .layer:nth-child(2) {
    width: 120px;
    height: 140px;
    top: -20px;
    left: -20px;
    animation-delay: 0.5s;
}

.shield-layers .layer:nth-child(3) {
    width: 140px;
    height: 160px;
    top: -30px;
    left: -30px;
    animation-delay: 1s;
}

.trust-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    animation: badgeGlow 2s infinite;
}

@keyframes shieldPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(72, 187, 120, 0.5); }
    50% { box-shadow: 0 0 16px rgba(72, 187, 120, 0.8); }
}

/* Time Visual */
.time-optimization {
    position: relative;
    width: 120px;
    height: 120px;
}

.clock-face {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.clock-hand {
    position: absolute;
    background: #f59e0b;
    border-radius: 2px;
    transform-origin: bottom center;
}

.hour {
    width: 4px;
    height: 25px;
    top: 25px;
    left: 48px;
    animation: hourRotate 12s linear infinite;
}

.minute {
    width: 3px;
    height: 35px;
    top: 15px;
    left: 48.5px;
    animation: minuteRotate 6s linear infinite;
}

.second {
    width: 2px;
    height: 40px;
    top: 10px;
    left: 49px;
    background: #ef4444;
    animation: secondRotate 1s linear infinite;
}

.clock-center {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    top: 46px;
    left: 46px;
}

.time-savings {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.savings-bar {
    width: 100%;
    height: 8px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.savings-fill {
    width: 70%;
    height: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 4px;
    animation: savingsFill 2s ease-out;
}

.savings-text {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
}

@keyframes hourRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes minuteRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes secondRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes savingsFill {
    from { width: 0%; }
    to { width: 70%; }
}

.value-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.value-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.value-features {
    list-style: none;
    margin-bottom: 2rem;
}

.value-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-features li::before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    font-size: 14px;
}

.value-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Hero Core Values */
.core-values {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.6s forwards;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    flex: 1;
}

.value-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.value-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* AI + Real Experts Ecosystem Section */
.ecosystem-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.ecosystem-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.ecosystem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-human-synergy {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-side, .human-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ai-brain, .human-expertise {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brain-core, .expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.brain-core {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: aiPulse 3s infinite;
}

.expert-avatar {
    background: linear-gradient(135deg, #48bb78, #38a169);
    animation: humanPulse 3s infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(102, 126, 234, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(102, 126, 234, 0.8); }
}

@keyframes humanPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(72, 187, 120, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(72, 187, 120, 0.8); }
}

.brain-connections, .expert-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: connectionFlow 2s infinite;
}

.brain-connections .connection:nth-child(1) {
    width: 60px;
    height: 2px;
    top: 20px;
    left: 20px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.brain-connections .connection:nth-child(2) {
    width: 40px;
    height: 2px;
    top: 40px;
    right: 20px;
    transform: rotate(-45deg);
    animation-delay: 0.5s;
}

.brain-connections .connection:nth-child(3) {
    width: 50px;
    height: 2px;
    bottom: 30px;
    left: 30px;
    transform: rotate(30deg);
    animation-delay: 1s;
}

.expert-connections .connection {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.expert-connections .connection:nth-child(1) {
    width: 60px;
    height: 2px;
    top: 20px;
    left: 20px;
    transform: rotate(-45deg);
    animation-delay: 0.2s;
}

.expert-connections .connection:nth-child(2) {
    width: 40px;
    height: 2px;
    top: 40px;
    right: 20px;
    transform: rotate(45deg);
    animation-delay: 0.7s;
}

.expert-connections .connection:nth-child(3) {
    width: 50px;
    height: 2px;
    bottom: 30px;
    left: 30px;
    transform: rotate(-30deg);
    animation-delay: 1.2s;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.ai-capabilities, .human-capabilities {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.ai-capabilities span, .human-capabilities span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-capabilities span {
    border-color: rgba(102, 126, 234, 0.3);
}

.human-capabilities span {
    border-color: rgba(72, 187, 120, 0.3);
}

.synergy-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.synergy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    animation: synergyPulse 2s infinite;
}

@keyframes synergyPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
}

.synergy-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f59e0b;
    text-align: center;
}

.ecosystem-description h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.ecosystem-description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ecosystem-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
}

.ecosystem-components {
    margin-bottom: 4rem;
}

.ecosystem-components h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.component-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ai-component::before { background: linear-gradient(135deg, #667eea, #764ba2); }
.human-component::before { background: linear-gradient(135deg, #48bb78, #38a169); }
.synergy-component::before { background: linear-gradient(135deg, #f59e0b, #d97706); }

.component-card:hover::before {
    transform: scaleX(1);
}

.component-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.component-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.component-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.ai-component .component-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.human-component .component-icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.synergy-component .component-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.component-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.component-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.feature i {
    color: #48bb78;
    font-size: 14px;
    width: 16px;
}

.ecosystem-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Enhanced AI Section */
.ai-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(72, 187, 120, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-core {
    position: relative;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: brainPulse 4s infinite;
    box-shadow: 0 0 50px rgba(102, 126, 234, 0.3);
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(102, 126, 234, 0.5); }
}

.core-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    animation: corePulse 3s infinite;
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neuron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: neuronPulse 2s infinite;
}

.neuron:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.neuron:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.3s; }
.neuron:nth-child(3) { top: 50%; left: 10%; animation-delay: 0.6s; }
.neuron:nth-child(4) { top: 50%; right: 10%; animation-delay: 0.9s; }
.neuron:nth-child(5) { bottom: 20%; left: 30%; animation-delay: 1.2s; }
.neuron:nth-child(6) { bottom: 20%; right: 30%; animation-delay: 1.5s; }

@keyframes neuronPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

.synapse {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: synapseFlow 3s infinite;
}

.synapse:nth-child(7) { width: 60px; top: 25%; left: 25%; transform: rotate(45deg); animation-delay: 0s; }
.synapse:nth-child(8) { width: 50px; top: 30%; right: 25%; transform: rotate(-45deg); animation-delay: 0.5s; }
.synapse:nth-child(9) { width: 70px; top: 55%; left: 15%; transform: rotate(30deg); animation-delay: 1s; }
.synapse:nth-child(10) { width: 45px; top: 60%; right: 15%; transform: rotate(-30deg); animation-delay: 1.5s; }
.synapse:nth-child(11) { width: 55px; bottom: 25%; left: 35%; transform: rotate(60deg); animation-delay: 2s; }
.synapse:nth-child(12) { width: 65px; bottom: 30%; right: 35%; transform: rotate(-60deg); animation-delay: 2.5s; }

@keyframes synapseFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.brain-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: connectionFlow 4s infinite;
}

.connection-line:nth-child(1) { width: 80px; top: 30%; left: 20%; transform: rotate(45deg); animation-delay: 0s; }
.connection-line:nth-child(2) { width: 60px; top: 50%; right: 20%; transform: rotate(-45deg); animation-delay: 1s; }
.connection-line:nth-child(3) { width: 70px; bottom: 30%; left: 30%; transform: rotate(60deg); animation-delay: 2s; }
.connection-line:nth-child(4) { width: 90px; bottom: 40%; right: 25%; transform: rotate(-60deg); animation-delay: 3s; }

@keyframes connectionFlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    animation: particleFloat 6s infinite linear;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 5%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; right: 10%; animation-delay: 3s; }
.particle:nth-child(5) { bottom: 20%; left: 20%; animation-delay: 4s; }
.particle:nth-child(6) { bottom: 30%; right: 25%; animation-delay: 5s; }
.particle:nth-child(7) { top: 30%; left: 50%; animation-delay: 0.5s; }
.particle:nth-child(8) { bottom: 10%; right: 50%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

.ai-status {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #48bb78;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.processing-indicator {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.processing-bar {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: processingMove 2s infinite;
}

@keyframes processingMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.ai-info {
    padding-left: 2rem;
}

.ai-header {
    margin-bottom: 2rem;
}

.ai-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
}

.ai-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.ai-capabilities {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.capability {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.capability:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.capability-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.capability-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.capability-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 500;
}

.ai-actions {
    display: flex;
    gap: 1rem;
}

.ai-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.ai-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.ai-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.ai-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ai-btn.secondary:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Enhanced Interactive Demo */
.interactive-demo {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.demo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.demo-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.demo-stat {
    text-align: center;
}

.demo-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    display: block;
}

.demo-stat .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.demo-interface {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Expand demo interface when used in hero */
.hero-visual .demo-interface {
    max-width: none;
    width: 100%;
    grid-template-columns: 1.8fr 1fr;
}

.demo-chat {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    height: 680px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .hero-visual .demo-interface {
        grid-template-columns: 1.6fr 1fr;
    }
    .demo-chat {
        height: 560px;
    }
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    position: sticky;
    top: 0;
    z-index: 2;
}

.chat-ai-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-ai-status .ai-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    animation: aiPulse 2s infinite;
}

.chat-ai-status .ai-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.chat-ai-status .ai-info p {
    color: #48bb78;
    font-size: 0.875rem;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(122, 92, 255, 0.16);
    border-color: var(--primary);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    overscroll-behavior: contain;
}

.message {
    display: flex;
    gap: 1rem;
    max-width: 75%;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.message-content {
    background: rgba(255, 255, 255, 0.045);
    border-radius: 16px;
    padding: 1rem 1.125rem;
    border: 1px solid var(--border);
    position: relative;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(122, 92, 255, 0.25);
}

.ai-message .message-content::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 14px;
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(255, 255, 255, 0.045);
}

.user-message .message-content::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 14px;
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--primary-2);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.sender {
    font-weight: 600;
    color: var(--text);
    font-size: 0.875rem;
}

.time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.user-message .sender,
.user-message .time,
.user-message .message-content p {
    color: #ffffff;
}

.message-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.suggestion-btn {
    background: rgba(107, 124, 255, 0.1);
    border: 1px solid rgba(107, 124, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: rgba(107, 124, 255, 0.2);
    border-color: rgba(107, 124, 255, 0.5);
}

.ai-analysis {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.analysis-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analysis-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    min-width: 120px;
}

.strength-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #38a169);
    border-radius: 3px;
    transition: width 1s ease;
}

.item-value {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 80px;
    text-align: right;
}

.ai-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--surface-2);
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem;
}

.chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-actions {
    display: flex;
    gap: 0.25rem;
}

.input-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.send-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.1);
}

.demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
}

/* Toasts for coming-soon feedback */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(22, 24, 31, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast i { color: var(--primary); }

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.quick-action i {
    color: #667eea;
    font-size: 16px;
    width: 20px;
}

.live-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.ai-capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.capability-item i {
    color: #48bb78;
    font-size: 12px;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ai-visual {
        height: 300px;
    }
    
    .ai-brain {
        width: 200px;
        height: 200px;
    }
    
    .brain-core {
        width: 150px;
        height: 150px;
    }
    
    .demo-interface {
        grid-template-columns: 1fr;
    }
    
    .demo-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Enhanced AI Status Design */
.ai-status-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ai-status-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    animation: statusShimmer 3s infinite;
}

@keyframes statusShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ai-status-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-ring {
    position: relative;
    width: 50px;
    height: 50px;
}

.ring-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

.ring-pulse:nth-child(1) {
    animation-delay: 0s;
}

.ring-pulse:nth-child(2) {
    animation-delay: 0.5s;
}

.ring-pulse:nth-child(3) {
    animation-delay: 1s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    animation: coreGlow 2s infinite;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

@keyframes coreGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #667eea;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.connection-status {
    display: flex;
    align-items: center;
}

.connection-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 20px;
}

.bar {
    width: 3px;
    background: #48bb78;
    border-radius: 2px;
    animation: signalBars 1.5s infinite;
}

.bar:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.bar:nth-child(2) {
    height: 12px;
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    height: 16px;
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    height: 20px;
    animation-delay: 0.6s;
}

@keyframes signalBars {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.connection-indicator span {
    color: #48bb78;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Enhanced Interface Header */
.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .interface-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .ai-status-container {
        justify-content: center;
    }
    
    .connection-indicator {
        justify-content: center;
    }
}

.btn-courtroom {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.btn-courtroom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

.courtroom-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: courtroomPulse 2s infinite;
}

@keyframes courtroomPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .interface-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .ai-status-container {
        justify-content: center;
    }
    
    .connection-indicator {
        justify-content: center;
    }
}

/* Floating Courtroom Access */
.floating-courtroom-access {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-courtroom-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px);
}

.floating-courtroom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.floating-courtroom-btn i {
    font-size: 16px;
}

/* Mini Courtroom Button in Hero Stats */
.courtroom-stat {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-courtroom-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.mini-courtroom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.mini-courtroom-btn i {
    font-size: 12px;
}

/* AI Section Courtroom Button */
.ai-btn.courtroom {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
}

.ai-btn.courtroom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

/* Responsive Design for Floating Button */
@media (max-width: 768px) {
    .floating-courtroom-access {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-courtroom-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .floating-courtroom-btn span {
        display: none;
    }
    
    .floating-courtroom-btn i {
        font-size: 18px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .interface-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .ai-status-container {
        justify-content: center;
    }
    
    .connection-indicator {
        justify-content: center;
    }
}

/* Comprehensive Mobile Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .saas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .core-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        justify-content: center;
    }
    
    .platform-module {
        flex-direction: column;
        text-align: center;
    }
    
    .module-visual {
        margin-bottom: 1.5rem;
    }
    
    .ai-visual {
        margin-bottom: 2rem;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 17, 23, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-soft);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-buttons {
        position: fixed;
        left: -100%;
        top: 200px;
        flex-direction: column;
        background-color: rgba(15, 17, 23, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(14px);
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .nav-buttons.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-play {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-illustration {
        height: 300px;
    }
    
    .element {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .platform-module {
        padding: 1.5rem;
    }
    
    .module-content h3 {
        font-size: 1.5rem;
    }
    
    .saas-card {
        padding: 1.5rem;
    }
    
    .saas-card h3 {
        font-size: 1.5rem;
    }
    
    .ai-header h2 {
        font-size: 2rem;
    }
    
    .capability h4 {
        font-size: 1.25rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .platform-module {
        padding: 1rem;
    }
    
    .saas-card {
        padding: 1rem;
    }
    
    .ai-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-card {
        padding: 1.5rem;
    }
    
    .element {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hero-illustration {
        height: 250px;
    }
}

/* Ensure hamburger menu is hidden on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    
    .nav-menu,
    .nav-buttons {
        position: static;
        background: none;
        backdrop-filter: none;
        border: none;
        padding: 0;
        width: auto;
        flex-direction: row;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(15, 17, 23, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    color: var(--primary);
    font-size: 18px;
}

.toast span {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile-specific navigation improvements */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon i {
        font-size: 18px;
    }
    
    .nav-menu.active,
    .nav-buttons.active {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px 0;
    }
    
    .btn-ghost,
    .btn-neon {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* Enhanced Mobile Responsiveness - Additional Styles */
@media (max-width: 768px) {
    /* Platform Showcase Mobile */
    .platform-showcase {
        padding: 60px 0;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-module {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .module-visual {
        margin-bottom: 1.5rem;
        height: 200px;
    }
    
    .neural-network,
    .virtual-court,
    .virtual-office {
        transform: scale(0.8);
    }
    
    /* SaaS Section Mobile */
    .saas-section {
        padding: 60px 0;
    }
    
    .saas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .saas-card {
        padding: 1.5rem;
    }
    
    .saas-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* AI Section Mobile */
    .ai-section {
        padding: 60px 0;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-visual {
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .ai-brain {
        width: 180px;
        height: 180px;
    }
    
    .brain-core {
        width: 130px;
        height: 130px;
    }
    
    .ai-capabilities {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .capability-icon {
        margin-bottom: 1rem;
    }
    
    .ai-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .ai-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* General Mobile Improvements */
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    /* Button Mobile Styles */
    .btn-primary,
    .btn-outline,
    .module-btn,
    .saas-btn {
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    /* Spacing Adjustments */
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    /* Typography Mobile */
    h1, h2, h3, h4 {
        line-height: 1.2;
    }
    
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* List Mobile */
    .feature-list {
        text-align: left;
        padding-left: 1rem;
    }
    
    .feature-list li {
        margin-bottom: 0.5rem;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .platform-module,
    .saas-card,
    .capability,
    .cta-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .ai-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .platform-module h3,
    .saas-card h3 {
        font-size: 1.5rem;
    }
    
    .capability h4 {
        font-size: 1.25rem;
    }
    
    .hero-illustration {
        height: 200px;
    }
    
    .element {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .ai-visual {
        height: 200px;
    }
    
    .ai-brain {
        width: 150px;
        height: 150px;
    }
    
    .brain-core {
        width: 100px;
        height: 100px;
    }
    
    /* Button Sizing for Small Mobile */
    .btn-primary,
    .btn-outline,
    .module-btn,
    .saas-btn,
    .ai-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Navigation Mobile */
    .nav-logo {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon i {
        font-size: 16px;
    }
    
    /* Hamburger Menu */
    .hamburger span {
        width: 22px;
        height: 2px;
        margin: 4px auto;
    }
    
    /* Mobile Menu Positioning */
    .nav-menu.active {
        top: 60px;
    }
    
    .nav-buttons.active {
        top: 180px;
    }
}

@media (max-width: 360px) {
    /* Very Small Mobile */
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .platform-module,
    .saas-card,
    .capability,
    .cta-card {
        padding: 0.75rem;
    }
    
    .btn-primary,
    .btn-outline,
    .module-btn,
    .saas-btn,
    .ai-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-illustration {
        height: 180px;
    }
    
    .element {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .platform-showcase,
    .saas-section,
    .ai-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .ai-visual {
        height: 200px;
    }
    
    .ai-brain {
        width: 160px;
        height: 160px;
    }
    
    .hero-illustration {
        height: 200px;
    }
}

/* High DPI Mobile Devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .element,
    .ai-brain,
    .neural-network .node,
    .virtual-court .court-bench,
    .virtual-office .office-floor {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-outline,
    .module-btn,
    .saas-btn,
    .ai-btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger span {
        margin: 3px auto;
    }
    
    /* Improve touch targets */
    .nav-link {
        padding: 12px 16px;
    }
    
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .animated-bg,
    .floating-shapes {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    .platform-module,
    .saas-card,
    .capability,
    .cta-card {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
}