:root {
    /* Runa Rebranded Palette */
    --primary-color: #8b5cf6; /* Violet 500 */
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --primary-hover: #7c3aed; 
    
    --secondary-color: #64748b; /* Slate 500 */
    
    --background-color: #f8fafc; /* Slate 50 */
    --surface-color: #ffffff;
    
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --border-color: #e2e8f0; /* Slate 200 */
    
    --shadow-md: 0 10px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.02);
    
    --radius: 1.5rem;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Runa Branded Mesh Gradient */
    --mesh-gradient: radial-gradient(at 40% 20%, #8b5cf6 0px, transparent 50%),
        radial-gradient(at 80% 0%, #ec4899 0px, transparent 50%),
        radial-gradient(at 0% 50%, #d946ef 0px, transparent 50%),
        radial-gradient(at 80% 50%, #6366f1 0px, transparent 50%),
        radial-gradient(at 0% 100%, #8b5cf6 0px, transparent 50%),
        radial-gradient(at 80% 100%, #ec4899 0px, transparent 50%),
        radial-gradient(at 0% 0%, #f43f5e 0px, transparent 50%);
}

body {
    font-family: var(--font-sans);
    background-color: var(--background-color);
    background-image: radial-gradient(at top left, #f5f3ff 0%, transparent 40%), radial-gradient(at top right, #f1f5f9 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Nav */
nav {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary { 
    background: var(--primary-gradient); 
    color: white; 
    box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.4);
}

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

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

.btn-ghost:hover {
    background: rgba(0,0,0,0.05);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto 6rem;
    padding: 0 2rem;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Feature Grid */
.features {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--background-color);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    background: white;
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

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

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } /* Simplified mobile nav */
}
