/* RESET & BASE */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #10b981;
    /* Emerald 500 */
    --primary-hover: #059669;
    --accent: #38bdf8;
    /* Sky 400 */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 80px 0 100px;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 70%);
    overflow: hidden;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to bottom, #10b981, #059669);
    color: var(--white);
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 50px;
    /* More rounded = more button-like */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #34d399;
}

.cta-button:hover {
    background: linear-gradient(to bottom, #34d399, #10b981);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.6);
}

.cta-button.big {
    font-size: 1.5rem;
    width: 100%;
    max-width: 450px;
    padding: 25px;
}

.sub-cta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pulse {
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(1);
    }
}

/* PROOF BAR */
.proof-bar {
    background: var(--bg-card);
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-bar p {
    font-size: 0.95rem;
    color: var(--text-main);
}

.proof-bar strong {
    color: var(--primary);
}

/* SECTION GLOBAL */
.section {
    padding: 80px 0;
}

/* BENEFITS */
.grid-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* QUALITY ASSURANCE */
.quality-assurance {
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.quality-item {
    text-align: center;
    padding: 20px;
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.quality-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.guarantee-box {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), transparent);
    border-left: 5px solid var(--primary);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-seal {
    font-size: 3rem;
}

.guarantee-box h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.guarantee-box p {
    color: var(--text-main);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
}

/* TESTIMONIALS */
.grid-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-dark);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}

.stars {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author strong {
    display: block;
    color: var(--white);
}

.author span {
    font-size: 0.85rem;
    color: var(--accent);
}

/* OFFER SECTION */
.offer {
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 100%);
    text-align: center;
    padding: 100px 0;
}

.offer-box {
    background: rgba(30, 41, 59, 0.9);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
}

.discount-tag {
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.price-container {
    margin: 30px 0;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.new-price {
    display: block;
    font-size: 3rem;
    color: var(--white);
    font-weight: 800;
}

.new-price strong {
    color: var(--primary);
}

.offer-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 30px;
    display: inline-block;
}

.offer-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.trust-seals {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-seals span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* FOOTER */
footer {
    padding: 40px 0;
    text-align: center;
    background: #020617;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .grid-gallery {
        grid-template-columns: 1fr;
    }

    .offer-box {
        padding: 30px 20px;
    }

    .new-price {
        font-size: 2.5rem;
    }
}

/* POPUP STYLES */
.popup-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 320px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    /* Initially allow clicks through if hidden area takes up space, though here we use hidden class */
}

.popup-overlay.hidden {
    display: none;
}

.popup-overlay:not(.hidden) {
    pointer-events: auto;
}

.popup-content {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.5s;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.popup-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: pulse-animation 1s infinite;
}

.popup-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cta-button.small {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
}

/* Animations */
.slide-in {
    animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-out {
    animation: slideOut 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        left: 20px;
        /* Center it more on mobile or full width */
        right: 20px;
        max-width: none;
    }
}