@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
    --color-background: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-primary: #7F5AF0;
    --color-border: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--color-background); color: var(--color-text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Header */
.header { padding: 25px 0; border-bottom: 1px solid var(--color-border); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.75rem; font-weight: 900; text-decoration: none; color: var(--color-text); display: flex; align-items: center; }
.logo-img { height: 30px; margin-right: 12px; }

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav .nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.main-nav .nav-link:hover {
    color: var(--color-primary);
}

/* Hero Section - F-Pattern Layout */
.hero {
    padding: 120px 0 100px 0;
    min-height: 70vh;
    text-align: left;
    background-image: url('assets/Product_images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 700; 
    margin-bottom: 25px; 
    margin-left: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero p { 
    font-size: 1.2rem; 
    max-width: 650px; 
    margin: 0 0 40px 0; 
    color: var(--color-text-muted);
    line-height: 1.65;
}

.hero-cta {
    margin-top: 30px;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    position: absolute; /* Added */
    bottom: 20px; /* Added */
    left: 50%; /* Added */
    transform: translateX(-50%); /* Added */
    z-index: 10; /* Ensure it's above other content */
}

.hero-rating .star-rating {
    color: #FFC107; /* Ensure color is set */
    font-size: 1.3rem;
}

.hero-rating .rating-text {
    font-size: 1.1rem;
    color: var(--color-text);
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    margin: 0;
    padding-left: 0;
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Heading - Clean White */
.gradient-heading {
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges - F-Pattern */
.trust-badges {
    display: flex;
    gap: 16px;
    margin: 25px 0 30px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(127, 90, 240, 0.12);
    border: 1px solid rgba(127, 90, 240, 0.35);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trust-badges .badge:hover {
    background: rgba(127, 90, 240, 0.18);
    border-color: rgba(127, 90, 240, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(127, 90, 240, 0.25);
}

.trust-badges .badge-icon {
    font-size: 1.2rem;
}

.trust-badges .badge-text {
    font-weight: 500;
}

/* Social Proof - F-Pattern */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 35px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.customer-avatars {
    display: flex;
}

.customer-avatars .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7F5AF0, #5A9FFF);
    border: 3px solid var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: -12px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.customer-avatars .avatar:first-child {
    margin-left: 0;
}

.customer-avatars .avatar:hover {
    transform: translateY(-5px) scale(1.05);
    z-index: 5;
}

.social-proof-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.social-proof-text strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Hero CTA Enhanced */
.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(127, 90, 240, 0.35);
    margin-top: 10px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(127, 90, 240, 0.5);
}

/* Products Section */
.products-section { padding: 20px 0 100px 0; border-top: 1px solid var(--color-border); }

.product-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card-home {
    background-color: var(--color-surface);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    border-color: var(--color-primary);
}

.product-card-home-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ebook-image {
    object-fit: contain;
}

.product-card-home-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-home-content h3 {
    font-size: 1.0rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
    flex-grow: 1;
}

.product-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1; /* Add this to help with alignment */
}

.price-container-card {
    text-align: left;
}
.original-price-card {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 0.9rem; /* Making it a bit smaller */
    display: block; /* Puts it on its own line */
}
.final-price-card {
    color: #FFA500; /* Orange color */
    font-size: 1.1rem;
    font-weight: 700;
    display: block; /* Puts it on its own line */
}

/* Payment Methods Section */
.payment-methods-section {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}
.payment-methods-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--color-text-muted);
}
.payment-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.payment-icon {
    height: 28px;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.7;
}
.payment-icon-fa {
    font-size: 28px; /* Match height of image icons */
    color: var(--color-text-muted);
    opacity: 0.7;
}
.payment-icon-local {
    height: 45px; /* Custom height for wider image */
}
.payment-icon-binance {
    height: 65px;
}
.payment-icon-intl {
    height: 55px;
}

/* Footer */
.footer { padding: 40px 0; text-align: center; color: #777; border-top: 1px solid var(--color-border); }

/* Floating WhatsApp Button */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25D366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 6px rgba(0,0,0,0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 992px) { /* On Tablets and Mobiles */
    .product-grid-home {
        grid-template-columns: 1fr 1fr;
        gap: 15px; /* Reducing gap for smaller screens */
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .product-card-home-content h3 {
        font-size: 0.9rem; /* Smaller font for smaller cards */
    }
    .product-card-home-content .price {
        font-size: 1.1rem; /* Smaller font for smaller cards */
    }
}

@media (max-width: 600px) { /* On Phones */
    .product-grid-home {
        grid-template-columns: 1fr; /* Switch to a single column */
        gap: 20px; /* Can increase gap slightly for single column */
    }
}

.product-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; max-width: 1000px; margin: auto; }
.product-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.product-details .category-tag { font-weight: 700; color: var(--color-primary); margin-bottom: 10px; }
.product-details h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; color: white; }
.product-details p { margin-bottom: 30px; color: var(--color-text-muted); font-size: 1.1rem; }
.thumbnail-container { display: flex; gap: 10px; margin-top: 15px; }
.thumbnail-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid var(--color-border); transition: border-color 0.2s ease; }
.thumbnail-img:hover, .thumbnail-img.active { border-color: var(--color-primary); }
.product-price { color: #4CAF50; margin-bottom: 20px; display: flex; align-items: baseline; flex-wrap: wrap; }
.product-price .price-amount { font-size: 2rem; font-weight: 900; }
.product-price .price-details { font-size: 1rem; color: var(--color-text-muted); font-weight: 400; }
.product-price .original-price { font-size: 1.5rem; color: var(--color-text-muted); margin-left: 10px; } 
.offer-text { color: var(--color-primary); font-weight: 500; margin-bottom: 30px; margin-top: -10px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: background-color 0.2s ease; }
.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: #6a48d4; }
.product-details .btn { margin-bottom: 30px; }

@media (max-width: 768px) {
    .product-item { grid-template-columns: 1fr; gap: 40px; }
    .product-details h2 { font-size: 2rem; }
}

/* Payment Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--color-surface);
    margin: 15% auto;
    padding: 30px;
    border: 1px solid var(--color-border);
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}
.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}
.modal-content p {
    margin-bottom: 30px;
    color: var(--color-text-muted);
}
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover, .close:focus {
    color: white;
}
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btn-secondary {
    background-color: #2c2c2c;
    color: white;
}
.btn-secondary:hover {
    background-color: #3a3a3a;
}
.btn-whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
}
.btn-whatsapp:hover {
    background-color: #20b859; /* A slightly darker green for hover */
}
.btn-whatsapp .fa-brands {
    font-size: 1.2em; /* Make the icon a bit bigger than the text */
}
.btn:disabled {
    background-color: #3a3a3a;
    color: #777;
    cursor: not-allowed;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.star-rating {
    color: #FFC107;
    font-size: 1rem;
}

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

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
    color: var(--color-text-muted);
}

.faq-answer p {
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.faq-question .icon {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: var(--color-text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease-out;
}

.faq-item.active .faq-question .icon {
    transform: rotate(-135deg); /* Pointing up */
}

@media (max-width: 768px) {
    .product-item { grid-template-columns: 1fr; gap: 40px; }
    .product-details h2 { font-size: 2rem; }

    .hero {
        padding: 60px 0 100px 0;
        min-height: auto;
        background-position: center center;
        background-attachment: scroll;
        text-align: center;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 0 25px;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto 30px auto;
        text-align: center;
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        margin-bottom: 20px;
        text-align: center;
    }
    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0 auto 30px auto;
        text-align: center;
        line-height: 1.65;
        padding: 0 5px;
    }
    .hero-cta {
        margin-top: 10px;
        display: inline-block;
        padding: 13px 32px;
        font-size: 1rem;
    }
    .hero-rating {
        position: static;
        transform: none;
        font-size: 0.85rem;
        gap: 8px;
        white-space: nowrap;
        margin-top: 40px;
        justify-content: center;
    }
    .hero-rating .star-rating {
        font-size: 1rem;
    }
    .hero-rating .rating-text {
        font-size: 0.85rem;
    }
    
    /* Trust Badges Mobile - 2 Column Grid */
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 20px auto 25px auto;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .trust-badges .badge {
        padding: 10px 12px;
        font-size: 0.75rem;
        justify-content: center;
        flex: 1;
    }
    
    .trust-badges .badge:last-child {
        grid-column: 1 / -1;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .trust-badges .badge-icon {
        font-size: 1rem;
    }
    
    /* Social Proof Mobile */
    .social-proof {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        text-align: center;
    }
    
    .customer-avatars {
        justify-content: center;
    }
    
    .customer-avatars .avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-left: -10px;
    }
    
    .customer-avatars .avatar:first-child {
        margin-left: 0;
    }
    
    .social-proof-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* --- Blog Pages --- */
.blog-listing-container,
.blog-post-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--color-surface);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.blog-listing-container h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.blog-post-card {
    display: block;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.blog-post-card h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.blog-post-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.blog-post-card .read-more {
    color: var(--color-primary);
    font-weight: 700;
}

.blog-post-container {
    max-width: 800px;
}

.blog-post-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.blog-post-meta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.blog-post-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.blog-post-content li {
    margin-bottom: 8px;
}

/* --- New Blog Page --- */
.blog-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.blog-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.blog-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.5), var(--color-background));
}

.blog-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.blog-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-surface);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.gradient-text {
    background: -webkit-linear-gradient(var(--color-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.blog-article {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-separator {
    border-color: var(--color-border);
}

.blog-card {
    padding: 1.5rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-card-grid {
    display: grid;
    gap: 1rem;
}

.blog-card-hover {
    transition: border-color 0.3s ease-in-out;
}

.blog-card-hover:hover {
    border-color: var(--color-primary);
}

.blog-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.blog-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.blog-list-bullet {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}
