/* ============================================
   P2STUDIO.SHOP — Main Stylesheet
   Dark gaming aesthetic with pixel art vibes
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #181825;
    --bg-card-hover: #1e1e30;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent-cyan: #5cf5e0;
    --accent-pink: #ff4e8e;
    --accent-yellow: #ffd45e;
    --accent-orange: #ff8a3d;
    --accent-purple: #b06cff;
    --discord: #5865F2;
    --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    --gradient-warm: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange), var(--accent-pink));
    --border-color: rgba(255, 255, 255, 0.06);
    --glow-cyan: 0 0 30px rgba(92, 245, 224, 0.3);
    --glow-pink: 0 0 30px rgba(255, 78, 142, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --nav-height: 90px;
    --font-display: 'Press Start 2P', monospace;
    --font-body: 'Outfit', sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-secondary);
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 4px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   LOADER
   ============================================ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 280px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

.loader-bar {
    width: 240px;
    height: 4px;
    background: var(--bg-card);
    border-radius: 4px;
    margin: 30px auto 16px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    animation: loaderFill 2s ease-in-out forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.nav-logo-img {
    height: 70px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(92, 245, 224, 0.6)) drop-shadow(0 0 40px rgba(92, 245, 224, 0.3));
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.nav-socials {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--accent-cyan);
}

.mobile-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(92, 245, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 245, 224, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    color: var(--accent-cyan);
    border: 1px solid rgba(92, 245, 224, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    background: rgba(92, 245, 224, 0.05);
    letter-spacing: 2px;
}

.hero-logo {
    max-width: 550px;
    margin: 0 auto 32px;
    filter: drop-shadow(0 0 40px rgba(92, 245, 224, 0.2));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
    cursor: pointer;
}

.hero-logo:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 80px rgba(92, 245, 224, 0.7)) drop-shadow(0 0 120px rgba(92, 245, 224, 0.4)) drop-shadow(0 0 160px rgba(255, 78, 142, 0.2));
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(92, 245, 224, 0.3);
}

.btn-discord {
    background: var(--discord);
    color: white;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
    background: #4752c4;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background: rgba(92, 245, 224, 0.05);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
}

/* HERO STATS */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent-cyan);
}

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

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* SCROLL INDICATOR */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: floatUp 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 3px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(8px); }
}

@keyframes floatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ANIMATE IN */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION SHARED
   ============================================ */
section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 3px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

.link-discord {
    color: var(--discord);
    font-weight: 600;
    transition: opacity 0.3s;
}

