:root {
    /* Dark Theme (Default) */
    --bg-color: #060910;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.25);
    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --grid-color: rgba(255, 255, 255, 0.03);
    --btn-text: #ffffff;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --accent-color: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.15);
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.1);
    --grid-color: rgba(0, 0, 0, 0.04);
    --btn-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Background Elements */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.glow-orb {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -2;
    filter: blur(100px);
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.theme-toggle i,
.theme-toggle svg {
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

[data-theme="dark"] .theme-icon-light { opacity: 0; transform: rotate(90deg); }
[data-theme="light"] .theme-icon-dark { opacity: 0; transform: rotate(-90deg); }

/* Logo */
header {
    margin-bottom: 4rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-color);
    opacity: 0.7;
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 800px;
}

.badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--card-border);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Pipeline UI - Unique DevOps Element */
.pipeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 5rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 80px;
}

.step-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.step-icon i,
.step-icon svg {
    width: 20px;
    height: 20px;
}

.pipeline-step span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pipeline-step.active .step-icon {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pipeline-step.active span {
    color: var(--text-color);
}

.pipeline-connector {
    width: 40px;
    height: 2px;
    background: var(--card-border);
    margin-bottom: 1.5rem;
}

.pipeline-connector.active {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.pulse .step-icon {
    animation: step-pulse 2s infinite;
}

@keyframes step-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px transparent; }
    100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    color: var(--btn-text);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
    filter: brightness(1.1);
}

/* Footer & Socials */
footer {
    margin-top: 6rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn i,
.social-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.social-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    background: var(--accent-glow);
}

.copyright {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .pipeline-container {
        padding: 1.5rem 1rem;
        gap: 0.2rem;
        margin-bottom: 3rem;
    }
    .pipeline-step {
        width: 60px;
        gap: 0.5rem;
    }
    .step-icon {
        width: 35px;
        height: 35px;
    }
    .step-icon svg, .step-icon i {
        width: 16px;
        height: 16px;
    }
    .pipeline-step span {
        font-size: 0.65rem;
    }
    .pipeline-connector {
        width: 20px;
        margin-bottom: 1.2rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.05rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }
    .social-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .copyright {
        font-size: 0.75rem;
        padding: 0 1rem;
        line-height: 1.5;
    }
    .theme-toggle {
        top: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    .logo {
        font-size: 2rem;
    }
    header {
        margin-top: 2.5rem;
    }
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    .pipeline-container {
        padding: 1rem 0.5rem;
    }
    .pipeline-step {
        width: 50px;
    }
    .pipeline-connector {
        width: 10px;
    }
    .step-icon {
        width: 30px;
        height: 30px;
    }
    .step-icon svg, .step-icon i {
        width: 14px;
        height: 14px;
    }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

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