*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg2: #12121a;
    --card: #16161f;
    --border: #1e1e2e;
    --text: #e2e2f0;
    --text2: #8888a4;
    --purple: #a855f7;
    --cyan: #06b6d4;
    --gradient: linear-gradient(135deg, #a855f7, #06b6d4);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* NAV */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(10,10,15,0.7);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-discord {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    background: #5865F2;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.2s, transform 0.2s;
}
.nav-discord:hover {
    background: #4752C4;
    transform: translateY(-1px);
}

/* HERO */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}
.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(168,85,247,0.12);
    border: 1px solid rgba(168,85,247,0.3);
    color: var(--purple);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
    0%, 100% { border-color: rgba(168,85,247,0.3); }
    50% { border-color: rgba(168,85,247,0.7); }
}
#hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text2);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(168,85,247,0.3);
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(168,85,247,0.5);
}

/* FEATURES */
#features {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
#features h2, #pricing h2, #faq h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 48px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: left;
    transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168,85,247,0.4);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }

/* PRICING */
#pricing {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
.pricing-sub {
    color: var(--text2);
    margin-top: -32px;
    margin-bottom: 48px;
    font-size: 1rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.25s, border-color 0.25s;
}
.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168,85,247,0.4);
}
.price-card.popular {
    border-color: var(--purple);
    box-shadow: 0 0 40px rgba(168,85,247,0.15);
    transform: scale(1.04);
}
.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.plan-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple);
    margin-bottom: 4px;
}
.plan-duration {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}
.plan-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text2);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li:last-child { border: none; }
.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    background: var(--gradient);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(168,85,247,0.25);
}
.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168,85,247,0.4);
}
.paypal-icon { flex-shrink: 0; }

/* FAQ */
#faq {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
.faq-list { text-align: left; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
}
.faq-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: var(--purple);
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-a p {
    padding: 0 0 20px;
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* FOOTER */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
footer p { font-size: 0.85rem; color: var(--text2); }
.footer-note { margin-top: 4px; font-size: 0.75rem; opacity: 0.5; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal Content Box */
.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    max-width: 440px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-x {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-x:hover { color: var(--text); }

.modal-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.modal-content p {
    font-size: 0.9rem;
    color: var(--text2);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Input Fields */
#delivery-email-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#delivery-email-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

/* Actions */
.modal-actions {
    display: flex;
    gap: 12px;
}
.modal-btn {
    flex: 1;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
.modal-btn.cancel {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.05);
}
.modal-btn.confirm {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}
.modal-btn.confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

/* Gallery Showcase */
.gallery-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.main-preview-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-preview-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(168, 85, 247, 0.2);
}
.main-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.thumbnail-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
}
.thumb {
    width: 120px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.2s ease;
}
.thumb:hover {
    opacity: 0.9;
    border-color: rgba(6, 182, 212, 0.5);
}
.thumb.active {
    opacity: 1;
    border-color: var(--purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Pricing Alternatives Callout */
.pricing-alternatives {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 18px 24px;
    border-radius: 14px;
    border: 1px dashed rgba(6, 182, 212, 0.35);
    background: rgba(6, 182, 212, 0.02);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.pricing-alternatives p {
    font-size: 0.9rem;
    color: var(--text2);
    margin: 0;
    line-height: 1.6;
}
.pricing-alternatives a {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}
.pricing-alternatives a:hover {
    color: #fff;
    border-color: #fff;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { gap: 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-6px); }
}
