:root {
    --bg-color: #0d0d0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary: #ff00ff;
    --secondary: #00ffff;
    --text-color: #e0e0e0;
    --muted: #888888;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

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

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.logo-mark {
    width: 1.7rem;
    height: 1.7rem;
}

.beta-badge {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--secondary);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 6px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 180px 0 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 80px rgba(255, 0, 255, 0.2);
}

/* Buttons */
.btn-glow {
    padding: 1rem 2rem;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.7);
}

.btn-outline {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    margin-left: 1rem;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Stats */
.stats {
    padding: 100px 0;
}

.stat-card {
    text-align: center;
    padding: 4rem;
    border: 2px solid rgba(0, 255, 255, 0.2);
}

.counter-box {
    margin: 2rem 0;
}

.counter {
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--secondary);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.stat-card h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 255, 0.3);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Comparison */
.comparison {
    padding: 100px 0;
}

.table-container {
    overflow-x: auto;
    padding: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    text-transform: uppercase;
    color: var(--muted);
    font-size: 0.9rem;
}

.highlight {
    background: rgba(255, 0, 255, 0.05);
    color: #fff;
    font-weight: 600;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .counter {
        font-size: 5rem;
    }
}

/* ===== v3 landing additions (tabs / code / usage) ===== */
.section-sub { text-align: center; color: var(--muted); max-width: 720px; margin: -1rem auto 2.5rem; }
.aside { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }
.aside code, .feature-card code, p code { font-family: 'JetBrains Mono', monospace; color: var(--secondary);
  background: rgba(255,255,255,0.05); padding: 1px 6px; border-radius: 5px; font-size: 0.85em; }

.how, .install, .usage { padding: 5rem 0; }

/* Tabbed code blocks */
.tabs { max-width: 860px; margin: 0 auto; border-radius: 14px; overflow: hidden; padding: 0; }
.tab-btns { display: flex; gap: 4px; padding: 10px 10px 0; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06); }
.tab-btn { font-family: var(--font-heading); font-size: 0.85rem; color: var(--muted);
  background: transparent; border: none; padding: 9px 16px; border-radius: 8px 8px 0 0; cursor: pointer;
  transition: all 0.2s; }
.tab-btn:hover { color: var(--text-color); }
.tab-btn.active { color: #0d0d0f; background: linear-gradient(90deg, var(--primary), var(--secondary)); font-weight: 600; }
.tab-panel { display: none; margin: 0; padding: 20px 22px; overflow-x: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; line-height: 1.6; color: #d5d5e0;
  background: rgba(0,0,0,0.35); }
.tab-panel.active { display: block; }
.tab-panel code { font-family: inherit; color: inherit; background: none; padding: 0; white-space: pre; }

/* Pricing highlight row */
.highlight-row td { color: var(--secondary); font-weight: 600; }

/* Small CTA buttons (pricing table) */
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.82rem; margin-left: 0; white-space: nowrap;
  display: inline-block; }

/* Setup steps list (install section) */
.setup-steps { max-width: 560px; margin: 1.75rem auto 0; padding-left: 1.3rem;
  text-align: left; color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
.setup-steps li { margin: 0.15rem 0; }
.setup-steps code { font-family: 'JetBrains Mono', monospace; color: var(--secondary);
  background: rgba(255,255,255,0.05); padding: 1px 6px; border-radius: 5px; font-size: 0.85em; }

/* One-command install blocks */
.cmd, .hero-cmd { font-family: 'JetBrains Mono', monospace; font-size: 0.92rem; line-height: 1.5;
  padding: 16px 20px; border-radius: 12px; overflow-x: auto; color: #e8e8f0; }
.cmd { display: block; max-width: 600px; margin: 0 auto; text-align: left; }
.hero-cmd { display: inline-block; margin: 1.4rem 0 0.4rem; text-align: left; }
.cmd code, .hero-cmd code { font-family: inherit; background: none; padding: 0; color: inherit; white-space: pre; }
.cmd .prompt, .hero-cmd .prompt { color: var(--primary); margin-right: 8px; user-select: none; }
.manual-head { font-family: var(--font-heading); font-weight: 600; color: var(--text-color);
  text-align: center; margin: 3rem auto 1.25rem; font-size: 1.05rem; }

/* "Do the rounds" conversation mockup */
.chat { max-width: 720px; margin: 0 auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.chat-msg { padding: 1rem 1.25rem; border-radius: 14px; max-width: 88%; }
.chat-msg p { margin: 0; }
.chat-msg p + p { margin-top: 0.5rem; }
.chat-msg.user { align-self: flex-end; background: rgba(0,255,255,0.07);
  border: 1px solid rgba(0,255,255,0.18); border-bottom-right-radius: 4px; }
.chat-msg.agent { align-self: flex-start; background: rgba(255,0,255,0.06);
  border: 1px solid rgba(255,0,255,0.18); border-bottom-left-radius: 4px; }
.chat-who { display: block; font-family: var(--font-heading); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.4rem; }
.chat-msg ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.chat-msg li { margin: 0.35rem 0; }
.chat-msg s { color: var(--muted); }
.chat-msg strong { color: #fff; }
.chat-tag { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--secondary); background: rgba(0,255,255,0.08); padding: 1px 8px; border-radius: 20px;
  margin-left: 0.35rem; vertical-align: middle; }

/* Footer */
.footer { text-align: center; padding: 3rem 0; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--secondary); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
