/* Global Reset & Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --primary: #39ff14;
    /* Neon Green */
    --primary-dim: #2cb810;
    --accent: #bc14ff;
    /* Neon Purple for gradients */
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

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

.highlight {
    color: var(--primary);
}

.white {
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-sm:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.btn-lg {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: black;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
}

.btn-lg:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.5);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header offset */
    overflow: hidden;
}

/* Use the generated hero image here. Assuming it will be placed in assets/images/hero.png */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Note: In real production, we'd move the file. For this demo, let's assume we copy it or use a gradient fallback */
    background: radial-gradient(circle at 70% 30%, rgba(20, 20, 20, 0.4), var(--bg-dark)), url('../../assets/images/hero.png');
    background-size: cover;
    z-index: -1;
}

/* We will actually use a pseudo element with a gradient over the image to make text readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    margin-left: 5%;
    /* Slight offset */
}

.badge {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.security-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-text img {
    width: 16px;
    opacity: 0.8;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4);
    }

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

    100% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: var(--bg-card);
    text-align: center;
}

.problem h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.problem p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 1rem;
}

.pain-point {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem !important;
    margin-top: 2rem !important;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    text-align: center;
}

.solution h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-sub {
    color: var(--text-muted);
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Showcase */
.showcase {
    padding: 4rem 0;
}

.showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.gallery-item {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #222;
    /* Placeholder color */
    background-size: cover;
    background-position: center;
}

/* Placeholder gradients for gallery */
.item-1 {
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

/* Burger-ish color */
.item-2 {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

/* Veggie-ish */
.item-3 {
    background: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}

/* Sweet-ish */

/* In reality we would use images, let's try to simulate image overlay */
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, black 0%, transparent 100%);
}

.gallery-item h3 {
    font-size: 1.25rem;
}

.gallery-item p {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Social Proof */
.social-proof {
    padding: 6rem 0;
    background: var(--bg-card);
    text-align: center;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    border: 1px solid var(--glass-border);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #ddd;
}

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

.author .name {
    font-weight: 700;
}

.author .verified {
    font-size: 0.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.author .verified::before {
    content: '✓';
    font-weight: 900;
}

/* Offer Section */
.offer {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.05) 0%, var(--bg-dark) 70%);
}

.offer-container {
    max-width: 800px;
    text-align: center;
}

.offer-header {
    margin-bottom: 3rem;
}

.offer-tag {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.offer h2 {
    font-size: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--primary);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.1);
}

.pricing-header {
    background: rgba(57, 255, 20, 0.1);
    padding: 2rem;
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.pricing-body {
    padding: 3rem 2rem;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 2.5rem;
    max-width: 400px;
}

.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    /* Aligns icon to top of text */
    gap: 0.8rem;
    line-height: 1.4;
}

.price-box {
    margin-bottom: 2rem;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.new-price {
    font-size: 1.5rem;
    display: block;
}

.big-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -2px;
}

.btn-buy {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guarantee {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.glisten {
    position: relative;
    overflow: hidden;
}

.glisten::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    animation: glisten 3s infinite;
}

@keyframes glisten {
    0% {
        transform: translate(-100%, -100%) rotate(30deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(30deg);
    }
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

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

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-wrapper {
        align-items: center;
    }

    .solution h2 {
        font-size: 2.2rem;
    }

    .big-price {
        font-size: 3rem;
    }
}