:root {
    --bg: #0a0a0c;
    --card: #141417;
    --primary: #ff4d4d;
    --primary-glow: rgba(255, 77, 77, 0.4);
    --text: #ffffff;
    --text-muted: #a0a0ab;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* ── NAVIGATION ── */
nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 100;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ── HERO ── */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    background: radial-gradient(circle at 80% 20%, #2d0505 0%, transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

header h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

header h1 span {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-main {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    width: fit-content;
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: transform 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
}

.subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.hero-preview {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.preview-icon {
    width: 120px;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    margin-bottom: 2rem;
}

.preview-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── FEATURES ── */
.features {
    padding: 10rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

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

.section-title p {
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--card);
    padding: 3rem;
    border-radius: 20px;
    transition: border 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--glass-border);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* ── INSTALL ── */
.install {
    padding: 8rem 5%;
    background: #0d0d0f;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.install-header {
    text-align: center;
    margin-bottom: 4rem;
}

.install-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.step-num {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-txt h3 {
    margin-bottom: 0.5rem;
}

.step-txt p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.code-link {
    background: #000;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary);
}

.btn-step {
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-step:hover {
    opacity: 0.9;
}

/* ── FOOTER ── */
footer {
    padding: 4rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding-top: 10rem;
        text-align: center;
        height: auto;
    }
    header h1 { font-size: 3rem; }
    .hero-btns { align-items: center; }
    .hero-preview { margin-top: 5rem; }
}
