/*
Theme Name: Zero Investment Formula
Theme URI: https://hacreatorhub.com/
Author: Huzaifa Bhatti
Author URI: https://hacreatorhub.com/
Description: Custom landing page theme for the Zero Investment Formula course sales page.
Version: 1.0
Text Domain: zero-investment-formula
*/

/* =========================================
   GLOBAL STYLES
========================================= */
header, .site-header, #masthead, .main-header, .logo, .site-title, .site-branding, .custom-logo-link,
.site-footer, #colophon, .site-info, .copyright, .footer-copyright, .copyright-bar {
    display: none !important;
}

html, body {
    margin: 0; padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    width: 100%;
    background-color: #022c22;
    color: #fff;
}

body { padding-bottom: 80px; }

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    box-sizing: border-box;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* =========================================
   TOP MARQUEE
========================================= */
.top-offer-bar {
    background-color: #32CD32; color: #fff; padding: 12px 0;
    font-weight: bold; font-size: 15px; width: 100%; display: block;
    overflow: hidden; white-space: nowrap; position: relative; z-index: 100;
}
.scrolling-text { display: inline-block; padding-left: 100%; animation: scroll-left 20s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =========================================
   HERO SECTION
========================================= */
.hero-section { padding-bottom: 20px; }
.hero-split-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding: 40px 0 20px 0; }
.hero-left-content { flex: 1; min-width: 300px; }
.hero-right-video { flex: 1; min-width: 300px; position: relative; }

