:root {
    --bg-color: #050508;
    --text-color: #e0e0e0;
    --primary-color: #00f2ff;
    --secondary-color: #bd00ff;
    --glass-bg: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}

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

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.4;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeCycle 30s infinite;
}

.slide-1 {
    background-image: url('../images/hero-bg.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('../images/hero-bg-2.jpg');
    animation-delay: 15s;
    opacity: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(189, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.15) 0%, transparent 40%);
}

@keyframes fadeCycle {

    0%,
    45% {
        opacity: 1;
    }

    55%,
    100% {
        opacity: 0;
    }
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Features Grid */
.features-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

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

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5));
}

.glass-panel h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.glass-panel p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Integration Section */
.integration-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

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

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }

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

    .nav-container nav {
        display: none;
    }

    /* Mobile menu simplified for MVP */
}

.text-content {
    flex: 1;
}

.visual-content {
    flex: 1;
    min-width: 300px;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Code Mockup */
.code-mockup {
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}

.mockup-header {
    margin-bottom: 1rem;
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.log-line {
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2px;
}

.time {
    color: #666;
    margin-right: 8px;
}

.info {
    color: #eee;
}

.action {
    color: var(--primary-color);
}

.success {
    color: #27c93f;
}

.accent {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.cta-box {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.cta-text {
    margin: 1.5rem 0 2.5rem;
    font-size: 1.2rem;
    color: #ccc;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }
}