:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-orange: #c83b10; /* Warmer, deep orange */
    --accent-glow: #632109;
    --nav-bg: rgba(10, 10, 10, 0.8);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* --- Background Layers --- */
#graph-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Behind everything */
    opacity: 0.6; /* Subtle enough to read text over */
}

.ambient-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* --- New Navigation Bar --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 50%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(200, 59, 16, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), #ff6b35);
    border-radius: 1px;
    opacity: 0.8;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-text::after {
    transform: scaleX(1);
}

.logo-container:hover .logo-text {
    text-shadow: 0 4px 20px rgba(200, 59, 16, 0.5);
    transform: translateY(-1px);
}

/* Logo image sizing: keep aspect ratio and responsive */
.logo-img {
    height: 48px;       /* constrain height so nav stays compact */
    width: auto;        /* preserve aspect ratio */
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(200, 59, 16, 0.2);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(200, 59, 16, 0.4);
}

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

/* Icon styling and single hover glow rule for all right-side nav icons */
.nav-links .nav-item i {
    font-size: 1.25rem;
    color: inherit;
    display: inline-block;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.nav-links .nav-item:hover i {
    color: var(--accent-orange);
    text-shadow: 0 6px 18px rgba(200, 59, 16, 0.45); /* orange glow underneath */
    transform: translateY(-2px);
}

.nav-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
}

/* The "Home" button style from your image */
.nav-item.active {
    background-color: var(--accent-orange);
    color: white;
}

.nav-item:not(.active):hover {
    color: white;
}

/* --- Hero Section --- */
.hero {
    padding-top: 140px; /* Clear the fixed nav */
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    text-align: center;
}


.hero-content {
    max-width: 1000px; 
    margin: 0 auto;
    width: 90%;
    text-align: center; 
}

.hero-content.centered {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Warm magma gradient */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.cta-group { margin: 2.5rem 0 4rem 0; }

.btn-primary.large {
    background-color: var(--accent-orange);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-primary.large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
}


.feature-stack {
    display: flex;
    flex-direction: column; /* Stack them vertically like your sketch */
    gap: 1.5rem;            /* Space between blocks */
    margin-top: 3rem;
    width: 100%;
}

.feature-card {
    position: relative;
    background: #000000; /* Pure black like the reference */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; /* Large, smooth corners */
    padding: 3.0rem;
    display: flex;
    align-items: center; /* Vertically center content */
    gap: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-orange) 50%, 
        transparent 100%
    );
    opacity: 0.8;
    box-shadow: 0 -2px 10px var(--accent-orange);
}


.icon-bubble {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Prevents shrinking */
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(0, 0, 0, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
    border: 1px solid rgba(255, 87, 34, 0.3);
    box-shadow: inset 0 0 10px rgba(255, 87, 34, 0.1);
}


.card-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.card-text p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.4;
    margin: 0;
    max-width: 100%;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .feature-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    width: 48px; height: 48px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--accent-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 { color: white; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

