:root {
    /* Colors */
    --primary-color: #6366f1;
    /* Indigo-500 */
    --primary-dark: #4f46e5;
    /* Indigo-600 */
    --accent-color: #10b981;
    /* Emerald-500 */
    --dark-bg: #0f172a;
    /* Slate-900 */
    --dark-surface: #1e293b;
    /* Slate-800 */
    --text-light: #f8fafc;
    /* Slate-50 */
    --text-dim: #94a3b8;
    /* Slate-400 */
    --border-color: #334155;
    /* Slate-700 */

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Typography */
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dim);
}

.nav-links a:not(.btn):hover {
    color: var(--text-light);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Base Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu logic to be added */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .highlight {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--dark-surface);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--section-padding);
    background-color: var(--dark-surface);
    /* Slight contrast */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    gap: 20px;
}

.step-card {
    text-align: center;
    flex: 1;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    line-height: 60px;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.2);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.step-card p {
    color: var(--text-dim);
    font-size: 15px;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 30px;
    /* Align with center of circles roughly */
    position: relative;
    z-index: 1;
}

/* Responsive Steps */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-connector {
        display: none;
        /* Hide lines on mobile */
    }
}

/* Use Cases Section */
.use-cases-section {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
}

.use-cases-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.use-case-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.use-case-card i {
    color: var(--primary-color);
    font-size: 20px;
}

.use-case-card h4 {
    font-size: 16px;
    font-weight: 500;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 60px 0;
    background-color: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.tech-badge i {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--dark-bg);
}

.cta-box {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1e1b4b 100%);
    padding: 60px 40px;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-text {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer Refinements */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--dark-bg);
}

.footer p {
    color: var(--text-dim);
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.pricing-card {
    background: var(--dark-surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    width: 300px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dim);
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-light);
}

.plan-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dim);
}

.plan-features {
    text-align: left;
    margin-bottom: 32px;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--accent-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--dark-surface);
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 400px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dim);
}

.close-modal:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dim);
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        width: 100%;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}