/* ===== Global ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0d0d0d;
    color: white;
    direction: rtl;
}

html {
    scroll-behavior: smooth;
}

/* ===== Navbar ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    border-bottom: 2px solid #e10600;
    z-index: 1000;
}

.logo {
    color: #e10600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #e10600;
}

/* ===== Hero ===== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 8%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
    gap: 40px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    z-index: 2;
    gap: 20px;
}

.hero h1 {
    font-size: 52px;
    color: #e10600;
    margin: 0;
    animation: fadeDown 1s ease;
    line-height: 1.3;
    font-weight: 900;
}

.hero p {
    margin: 0;
    opacity: 0.75;
    font-size: 16px;
    line-height: 1.7;
    animation: fadeUp 1.2s ease;
    max-width: 460px;
}

.btn {
    background: #e10600;
    padding: 16px 45px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    align-self: flex-end;
}

.btn:hover {
    background: white;
    color: #e10600;
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    z-index: 1;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, #0d0d0d 30%, transparent);
    z-index: 2;
}

.hero-image img {
    width: 550px;
    height: 95%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    border: none;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 20%), linear-gradient(to top, transparent 0%, black 15%);
    mask-image: linear-gradient(to left, transparent 0%, black 20%), linear-gradient(to top, transparent 0%, black 15%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    filter: drop-shadow(-20px 0 40px rgba(0,0,0,0.8));
}

/* ===== Programs Include Section ===== */
.includes {
    padding: 100px 8%;
    background: #0d0d0d;
    text-align: center;
}

.section-title {
    color: #e10600;
    font-size: 36px;
    margin-bottom: 60px;
}

.includes-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.include-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    width: 320px;
    transition: 0.4s;
    border: 1px solid #222;
}

.include-card:hover {
    transform: translateY(-10px);
    border: 1px solid #e10600;
}

.include-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.include-card h3 {
    margin: 20px 0 10px 0;
    color: #e10600;
}

.include-card p {
    padding: 0 20px 25px 20px;
    opacity: 0.8;
}

/* ===== HOW TO START SECTION ===== */
.how-to-start {
    padding: 100px 8%;
    background: #111;
    text-align: center;
    direction: rtl;
}

.how-to-start .section-subtitle {
    color: #e10600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.how-to-start .section-title {
    font-size: 40px;
    color: white;
    margin-bottom: 70px;
    font-weight: 800;
}

.how-to-start .section-title span {
    color: #e10600;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2px;
    background: linear-gradient(to left, transparent, #e10600, #e10600, transparent);
    opacity: 0.3;
}

.step-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 35px 25px;
    width: 260px;
    transition: 0.4s;
    border: 1px solid #222;
    position: relative;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-12px);
    border-color: #e10600;
    background: #1f1f1f;
    box-shadow: 0 20px 40px rgba(225, 6, 0, 0.15);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid #e10600;
    font-size: 32px;
    transition: 0.4s;
}

.step-card:hover .step-icon-wrapper {
    background: #e10600;
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #e10600;
    color: white;
    font-size: 12px;
    font-weight: 800;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.step-card h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
}

.step-card .step-detail {
    margin-top: 15px;
    font-size: 13px;
    color: #e10600;
    opacity: 0.85;
}

/* ===== Plans ===== */
.plans {
    padding: 100px 8%;
    background: #111;
    text-align: center;
}

.plans h2 {
    color: #e10600;
    margin-bottom: 60px;
    font-size: 36px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #1a1a1a;
    padding: 40px 30px;
    width: 300px;
    border-radius: 15px;
    transition: 0.4s;
    border: 1px solid #222;
}

.card:hover {
    transform: translateY(-10px);
    border: 1px solid #e10600;
}

.featured {
    border: 1px solid #e10600;
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 15px;
}

.price {
    font-size: 28px;
    color: #e10600;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    margin-bottom: 25px;
}

.card ul li {
    margin: 10px 0;
    opacity: 0.8;
}

.card button {
    background: #e10600;
    border: none;
    padding: 10px 25px;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover {
    background: white;
    color: #e10600;
}

/* ===== Milestones Section ===== */
.milestones {
    padding: 100px 8%;
    background: #0d0d0d;
    text-align: center;
    direction: rtl;
}

.milestones .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.milestones .section-main-title {
    font-size: 38px;
    font-weight: 900;
    color: white;
    margin-bottom: 70px;
    line-height: 1.3;
}

.milestones-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.milestone-item {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
}

.milestone-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.milestone-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.7;
}

.milestone-divider {
    width: 2px;
    background: #e10600;
    opacity: 0.3;
    align-self: stretch;
    min-height: 60px;
}

