    /* ============================================================
    Power Gym — gym.css (Mobile First) + Hero Image + Gallery
    ============================================================ */

    :root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --card: #161616;
    --card-2: #1d1d1d;
    --yellow: #ffd400;
    --yellow-dark: #e6bf00;
    --text: #ffffff;
    --muted: #9a9a9a;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --container: 1120px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; cursor: pointer; }
    img { max-width: 100%; display: block; }

    .container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
    }

    /* ===== Buttons ===== */
    .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--yellow);
    color: #000;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid var(--yellow);
    transition: 0.25s ease;
    text-align: center;
    }
    .btn:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    }
    .btn-outline {
    background: transparent;
    color: var(--yellow);
    border-color: var(--yellow);
    }
    .btn-outline:hover {
    background: var(--yellow);
    color: #000;
    }
    .btn-block { width: 100%; }

    /* ===== Navbar (محسن) ===== */
    .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 212, 0, 0.15); /* خط أصفر خفيف */
    transition: 0.3s;
    }
    .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    }
    .logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
    }
    .logo span { color: var(--yellow); }

    .nav-links {
    position: absolute;
    top: 70px;
    right: 0; left: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
    color: var(--muted);
    font-weight: 700;
    font-size: 16px;
    padding: 6px 0;
    transition: 0.3s;
    position: relative;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--yellow); }

    /* تأثير الخط تحت اللينك في الديسكتوب */
    @media (min-width: 768px) {
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0; right: 0;
        width: 0%; height: 2px;
        background: var(--yellow);
        transition: 0.3s;
    }
    .nav-links a:hover::after { width: 100%; }
    }

    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .lang-btn {
    background: transparent;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    transition: 0.3s;
    }
    .lang-btn:hover { background: var(--yellow); color: #000; box-shadow: 0 0 15px rgba(255,212,0,0.4); }
    .menu-btn {
    background: transparent;
    border: 0;
    color: var(--yellow);
    font-size: 26px;
    line-height: 1;
    padding: 6px;
    }

    /* ===== Hero (ظبطنا الخلفية) ===== */
    .hero {
    position: relative;
    padding: 120px 0 80px;
    /* تدرج أسود ناحية اليمين عشان الكلام، ويفتح ناحية الشمال عشان الصورة */
    background: 
        linear-gradient(to left, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.85) 40%, rgba(10, 10, 10, 0.3) 100%),
        url('we.jpg') center/cover no-repeat;
    overflow: hidden;
    }
    .hero-inner { display: flex; flex-direction: column; }

    .tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: rgba(255, 212, 0, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(255, 212, 0, 0.4);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    }
    .hero h1 {
    font-size: clamp(32px, 8vw, 68px);
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
    }
    .hero h1 .accent { 
    color: var(--yellow); 
    text-shadow: 0 0 20px rgba(255, 212, 0, 0.4);
    }
    .hero p {
    color: #cccccc;
    font-size: 17px;
    max-width: 550px;
    margin-bottom: 30px;
    }
    .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    }

    /* Stats */
    .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    }
    .stat {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    transition: 0.3s;
    }
    .stat:hover { border-color: var(--yellow); transform: translateY(-3px); }
    .stat h3 {
    color: var(--yellow);
    font-size: 24px;
    font-weight: 900;
    }
    .stat p { color: var(--muted); font-size: 13px; font-weight: 600; }

    /* ===== Sections ===== */
    section { padding: 70px 0; scroll-margin-top: 80px; }

    .section-head { text-align: center; margin-bottom: 45px; }
    .kicker {
    display: inline-block;
    color: var(--yellow);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    }
    .section-head h2 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 900;
    margin-bottom: 12px;
    }
    .section-head p { color: var(--muted); font-size: 16px; }

    /* ===== Pricing ===== */
    .pricing { background: var(--bg-2); }
    .pricing-grid { display: grid; gap: 20px; }

    .price-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    }
    .price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 212, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .price-card.popular {
    border: 2px solid var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.08);
    background: linear-gradient(180deg, var(--card) 0%, #1a1a15 100%);
    }
    .price-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 800; }

    .price {
    font-size: 38px;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 20px;
    }
    .price small {
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
    }
    .price-card ul {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
    }
    .price-card li {
    color: var(--muted);
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 15px;
    }
    .price-card li:last-child { border-bottom: 0; }
    .price-card li::before {
    content: "✓";
    color: var(--yellow);
    font-weight: 900;
    margin-inline-end: 10px;
    }
    .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: #000;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 212, 0, 0.3);
    }

    /* ===== Gallery (جديد) ===== */
    .gallery { background: var(--bg); }
    .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    }
    .gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
    position: relative;
    }
    .gallery-item img {
    width: 100%;
    height: 300px; /* ثابت لكل الصور */
    object-fit: cover;
    transition: 0.5s ease;
    }
    .gallery-item:hover { border-color: var(--yellow); }
    .gallery-item:hover img { transform: scale(1.08); }

    /* ===== Subscribe Form ===== */
    .subscribe { background: var(--bg-2); }
    .sub-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    max-width: 750px;
    margin: 0 auto;
    }
    .form-row { display: grid; gap: 18px; margin-bottom: 18px; }
    .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    }
    .form-group input,
    .form-group select {
    width: 100%;
    padding: 14px 16px;
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
    }
    .form-group input:focus,
    .form-group select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15);
    }
    .form-group input.invalid,
    .form-group select.invalid {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15);
    }
    .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd400'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: left 12px center;
    padding-right: 14px;
    padding-left: 40px;
    }
    html[dir="ltr"] .form-group select {
    background-position: right 12px center;
    padding-right: 40px;
    padding-left: 14px;
    }
    .form-group select option {
    background: #0d0d0d;
    color: #fff;
    }

    /* ===== Contact ===== */
    .contact-grid { display: grid; gap: 20px; }
    .contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    }
    .contact-card h3 {
    font-size: 16px;
    color: var(--yellow);
    margin-top: 20px;
    margin-bottom: 6px;
    }
    .contact-card h3:first-child { margin-top: 0; }
    .contact-card p { color: var(--muted); font-size: 16px; }
    .contact-card a { color: var(--yellow); font-weight: 700; transition: 0.2s; }
    .contact-card a:hover { text-decoration: underline; }

    .map-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 300px;
    overflow: hidden;
    }
    .map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    }

    /* ===== Footer ===== */
    .footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    }
    .footer strong { color: var(--yellow); }

    /* ===== Floating WhatsApp ===== */
    .float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: 0.3s ease;
    }
    .float-wa:hover { transform: scale(1.1) rotate(5deg); }

    /* ===== Toast ===== */
    .toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card-2);
    color: #fff;
    border: 1px solid var(--yellow);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 1100;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    }

    /* ============================================================
    Desktop / Tablet
    ============================================================ */
    @media (min-width: 600px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .sub-form { padding: 36px 30px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; } /* صورتين جنب بعض */
    }

    @media (min-width: 768px) {
    .nav-inner { height: 80px; }
    .logo { font-size: 26px; }
    .menu-btn { display: none; }
    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        border: 0;
        background: transparent;
        gap: 32px;
    }

    .hero { 
        padding: 160px 0 100px; 
        background-attachment: fixed;
    }
    .hero-btns { flex-direction: row; }
    .stats { max-width: 580px; }
    .stat { padding: 24px; }
    .stat h3 { font-size: 30px; }

    section { padding: 100px 0; }
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        align-items: stretch;
    }
    .price-card.popular { transform: scale(1.05); }
    .price-card.popular:hover { transform: scale(1.05) translateY(-6px); }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } /* 3 صور جنب بعض */
    .gallery-item img { height: 350px; }

    .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .map-box { min-height: 100%; }
    }
    /* ===== Code Generator ===== */
.code-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    }
    .code-input-wrapper input {
    padding-inline-end: 45px; /* مساحة للزرار */
    background: #15151a !important; /* لون أغمق شوية يوضح إنه مقفول */
    color: var(--yellow) !important;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: monospace; /* شكل الكود */
    cursor: not-allowed;
    }
    .regen-btn {
    position: absolute;
    inset-inline-end: 8px;
    background: transparent;
    border: none;
    color: var(--yellow);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    transition: 0.3s;
    border-radius: 6px;
    }
    .regen-btn:hover {
    background: rgba(255, 212, 0, 0.15);
    transform: rotate(180deg);
    }