* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0b;
    --bg-card: #0f0f11;
    --bg-card-hover: #141416;
    --border: #1a1a1e;
    --border-light: #252528;
    --text: #e8e8e8;
    --text-secondary: #6b7280;
    --text-muted: #454549;
    --accent: #6b7280;
    --accent-dim: rgba(107, 114, 128, 0.12);
    --accent-glow: rgba(107, 114, 128, 0.25);
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ═══ Background Animations ═══ */
.bg-animations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-line {
    position: absolute;
    width: 1px;
    height: 200%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    will-change: transform;
}

.line-1 { left: 10%; transform: rotate(15deg); animation: drift 20s linear infinite alternate; }
.line-2 { left: 30%; transform: rotate(-20deg); animation: drift 26s linear infinite alternate-reverse; opacity: 0.5; }
.line-3 { left: 50%; transform: rotate(25deg); animation: drift 22s linear infinite alternate; opacity: 0.4; }
.line-4 { left: 70%; transform: rotate(-12deg); animation: drift 18s linear infinite alternate-reverse; opacity: 0.6; }
.line-5 { left: 88%; transform: rotate(18deg); animation: drift 24s linear infinite alternate; opacity: 0.3; }

@keyframes drift {
    0% { transform: rotate(var(--r, 15deg)) translateY(-10%); }
    100% { transform: rotate(var(--r, 15deg)) translateY(10%); }
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform, opacity;
}

.orb-1 {
    width: 400px; height: 400px;
    top: 5%; left: 5%;
    background: radial-gradient(circle, rgba(107, 114, 128, 0.06) 0%, transparent 70%);
    animation: orb-float 18s ease-in-out infinite;
}
.orb-2 {
    width: 300px; height: 300px;
    top: 45%; right: 10%;
    background: radial-gradient(circle, rgba(80, 90, 110, 0.05) 0%, transparent 70%);
    animation: orb-float 22s ease-in-out infinite reverse;
}
.orb-3 {
    width: 250px; height: 250px;
    bottom: 15%; left: 35%;
    background: radial-gradient(circle, rgba(150, 150, 170, 0.04) 0%, transparent 70%);
    animation: orb-float 15s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(50px, -30px) scale(1.1); opacity: 1; }
    66% { transform: translate(-30px, 20px) scale(0.9); opacity: 0.7; }
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-pulse 10s ease-in-out infinite;
}

@keyframes grid-pulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.6; } }

.scanline-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.015) 3px, rgba(0, 0, 0, 0.015) 6px);
    animation: scanline 10s linear infinite;
}

@keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 120px; } }

.particle-field {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ═══ Scroll Animations ═══ */
.slide-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .slide-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ Navigation ═══ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: none;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 10px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-secondary); }

.discord-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
    display: none;
}

/* ═══ Floating Discord ═══ */
.discord-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.discord-float:hover {
    color: var(--text);
    border-color: var(--border-light);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

/* ═══ Hero ═══ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
}

.hero-content {
    max-width: 560px;
}

.hero-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 12px;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
    50% { filter: brightness(1.1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.1)); }
}

.hero-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 11px;
    color: var(--text-muted);
}

.notice-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: dot-blink 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 4s ease-in-out infinite;
}

@keyframes text-shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ═══ Hero Showcase (3D Tilted Screenshot) ═══ */
.hero-showcase {
    margin-top: 60px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.showcase-wrapper {
    position: relative;
    transform: rotateY(-8deg) rotateX(4deg) scale(0.95);
    transition: transform 0.5s ease;
    animation: showcase-float 6s ease-in-out infinite;
}

.showcase-wrapper:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1);
}

@keyframes showcase-float {
    0%, 100% { transform: rotateY(-8deg) rotateX(4deg) scale(0.95) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(4deg) scale(0.95) translateY(-8px); }
}

.showcase-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(107, 114, 128, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    filter: blur(30px);
    z-index: -1;
}

.showcase-img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 60px rgba(107, 114, 128, 0.08);
    display: block;
}

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    padding: 11px 28px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-dim);
    color: var(--text);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.btn-primary:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.15);
}

.pulse-glow {
    animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(107, 114, 128, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(107, 114, 128, 0.15); }
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-secondary);
    border-color: var(--border-light);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--accent-dim);
    border-color: rgba(107, 114, 128, 0.3);
    color: var(--text);
    transform: translateY(-1px);
}

.btn-download { width: 100%; padding: 13px; }

/* ═══ Sections ═══ */
.section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 56px;
}

/* ═══ Features ═══ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    color: var(--text-muted);
    margin-bottom: 14px;
    transition: color 0.3s;
}

.feature-card:hover .feature-icon {
    color: var(--text-secondary);
}

.feature-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.feature-card p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══ Pricing ═══ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
    display: none;
}

.featured-badge {
    display: none;
}

.price-card h3 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-period {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.price-card li {
    font-size: 11px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.price-card li:last-child { border-bottom: none; }

.price-card .btn { width: 100%; }

/* ═══ Download ═══ */
.download-container {
    max-width: 500px;
    margin: 0 auto;
}

.download-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
}

.download-card-full:hover {
    border-color: var(--border-light);
}

.download-card-full h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.download-area {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.4s ease;
}

.download-area.hidden {
    display: none;
}

.download-unlocked {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #4ade80;
    font-size: 12px;
    font-weight: 500;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--border-light);
}

.download-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.download-card p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.input-row {
    display: flex;
    gap: 8px;
}

.input-row input {
    flex: 1;
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
    font-family: inherit;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: text;
    -webkit-user-select: text;
}

.input-row input::placeholder { color: var(--text-muted); }

.input-row input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.08);
}

.input-row .btn {
    padding: 0 18px;
    height: 38px;
    white-space: nowrap;
}

.key-status {
    margin-top: 12px;
    font-size: 11px;
    min-height: 16px;
}

.key-status.success { color: #4ade80; }
.key-status.error { color: #f87171; }
.key-status.loading { color: var(--text-muted); }

.download-note {
    font-size: 10px !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    text-align: center;
}

/* ═══ Footer ═══ */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 10px;
    color: var(--text-muted);
}

.discord-icon-sm {
    color: var(--text-muted);
    transition: color 0.2s;
    display: flex;
}

.discord-icon-sm:hover { color: var(--text-secondary); }

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .slide-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .particle, .particle-field {
        display: none;
    }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .download-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; letter-spacing: 5px; }
    .nav-links { gap: 16px; }
    .showcase-img { max-width: 100%; border-radius: 8px; }
}

/* ═══ Cart Pill ═══ */
.cart-pill {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 11px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
}

.cart-pill.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cart-pill:hover {
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

/* ═══ License Info ═══ */
.license-info {
    margin-bottom: 16px;
}

.license-expiry {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.expiry-dot-site {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: dot-blink-site 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

@keyframes dot-blink-site {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* ═══ HWID Reset ═══ */
.hwid-reset-panel {
    margin-top: 20px;
}

.hwid-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 16px;
}

.hwid-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.hwid-desc {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hwid-btn {
    width: 100%;
    padding: 10px;
}

.hwid-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hwid-status {
    margin-top: 8px;
    font-size: 10px;
    min-height: 14px;
}

.hwid-status.success { color: #4ade80; }
.hwid-status.error { color: #f87171; }
.hwid-status.cooldown { color: var(--text-muted); }
