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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --primary-soft: rgba(168, 85, 247, 0.1);
    --secondary: #7c3aed;
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(168, 85, 247, 0.3);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --pulse: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

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

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

/* Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Ambient Glow System */
.ambient-glow {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, var(--primary-soft) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
    animation: floatGlow 20s infinite alternate ease-in-out;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -15%;
    left: -15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
    animation: floatGlow 25s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10%, 10%) scale(1.1);
    }
}

.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-text {
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 20px;
    pointer-events: none;
    transition: var(--transition);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    margin: 0 auto;
    gap: 3rem;
    pointer-events: auto;

    /* Glass Bubble Styles */
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.2rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}



/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: slideUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-soft);
    border: 1px solid var(--border-bright);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease-out;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.2));
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
    /* Force a more square-ish total height */
}

.product-card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--primary-soft), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.product-card:hover::before {
    transform: translateX(100%);
}

.product-image {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    background: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    animation: var(--pulse);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-bright);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dim);
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .chevron {
    transform: rotate(180deg);
}

.chevron {
    transition: var(--transition);
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0f0f0f;
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    padding: 3rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-features {
    margin-bottom: 2.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--primary);
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Reviews System */
#reviewsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    grid-column: 1 / -1;
}

.review-item {
    background: #0f0f0f;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.review-item:hover {
    border-color: var(--border-bright);
    transform: translateX(5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.review-text {
    color: var(--text-dim);
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: rgba(168, 85, 247, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-dim);
    font-weight: 500;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Purchase Alert Notification */
.purchase-alert {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(18, 12, 28, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transform: translateX(-150%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
    pointer-events: none;
}

.purchase-alert.active {
    transform: translateX(0);
}

.purchase-alert-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.purchase-alert-content {
    display: flex;
    flex-direction: column;
}

.purchase-alert-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.purchase-alert-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.purchase-alert-time {
    font-size: 0.7rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .purchase-alert {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}