.milestones .cta-btn {
    display: inline-block;
    background: #e10600;
    color: white;
    padding: 18px 60px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    letter-spacing: 1px;
}

.milestones .cta-btn:hover {
    background: white;
    color: #e10600;
    transform: scale(1.05);
}

/* ===== Transformations Section ===== */
.transformations {
    padding: 100px 8%;
    background: #0d0d0d;
    text-align: center;
}

.transformations .section-title {
    color: #e10600;
    font-size: 36px;
    margin-bottom: 60px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

.transform-card {
    background: #141414;
    border-radius: 20px;
    padding: 16px 16px 20px;
    min-width: 340px;
    flex-shrink: 0;
    border: 1px solid #222;
    transition: 0.4s;
}

.transform-card:hover {
    border-color: #e10600;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(225, 6, 0, 0.2);
}

/* ===== Transform Box ===== */
.transform-box {
    display: flex;
    gap: 10px;
    direction: ltr;
}

.img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 50%;
}

.img-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ===== Before / After Labels ===== */
.t-label {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.label-before {
    background: #1a1a1a;
    color: #888;
    border: 1px solid #444;
}

.label-after {
    background: #e10600;
    color: #fff;
    box-shadow: 0 0 12px rgba(225, 6, 0, 0.5);
}

.transform-name {
    padding: 16px 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
    direction: rtl;
    text-align: center;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e10600;
    background: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #e10600;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 8%;
    background: #111;
    direction: rtl;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.faq-header {
    flex: 1;
    min-width: 220px;
}

.faq-header .faq-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
    margin-bottom: 15px;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 900;
    color: white;
    line-height: 1.3;
}

.faq-list {
    flex: 2;
    min-width: 300px;
}

.faq-item {
    border-bottom: 1px solid #2a2a2a;
    padding: 22px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: white;
    gap: 15px;
}

.faq-question:hover {
    color: #e10600;
}

.faq-icon {
    font-size: 22px;
    color: #e10600;
    font-weight: 300;
    flex-shrink: 0;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.8;
    text-align: right;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ===== Footer ===== */
.footer-main {
    background: #000;
    border-top: 2px solid #e10600;
    padding: 50px 8%;
    direction: rtl;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    color: #e10600;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    max-width: 200px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer-social a:hover {
    border-color: #e10600;
    background: #e10600;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #e10600;
}

.footer-col .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col .contact-item span {
    color: #e10600;
}

.footer-bottom {
    background: #000;
    text-align: center;
    padding: 15px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    border-top: 1px solid #1a1a1a;
}

/* ===== Animations ===== */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

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


/* ===== Popup Overlay ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-box {
    background: #f1f1f1;
    color: #111;
    border-radius: 18px;
    width: 700px;
    max-width: 95%;
    padding: 25px;
    position: relative;
    animation: popupFade 0.4s ease;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 12px;
    left: 15px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

/* Content Layout */
.popup-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Text */
.popup-text {
    flex: 1;
}

.popup-text h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.popup-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.popup-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.popup-text li {
    margin-bottom: 6px;
}

.offer {
    font-size: 14px;
    margin-bottom: 10px;
}

.coupon span {
    color: red;
    font-weight: bold;
    font-size: 18px;
}

/* Button */
.popup-btn {
    display: inline-block;
    background: #111;
    color: #c6ff00;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

/* Image */
.popup-image img {
    width: 240px;
    border-radius: 14px;
}
.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media(max-width:768px){
    .popup-content {
        flex-direction: column;
        text-align: center;
    }

    .popup-image img {
        width: 180px;
    }
}



/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { flex-direction: column-reverse; align-items: center; justify-content: flex-end; padding: 100px 5% 40px; height: auto; min-height: 100vh; gap: 0; }
    .hero-content { text-align: center; padding-bottom: 40px; }
    .hero h1 { font-size: 32px; }
    .hero p { margin: 0 auto 25px auto; }
    .hero-image img { width: 260px; height: 360px; }
    .hero-image::after { height: 100px; }
    .cards { flex-direction: column; align-items: center; }
    .featured { transform: none; }
    .steps-container::before { display: none; }
    .step-card { width: 100%; max-width: 320px; }
    .how-to-start .section-title { font-size: 28px; }
    .transform-card { min-width: calc(100vw - 80px); max-width: 100%; }
    .slider-wrapper { padding: 0; }
    .img-wrap img { height: 200px; }
    .milestone-divider { display: none; }
    .milestones .section-main-title { font-size: 26px; }
    .milestone-item { max-width: 100%; }
    .faq { flex-direction: column; gap: 30px; }
    .faq-header h2 { font-size: 28px; }
    .footer-main { flex-direction: column; }
}
