:root {
    --bg-deep: #030108;
    --bg-panel: #0a0710;
    --bg-card: #110c1a;
    --primary: #8a2be2;
    --primary-hover: #9d4edd;
    --secondary: #00e5ff;
    --text-main: #f8f9fa;
    --text-dim: #8b8a96;
    --border: rgba(138, 43, 226, 0.15);
    --border-glow: rgba(138, 43, 226, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

section {
    padding: 6rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(3, 1, 8, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 650px;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    background: transparent;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stats-box {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(138, 43, 226, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.exp-list {
    list-style: none;
    margin-top: 1.5rem;
}

.exp-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    text-align: left;
}

.exp-list i {
    color: var(--primary);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-card .price {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.sell-app-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sell-app-btn:hover {
    background: var(--secondary);
}

.crypto-container {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    min-height: 400px;
}

.crypto-sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.crypto-tab {
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.crypto-tab:hover {
    background: rgba(138, 43, 226, 0.05);
    color: #fff;
}

.crypto-tab.active {
    background: rgba(138, 43, 226, 0.1);
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
}

.crypto-content {
    flex: 1;
    padding: 3rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.crypto-content.active {
    display: flex;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: #fff;
    margin: 0 auto 2rem auto;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.2;
}

.wallet-address-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 500px;
}

.wallet-address-box code {
    color: var(--primary);
    font-family: monospace;
    font-size: 1rem;
    flex: 1;
    word-break: break-all;
    text-align: left;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.anim {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.anim.in-view {
    opacity: 1;
    transform: translate(0);
}

footer {
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .crypto-container {
        flex-direction: column;
    }

    .crypto-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .crypto-tab {
        padding: 1rem;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .crypto-tab.active {
        border-left: none;
        border-bottom: 3px solid var(--secondary);
    }

    .nav-links {
        display: none;
    }
}