@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700;900&display=swap');

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
    --primary: #ff1a1a;
    --primary-glow: rgba(255, 26, 26, 0.4);
    --bg-dark: #050505;
    --card-bg: rgba(15, 15, 15, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-dim: #888;
    --elite-yellow: #ffcc00;
    --btn-grad: linear-gradient(90deg, #e35d67 0%, #5d87e3 100%);
    --font-body: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* ============================
   RESET
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: var(--bg-dark);
    scroll-behavior: auto;
}

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

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ============================
   BACKGROUND LAYERS
   ============================ */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ============================
   LAYOUT
   ============================ */
main, #smooth-wrapper {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
}

p {
    font-family: var(--font-body);
    color: var(--text-dim);
    font-size: 1.05rem;
}

.gradient-text {
    background: linear-gradient(180deg, #fff 30%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   NAVBAR
   ============================ */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    transition: padding 0.4s ease, background 0.4s ease;
}

nav.scrolled {
    padding: 16px 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.nav-logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--primary-glow);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 11px 22px !important;
    border-radius: 10px;
    opacity: 1 !important;
    box-shadow: 0 0 25px var(--primary-glow);
    transition: box-shadow 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 40px rgba(255,26,26,0.6) !important;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
}

.hero-logo-box {
    margin-bottom: 32px;
    animation: float 4s ease-in-out infinite;
}

.hero-logo-box img {
    height: 110px;
    filter: drop-shadow(0 0 35px rgba(255, 26, 26, 0.7));
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 42px;
    font-size: 1.1rem;
    color: var(--text-dim);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* ============================
   BUTTONS
   ============================ */
.btn-premium {
    display: inline-block;
    width: 100%;
    padding: 18px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    text-align: center;
    transition: filter 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-premium:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 26, 26, 0.5);
}

/* THE FIX: overflow:hidden clips the ::before shine sweep */
.btn-buy {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 10px 30px rgba(223, 91, 124, 0.3);
}

/* Shine sweep — clipped by overflow:hidden */
.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-buy:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 45px rgba(227, 93, 103, 0.45);
    filter: brightness(1.1);
}

.btn-buy:hover::before {
    left: 140%;
}

/* ============================
   GLASS CARDS (generic)
   ============================ */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 28px;
    position: relative;
    text-align: center;
    overflow: hidden; /* clips ::before radial */
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
    pointer-events: none;
}

/* ============================
   RESULTS GRID
   ============================ */
.results-section { padding: 150px 0; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-top: 70px;
}

.game-card h4 {
    color: var(--primary);
    font-size: 1.5rem;
    font-family: var(--font-display);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.boost-value {
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(255,255,255,0.55);
    margin-bottom: 24px;
    display: block;
    letter-spacing: 2px;
}

.fps-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.fps-stat-row.highlight {
    border-color: var(--primary);
    color: #fff;
}

.fps-num {
    font-weight: 900;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

/* ============================
   3D CARD TILT
   ============================ */
.three-d-container { perspective: 2000px; }

.card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
}

/* ============================
   PRICING SECTION
   ============================ */
.tiers-section { padding: 150px 0; }

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 70px;
    align-items: center;
}

/* TIER CARDS — overflow:visible so badge peeks out */
.tier-card {
    background: var(--card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 56px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.tier-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.tier-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Strong (recommended) card */
.tier-card.strong {
    transform: scale(1.04);
    z-index: 2;
    background: rgba(22, 22, 22, 0.65);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 40px rgba(255,255,255,0.04);
}

.tier-card.strong:hover {
    transform: scale(1.04) translateY(-10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

/* Legendary card */
.tier-card.legendary {
    border-color: rgba(255, 204, 0, 0.4);
    box-shadow: 0 0 40px rgba(255, 204, 0, 0.08);
}

.tier-card.legendary:hover {
    border-color: var(--elite-yellow);
    box-shadow: 0 30px 70px rgba(255,204,0,0.15);
}

/* ============================
   RECOMMENDED BADGE
   ============================ */
.recommended-badge {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 9px 28px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(255, 26, 26, 0.55);
    border: 1.5px solid rgba(255,255,255,0.2);
}

/* ============================
   ELITE BADGE
   ============================ */
.elite-badge {
    background: var(--elite-yellow);
    color: #000;
    padding: 6px 18px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 18px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.3);
}

/* ============================
   PRICING DETAILS
   ============================ */
.price-tag {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1;
    letter-spacing: -1px;
}

.price-tag span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.45;
    font-weight: 400;
    letter-spacing: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    font-family: var(--font-body);
}

.feature-list li:last-child { border-bottom: none; }

/* ============================
   CURRENCY SELECTOR
   ============================ */
.currency-selector {
    display: inline-flex;
    background: rgba(255,255,255,0.04);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
    gap: 4px;
}

.curr-btn {
    padding: 10px 22px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.25s, color 0.25s;
}

.curr-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 26, 26, 0.35);
}

.price-symbol { margin-right: 2px; }

/* ============================
   PIPELINE SECTION
   ============================ */
.pipeline-section { padding: 150px 0; }

.pipeline-step {
    display: flex;
    gap: 60px;
    margin-bottom: 90px;
    align-items: center;
}

.step-number {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.08;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: 0px;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 520px;
}

/* ============================
   FAQ SECTION
   ============================ */
.faq-section { padding: 150px 0; }

.faq-item {
    margin-bottom: 12px;
    border-radius: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 22px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: white;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s, border-color 0.25s;
}

.faq-trigger:hover { background: rgba(255,255,255,0.06); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.015);
    transition: max-height 0.4s ease;
}

.faq-content p {
    padding: 20px 28px;
    color: var(--text-dim);
}

.faq-item.active .faq-content { max-height: 500px; }
.faq-item.active .faq-trigger {
    border-color: var(--primary);
    background: rgba(255,26,26,0.05);
    border-radius: 16px 16px 0 0;
}

/* ============================
   MODAL
   ============================ */
.modal-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    z-index: 9999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.modal-overlay .glass-card {
    background: rgba(10, 10, 10, 0.98) !important;
    border: 1px solid rgba(255, 26, 26, 0.25) !important;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 26, 26, 0.08) !important;
    overflow: hidden !important;
}

/* ============================
   NAV LANG BUTTONS
   ============================ */
.lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================
   SECTION HEADINGS (utility)
   ============================ */
.section-anchor {
    position: absolute;
    top: -100px;
}

/* ============================
   FOOTER
   ============================ */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 3.5rem; }
    .pipeline-step { flex-direction: column; gap: 20px; text-align: center; }
    .tiers-grid { grid-template-columns: 1fr; }
    .tier-card.strong { transform: none; }
    .results-grid { grid-template-columns: 1fr; }
}
