@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --bg-dark: #0b0d10;
    --bg-card: rgba(26, 29, 36, 0.6);
    --bg-card-hover: rgba(36, 40, 50, 0.8);
    --text-primary: #f0f2f5;
    --text-secondary: #9ba1a6;
    --accent-cyan: #00f0ff;
    --accent-purple: #7000ff;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 240, 255, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 60%);
    opacity: 0.05;
    filter: blur(100px);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 60%);
    opacity: 0.05;
    filter: blur(100px);
    z-index: -1;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
}

.text-mono {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-purple);
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-cyan);
}

.lang-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.lang-switch a:hover, .lang-switch a.active {
    color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: left;
}

/* Architecture Section */
.architecture-section {
    padding: 5rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.pillar-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.pillar-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Visuals Grid */
.visuals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.visual-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.visual-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    filter: brightness(0.9) contrast(1.1);
}

.visual-card:hover img {
    transform: scale(1.05);
}

.visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 40px rgba(11, 13, 16, 0.8);
    pointer-events: none;
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(11,13,16, 0.9) 0%, transparent 100%);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    z-index: 2;
}

/* Live PoC Section */
.live-poc {
    margin: 6rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(26,29,36,0.8) 0%, rgba(11,13,16,0.9) 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.live-poc::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112,0,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.live-poc h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.live-poc p {
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.cta-button:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .visuals-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero {
        padding: 4rem 0 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
