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

/* CSS Variables */
:root {
    --dark-1: #1e1e1d;
    --dark-2: #10100f;
    --dark-3: #2a2a29;
    --grey-1: #777877;
    --grey-2: #545554;
    --grey-3: #929392;
    --light-1: #ededed;
    --light-2: #b0b1b1;
    --light-3: #d0d0d0;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.05); }
}

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

/* =====================
   HEADER / NAVBAR
   ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
}

.navbar-wrapper {
    display: flex;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    pointer-events: none;
}

.navbar-pill {
    display: flex;
    align-items: center;
    height: 3.75rem;
    padding: 0 1.5rem;
    background-color: rgba(30, 30, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    pointer-events: all;
    width: max-content;
    gap: 5rem;
}

.navbar-pill:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 36px rgba(0, 0, 0, 0.6);
}

/* Logo */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.logo-link:hover { opacity: 0.85; }

.logo-content {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f9fafb;
    cursor: pointer;
    white-space: nowrap;
}

.logo-img {
    height: 2.8rem;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0.2rem;
}

.nav-list li { margin: 0; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: all 0.22s ease;
    background-color: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: #f3f4f6;
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #f3f4f6;
    background-color: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.13);
}

.nav-link:focus { outline: none; color: #f3f4f6; }

.nav-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #9ca3af;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
}

.hamburger-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    overflow: hidden;
}

/* Background ambient glow */
.hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-glow::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(80, 80, 80, 0.2) 0%, transparent 70%);
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-bg-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 45%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(60, 60, 60, 0.15) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    background-color: rgba(30, 30, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 4rem;
}

/* Left */
.hero-left {
    flex: 1;
    animation: fadeInLeft 0.8s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--light-2);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #f9fafb;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--light-2);
    display: block;
}

.hero-desc {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Right — stat cards */
.hero-right {
    flex: 1;
    animation: fadeInRight 0.8s ease-out 0.15s both;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.stat-card {
    background: rgba(30, 30, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(8px);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
}

.stat-icon {
    display: grid;
    width: 3rem;
    height: 2.275rem;
    border: 0.063rem solid rgba(255, 255, 255, 0.35);
    border-radius: 62.438rem;
    background-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.06rem;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    grid-template-columns: 2.875rem;
    grid-template-rows: 2.15rem;
    border-width: 0.063rem;
    border-style: solid;
    align-items: center;
    justify-items: center;
    margin-bottom: 0.8rem;
}

.stat-icon:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    border-color: currentColor;
}

.stat-icon-img {
    width: 1.375rem;
    height: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.06rem;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f9fafb;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}


/* =====================
   TWEAKS SECTION
   ===================== */
.tweaks-section {
    padding: 80px 0;
    background-color: var(--dark-2);
}

/* Single image frame for Tweaks */
.tweaks-image-frame {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background-color: #060606;
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(255, 255, 255, 0.06),
        0 6px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out both;
}

.tweaks-main-img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================
   PRODUCTS SECTION
   ===================== */
.products {
    padding: 80px 0;
    background-color: var(--dark-1);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--light-1);
    font-weight: 700;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-2), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

/* Product Card */
.product-card {
    background-color: var(--dark-3);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--danger);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
    letter-spacing: 0.5px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Tweaks cards: show full image without cropping */
.tweaks-grid .product-image {
    height: 200px;
    background-color: #060606;
}

.tweaks-grid .product-image img {
    object-fit: contain;
    padding: 0.5rem;
    transform-origin: center;
}

.product-card:hover .product-image img { transform: scale(1.05); }
.tweaks-grid .product-card:hover .product-image img { transform: scale(1.04); }

.product-info { padding: 1.4rem; }

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--light-1);
    transition: color 0.3s ease;
}

.product-card:hover .product-name { color: var(--light-2); }

.product-description {
    color: var(--grey-3);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.original-price {
    text-decoration: line-through;
    color: var(--grey-2);
    font-size: 1.05rem;
    font-weight: 500;
}

.discount-price {
    color: #10b981; /* Success Green */
    font-size: 1.4rem;
    font-weight: 700;
}

.normal-price {
    color: var(--light-2);
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.product-card:hover .product-price {
    transform: scale(1.04);
}

.product-card:hover .normal-price {
    color: var(--light-1);
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background-color: var(--dark-2);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--dark-3);
}

.footer p {
    color: var(--grey-3);
    font-size: 0.875rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc { max-width: 100%; }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper { padding: 0.6rem 1rem; }
    .navbar-pill { max-width: 100%; }

    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding-top: 5.5rem; }

    .section-title { font-size: 1.8rem; }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .navbar-wrapper { padding: 0.5rem 0.75rem; }

    .logo-img { height: 2.1rem; }
    .logo-content { font-size: 0.95rem; }

    .hero-title { font-size: 2.4rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 1.6rem; }
}
