:root {
    --bg: #0b0e14;
    --text: #e1e1e1;
    --secondary-text: #a0a0a0;
    --accent: #5e81ff;
    --accent-secondary: #ff5eaa;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass: rgba(11, 14, 20, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

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

.nav-links a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links .btn-primary {
    margin-left: 2rem;
    /* make sure primary buttons in nav have white text despite nav-links rule */
    color: #fff;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #4a6bff;
}

.btn-primary.lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--card-border);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

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

.btn-secondary.lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-text p {
    color: var(--secondary-text);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    z-index: -1;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--accent);
}

.section-title p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

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

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

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

/* How it Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(94, 129, 255, 0.04) 50%, transparent 100%);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 5rem;
}

.step {
    flex: 1;
    position: relative;
    text-align: center;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.step-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
    height: 100%;
}

.step-content:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-content p {
    color: var(--secondary-text);
    font-size: 0.9rem;
    line-height: 1.7;
}

.step-connector {
    flex: 0 0 2.5rem;
    margin-top: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    opacity: 0.3;
    align-self: flex-start;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-secondary);
    opacity: 0.6;
}

/* Platform toggle cards */
.hiw-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: border-color 0.3s;
}

.platform-card:hover {
    border-color: var(--accent);
}

.platform-header {
    margin-bottom: 1.5rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.platform-badge.youtube {
    background: rgba(255, 0, 0, 0.15);
    color: #ff6060;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.platform-badge.reddit {
    background: rgba(255, 86, 0, 0.15);
    color: #ff8c5a;
    border: 1px solid rgba(255, 86, 0, 0.2);
}

.toggle-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toggle-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.toggle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
}

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

.footer-content p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.social-links a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step-connector {
        display: none;
    }

    .hiw-platforms {
        grid-template-columns: 1fr;
    }
}