.big-headline { font-size: 45px; line-height: 1; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; margin-top: 60px; }
.text-yellow-styled { color: #FFD700; text-shadow: 1px 1px 0 #000; display: block; margin-bottom: 5px; }
.text-white-styled { color: #FFFFFF; text-shadow: 1px 1px 0 #000; display: block; margin-bottom: 5px; }

.offer-btn-wrapper { margin-top: 20px; display: inline-block; position: relative; }
.red-cta-btn {
    background-color: #D92121; color: #fff !important; padding: 15px 40px; font-size: 20px; font-weight: bold;
    border-radius: 5px; display: inline-block; box-shadow: 0 5px 15px rgba(217, 33, 33, 0.4);
    text-transform: uppercase; border: none; transition: 0.3s;
}
.red-cta-btn:hover { background-color: #b01515; transform: translateY(-2px); }

.spots-badge {
    background: #000; color: #fff; font-size: 11px; padding: 4px 10px; position: absolute; top: -15px; right: 0;
    border-radius: 4px; font-weight: bold; z-index: 10;
}
.spots-badge::after {
    content: ''; position: absolute; bottom: -4px; right: 10px; border-width: 4px 4px 0; border-style: solid; border-color: #000 transparent transparent transparent;
}

.trust-badge { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.avatar-group { display: flex; align-items: center; }
.avatar-group img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid #fff; margin-right: -10px; }

.video-card { background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); width: 100%; }
.video-header { background: #D92121; color: #fff; padding: 10px; text-align: center; font-weight: bold; font-size: 12px; text-transform: uppercase; }
.video-frame { height: 300px; background: #2a0a18; display: flex; align-items: center; justify-content: center; position: relative; }
.play-icon { width: 60px; height: 60px; background: rgba(255,0,0,0.9); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 30px; border: 3px solid #fff; cursor: pointer; transition: transform 0.3s; }
.video-badge-wrapper { text-align:center; margin-bottom: 5px; }
.arrow-pointer { position: absolute; top: -40px; left: -20px; width: 60px; display: block; z-index: 5; }

.big-features-row { width: 100%; text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.feature-list-premium { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.feature-item-box {
    background: #fff; border: 1px solid #e0f2fe; padding: 15px 25px; border-radius: 50px;
    display: flex; align-items: center; font-size: 18px; font-weight: 800; color: #0284c7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
}
.feature-icon-svg { width: 28px; height: 28px; margin-right: 12px; fill: #0ea5e9; }

/* =========================================
   COURSE PATH (2 BOXES WITH PRICING)
========================================= */
.course-path-section { margin-top: 60px; padding-bottom: 20px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.path-card {
    background: rgba(0, 0, 0, 0.4); border: 2px solid #32CD32; border-radius: 15px; padding: 25px;
    transition: transform 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; flex-direction: column;
}
.path-card:hover { transform: translateY(-5px); border-color: #FFD700; }
.path-title { color: #FFD700; text-align: center; font-size: 26px; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; }
.path-img-wrapper { width: 100%; margin-bottom: 25px; border-radius: 10px; overflow: hidden; border: 1px solid #555; }
.path-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.path-list li { color: #fff; font-size: 15px; margin-bottom: 12px; display: flex; align-items: start; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; }
.path-list li::before { content: '✔'; color: #32CD32; margin-right: 12px; font-weight: bold; font-size: 18px; }

/* Pricing Styles */
.price-wrapper {
    text-align: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2);
}
.old-price { font-size: 16px; color: #aaa; text-decoration: line-through; margin-right: 10px; }
.new-price { font-size: 32px; font-weight: 900; color: #FFD700; display: block; margin-top: 5px; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.discount-tag {
    background: #32CD32; color: #fff; font-size: 12px; font-weight: bold; padding: 3px 8px; border-radius: 4px; vertical-align: middle;
}
.course-btn {
    display: block; width: 100%; background-color: #D92121; color: #fff; text-align: center; padding: 12px 0;
    font-weight: bold; font-size: 18px; border-radius: 5px; margin-top: 15px; text-decoration: none; transition: 0.3s; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(217, 33, 33, 0.3);
}
.course-btn:hover { background-color: #b01515; transform: translateY(-2px); }

/* =========================================
   PROBLEM SECTION
========================================= */
.problem-section { padding: 60px 0; }
.problem-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; }
.problem-left { flex: 1; min-width: 300px; }
.problem-right { flex: 1.2; min-width: 300px; }
.problem-headline { font-size: 40px; font-weight: 800; color: #E0F2FE; line-height: 1.2; margin-bottom: 20px; font-style: italic; }
.problem-headline span { color: #FFD700; }
.problem-card {
    background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 15px; display: flex; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: transform 0.3s;
}
.problem-icon { width: 45px; height: 45px; min-width: 45px; margin-right: 20px; display: flex; align-items: center; justify-content: center; }
.problem-icon svg { width: 32px; height: 32px; fill: #1a1a1a; }
.problem-text { font-size: 18px; font-weight: 800; color: #1a1a1a; text-transform: uppercase; }

/* =========================================
   GENERAL SECTIONS
========================================= */
.breakdown-section, .mentors-section, .reviews-section, .guarantee-section, .faq-section, .outcome-section, .join-section, .proof-gallery-section { padding: 60px 0; }
.section-headline-center { text-align: center; font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 10px; font-style: italic; }
.section-subhead-center { text-align: center; color: #FFD700; font-size: 18px; margin-bottom: 50px; font-weight: bold; }

.breakdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.breakdown-card { background: rgba(0, 0, 0, 0.4); border: 1px solid #32CD32; border-radius: 12px; padding: 30px; }
.card-title-blue { color: #E0F2FE; font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.card-desc-white { color: #fff; font-size: 16px; line-height: 1.6; opacity: 0.9; }
.cta-center-wrapper { text-align: center; margin-top: 20px; }

/* Mentors */
.mentor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }

.mentor-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #32CD32;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mentor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 20px;
    background-color: #333;
    display: block;
}

.mentor-name { color: #FFD700; font-size: 28px; font-weight: 900; margin-bottom: 5px; text-transform: uppercase; }
.mentor-role { color: #E0F2FE; font-size: 16px; font-weight: bold; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.mentor-list { list-style: none; padding: 0; margin: 0; text-align: left; width: 100%; }
.mentor-list li { color: #fff; margin-bottom: 12px; font-size: 15px; display: flex; align-items: start; }
.mentor-list li::before { content: '✔'; color: #32CD32; margin-right: 12px; font-weight: bold; font-size: 18px; }

/* Reviews Grid */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; margin-bottom: 50px; }

.landscape-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

.review-category-title {
    text-align: center; color: #E0F2FE; font-size: 24px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase;
    border-bottom: 2px solid #32CD32; display: inline-block; padding-bottom: 5px;
}
.review-category-wrapper { text-align: center; margin-bottom: 30px; }

.review-card {
    background: rgba(0, 0, 0, 0.4); border: 1px solid #32CD32; border-radius: 15px; padding: 15px;
    display: flex; flex-direction: column; transition: transform 0.3s; height: 100%;
}
.review-card:hover { transform: translateY(-8px); border-color: #FFD700; }
.stars { color: #FFD700; font-size: 18px; letter-spacing: 2px; margin-bottom: 8px; }
.review-title { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; font-style: italic; min-height: 40px; }
.review-screenshot { width: 100%; height: auto; border-radius: 8px; border: 1px solid #555; display: block; }

.landscape-img {
    object-fit: contain;
    background: #000;
}

/* Guarantee */
.guarantee-section { text-align: center; }
.guarantee-badge-container { position: relative; width: 220px; height: 220px; margin: 0 auto 40px auto; perspective: 1000px; }
.guarantee-badge-3d { width: 100%; height: 100%; transform-style: preserve-3d; animation: rotate3d 6s infinite ease-in-out; }
@keyframes rotate3d { 0%, 100% { transform: rotateY(-10deg) rotateX(5deg); } 50% { transform: rotateY(10deg) rotateX(-5deg); } }
.guarantee-headline { color: #fff; font-size: 42px; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; font-style: italic; }
.guarantee-headline span { color: #FFD700; text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3); }
.guarantee-desc { color: #ddd; font-size: 18px; line-height: 1.6; max-width: 800px; margin: 0 auto 40px auto; }

/* FAQ */
.faq-container { max-width: 900px; margin: 0 auto; width: 100%; }
.faq-item { background-color: #fff; border: 1px solid #ddd; margin-bottom: 15px; border-radius: 5px; overflow: hidden; }
.faq-question { padding: 20px; font-size: 18px; font-weight: 700; color: #333; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.faq-question:hover { background-color: #f9f9f9; }
.faq-icon { color: #D92121; font-size: 24px; font-weight: bold; transition: transform 0.3s; }
.faq-item.active .faq-question { background-color: #222; color: #fff; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: #fff; color: #555; }
.faq-answer p { padding: 20px; margin: 0; font-size: 16px; line-height: 1.6; }
.faq-item.highlight-dark .faq-question { background-color: #222; color: #fff; border: 1px solid #222; }
.faq-item.highlight-dark .faq-icon { color: #D92121; }

/* Outcome */
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px; }
.outcome-card { background: rgba(0,0,0,0.4); border-left: 5px solid #32CD32; padding: 25px; border-radius: 8px; }
.outcome-title { color: #E0F2FE; font-size: 20px; font-weight: bold; margin-bottom: 10px; display: flex; align-items: center; }
.outcome-title svg { width: 24px; height: 24px; margin-right: 10px; fill: #32CD32; }
.outcome-desc { color: #ddd; font-size: 15px; line-height: 1.5; }

/* Join */
.join-section { text-align: center; }
.course-summary-card { background: #E0F2FE; border: 2px solid #32CD32; border-radius: 12px; padding: 20px; max-width: 600px; margin: 0 auto 30px auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: #222; }
.summary-left { display: flex; align-items: center; gap: 15px; text-align: left; }
.summary-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.summary-right { display: flex; gap: 20px; font-size: 14px; font-weight: 600; }
.rating-stars { color: #222; font-weight: bold; }

/* Sticky Footer & Legal */
.sticky-footer-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #f9f9f9; border-top: 1px solid #ddd; padding: 10px 0; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
.sticky-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sticky-price { font-size: 20px; font-weight: bold; color: #222; }
.sticky-features { display: flex; gap: 20px; font-size: 14px; color: #555; }
.sticky-features span { display: flex; align-items: center; }
.sticky-features span::before { content: '✔'; color: #fff; background: #000; border-radius: 50%; font-size: 10px; width: 16px; height: 16px; display: flex; justify-content: center; align-items: center; margin-right: 8px; }
.sticky-btn { background: #D92121; color: #fff; text-decoration: none; padding: 12px 30px; font-weight: bold; font-size: 16px; border-radius: 5px; text-transform: uppercase; }

.legal-footer {
    background-color: #111; color: #777; padding: 40px 0 100px 0; text-align: center;
    font-size: 12px; line-height: 1.6; border-top: 1px solid #333;
}
.legal-footer p { max-width: 900px; margin: 0 auto 20px auto; }
.legal-links a { color: #999; margin: 0 10px; text-decoration: none; }
.legal-links a:hover { color: #fff; }

/* Floating Chat Buttons */
.floating-chat-buttons { position: fixed; bottom: 100px; right: 20px; z-index: 9990; display: flex; flex-direction: column; gap: 15px; }
.chat-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.3s; text-decoration: none; }
.chat-btn:hover { transform: scale(1.1); }
.whatsapp-btn { background-color: #25D366; }
.telegram-btn { background-color: #0088cc; }
.chat-btn svg { width: 30px; height: 30px; fill: white; }

/* =========================================
   SALES NOTIFICATION
========================================= */
.sales-notification {
    position: fixed;
    bottom: 130px;
    left: 20px;
    z-index: 9999;
    background: #fff; color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 10px;
    transform: translateX(-150%); transition: transform 0.5s ease-in-out;
    border-left: 4px solid #32CD32; max-width: 260px;
}
.sales-notification.show { transform: translateX(0); }
.sales-icon { font-size: 22px; }
.sales-text { font-size: 11px; line-height: 1.3; }
.sales-text strong { display: block; font-size: 12px; color: #000; }
.sales-time { font-size: 10px; color: #777; }

/* Entry Popup */
.entry-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 10000; display: none;
    justify-content: center; align-items: center;
}
.entry-popup-box {
    background: #022c22; border: 2px solid #FFD700; padding: 30px; border-radius: 15px;
    text-align: center; max-width: 450px; width: 90%; position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}
.close-popup {
    position: absolute; top: 10px; right: 15px; color: #fff; font-size: 24px; cursor: pointer; font-weight: bold;
}
.popup-headline { color: #FFD700; font-size: 28px; font-weight: 900; margin-bottom: 10px; text-transform: uppercase; }
.popup-sub { color: #fff; font-size: 16px; margin-bottom: 20px; }
.popup-btn {
    background: #D92121; color: #fff; padding: 12px 30px; font-weight: bold; text-decoration: none;
    border-radius: 5px; display: inline-block; text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-split-layout { flex-direction: column; text-align: center; align-items: center; }
    .big-headline { font-size: 30px; margin-top: 10px; }
    .arrow-pointer { display: none; }
    .red-cta-btn { width: 100%; box-sizing: border-box; }
    .hero-right-video { margin-top: 20px; }
    .feature-list-premium { flex-direction: column; gap: 15px; }
    .feature-item-box { justify-content: center; width: 100%; box-sizing: border-box; }
    .problem-layout { flex-direction: column; text-align: center; }
    .problem-card { text-align: left; }
    .problem-headline { font-size: 30px; }
    .breakdown-grid { grid-template-columns: 1fr; }
    .section-headline-center { font-size: 32px; }
    .mentor-grid { grid-template-columns: 1fr; }

    .reviews-grid, .landscape-grid { grid-template-columns: 1fr !important; }

    .review-media-placeholder { height: auto; }
    .guarantee-headline { font-size: 28px; }
    .outcome-grid { grid-template-columns: 1fr; }
    .sticky-features { display: none; }
    .sticky-price { font-size: 16px; margin-right: 10px; }
    .sticky-btn { padding: 10px 15px; font-size: 13px; }
    .course-summary-card { flex-direction: column; text-align: center; }
    .summary-left { flex-direction: column; text-align: center; }
    .floating-chat-buttons { bottom: 90px; right: 15px; }
    .chat-btn { width: 50px; height: 50px; }
    .path-grid { grid-template-columns: 1fr; }

    .sales-notification {
        left: 10px;
        bottom: 140px;
        max-width: 240px;
    }
}
