@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --bg: #0b0f1a;
    --card: #141a2a;
    --card-2: #101624;
    --accent: #20d5a5;
    --accent-2: #f7b955;
    --text: #e7ecf5;
    --muted: #9aa3b2;
    --danger: #ff6b6b;
    --success: #2bd19b;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, #1a2238, #0b0f1a 55%);
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

main {
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.bg-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.2;
    z-index: 0;
}

.orb-1 {
    background: radial-gradient(circle, rgba(32, 213, 165, 0.5), transparent 70%);
    top: -120px;
    right: -120px;
}

.orb-2 {
    background: radial-gradient(circle, rgba(247, 185, 85, 0.5), transparent 70%);
    bottom: -140px;
    left: -120px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 26px 0 18px;
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #0b0f1a;
}

.brand-title {
    font-weight: 700;
    font-size: 18px;
}

.brand-sub {
    font-size: 13px;
    color: var(--muted);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.nav a:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0f1a !important;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid var(--border);
}

.hero {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: center;
    animation: heroIn 0.9s ease both;
}

.banner {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
    max-width: 100%;
    height: clamp(90px, 20vw, 160px);
    position: relative;
}

.banner-rotator .banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.banner-rotator .banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-link {
    display: block;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b0f1a;
}

.hero-card {
    background: linear-gradient(130deg, rgba(32, 213, 165, 0.15), rgba(247, 185, 85, 0.08));
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 40px);
}

.hero p {
    margin: 0;
    color: var(--muted);
}

.grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card h3 {
    margin: 0;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.card .price {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
}

.card .actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0f1a;
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(32, 213, 165, 0.2);
}

.btn-accent::after {
    content: '';
    position: absolute;
    inset: -40% -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 60%);
    opacity: 0.35;
    transform: translateX(-80%);
    transition: transform 0.5s ease;
}

.btn-accent:hover::after {
    transform: translateX(40%);
}

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

.form {
    max-width: 520px;
    margin: 28px auto;
    background: var(--card-2);
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: 18px;
}

.form label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0b0f1a;
    color: var(--text);
    margin-bottom: 14px;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 18px 0;
}

.alert-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.alert-success {
    background: rgba(43, 209, 155, 0.12);
    border: 1px solid rgba(43, 209, 155, 0.4);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
}

.badge-pin {
    align-self: flex-start;
    border-color: rgba(32, 213, 165, 0.5);
    color: var(--accent);
}

.qr-box {
    display: inline-flex;
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.qr-caption {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

.site-footer {
    padding: 40px 0 30px;
    margin-top: 50px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-bottom {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.section-title {
    margin-top: 30px;
    font-size: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .nav {
        width: 100%;
        justify-content: flex-start;
    }
    .banner img {
        height: 100%;
    }
    .banner {
        height: clamp(80px, 22vw, 120px);
    }
    .bg-orb {
        display: none;
    }
    .hero {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
