:root {
    --bg-dark: #02040a;
    --bg-card: #0d1117;
    --bg-card-hover: #161b22;
    --border: #1f2937;

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #00704A;
    /* Emerald Green */
    --accent-glow: #00ffaa;
    --accent-secondary: #3b82f6;
    /* Blue for variety */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
.btn,
.logo-text {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, #4ade80, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: white;
}

.center {
    text-align: center;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-primary);
    display: flex;
    /* Center icon */
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-icon-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon-link svg {
    width: 18px;
    height: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: #000;
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: black;
}

.btn-white:hover {
    background: #f1f5f9;
}

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

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

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

/* Hero Immersive */
.hero-immersive {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 112, 74, 0.25) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-pill.blue {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Browser Mockup */
.hero-visual {
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1200px;
}

.browser-mockup {
    background: #0d1117;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.browser-mockup:hover {
    transform: rotateX(0deg);
}

.browser-bar {
    background: #161b22;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.traffic-lights span:nth-child(1) {
    background: #ff5f56;
}

.traffic-lights span:nth-child(2) {
    background: #ffbd2e;
}

.traffic-lights span:nth-child(3) {
    background: #27c93f;
}

.url-bar {
    flex: 1;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 6px;
    border-radius: 6px;
    text-align: center;
}

.browser-content img {
    display: block;
    width: 100%;
    height: auto;
}

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

.section-darker {
    background: #000000;
    /* Darker than body */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 80px;
}

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

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

/* Features - ZigZag */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.bg-blue-glow {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.bg-purple-glow {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.bg-green-glow {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

/* Feature Visuals (Mockups) */
.code-block {
    background: #000;
    padding: 24px;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    width: 90%;
    border: 1px solid #333;
}

.k {
    color: #f472b6;
}

.f {
    color: #60a5fa;
}

.p {
    color: #e879f9;
}

.c {
    color: #64748b;
}

.ai-chat-mockup {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.chat-message.user {
    background: #1e293b;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.bot {
    background: transparent;
    border: 1px solid var(--border);
    align-self: flex-start;
    display: flex;
    gap: 12px;
    border-bottom-left-radius: 2px;
}

.bot-icon {
    color: var(--accent-primary);
}

/* RAG Window */
.rag-window {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 85%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

.rag-header {
    background: #161b22;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 600;
}

.rag-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    background: rgba(0, 112, 74, 0.1);
    padding: 2px 8px;
    border-radius: 100px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.upload-zone {
    margin: 20px;
    border: 2px dashed #333;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 112, 74, 0.05);
}

.upload-zone svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.upload-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-main {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.upload-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-list {
    padding: 0 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background 0.2s;
}

.file-item:hover {
    background: #1a1a1a;
}

.file-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.file-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-name {
    font-size: 0.9rem;
    color: #eee;
    font-weight: 500;
}

.file-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-success {
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
}

/* Deploy Timeline */
.deploy-pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 60px;
}

.pipeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
    position: relative;
    z-index: 2;
}

.pipeline-connector {
    flex: 1;
    height: 2px;
    background: #1f2937;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.step-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

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

.step-card svg {
    margin-bottom: 16px;
    color: white;
    width: 32px;
    height: 32px;
}

.step-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

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

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

/* Tech Stack */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tech-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s;
}

.tech-item:hover .tech-icon {
    background: white;
    color: black;
    transform: scale(1.1);
}

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

/* Credits */
.section-credits {
    padding-top: 40px;
    padding-bottom: 80px;
}

.dev-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dev-content {
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.dev-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.dev-avatar {
    width: 60px;
    height: 60px;
    background: var(--text-primary);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
}

.dev-role {
    color: var(--accent-glow);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dev-bio {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    line-height: 1.7;
}

.dev-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dev-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dev-link-item:hover {
    background: white;
    color: black;
}

.dev-link-item svg {
    width: 18px;
    height: 18px;
}

.dev-visual-pattern {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    background: #02040a;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.botx-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: white;
}

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

.heart-icon {
    width: 14px;
    height: 14px;
    color: #ef4444;
    display: inline-block;
    vertical-align: middle;
}


/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-list {
        justify-content: center;
    }

    .deploy-pipeline {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .pipeline-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .dev-card {
        text-align: center;
        justify-content: center;
    }

    .dev-content {
        max-width: 100%;
    }

    .dev-header {
        justify-content: center;
        flex-direction: column;
    }

    .dev-links {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile nav */
    .hero-content {
        padding: 0 16px;
    }

    .hidden-mobile {
        display: none;
    }
}