.link-discord:hover { opacity: 0.8; }

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.about-feature:hover {
    border-color: rgba(92, 245, 224, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(92, 245, 224, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.about-feature strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img {
    max-width: 420px;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}

.about-img-glow {
    position: absolute;
    inset: 20%;
    background: radial-gradient(circle, rgba(92, 245, 224, 0.15), transparent);
    filter: blur(60px);
    z-index: 0;
}

/* STATS BAR */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.stats-item i {
    font-size: 28px;
    color: var(--accent-cyan);
}

.stats-num {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent-yellow);
    display: block;
}

.stats-label {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(92, 245, 224, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(92, 245, 224, 0.04), transparent 50%);
    transition: opacity 0.4s;
    opacity: 0;
}

.product-card:hover .product-card-glow { opacity: 1; }

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(92, 245, 224, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(92, 245, 224, 0.2);
}

.product-badge.bot {
    background: rgba(88, 101, 242, 0.1);
    color: var(--discord);
    border-color: rgba(88, 101, 242, 0.2);
}

.product-badge.model {
    background: rgba(176, 108, 255, 0.1);
    color: var(--accent-purple);
    border-color: rgba(176, 108, 255, 0.2);
}

.product-badge.map {
    background: rgba(255, 212, 94, 0.1);
    color: var(--accent-yellow);
    border-color: rgba(255, 212, 94, 0.2);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(92, 245, 224, 0.15), rgba(92, 245, 224, 0.05));
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.product-icon.bot-icon {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
    color: var(--discord);
}

.product-icon.model-icon {
    background: linear-gradient(135deg, rgba(176, 108, 255, 0.15), rgba(176, 108, 255, 0.05));
    color: var(--accent-purple);
}

.product-icon.map-icon {
    background: linear-gradient(135deg, rgba(255, 212, 94, 0.15), rgba(255, 212, 94, 0.05));
    color: var(--accent-yellow);
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* PURCHASE INFO */
.purchase-info {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: var(--radius);
}

.purchase-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--discord);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.purchase-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.purchase-info > div p {
    font-size: 14px;
    color: var(--text-secondary);
}

.purchase-info .btn {
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   TEAM SECTION
   ============================================ */
#team {
    background: var(--bg-secondary);
}

.team-role-label {
    text-align: center !important;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    margin-bottom: 24px;
    margin-top: 40px;
    width: 100%;
}

.team-role-label:first-of-type {
    margin-top: 0;
}

/* TEAM ROW - wycentrowany */
.team-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-row .team-card {
    width: 220px;
    flex: 0 0 220px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.team-card.owner {
    border-color: rgba(92, 245, 224, 0.2);
}

.team-card.owner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    border-radius: var(--radius) var(--radius) 0 0;
}

.team-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-main);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(92, 245, 224, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.team-head {
    margin-bottom: 20px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-cyan);
    image-rendering: pixelated;
    transition: transform 0.3s;
}

.team-card.owner .team-avatar {
    width: 100px;
    height: 100px;
    box-shadow: 0 0 0 4px var(--accent-cyan), 0 0 20px rgba(92, 245, 224, 0.3);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.team-socials a:hover {
    background: var(--discord);
    color: white;
}

@media (max-width: 600px) {
    .team-row .team-card {
        width: 100%;
        flex: 0 0 100%;
        max-width: 280px;
    }
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-slider {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: rgba(255, 212, 94, 0.2);
}

.review-stars {
    color: var(--accent-yellow);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    image-rendering: pixelated;
}

.review-author strong {
    display: block;
    font-size: 14px;
}

.review-author span {
    font-size: 12px;
    color: var(--text-muted);
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.review-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.review-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.review-dots {
    display: flex;
    gap: 8px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
}

.review-dot.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(92, 245, 224, 0.4);
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faq {
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.open {
    border-color: rgba(92, 245, 224, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s;
}

.faq-question i {
    color: var(--accent-cyan);
    font-size: 14px;
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
#cta {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(92, 245, 224, 0.05));
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color 0.3s;
}

.footer-links-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-img { max-width: 300px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .review-card { min-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
    .nav-links, .nav-socials { display: none; }
    .nav-hamburger { display: flex; }

    .section-title { font-size: 30px; }
    .hero-logo { max-width: 320px; }
    .hero-subtitle { font-size: 15px; }

    .products-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .purchase-info {
        flex-direction: column;
        text-align: center;
    }
    .purchase-info .btn { margin-left: 0; }

    .review-card { min-width: calc(100% - 0px); }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 24px; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 9px; }
    .stats-bar { grid-template-columns: 1fr; }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
#statistics {
    background: var(--bg-primary);
    padding: 100px 0;
}

.stats-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.stats-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

.stats-main-card:hover {
    border-color: rgba(92, 245, 224, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stats-main-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(92, 245, 224, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-cyan);
}

.stats-main-number {
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-main-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.stats-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(92, 245, 224, 0.1);
    border: 1px solid rgba(92, 245, 224, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.stats-expand-btn:hover {
    background: rgba(92, 245, 224, 0.2);
    transform: scale(1.02);
}

.stats-expand-btn i {
    transition: transform 0.3s;
}

.stats-expand-btn.active i {
    transform: rotate(180deg);
}

.stats-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.stats-details.open {
    max-height: 500px;
    margin-top: 40px;
    opacity: 1;
}

.stats-plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stats-plugin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.stats-plugin-card:hover {
    border-color: rgba(92, 245, 224, 0.3);
    transform: translateY(-2px);
}

.stats-plugin-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stats-plugin-count {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent-cyan);
}

.stats-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 40px;
}

.stats-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.stats-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-error {
    color: var(--accent-pink);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .stats-main-number { font-size: 42px; }
    .stats-main-card { padding: 32px 24px; }
    .stats-plugins-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-plugins-grid { grid-template-columns: 1fr; }
}