/* Custom Properties & General Styles */
:root {
    --bg-dark: #121212;
    --bg-light: #1e1e1e;
    --primary-color: #007bff;
    --secondary-color: #00bcd4;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --border-color: #333;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
    line-height: 1.7;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    overflow: hidden; /* For reveal animation */
}

h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    font-weight: bold;
    background: linear-gradient(90deg, #FFD700, #FFC107, #FFB300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Tajawal';
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFC107, #FFB300);
    margin: 15px auto 0;
    border-radius: 2px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Navbar */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('20250822_1543_Majestic Masculine Vitality_simple_compose_01k393qr0vewybmmw1q65hnx02.png') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}
 
.fa {  
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('./ms2.png') center/cover no-repeat;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hero-content {
    text-align: center;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content .tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gray);
    margin-bottom: 40px;
}

.cta-button {
      background: #ffb400;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgb(255 180 0 / 57%);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.cta-button i {
    margin-left: 10px;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: right;
}

.about-text h2 {
    text-align: right;
    margin-bottom: 25px;
}

.about-text h2::after {
    margin: 15px auto 0 0;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 600;
}

.about-list i {
    color: var(--primary-color);
    margin-left: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
}

/* Features Section */
.features-section {
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background-color: var(--bg-light);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.new-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.new-feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: right;
}

.new-feature-card h3 {
    margin-bottom: 15px;
    position: relative;
}

.new-feature-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 10px;
    border-radius: 2px;
}

/* How to Use Section */
.usage-section {
    background-color: var(--bg-light);
}

.usage-steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
 
.step-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
 
.step-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 188, 212, 0.1);
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}
 
.step-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}
 
.step-card ul {
    list-style: none;
    text-align: right;
    margin-top: 15px;
}
 
.step-card ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
}
 
.step-card ul li:before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    right: 0;
    top: 0;
}
 
.break-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: var(--text-color);
}

/* Offers Section */
.offers-section {
    background-color: var(--bg-dark);
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.offer-card.popular {
    background-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.5);
    transform: scale(1.05);
}

.offer-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.offer-header {
    margin-bottom: 20px;
}

.offer-header h3 {
    font-size: 1.8rem;
}

.price-box {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 1.1rem;
    margin-left: 10px;
}

.new-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.offer-card.popular .new-price {
    color: var(--heading-color);
}

.order-button {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    text-decoration: none;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.offer-card.popular .order-button {
    background-color: var(--bg-dark);
    color: var(--primary-color);
}

.offer-card.popular .order-button:hover {
    background-color: #111;
}

.order-button i {
    margin-left: 10px;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border-right: 5px solid var(--primary-color);
    font-style: italic;
}

.review-item p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-item h4 {
    color: var(--text-color);
    font-weight: normal;
    font-style: normal;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-dark);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-light);
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    font-family: 'Tajawal', sans-serif;
}

.accordion-header:hover {
    background-color: #2a2a2a;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.accordion-content p {
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: right;
}

.footer-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-item p {
    color: var(--text-color);
}

.footer-item ul {
    list-style: none;
}

.footer-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

/* New Two-Column Layout Styles (Benefits) */
.two-column-layout-benefits {
    display: none; /* Hidden by default for mobile */
    background-color: var(--bg-dark);
}
 
.benefits-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Added for better responsiveness on tablets */
}
 
.benefits-card-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 250px;
}
 
.benefits-center-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.benefits-center-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
}
 
.benefits-card {
    background-color: #020d129e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: right;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    line-height: 20px;
    font-weight: normal;
}

.benefits-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.benefits-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.benefits-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 10px;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-text h2::after {
        margin: 15px auto 0;
    }
    .about-image {
        margin-top: 40px;
    }
    /* Show the original sections on small screens */
    .mobile-only-section {
        display: block;
    }
    /* Hide the new desktop-only sections */
    .two-column-layout-benefits {
        display: none;
    }
}
 
@media (min-width: 993px) {
    /* Hide the original sections on large screens */
    .mobile-only-section {
        display: none;
    }
    /* Show the new desktop-only sections */
    .two-column-layout-benefits {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .menu-toggle {
        display: flex;
    }
}

/* --- Modal Styles --- */

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001; /* Above everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: right;
    box-shadow: var(--shadow-dark);
    animation: slideIn 0.4s ease-out;
    transform: translateY(20px);
    opacity: 0;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-button {
    color: var(--text-color);
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.modal-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-form .submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.modal-form .submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}