:root {
    --bg-color: #050505;
    --card-bg: #0f0f12;
    --primary: #9d00ff;
    --primary-glow: rgba(157, 0, 255, 0.4);
    --secondary: #00f2ff;
    --accent: #ff007a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

/* --- Navigation --- */
header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-xl {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    background: var(--glass);
}

.btn-outline:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(var(--nav-height) + 100px);
    padding-bottom: 150px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #0f0f12;
    background-image:
        linear-gradient(rgba(157, 0, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.visual-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-color) 90%);
}

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    animation: pulse 6s infinite alternate;
}

.ui-mockup {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    width: 280px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.2);
    transform: rotateX(10deg) rotateY(-10deg);
}

.mockup-header {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.highlight {
    color: var(--secondary);
    font-weight: 700;
    font-family: monospace;
}

.data-bars {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 60px;
    z-index: 1;
}

.bar {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: barGrow 2s infinite ease-in-out;
}

@keyframes barGrow {

    0%,
    100% {
        height: 20%;
        opacity: 0.3;
    }

    50% {
        height: 100%;
        opacity: 1;
    }
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color), #0a0a0c);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.section-title.left {
    text-align: left;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- How it Works Section --- */
.how-it-works {
    padding: 150px 0;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 2rem;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 900;
}

.content-visual {
    height: 400px;
    background: radial-gradient(circle at center, #1a1a20 0%, var(--bg-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.status-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: blink 1.5s infinite;
}

/* --- Install Section --- */
.install-section {
    padding: 100px 0;
    background: #0a0a0c;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step-text h3 {
    margin-bottom: 0.5rem;
}

.step-text p {
    color: var(--text-muted);
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.1), rgba(0, 242, 255, 0.1));
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* --- Animations --- */
@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.3;
    }

    to {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes blink {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links .mobile-hide {
        display: none;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-container,
    .split-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .section-title.left {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
}