/* ========================================
   Open Lattice - Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #a78bfa;
    --background: #0f0f1a;
    --background-light: #1a1a2e;
    --background-card: #16162a;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --border: #2d2d4a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

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

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

p {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 50px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.lang-divider {
    color: var(--border);
    font-size: 0.8rem;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: none;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
}

.mobile-lang-switcher .lang-btn {
    font-size: 0.8rem;
    padding: 2px 6px;
}

@media (max-width: 768px) {
    .mobile-lang-switcher {
        display: flex;
    }
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-animation {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.particles {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

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

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 24px 0 40px;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.molecule-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.molecule-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.agent-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

.agent-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.5;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--text-muted);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
}

/* Platform Section */
.platform {
    padding: 120px 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.platform-card h3 {
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Technology Section */
.technology {
    padding: 120px 0;
    background: var(--background-light);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-text h2 {
    margin: 16px 0;
}

.tech-text > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
}

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

.tech-feature h4 {
    margin-bottom: 4px;
    color: var(--text);
}

.tech-feature p {
    font-size: 0.9rem;
}

/* Chat Interface Window */
.chat-window {
    background: #1e1e2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #16162a;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.chat-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
}

.user-avatar {
    background: var(--border);
    color: var(--text-muted);
}

.ai-avatar {
    background: var(--gradient-primary);
}

.message-bubble {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: calc(100% - 42px);
}

.user-bubble {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--text);
}

.ai-bubble {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--text-muted);
}

.ai-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.step-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-item.done .step-check {
    color: var(--success);
    font-weight: 700;
}

.ai-result {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.result-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    padding: 3px 0;
}

.result-label {
    color: var(--text-muted);
}

.result-value {
    color: var(--secondary);
    font-weight: 600;
    font-family: 'Fira Code', 'SF Mono', Consolas, monospace;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #16162a;
    border-top: 1px solid var(--border);
}

.chat-input-text {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-style: italic;
}

.chat-send-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Workflow Section */
.workflow {
    padding: 120px 0;
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

.workflow-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 32px;
    opacity: 0.3;
}

/* Applications Section */
.applications {
    padding: 120px 0;
    background: var(--background-light);
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.app-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.app-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.app-card.featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.app-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.app-card.featured .app-image {
    height: 300px;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-image.drug-discovery {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.app-image.materials {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.app-image.catalysis {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.app-image.polymers {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.app-content {
    padding: 24px;
}

.app-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.app-content h3 {
    margin-bottom: 12px;
}

.app-content > p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.app-features {
    list-style: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin: 16px 0;
}

.about-text > p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.value h4 {
    color: var(--text);
    margin-bottom: 8px;
}

.value p {
    font-size: 0.9rem;
}

.team-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-stat {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

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

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cta-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.cta-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.cta-form select option {
    background: var(--background);
    color: var(--text);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.15);
}

.cta-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.cta-form .btn-primary:hover {
    background: var(--text);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand > p {
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: var(--text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-visual {
        right: 0;
        opacity: 0.3;
    }

    .molecule-container {
        width: 350px;
        height: 350px;
    }
}

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

    .tech-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tech-visual {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

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

    .lang-switcher {
        order: -1;
        margin-bottom: 8px;
        align-self: flex-start;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .workflow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .workflow-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

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

    .app-card.featured {
        grid-column: 1;
        grid-row: auto;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal Classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
