/* Modern Reset & Typography */
:root {
    --bg-dark: #050507;
    --bg-card: #0f0f13;
    --primary: #00f3ff;
    --secondary: #ff00ff;
    --accent: #7b2dff;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --text-subtle: #6b6b6b;
    --glass: rgba(15, 15, 19, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-primary: 0 0 20px rgba(0, 243, 255, 0.3);
    --glow-secondary: 0 0 20px rgba(255, 0, 255, 0.3);
    --glow-accent: 0 0 20px rgba(123, 45, 255, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --free-accent: #10b981;

    /* Typography Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(2rem, 1.6rem + 2vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.5rem + 3vw, 5rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 40%);

    /* Enhanced Text Rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-wrap: balance;
    color: var(--text-main);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 65ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

strong,
b {
    font-weight: 600;
    color: var(--text-main);
}

.neon-text {
    color: var(--primary);
    text-shadow:
        0 0 10px rgba(0, 243, 255, 0.5),
        0 0 20px rgba(0, 243, 255, 0.3),
        0 0 40px rgba(0, 243, 255, 0.1);
}

.neon-text-magenta {
    color: var(--secondary);
    text-shadow:
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        0 0 40px rgba(255, 0, 255, 0.1);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-text-free {
    color: var(--free-accent);
    text-shadow:
        0 0 10px rgba(16, 185, 129, 0.5),
        0 0 20px rgba(16, 185, 129, 0.3),
        0 0 40px rgba(16, 185, 129, 0.1);
}

/* Free Badge */
.free-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--free-accent);
    color: #000;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

/* Model Stats */
.model-stats {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stat-item svg {
    opacity: 0.7;
}

/* Download Button (Green variant) */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    background: var(--free-accent);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    background: #0ea573;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

.view-details-btn {
    background: linear-gradient(135deg, var(--accent), #6d28d9) !important;
    box-shadow: 0 4px 15px rgba(123, 45, 255, 0.3);
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #6d28d9, var(--accent)) !important;
    box-shadow: 0 6px 20px rgba(123, 45, 255, 0.5);
    transform: translateY(-2px);
}

.view-details-btn:hover svg {
    transform: none;
}

/* Category Title Free Variant */
.category-title-free {
    border-left-color: var(--free-accent);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: rgba(16, 185, 129, 0.03);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    max-width: 100%;
    margin: 0 auto;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Glass Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 1rem;
    /* Reduced padding */
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 0.5rem 1rem;
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(16px);
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    background: rgba(15, 15, 19, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    position: relative;
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.cta-btn.secondary {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.cta-btn.secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Products Section */
.products-section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.category-group {
    margin-bottom: 5rem;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(0, 243, 255, 0.15);
}

.card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    flex: 1;
}

.card-image-link {
    display: block;
    text-decoration: none;
}

.card-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-title-link:hover h3 {
    color: var(--primary);
    transition: color 0.3s ease;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-card:hover .buy-btn {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* FAQ Section (GEO Optimized) */
.faq-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.faq-item h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem;
    }

    .glass-nav {
        padding: 0.8rem 1.5rem;
        margin: 0;
        border-radius: 20px;
        justify-content: space-between;
    }

    .nav-container {
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        padding-top: 4rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}