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

/* Fallback using Fira Sans if FiraGO is not available, but declaring FiraGO */
@font-face {
    font-family: 'FiraGO';
    src: local('FiraGO'), local('Fira GO');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #3b82f6;
    --secondary-color: #1e293b;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'FiraGO', 'Fira Sans', sans-serif;
    font-feature-settings: 'case' on;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

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

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

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.scroll-animate.fade-in {
    transform: scale(0.95);
}

.scroll-animate.slide-up {
    transform: translateY(50px);
}

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

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    font-family: inherit;
    font-feature-settings: 'case' on;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.6);
}

/* Discount Badges */
.discount-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.margin-y {
    margin: 2rem 0;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-20 { background-color: var(--danger-color); animation: pulse-1 3s infinite; }
.badge-50 { background-color: var(--warning-color); animation: pulse-2 3s infinite; }
.badge-80 { background-color: var(--accent-color); animation: pulse-3 3s infinite; }

@keyframes pulse-1 {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes pulse-2 {
    0%, 33% { transform: scale(1); }
    48% { transform: scale(1.15); }
    63% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes pulse-3 {
    0%, 66% { transform: scale(1); }
    81% { transform: scale(1.15); }
    96% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Section 1: Hero */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-text h1 span {
    color: var(--primary-color);
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #94a3b8;
}

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

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02) rotate(-1deg);
}

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

/* Section 2: Expert */
.expert-content {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow: hidden; /* Clear floats */
}

.expert-image {
    float: left;
    width: 35%;
    max-width: 350px;
    margin-right: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.expert-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.expert-name {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.expert-text {
    /* Flow naturally around the floated image */
}

.expert-text h3 {
    font-size: 2rem;
    color: #fff;
}

.expert-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Section 3: Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.adv-img {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

.adv-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advantage-card:hover .adv-img img {
    transform: scale(1.1);
}

.advantage-card h4 {
    font-size: 1.5rem;
    color: #fff;
}

.advantage-card ul {
    list-style: none;
}

.advantage-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: #94a3b8;
}

.advantage-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Section 4 */
.feature-sentences {
    margin: 2rem 0;
}

.f-sentence {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
}

.f-sentence i {
    color: var(--accent-color);
}

/* Section 5: Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.test-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.test-info h4 {
    margin: 0;
    color: #fff;
}

.stars {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: #cbd5e1;
}

/* Section 6: FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    margin-top: 1rem;
}

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

.faq-answer p {
    color: #cbd5e1;
}

/* Section 7: Final CTA */
.final-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.final-image {
    flex: 1;
}

.final-image img {
    width: 100%;
    border-radius: 20px;
}

.final-form-wrapper {
    flex: 1;
    text-align: center;
    background: rgba(30, 41, 59, 0.9);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
    position: relative;
}


.final-form-wrapper h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.slogan {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Pricing */
.price-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8; /* Gray color to make it look outdated */
    font-size: 2rem;
    font-weight: 600;
}

.new-price {
    color: var(--accent-color); /* Bright green to grab attention */
    font-weight: 800;
    font-size: 4rem;
    text-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: pulse-price 2s infinite;
}

@keyframes pulse-price {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Forms */
.inline-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 1rem;
    color: #e2e8f0;
}

.input-group input {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    animation: input-pulse 2s infinite;
}

.input-group input::placeholder {
    color: rgba(226, 232, 240, 0.5);
    animation: placeholder-pulse 2s infinite;
}

@keyframes input-pulse {
    0% { box-shadow: 0 0 0px rgba(16, 185, 129, 0); border-color: var(--glass-border); }
    50% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); border-color: rgba(16, 185, 129, 0.6); }
    100% { box-shadow: 0 0 0px rgba(16, 185, 129, 0); border-color: var(--glass-border); }
}

@keyframes placeholder-pulse {
    0% { color: rgba(226, 232, 240, 0.5); text-shadow: 0 0 0px rgba(16, 185, 129, 0); }
    50% { color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
    100% { color: rgba(226, 232, 240, 0.5); text-shadow: 0 0 0px rgba(16, 185, 129, 0); }
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
    animation: none;
}

.input-group input:focus::placeholder {
    animation: none;
    color: rgba(226, 232, 240, 0.5);
    text-shadow: none;
}

.submit-btn {
    width: 100%;
    font-size: 1.2rem;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    border: 1px solid var(--glass-border);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ef4444;
}

.popup-content h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.popup-content p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .final-container {
        flex-direction: column;
        text-align: center;
    }
    
    .reverse {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .discount-badges {
        justify-content: center;
    }
    
    .f-sentence {
        justify-content: flex-start;
        text-align: left;
        align-items: flex-start;
    }

    .f-sentence i {
        margin-top: 6px;
        flex-shrink: 0;
    }
    
    .expert-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }

    .expert-image {
        float: none;
        width: 100%;
        max-width: 200px;
        margin: 0 auto 1.5rem auto;
        display: block;
    }

    .expert-text h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .expert-text p {
        font-size: 1rem;
    }

    .final-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .final-form-wrapper h2 {
        font-size: 1.8rem;
    }

    .new-price {
        font-size: 3rem;
    }
    .old-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .new-price {
        font-size: 2.5rem;
    }
    .badge {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    .cta-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
    }
}
