:root {
    --brand-red: #E60000;
    /* HyperX Red */
    --brand-red-glow: rgba(230, 0, 0, 0.6);
    --dark-bg: #050505;
    /* Deepest Black */
    --card-bg: #111111;
    /* Slightly lighter for cards */
    --card-border: #222;
    --text-main: #FFFFFF;
    --text-muted: #BBBBBB;
    --accent-yellow: #FFD700;
    --font-main: 'Tajawal', sans-serif;
    --gradient-red: linear-gradient(135deg, #FF0000 0%, #990000 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 70px;
    /* Space for mobile sticky CTA */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Typography Utilities */
.highlight {
    color: var(--brand-red);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.text-red {
    color: var(--brand-red);
}

h1,
h2,
h3 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.cta-button {
    background: var(--brand-red);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    /* Modern Pill Shape */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--brand-red);
    box-shadow: 0 0 20px var(--brand-red-glow);
    transform: translateY(-3px);
}

.cta-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.cta-button.big-cta {
    font-size: 1.3rem;
    width: 100%;
    max-width: 450px;
    padding: 1.2rem;
}

/* Button Pulse Animations */
.pulse-hero {
    animation: glowPulse 2s infinite;
}

.small-pulse {
    animation: gentlePulse 1.5s infinite alternate;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(230, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    }
}

@keyframes gentlePulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* --- Header --- */
.main-header {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
}

.logo .accent {
    color: var(--brand-red);
    font-weight: 300;
}

/* --- Hero Section --- */
.hero {
    padding: 8rem 0 4rem;
    /* Top padding for fixed header */
    background: radial-gradient(circle at 50% 30%, #1a0505 0%, var(--dark-bg) 70%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
    order: 2;
    /* Image first on mobile usually looks good, or text first. layout checks */
}

.shoutout-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-box {
    margin: 1.5rem 0;
    background: rgba(255, 0, 0, 0.05);
    /* Very subtle red bg */
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    display: inline-block;
}

.price-row {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
    margin-left: 10px;
}

.new-price {
    color: #fff;
    font-weight: 800;
}

.discount-tag {
    background: var(--brand-red);
    color: white;
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
}

/* Countdown */
.countdown-wrapper {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.time-unit {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 70px;
}

.time-unit span {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--brand-red);
    line-height: 1;
}

.hero-image {
    position: relative;
    order: 1;
}

.hero-image .product-img {
    position: relative;
    z-index: 2;
    transform: scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Glow behind product */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--brand-red);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 3;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-right: 3px solid var(--brand-red);
}

.badge-1 {
    top: 10%;
    right: 0;
    animation: float 3s ease-in-out infinite;
}

.badge-2 {
    bottom: 10%;
    left: 0;
    animation: float 3.5s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-icons i {
    color: var(--brand-red);
    margin-left: 5px;
}

/* --- Pain Points --- */
.pain-points {
    padding: 4rem 0;
    background: #0f0f0f;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

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

.pain-item {
    background: #181818;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.pain-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-red);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-item h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.pain-item p {
    color: #aaa;
    font-size: 0.95rem;
}

.solution-text {
    text-align: center;
    margin-top: 3rem;
    background: linear-gradient(90deg, transparent, rgba(230, 0, 0, 0.1), transparent);
    padding: 2rem;
    border-radius: 10px;
}

/* --- Features --- */
.features {
    padding: 4rem 0;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.feature-text {
    order: 2;
}

.feature-img {
    order: 1;
    position: relative;
    width: 100%;
}

.feature-img img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
}

.feature-icon {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 1rem;
}

.features-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.f-item {
    background: #111;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222;
}

.f-item i {
    font-size: 1.5rem;
    color: var(--brand-red);
    margin-bottom: 0.8rem;
}

/* --- Social Proof --- */
.reviews {
    padding: 4rem 0;
    background: #0f0f0f;
}

.reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
}

.review-card .stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.author .avatar {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author .info h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.author .info span {
    font-size: 0.8rem;
    color: #777;
}

/* --- Offer Section --- */
.offer-section {
    padding: 4rem 0 6rem;
}

.offer-box-wrapper {
    background: linear-gradient(160deg, #151515, #000);
    border-radius: 20px;
    padding: 2px;
    /* For border effect */
    background: linear-gradient(160deg, #333, #000);
    /* Placeholder for border */
    box-shadow: 0 0 50px rgba(230, 0, 0, 0.1);
    border: 1px solid #333;
}

.offer-header {
    background: var(--brand-red);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    border-radius: 18px 18px 0 0;
}

.offer-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.offer-details {
    text-align: right;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    padding-right: 20px;
    position: relative;
    color: #ddd;
}

.final-price-area {
    background: #111;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.price-stack .crossed {
    display: block;
    color: #666;
    text-decoration: line-through;
    font-size: 1.2rem;
}

.price-stack .current {
    display: block;
    color: var(--brand-red);
    font-size: 2.5rem;
    font-weight: 900;
}

.vat-note {
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

.security-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
}

/* --- Mobile Sticky CTA --- */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    padding: 10px 20px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta .price-info {
    display: flex;
    flex-direction: column;
}

.mobile-sticky-cta .old {
    text-decoration: line-through;
    font-size: 0.8rem;
    color: #777;
}

.mobile-sticky-cta .new {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

/* --- Animations Utility --- */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* --- FAQ & Footer --- */
.faq {
    padding: 4rem 0;
    background: #111;
}

.faq-item {
    border-bottom: 1px solid #222;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    padding: 1.5rem 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #aaa;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 300px;
}

footer {
    background: #000;
    padding: 3rem 0 6rem;
    /* Extra padding for sticky footer */
    text-align: center;
    color: #555;
    border-top: 1px solid #222;
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 1.5rem 0;
    color: #fff;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #777;
    margin: 0 10px;
    font-size: 1.2rem;
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        text-align: right;
    }

    .hero-content {
        text-align: right;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

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

    .countdown-wrapper {
        align-items: flex-start;
    }

    .feature-row {
        flex-direction: row;
        text-align: right;
    }

    .feature-row.reverse {
        flex-direction: row-reverse;
    }

    .features-grid-small {
        grid-template-columns: repeat(4, 1fr);
    }

    .offer-body {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    /* Hide Mobile Sticky on Desktop */
    .mobile-sticky-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .desktop-only {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
}