/* Root Variables & AI Color Palette */
:root {
    --bg-main: #0B0F19;
    --bg-card: #111827;
    --bg-card-hover: #1F2937;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --accent-purple: #8B5CF6;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: table;
    width: 100%;
}

.logo {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    width: 25%;
}

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

.nav-links {
    display: inline-block;
    vertical-align: middle;
    width: 45%;
    text-align: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    display: inline-block;
    vertical-align: middle;
    width: 28%;
    text-align: right;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    margin-right: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 36px;
}

.hero-buttons {
    margin-bottom: 60px;
}

.hero-buttons .btn {
    margin: 0 8px;
}

.hero-stats {
    display: table;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 0;
}

.stat-item {
    display: table-cell;
    width: 33.33%;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Sections Global */
section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Sandbox Terminal */
.sandbox-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.sandbox-header {
    background: #1F2937;
    padding: 12px 20px;
    position: relative;
}

.terminal-dots {
    display: inline-block;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.terminal-title {
    display: inline-block;
    margin-left: 15px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sandbox-body {
    padding: 24px;
}

.control-panel {
    margin-bottom: 20px;
}

.control-panel label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.select-input {
    width: 100%;
    padding: 12px;
    background: #0B0F19;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    margin-bottom: 16px;
    outline: none;
}

.terminal-window {
    background: #050811;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    min-height: 220px;
    max-height: 300px;
    overflow-y: auto;
}

.terminal-window pre {
    font-family: var(--font-code);
    font-size: 0.88rem;
    color: #34D399;
    white-space: pre-wrap;
}

/* Grids (Architecture, Use Cases, Team) */
.architecture-grid, .usecase-grid, .team-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.arch-card, .usecase-card, .team-card {
    display: table-cell;
    width: 31%;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    vertical-align: top;
    margin: 0 1%;
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.arch-card h3, .usecase-card h3, .team-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* Use Cases */
.usecase-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Team Card */
.team-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
    line-height: 56px;
}

.team-role {
    color: var(--accent-cyan) !important;
    font-size: 0.88rem !important;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.team-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #070A12;
    padding: 60px 0 0;
}

.footer-container {
    display: table;
    width: 100%;
    padding-bottom: 40px;
}

.footer-col {
    display: table-cell;
    width: 25%;
    vertical-align: top;
}

.footer-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-contact {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
