:root {
    --bg-color: #05070a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-secondary);
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d2ff);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

.btn-ghost {
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    position: relative;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--secondary);
}

.hero-mockup {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.search-bar {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 100%;
    max-width: 300px;
    text-align: left;
}

.mockup-body {
    height: 400px;
    display: flex;
}

.mockup-sidebar {
    width: 200px;
    border-right: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.mockup-content {
    flex: 1;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-root {
    padding: 1rem 2rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    z-index: 2;
}

.nodes-row {
    margin-top: 100px;
    display: flex;
    gap: 10rem;
    z-index: 2;
}

.node {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Problem Section */
.problem {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.05) 0%, transparent 70%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

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

.problem-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Methodology Section */
.methodology {
    padding: 8rem 0;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.methodology-text {
    flex: 1;
}

.methodology-visual {
    flex: 1;
}

blockquote {
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
}

cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
}

.map-container {
    perspective: 1000px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.map-layer {
    width: 85%;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transform: rotateX(30deg) translateY(0);
    text-align: center;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-layer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 20px;
    height: 1px;
    background: var(--primary);
    opacity: 0.3;
}

.layer-1 {
    z-index: 3;
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
}

.layer-2 {
    z-index: 2;
    transform: rotateX(30deg) translateY(-20px) scale(0.95);
}

.layer-3 {
    z-index: 1;
    transform: rotateX(30deg) translateY(-40px) scale(0.9);
}

.map-layer:hover {
    transform: rotateX(10deg) translateY(-10px) scale(1.02);
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.1);
}

/* Lifecycle Section */
.lifecycle {
    padding: 8rem 0;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.lifecycle-item {
    padding: 2.5rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition);
}

.lifecycle-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-top-color: var(--primary);
}

.lifecycle-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Integrations Section */
.integrations {
    padding: 8rem 0;
}

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

.integration-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.logo-box {
    padding: 1.5rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 8rem 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1) 0%, rgba(0, 242, 255, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.footer-brand p {
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.link-group a {
    display: block;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-brand-simple {
    display: flex;
    justify-content: center;
    padding-bottom: 2.5rem;
}

.footer-brand-simple .logo {
    font-size: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 968px) {
    .flex-row {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }

    .footer-links {
        gap: 3rem;
        flex-wrap: wrap;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0a0c10;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 255, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 0.75rem;
    text-align: center;
}

.modal-content p {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.modal-success-msg {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    border: 1px solid var(--primary);
}

/* Adjustments for responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
}