:root {
    /* Color Palette - Premium AI Aesthetic */
    --bg-dark: #0a0a0c;
    --bg-muted: #16161a;
    --primary: #8b5cf6; /* Vibrant Purple */
    --primary-light: #a78bfa;
    --secondary: #06b6d4; /* Cyan */
    --accent: #f43f5e; /* Rose for highlights */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

/* A11y */
.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button):focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 12px;
}

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

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

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.font-mono { font-family: 'Fira Code', monospace; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    color: var(--text-muted);
}

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

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

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Header */
.header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: rgba(10, 10, 12, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.logo-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

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

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

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

/* Hero Section */
.hero-section {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

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

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hero Visual Placeholder */
.dummy-image-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
}

.main-preview {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.preview-header {
    height: 32px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.preview-search-bar {
    flex: 1;
    height: 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

.preview-body {
    display: flex;
    height: calc(100% - 32px);
}

.preview-sidebar {
    width: 30%;
    background: rgba(0,0,0,0.2);
    border-right: 1px solid var(--glass-border);
}

.preview-content {
    flex: 1;
    padding: 1rem;
}

.preview-cluster {
    margin-bottom: 1.5rem;
}

.cluster-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cluster-item {
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.sub-preview {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.summary-line {
    height: 6px;
    background: var(--text-muted);
    opacity: 0.2;
    border-radius: 3px;
    margin-bottom: 8px;
}

.summary-line.short { width: 60%; }

/* Sections */
.features-section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Platforms Section */
.platforms-section {
    padding: 8rem 0;
}

.bg-muted { background-color: var(--bg-muted); }

.platform-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
}

.platform-list {
    list-style: none;
    margin-top: 3rem;
}

.platform-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.platform-list li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.platform-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Platforms Visual (Status Panel) */
.status-window {
    width: 100%;
    overflow: hidden;
}

.status-header {
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1.5rem;
}

.status-title {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.status-body {
    padding: 1.5rem;
}

.status-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-row:last-of-type {
    border-bottom: none;
}

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

.status-value {
    color: var(--text-main);
    font-weight: 600;
}

.status-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 1rem 0;
}

.status-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.03);
    color: var(--text-main);
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background: radial-gradient(circle at center, rgba(139,92,246,0.1) 0%, transparent 70%);
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
}

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

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.link-group a:hover { color: var(--text-main); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.animate-in {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

/* Scroll-reveal (IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .floating { animation: none; }
    .animate-in { animation: none; opacity: 1; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .platform-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { flex-direction: column; gap: 4rem; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 2.5rem; }
    .cta-actions { flex-direction: column; }
}
