:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --container-width: 1200px;
    --spacing-section: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo .highlight {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Value Section */
.section-header {
    margin-bottom: 4rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 1rem;
}

.value-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* Stats Section */
.why-now-section {
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Use Cases Section */
.tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 1rem;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.case-study-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.case-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.case-item h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.case-roi {
    grid-column: 1 / -1;
    background: rgba(59, 130, 246, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

.case-roi ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-roi li {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    right: 1rem;
    line-height: 1;
}

.step-card h3 {
    margin-top: 1rem;
    color: var(--accent-primary);
}

/* Trust Section */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.feature-box h3 {
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-roi ul {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }
}

/* Technology Section */
.tech-section {
    background: var(--bg-color);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Code Window */
.code-window {
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #333;
    font-family: 'Fira Code', monospace;
}

.window-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.filename {
    color: #999;
    font-size: 0.8rem;
    margin-left: 10px;
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Syntax Highlighting Simulation */
.keyword { color: #c586c0; }
.string { color: #ce9178; }
.comment { color: #6a9955; }
.function { color: #dcdcaa; }
.class { color: #4ec9b0; }
.variable { color: #9cdcfe; }
.boolean { color: #569cd6; }

/* Flow Visualization */
.flow-viz {
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.flow-viz h3 {
    color: var(--accent-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.flow-node {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.flow-node:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.flow-node .icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

.flow-node .label {
    font-weight: 700;
    color: white;
}

.flow-node .sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.flow-arrow {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    transform: rotate(90deg);
}

.flow-desc {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}
