:root {
    --bg-dark: #0f1115;
    --bg-darker: #08090b;
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.5);
    --secondary: #059669;
    --accent: #34d399;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --card-radius: 16px;
    --container-width: 1200px;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--accent);
}

.text-blue {
    color: var(--primary);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    border-radius: var(--card-radius);
    padding: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
}

/* Vertical Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
}

.sidebar-logo {
    margin-bottom: 60px;
}

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

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--primary);
}

.sidebar-cta {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

/* Main content offset for sidebar */
.hero {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 24px;
    line-height: 1.15;
    background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 540px;
}

.hero-highlight {
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.cta-group {
    display: flex;
    gap: 16px;
}

/* Hero Visual - Code Visualization */
.visualization-card {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.visualization-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.code-block {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #abb2bf;
    background: #1e222a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.code-line {
    margin-bottom: 4px;
}

.indent {
    padding-left: 20px;
}

.c-keyword {
    color: #c678dd;
}

.c-func {
    color: #61afef;
}

.c-obj {
    color: #e5c07b;
}

.stats-float {
    display: flex;
    gap: 20px;
}

.stat-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Sections General */
.section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-alt {
    background-color: var(--bg-darker);
    /* Slightly darker or different shade */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    margin-bottom: 60px;
    max-width: 900px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
}

/* Center alignment when specified */
.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* How It Works - Steps */
.how-it-works-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.step-row {
    display: flex;
    gap: 30px;
    padding: 30px;
    border-left: 2px solid var(--glass-border);
    margin-left: 20px;
    position: relative;
    transition: 0.3s;
}

.step-row:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 12px 12px 0;
}

.step-row:last-child {
    border-left: 2px solid transparent;
}

.steps-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.steps-image:hover {
    transform: scale(1.02);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    min-width: 60px;
}

.step-row::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 36px;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.step-content h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    background: var(--bg-darker);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.benefit-item:hover {
    border-color: var(--primary);
}

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

/* Checklist Grid (Use Cases) */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.check-item:hover {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.check-item span {
    font-size: 1.05rem;
    font-weight: 500;
}

.check-item:hover {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.check-icon-lg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Why Us / Leaders */
.info-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.leaders-list {
    margin-top: 24px;
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-muted);
}

.leaders-list li {
    margin-bottom: 8px;
}

.visual-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.visual-img:hover {
    transform: scale(1.02);
}

/* Architecture */
.arch-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 24px;
}

.arch-item {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.arch-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
}

/* Old diagram styles kept just in case or can be removed */
.d-layer {
    padding: 12px 24px;
    background: #2d3748;
    border-radius: 6px;
    width: 80%;
    text-align: center;
    font-size: 0.85rem;
    font-family: monospace;
    border: 1px solid #4a5568;
}

.d-lb {
    border-color: var(--primary);
    color: var(--primary);
}

.d-nodes {
    display: flex;
    gap: 10px;
    width: 80%;
    justify-content: space-between;
}

.d-cluster {
    display: flex;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed var(--primary);
}

.d-node {
    padding: 8px;
    background: #1a202c;
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
}

.d-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 0.8;
}

/* Pricing */
.pricing-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.model-card {
    padding: 40px;
    text-align: center;
    border-radius: 16px;
}

.highlight-border {
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.model-card h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.model-card ul {
    text-align: left;
}

.model-card li {
    margin-bottom: 12px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.model-card li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.billing-period {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary);
    font-weight: 500;
}

/* CTA Final & Contact Form */
.cta-final {
    background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.05));
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.contact-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
}

.contact-form-wrapper {
    padding: 40px;
    background: rgba(15, 17, 21, 0.6);
    /* Slightly more opaque background */
    min-height: 400px;
    /* Prevent height jump */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-message {
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        margin-left: 0;
    }

    .sidebar-nav {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 20px;
    }

    .sidebar-logo {
        margin-bottom: 0;
    }

    .nav-links {
        display: none;
    }

    .sidebar-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .cta-group {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .info-split,
    .arch-box,
    .how-it-works-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 30px;
        text-align: center;
    }

    .contact-grid {
        gap: 40px;
        text-align: left;
    }

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

    .steps-image-placeholder {
        height: 300px;
        order: -1;
    }

    .step-row {
        flex-direction: column;
        gap: 10px;
    }

    .step-row::before {
        top: 0;
    }
}