/*
   SPECIFIC SECTIONS - Nu-i Trimite Mesajul
   (Execution upgrade: same sections, same layout logic,
    refined spacing, proportions and hierarchy.)
*/

/* Header */
.header {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-primary);
}

.header__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
}

.header__logo {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.header__status {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.status-text {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    font-weight: 400;
}

.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    margin-right: var(--space-2);
    animation: simple-pulse 2s infinite;
}

@keyframes simple-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Hero Section */
.hero {
    padding: clamp(48px, 8vh, 104px) 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(48px, 6vw, 72px);
    align-items: center;
}

.hero__label {
    color: var(--purple-light);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.hero__title {
    font-size: var(--fs-h1);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-5);
}

.hero__title span {
    color: var(--purple-light);
    font-style: italic;
    font-size: 0.82em;
    font-weight: 600;
    display: inline-block;
    margin-top: var(--space-2);
}

.hero__subtitle {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 560px;
}

.hero__cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 380px;
}

.hero__cta-group .btn {
    width: 100%;
}

.hero__pricing {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}

.price-new {
    font-size: var(--fs-price);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero__trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

/* Mirror Section */
.mirror {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mirror__visual {
    width: 100%;
    /* عرض يتطابق تماماً مع عرض النص (.mirror__narrative) لمحاذاة الحواف */
    max-width: 560px; 
    /* مساحة تنفس سخية أعلى وأسفل الصورة */
    margin: var(--space-8) auto var(--space-12) auto; 
    position: relative;
    z-index: 1;
}

/* Premium Editorial Image Style */
.editorial-img {
    width: 100%;
    height: auto;
    display: block;
    /* ظل فائق النعومة، غير مرئي تقريباً، يعطي إحساساً بالعمق بدون إطار */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.04);
    /* انحناء طفيف جداً لزوايا الصورة لتنعيم الحواف القاسية (بدون شكل بطاقة) */
    border-radius: 6px; 
}

.mirror__narrative {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}

.mirror__narrative strong {
    color: var(--text-primary);
}

.mirror__quote-box {
    margin: var(--space-8) 0;
    padding: var(--space-5) var(--space-6);
    border-left: 2px solid var(--purple-main);
    background: rgba(184, 134, 184, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.mirror__quote-box p {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Contrast Section */
.contrast-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.contrast-card__title {
    font-size: var(--fs-h2);
    text-align: center;
    margin-bottom: var(--space-8);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
}

.contrast-item {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.contrast-item--current { border-left: 2px solid var(--burgundy-light); }
.contrast-item--real    { border-left: 2px solid var(--purple-light); }

.contrast-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: var(--space-2);
}

.contrast-item--current .contrast-label { color: var(--burgundy-light); }
.contrast-item--real .contrast-label { color: var(--purple-light); }

.contrast-item p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Willpower & General Chapter Descriptions */
.willpower {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.willpower .section-title {
    margin-bottom: var(--space-5);
}

.section-desc {
    font-size: var(--fs-lead);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Methodology Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
}

.method-card__num {
    font-size: 0.875rem;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: var(--space-3);
    display: block;
}

/* ==========================================================
   Transformation Journey (المسار الزمني النظيف والنهائي)
========================================================== */

.transformation {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.journey {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

/* الخط يبدأ من العناوين الكبيرة وينتهي عندها */
.journey-line {
    position: absolute;
    left: 22px;
    top: 38px;
    bottom: 90px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(169,110,102,0.9), rgba(194,145,255,0.9));
}

.journey-step {
    position: relative;
    padding-left: 72px;
}

.journey-start {
    margin-bottom: 0;
}

.journey-end {
    margin-top: 0;
}

/* النقاط بمحاذاة العناوين الكبيرة */
.journey-dot {
    position: absolute;
    left: 13px;
    top: 38px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #A96E66;
    box-shadow: 0 0 0 6px rgba(169,110,102,0.08), 0 0 22px rgba(169,110,102,0.45);
}

.journey-end .journey-dot {
    background: var(--purple-main);
    box-shadow: 0 0 0 6px rgba(194,145,255,0.08), 0 0 22px rgba(194,145,255,0.45);
}

.journey-day {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #B88D84;
    text-transform: uppercase;
}

.journey-day--purple {
    color: var(--purple-light);
}

.journey-step h3 {
    margin-bottom: 12px;
    font-size: 34px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.journey-step p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 420px;
}

/* Perfect Flex Symmetry for Middle */
.journey-middle {
    position: relative;
    margin-left: 72px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers arrows perfectly relative to the text width */
    width: fit-content;
    gap: 32px; /* Perfect spacing (A) between internal elements */
    padding: 32px 0; /* Perfect spacing (A) from top and bottom blocks */
}

.journey-middle span {
    display: block;
    padding: 0;
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    color: var(--purple-light);
    line-height: 1; /* Crisp vertical alignment */
}

.journey-arrow {
    color: var(--purple-light);
    opacity: 0.85;
    display: block;
}

/* ========================================================== */

/* Bundle Grid */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
}

/* Workbook & Audiobook Detail */
.depth-details {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.depth-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.premium-tag {
    font-size: var(--fs-xs);
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.depth-title {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-5);
    letter-spacing: -0.01em;
}

.depth-list {
    list-style: none;
}

.depth-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    font-size: var(--fs-body);
    line-height: 1.65;
}

.depth-list li:last-child {
    margin-bottom: 0;
}

.depth-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-light);
    font-weight: 600;
}

.depth-list strong {
    color: var(--text-primary);
}

/* Audio UI Visual */
.audio-ui-box {
    background: var(--bg-card);
    padding: clamp(24px, 3.5vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(176, 130, 185, 0.4);
    box-shadow: 0 0 24px rgba(184, 134, 184, 0.06), var(--shadow-card);
}

.player-top {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.player-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--purple-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.player-info span { display: block; }
.player-title { font-weight: 600; font-size: var(--fs-body); }
.player-duration { font-size: var(--fs-sm); color: var(--text-secondary); opacity: 0.7; margin-top: 2px; }

.player-waveform {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: var(--space-5);
}

.audio-desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 24px);
}

.comp-col {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.comp-col:last-child {
    border-color: rgba(176, 130, 185, 0.4);
}

.comp-col p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.comp-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-3);
}

/* خلفية حمراء داكنة مع نص أحمر فاتح للتحذير */
.label-bad { 
    background: rgba(220, 53, 69, 0.15); 
    color: #ff7682; 
}

/* خلفية خضراء داكنة مع نص أخضر فاتح للإيجابيات */
.label-good { 
    background: rgba(40, 167, 69, 0.15); 
    color: #66df83; 
}

/* Digital Flex */
.digital {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.digital-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 40px);
    text-align: center;
}

.digital-icon {
    font-size: 20px;
    line-height: 1;
    width: 44px;
    height: 44px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 184, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.digital-item h4 {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 600;
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}

.digital-item p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    max-width: 260px;
    margin: 0 auto;
}

/* Social Proof */
.messages-grid {
        display: grid;
        /* Default desktop: 4 columns side by side */
        grid-template-columns: repeat(4, minmax(280px, 1fr));
        gap: 24px;
        align-items: start;
        /* Wide enough to comfortably hold 4 cards */
        max-width: 1200px;
        margin: 0 auto;
}

/* Each bubble fills its own natural height — no forced stretching */
.messages-grid .msg-bubble,
.messages-grid .msg-bubble--alt,
.messages-grid .msg-bubble--highlight {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        align-self: start;
}

/* The toggle button — hidden on desktop, shown only by JS on mobile */
.msg-read-more {
        display: none;
}

/* ==========================================================
   Pricing Card Detail (CRO Optimized - Linear Style)
========================================================== */
.offer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-card {
    background: var(--bg-card);
    padding: clamp(32px, 5vw, 48px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(176, 130, 185, 0.45);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 0 40px rgba(184, 134, 184, 0.07), var(--shadow-lift);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow for premium feel */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 150px;
    background: radial-gradient(ellipse at top, rgba(206, 154, 217, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-header {
    margin-bottom: var(--space-5);
    position: relative;
    z-index: 2;
}

.pricing-badge {
    display: inline-block;
    background: rgba(206, 154, 217, 0.12);
    color: var(--purple-light);
    border: 1px solid rgba(206, 154, 217, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.pricing-card__title {
    font-size: var(--fs-h2);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Psychological Price Anchor */
.pricing-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 2;
}

.pricing-hero__main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
    background: linear-gradient(to bottom right, #ffffff, #d9c8b1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-just {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

/* Micro Trust Indicators */
.pricing-micro-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 2;
}

.micro-trust-item {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

/* Social Proof Injection */
.social-proof-cta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
}

.pricing-hero__details {
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط العناصر ليصبح السعر القديم فوق التخفيض تماماً */
    justify-content: center;
    gap: 4px;
}

.price-strikethrough {
    font-size: 1.125rem;
    color: #ff4d4d; /* لون أحمر واضح */
    text-decoration: line-through;
    text-decoration-color: #ff4d4d; /* خط الشطب باللون الأحمر أيضاً */
    font-weight: 600;
}

.price-save {
    background: rgba(40, 167, 69, 0.15);
    color: #66df83;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* CTA & Microcopy */
.btn--arrow {
    position: relative;
    z-index: 2;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: transform 0.3s var(--ease-premium);
}

.btn--arrow:hover .btn-arrow {
    transform: translateX(4px);
}

.stack-divider {
    height: 1px;
    background: var(--border-strong);
    margin: var(--space-6) 0;
}

/* Value Stack Checklist */
.pricing-value-stack {
    text-align: left;
    margin-bottom: var(--space-5);
}

.value-stack-title {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.value-stack-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-stack-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-body);
    color: var(--text-secondary);
}

.stack-item-left {
    display: flex;
    align-items: center; /* محاذاة الأيقونة مع النص بعد حذف الوصف */
    gap: 12px;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--purple-light);
    flex-shrink: 0;
    margin-top: 0; /* إزالة الـ margin ليتوسط بشكل مثالي */
}

.stack-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stack-item-title {
    font-weight: 500;
    color: var(--text-primary);
}

.stack-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.stack-item-price {
    font-size: 1.05rem; 
    font-weight: 700; 
    color: var(--purple-light); /* تغيير اللون إلى الوردي/البنفسجي الخاص بالموقع */
    font-variant-numeric: tabular-nums;
    margin-top: 0;
    white-space: nowrap;
}

/* ==========================================================
   Premium Trust Section (HTML/CSS Only)
========================================================== */
.trust-section {
    margin-top: 0;
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.trust-payments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.payment-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    transition: border-color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
    -webkit-tap-highlight-color: transparent;
}

.payment-card:hover {
    border-color: rgba(206, 154, 217, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    color: var(--text-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(176, 130, 185, 0.15);
}

.payment-card svg {
    transition: transform 0.3s var(--ease-premium);
}

.payment-card:hover svg {
    transform: scale(1.05);
}

.payment-text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.trust-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding: 0 var(--space-2);
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-icon {
    width: 16px;
    height: 16px;
    color: var(--purple-main);
    opacity: 0.9;
    flex-shrink: 0;
}

.indicator-text {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Final CTA */
.final-cta {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.final-cta .section-title {
    margin-bottom: var(--space-5);
}

.final-cta__desc {
    font-size: var(--fs-lead);
    color: var(--text-secondary);
    margin: 0 auto var(--space-8);
    max-width: 560px;
    line-height: 1.65;
}

.final-cta__micro {
    margin-top: var(--space-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: clamp(48px, 7vw, 72px) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-2);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    opacity: 0.7;
    margin-bottom: 0;
}

.footer-links {
    text-align: right;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color 0.3s;
    padding: 4px 0;
}

.footer-nav a:hover { color: var(--purple-light); }

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.footer-copyright p {
    margin-bottom: var(--space-2);
}

.footer-disclaimer {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    opacity: 0.8;
    max-width: 400px;
    margin-left: auto;
    margin-bottom: 0;
}

/* Premium Glass Frame structure */
.glass-frame {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 20, 35, 0.4) 0%, rgba(12, 14, 19, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(206, 154, 217, 0.15);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(20px, 4vw, 32px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.5s var(--ease-premium),
                box-shadow 0.5s var(--ease-premium),
                border-color 0.5s var(--ease-premium);
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(176, 130, 185, 0.1) 0%, transparent 65%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.glass-frame__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.6s var(--ease-premium);
}

.glass-reflection {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    z-index: 1;
}

.interactive-frame {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

@media (hover: hover) {
    .interactive-frame:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(206, 154, 217, 0.3);
    }
    .interactive-frame:hover .glass-frame__img { transform: scale(1.02); }
    .interactive-frame:hover .glass-reflection { left: 200%; }
}

@media (hover: none) {
    .interactive-frame:active {
        transform: scale(0.99);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), inset 0 2px 20px rgba(206, 154, 217, 0.05);
        border-color: rgba(206, 154, 217, 0.2);
    }
    .interactive-frame:active .glass-frame__img { transform: scale(0.99); }
    .interactive-frame:active .glass-reflection {
        left: 150%;
        transition: left 0.5s ease-out;
    }
}

/* ==========================================================
   النهاية النظيفة للخط العمودي (بدون تسريب للقسم التالي)
========================================================== */
.journey-end::after {
    content: "";
    position: absolute;
    left: 0;
    top: 55px;
    bottom: 0; /* تم إزالة -150px التي كانت تسبب اقتحام المستطيل للقسم اللاحق */
    width: 40px;
    background-color: var(--bg-secondary);
    z-index: 1;
}

.journey-end .journey-dot {
    z-index: 2; /* إجبار النقطة على البقاء فوق القناع */
}

/* ==========================================================
   Premium Product Cards (Bundle Section)
========================================================== */

/* إزالة الحواف الداخلية الافتراضية للبطاقة لكي تتمدد الصورة */
.bundle-card.premium-card {
    padding: 0; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* خلفية ومكان الصورة */
.product-image {
    background: rgba(184, 134, 184, 0.03);
    padding: var(--space-6) var(--space-4);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    min-height: 220px;
}

.product-image img {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    transition: transform 0.5s var(--ease-premium);
}

/* تأثير الحركة عند تمرير الماوس */
.bundle-card.premium-card:hover .product-image img {
    transform: translateY(-6px) scale(1.03);
}

/* نصوص البطاقة */
.product-info {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* تصميم الشارة (Badge) */
.product-info .badge {
    align-self: flex-start;
    background: rgba(206, 154, 217, 0.1);
    color: var(--purple-main);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(206, 154, 217, 0.15);
}

.product-info .badge--highlight {
    background: rgba(206, 154, 217, 0.2);
    color: var(--purple-light);
    border-color: rgba(206, 154, 217, 0.3);
}

/* تمييز البطاقة في المنتصف (Featured) لشاشات الكمبيوتر */
@media (min-width: 1025px) {
    .bundle-card.premium-card.featured {
        border-color: rgba(206, 154, 217, 0.35);
        box-shadow: 0 0 35px rgba(184, 134, 184, 0.08), var(--shadow-lift);
        transform: translateY(-12px); /* رفع البطاقة الوسطى للأعلى قليلاً */
    }
    
    .bundle-card.premium-card.featured:hover {
        transform: translateY(-16px);
    }
}

/* ==========================================================
   PREVIEW EXPERIENCE SECTION (UX/UI Premium)
========================================================== */
.preview-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 32px);
    margin-top: var(--space-8);
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid rgba(206, 154, 217, 0.15);
    border-radius: var(--radius-xl);
    padding: clamp(32px, 5vw, 40px) var(--space-6);
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    color: var(--text-primary);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.preview-card:hover, .preview-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(184, 134, 184, 0.12);
    border-color: rgba(206, 154, 217, 0.4);
    outline: none;
}

.preview-card:active { transform: translateY(-2px) scale(0.98); }

.preview-card__icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: var(--space-5);
    background: rgba(184, 134, 184, 0.08);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(206, 154, 217, 0.1);
}

.preview-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.preview-card p { font-size: var(--fs-body); color: var(--text-secondary); margin-bottom: var(--space-6); flex-grow: 1; }

.preview-card__cta {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}

/* ==========================================================
   CUSTOM PREMIUM MODALS
========================================================== */
.custom-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh; /* Changed from 100% to 100vh */
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease-premium), visibility 0.4s var(--ease-premium);
        /* iOS Safari fix */
        -webkit-overflow-scrolling: touch;
}

.custom-modal.is-open { opacity: 1; visibility: visible; }

.custom-modal__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

.custom-modal__content {
        position: relative;
        z-index: 2;
        background: var(--bg-card);
        border: 1px solid rgba(206, 154, 217, 0.2);
        border-radius: var(--radius-xl);
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 24px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
        /* Simplified animation - no translateY to avoid positioning issues */
        opacity: 0;
        transform: scale(0.95);
        transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.custom-modal.is-open .custom-modal__content {
        opacity: 1;
        transform: scale(1);
}

.custom-modal__close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,0.08);
    border: none; color: var(--text-secondary);
    width: 44px; height: 44px; /* Large touch target */
    border-radius: 50%; font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.3s, color 0.3s; z-index: 10;
}

.custom-modal__close:hover { background: rgba(206, 154, 217, 0.15); color: var(--purple-light); }

.custom-modal__body { padding: clamp(32px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; }

.preview-img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* Audio Player UI */
.custom-modal--audio .custom-modal__content { max-width: 440px; }

.audio-preview-visual {
    position: relative; width: 120px; height: 120px; margin: 0 auto 32px auto;
    display: flex; align-items: center; justify-content: center;
}

.audio-icon { font-size: 56px; position: relative; z-index: 2; }

.audio-pulse {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(176, 130, 185, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    opacity: 0;
}
.custom-modal--audio.is-playing .audio-pulse { opacity: 1; }
@keyframes pulse-ring { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.audio-preview-title { font-size: var(--fs-h3); margin-bottom: 8px; text-align: center; }
.audio-preview-subtitle { color: var(--text-secondary); font-size: var(--fs-sm); margin-bottom: 40px; text-align: center; }

.premium-player { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.player-play-btn {
    width: 76px; height: 76px; border-radius: 50%;
    background: var(--purple-main); color: var(--bg-primary); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 8px 24px rgba(176, 130, 185, 0.3);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.player-play-btn:hover, .player-play-btn:active { transform: scale(1.05); background: var(--purple-light); box-shadow: 0 12px 32px rgba(176, 130, 185, 0.4); }
.player-play-btn svg { width: 34px; height: 34px; margin-left: 4px; } /* Margin to center visually */
.player-play-btn svg.pause-icon { margin-left: 0; }

.player-timeline { width: 100%; }
.player-progress-bar {
    width: 100%; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px;
    cursor: pointer; position: relative; margin-bottom: 12px; overflow: hidden;
}
.player-progress-fill { height: 100%; background: var(--purple-light); width: 0%; pointer-events: none; border-radius: 4px; }
.player-time { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }