:root {
    --bg-deep: #050505;
    --bg-charcoal: #111111;
    --bg-card: #16161a;
    --bg-card-hover: #1e1e24;

    --text-main: #f0f0f0;
    --text-muted: #949499;

    --accent-blue: #00E5FF;
    --accent-blue-glow: rgba(0, 229, 255, 0.4);
    --accent-blue-dim: rgba(0, 229, 255, 0.1);

    --border-subtle: rgba(255, 255, 255, 0.08);

    --font-stack: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 300;
}

.text-accent {
    color: var(--accent-blue);
    text-shadow: 0 0 20px var(--accent-blue-glow);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.dark-bg {
    background-color: var(--bg-charcoal);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--accent-blue);
}

.btn-outline {
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue) !important;
}

.btn-outline:hover {
    background-color: var(--accent-blue-dim);
    box-shadow: inset 0 0 10px var(--accent-blue-dim);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
}

.glow-bg {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, var(--accent-blue-dim) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #a0a0a0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    animation: pulseLine 2s infinite;
}

@keyframes pulseLine {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 40px;
        opacity: 1;
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translateY(40px);
    }
}

/* Components */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 400;
}

.feature-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.visual-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.box-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-blue-dim);
    filter: blur(40px);
    border-radius: 50%;
}

.box-glow.blue {
    bottom: -50px;
    left: -50px;
    top: auto;
    right: auto;
}

/* Layer Diagram */
.layer-diagram {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

.layer {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    text-align: center;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.layer.highlight {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--accent-blue);
    font-weight: 600;
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.layer-arrow {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Cards */
.cards {
    margin-top: 4rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    color: var(--accent-blue);
}

/* Flow Diagram */
.flow-diagram {
    margin-top: 6rem;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 4rem 2rem;
    border-radius: 12px;
}

.flow-diagram h3 {
    margin-bottom: 3rem;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 120px;
}

.step-num {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-family: monospace;
    background: rgba(0, 229, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.connector {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    position: relative;
    min-width: 30px;
}

.connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--border-subtle);
}

/* Structured List */
.structured-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.list-item .dot {
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

.list-item h5 {
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.list-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(0, 0, 0, 0.2);
}

.contact-form-container {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0;
    background: var(--bg-deep);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-email {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-email:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.social-links a:hover {
    color: var(--accent-blue);
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

/* Utilities */
.mt-4 {
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 900px) {

    .grid-2,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .grid-2.reverse .visual-box {
        order: 2;
    }

    .grid-2.reverse .section-text {
        order: 1;
    }

    .flow-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
        position: relative;
    }

    .connector {
        width: 1px;
        height: 30px;
        margin-left: 15px;
        background: var(--border-subtle);
    }

    .connector::after {
        left: -3px;
        top: 30px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--border-subtle);
    }

    .step {
        flex-direction: row;
        width: 100%;
    }

    .nav-links {
        display: none;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.right-delay {
    transition-delay: 0.2s;
}

.left-delay {
    transition-delay: 0.2s;
    transform: translateX(-30px);
}

.left-delay.active {
    transform: translateX(0);
}