:root {
    --canvas-bg: #0b0c10;
    --card-surface: #12141c;
    --nav-glass: rgba(11, 12, 16, 0.9);
    --primary-brand: #5865F2;
    --primary-glow: #7289da;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --font-primary: sans-serif;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-stroke: #1f293d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-wrapper {
    padding: 100px 0;
}

.bg-darker {
    background-color: #08090d;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-glass);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-stroke);
    z-index: 999;
}

.brand-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.link-item:hover {
    color: var(--text-primary);
}

.nav-cta-btn {
    background-color: var(--primary-brand);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
}

.hero-section {
    padding: 180px 0 120px 0;
    display: flex;
    justify-content: center;
    text-align: center;
    background-image: radial-gradient(circle at 50% 10%, rgba(88, 101, 242, 0.15) 0%, transparent 60%);
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
}

.badge {
    display: inline-block;
    background-color: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: var(--primary-glow);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.main-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.glow-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}

.primary-btn {
    background-color: var(--primary-brand);
    color: #fff;
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-stroke);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-block {
    background-color: var(--card-surface);
    border: 1px solid var(--border-stroke);
    padding: 40px 32px;
    border-radius: 16px;
}

.icon-wrapper {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-block h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-block p {
    color: var(--text-secondary);
}

.terminal-mock {
    background-color: #050608;
    border: 1px solid var(--border-stroke);
    border-radius: 14px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.terminal-topbar {
    background-color: #0e1118;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-stroke);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.close { background-color: #ef4444; }
.minimize { background-color: #eab308; }
.maximize { background-color: #22c55e; }

.panel-name {
    margin-left: 16px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terminal-screen {
    padding: 30px;
    font-family: monospace;
    font-size: 1rem;
}

.log-row {
    margin-bottom: 16px;
}

.user-prefix {
    color: #10b981;
}

.input-cmd {
    color: #f43f5e;
}

.param-name {
    color: #fb923c;
    margin-left: 6px;
}

.param-val {
    color: #38bdf8;
}

.response-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 3px solid var(--primary-brand);
    padding-left: 14px;
}

.bot-badge {
    background-color: var(--primary-brand);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.msg-success {
    color: #a7f3d0;
}

.app-footer {
    border-top: 1px solid var(--border-stroke);
    padding: 40px 0;
}

.footer-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

@media (max-width: 850px) {
    .main-title { font-size: 2.6rem; }
    .mobile-nav-toggle { display: flex; }
    .nav-links { display: none; }
    .footer-layout { flex-direction: column; text-align: center; gap: 20px; }
}