@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-300: #c4b5fd;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    --purple-900: #4c1d95;
    --purple-950: #2e1065;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #09060f;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--purple-600);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.particle:nth-child(1) {
    width: 3px;
    height: 3px;
    left: 10%;
    animation-duration: 14s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 4px;
    height: 4px;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 2px;
    height: 2px;
    left: 35%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 3px;
    height: 3px;
    left: 50%;
    animation-duration: 16s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 65%;
    animation-duration: 13s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 4px;
    height: 4px;
    left: 75%;
    animation-duration: 19s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 2px;
    height: 2px;
    left: 85%;
    animation-duration: 15s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    width: 3px;
    height: 3px;
    left: 92%;
    animation-duration: 14s;
    animation-delay: 4.5s;
}

.particle:nth-child(9) {
    width: 3px;
    height: 3px;
    left: 5%;
    animation-duration: 16s;
    animation-delay: 6s;
}

.particle:nth-child(10) {
    width: 4px;
    height: 4px;
    left: 45%;
    animation-duration: 13s;
    animation-delay: 1.5s;
}

.particle:nth-child(11) {
    width: 2px;
    height: 2px;
    left: 58%;
    animation-duration: 17s;
    animation-delay: 3.5s;
}

.particle:nth-child(12) {
    width: 3px;
    height: 3px;
    left: 28%;
    animation-duration: 15s;
    animation-delay: 0.5s;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 6, 15, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 40px;
    background: rgba(9, 6, 15, 0.92);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--white-60);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: var(--white-05);
}

.nav-links a.active {
    color: var(--white);
}

.nav-cta {
    background: var(--purple-600) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--purple-500) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white-60);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-400), var(--purple-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 16px;
    color: var(--white-40);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--purple-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--purple-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white-70);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--white-05);
    color: var(--white);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--white-05);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 11px;
    color: var(--white-40);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--white-10);
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 56px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--purple-400);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-desc {
    font-size: 15px;
    color: var(--white-40);
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
    background: var(--glass-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.fi {
    width: 20px;
    height: 20px;
    color: var(--purple-400);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--white-40);
    font-size: 13px;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    flex: 1;
    min-width: 220px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
}

.step-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--purple-600);
    margin-bottom: 12px;
    opacity: 0.6;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 13px;
    color: var(--white-40);
    line-height: 1.6;
}

.step-connector {
    color: var(--white-20);
}

.step-connector .fi {
    width: 18px;
    height: 18px;
}

/* ===== TWEAKS PAGE ===== */
.tweaks-hero {
    padding: 130px 40px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tweaks-hero h1 {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
}

.tweaks-hero p {
    color: var(--white-40);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 850px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cat-tab {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--white-60);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-icon {
    width: 14px;
    height: 14px;
}

.cat-tab:hover {
    background: var(--white-05);
    color: var(--white);
}

.cat-tab.active {
    background: var(--purple-600);
    color: var(--white);
    border-color: var(--purple-600);
}

/* Tweak Cards */
.tweaks-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 100px;
    position: relative;
    z-index: 1;
}

.tweak-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 12px;
    transition: var(--transition);
    animation: fadeInUp 0.4s ease-out both;
}

.tweak-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    background: var(--glass-hover);
}

.tweak-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
    flex-wrap: wrap;
}

.tweak-title {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tweak-icon {
    width: 16px;
    height: 16px;
    color: var(--purple-400);
}

.tweak-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.risk-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.risk-icon {
    width: 12px;
    height: 12px;
}

.risk-safe {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.risk-medium {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.risk-advanced {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.cat-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple-300);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.tweak-desc {
    font-size: 13px;
    color: var(--white-40);
    margin-bottom: 14px;
    line-height: 1.6;
}

.tweak-code {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--white-05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tweak-code pre {
    padding: 14px 18px;
    padding-right: 90px;
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: var(--purple-300);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.5;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white-40);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy-icon {
    width: 13px;
    height: 13px;
}

.copy-btn:hover {
    background: var(--purple-600);
    color: var(--white);
    border-color: var(--purple-600);
}

.copy-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: var(--white);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    padding: 130px 40px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
}

.about-hero p {
    color: var(--white-40);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto;
}

.about-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 40px 100px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 16px;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.about-icon {
    width: 20px;
    height: 20px;
    color: var(--purple-400);
}

.about-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.about-card p {
    color: var(--white-40);
    font-size: 14px;
    line-height: 1.7;
}

.about-card ul {
    list-style: none;
    margin-top: 12px;
}

.about-card ul li {
    color: var(--white-40);
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.li-icon {
    width: 16px;
    height: 16px;
    color: var(--purple-400);
    flex-shrink: 0;
}

.risk-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--white-40);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 32px 40px;
    border-top: 1px solid var(--white-05);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer p {
    color: var(--white-20);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white-20);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--purple-400);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(9, 6, 15, 0.98);
        backdrop-filter: blur(24px);
        padding: 16px;
        border-bottom: 1px solid var(--glass-border);
        gap: 2px;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 110px 20px 50px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-stats .stat-divider {
        display: none;
    }

    .section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-row {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .tweaks-container,
    .about-content {
        padding: 0 20px 60px;
    }

    .tweaks-hero,
    .about-hero {
        padding: 110px 20px 40px;
    }

    .tweak-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}