:root {
    --bg-color: #0a0a0a;
    --bg-lighter: #121212;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #8b5cf6; /* Deep Purple / Violet */
    --accent-hover: #7c3aed;
    --accent-light: rgba(139, 92, 246, 0.1);
    --border-color: #27272a;
    --container-width: 1200px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Utilities */
.section {
    padding: 100px 0;
}

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

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.btn-outline {
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-light);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* Hero */
.hero {
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Section Common */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* About Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

/* Visual Card */
.visual-card {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.visual-header {
    background: #27272a;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.visual-body {
    padding: 2rem;
    font-family: 'Courier New', Courier, monospace;
}

.code-keyword { color: #c084fc; }
.code-variable { color: #60a5fa; }
.code-property { color: #818cf8; }
.code-string { color: #34d399; }

/* Ecosystem Cards */
.card {
    background: var(--bg-lighter);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: left;
}

.card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.card i {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    width: 32px;
    height: 32px;
}

.card h3 {
    margin-bottom: 1rem;
}

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

/* NebWork Spotlight */
.nebwork-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.badge-purple {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.nebwork-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.nebwork-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.nebwork-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.nebwork-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nebwork-features i {
    color: var(--accent-color);
    width: 18px;
    height: 18px;
}

/* Mockup UI */
.nebwork-preview {
    height: 400px;
    position: relative;
}

.nebwork-ui-mockup {
    width: 100%;
    height: 100%;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.ui-sidebar {
    width: 60px;
    background: #1e293b;
    border-right: 1px solid #334155;
}

.ui-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ui-header {
    height: 40px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    margin: 1rem;
    border-radius: 4px;
}

.ui-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-task {
    height: 60px;
    background: #334155;
    border-radius: 8px;
    position: relative;
}

.ui-task::after {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 8px;
    background: #475569;
    border-radius: 4px;
}

/* Philosophy */
.philosophy-card {
    padding: 2rem;
    border-left: 2px solid var(--accent-color);
    background: rgba(139, 92, 246, 0.03);
}

.philosophy-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.philosophy-card p {
    color: var(--text-secondary);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .section-grid, .nebwork-spotlight { grid-template-columns: 1fr; }
    .nebwork-preview { height: 300px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
