/* ===================================================
   Love & Marriage Harmony - Visual System Styles
   Youthful, Romantic, Modern & Emotionally Engaging
   =================================================== */

/* Custom Keyframe Animations */
@keyframes heart-pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(255, 94, 126, 0.4));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 24px rgba(255, 94, 126, 0.8));
    }
}

@keyframes ring-shimmer {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes aura-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes soft-glow-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animation utility classes */
.animate-heart-pulse {
    animation: heart-pulse-glow 2.4s ease-in-out infinite;
}

.animate-ring-shimmer {
    animation: ring-shimmer 6s ease-in-out infinite;
}

.animate-aura-float {
    animation: aura-float 5s ease-in-out infinite;
}

.animate-gradient-slow {
    background-size: 200% 200%;
    animation: soft-glow-shift 8s ease infinite;
}

/* Glassmorphism & Soft Luxury Cards */
.glass-love {
    background: rgba(26, 18, 46, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 138, 113, 0.15);
    box-shadow: 0 20px 50px rgba(15, 12, 32, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-love-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-love-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 94, 126, 0.4);
    box-shadow: 0 25px 60px rgba(255, 94, 126, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-glow-rose {
    background: radial-gradient(circle at top right, rgba(255, 94, 126, 0.15), transparent 70%),
                rgba(26, 18, 46, 0.7);
    border: 1px solid rgba(255, 94, 126, 0.25);
}

.glass-glow-gold {
    background: radial-gradient(circle at top left, rgba(246, 211, 101, 0.15), transparent 70%),
                rgba(26, 18, 46, 0.7);
    border: 1px solid rgba(246, 211, 101, 0.25);
}

/* Gradients for text & borders */
.text-gradient-love {
    background: linear-gradient(135deg, #FF6B8B 0%, #FFA07A 50%, #F6D365 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFEAA7 0%, #F6D365 50%, #FDA085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-harmony {
    background: linear-gradient(135deg, #A8E6CF 0%, #4ECCA3 50%, #38EF7D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient Buttons */
.btn-love-primary {
    background: linear-gradient(135deg, #FF5E7E 0%, #FF8A71 100%);
    box-shadow: 0 10px 30px rgba(255, 94, 126, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-love-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 94, 126, 0.5);
}

.btn-gold-primary {
    background: linear-gradient(135deg, #F6D365 0%, #FDA085 100%);
    box-shadow: 0 10px 30px rgba(246, 211, 101, 0.3);
    color: #1a122e;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(246, 211, 101, 0.45);
}

/* Background Ambient Orbs */
.love-ambient-orb-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 94, 126, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.love-ambient-orb-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(246, 211, 101, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Interactive Slider & Progress styles */
.harmony-progress-bar {
    background: linear-gradient(90deg, #FF5E7E, #FDA085, #F6D365);
    border-radius: 9999px;
    box-shadow: 0 0 12px rgba(255, 94, 126, 0.5);
}

/* ===================================================
   Harmonious Typographic Scale (Professional Hierarchy)
   Balancing Large Display vs Small Body & Badges
   =================================================== */

/* Minimum legible font size safety for Arabic typography */
[class*="text-[8px]"],
[class*="text-[9px]"],
[class*="text-[10px]"] {
    font-size: 0.75rem !important; /* 12px minimum for clear Arabic diacritics */
    line-height: 1.4 !important;
}

[class*="text-[11px]"] {
    font-size: 0.8125rem !important; /* 13px */
    line-height: 1.45 !important;
}

/* Prevent letter-spacing from breaking Arabic script ligatures in RTL */
[dir="rtl"] [class*="tracking-"],
html[dir="rtl"] [class*="tracking-"] {
    letter-spacing: 0 !important;
}

/* English numerals / tags with font-inter preserve spacing */
.font-inter[class*="tracking-"],
[dir="ltr"] [class*="tracking-"] {
    letter-spacing: inherit !important;
}

/* Display & Hero Headline */
.display-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.25;
    font-weight: 900;
}

/* Balanced Section Headlines */
.section-headline {
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.3;
    font-weight: 800;
}

/* Card Headlines */
.card-headline {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.4;
    font-weight: 700;
}

/* Lead & Body Paragraphs */
.lead-description {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    line-height: 1.75;
}

.body-text-balanced {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.caption-balanced {
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 600;
}

/* ===================================================
   Timeline Roadmap Styles (5 Steps to Harmony)
   =================================================== */

.timeline-glow-track {
    background: linear-gradient(90deg, #FF5E7E 0%, #FFA07A 25%, #F6D365 50%, #4ECCA3 75%, #38EF7D 100%);
    box-shadow: 0 0 16px rgba(255, 94, 126, 0.4);
}

.timeline-v-track {
    background: linear-gradient(180deg, #FF5E7E 0%, #FFA07A 25%, #F6D365 50%, #4ECCA3 75%, #38EF7D 100%);
    box-shadow: 0 0 16px rgba(255, 94, 126, 0.4);
}

.timeline-step-badge {
    box-shadow: 0 0 20px rgba(255, 94, 126, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card-hover {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 138, 113, 0.45);
    box-shadow: 0 20px 40px rgba(15, 8, 29, 0.7), 0 0 25px rgba(255, 94, 126, 0.2);
}

.timeline-pulse-node {
    animation: timeline-node-glow 3s infinite ease-in-out;
}

@keyframes timeline-node-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 126, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 94, 126, 0);
    }
}

/* ===================================================
   Illuminated Journey Stepper (مراحل الرحلة المضاءة)
   =================================================== */

.step-card-illuminated {
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.14) 0%, rgba(26, 18, 46, 0.9) 60%, rgba(255, 94, 126, 0.1) 100%);
    border: 2px solid rgba(52, 211, 153, 0.65) !important;
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.25), 0 10px 30px rgba(15, 12, 32, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-illuminated:hover {
    box-shadow: 0 0 35px rgba(52, 211, 153, 0.4), 0 15px 40px rgba(15, 12, 32, 0.8) !important;
}

.step-card-active {
    background: linear-gradient(165deg, rgba(245, 158, 11, 0.18) 0%, rgba(26, 18, 46, 0.95) 60%, rgba(255, 94, 126, 0.18) 100%);
    border: 2px solid rgba(251, 191, 36, 0.95) !important;
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.4), 0 0 15px rgba(255, 94, 126, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-locked {
    background: rgba(18, 14, 38, 0.45);
    border: 1px dashed rgba(255, 255, 255, 0.12) !important;
    opacity: 0.72;
    transition: all 0.3s ease;
}

.step-card-locked:hover {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.badge-illuminated-done {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.5);
    color: #6ee7b7;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.badge-illuminated-active {
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.7);
    color: #fde68a;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    animation: active-glow-pulse 2s infinite ease-in-out;
}

@keyframes active-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.7);
    }
}

/* ===================================================
   NUVYN EXECUTIVE COMPATIBILITY DOSSIER (COMMERCIAL PRODUCT)
   =================================================== */

.dossier-paper {
    background: #ffffff;
    box-shadow: 0 25px 70px -15px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
    position: relative;
    border-radius: 1.5rem;
}

.dossier-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.025);
    letter-spacing: 0.2em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.executive-seal {
    background: radial-gradient(circle at 30% 30%, #fffbeb 0%, #fef3c7 40%, #fde68a 70%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(245, 158, 11, 0.8);
}

.radar-chart-polygon {
    fill: rgba(212, 175, 55, 0.2);
    stroke: #d4af37;
    stroke-width: 2.5;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
    transition: all 0.6s ease;
}

.radar-chart-point {
    fill: #ffffff;
    stroke: #b45309;
    stroke-width: 2.5;
    r: 4.5;
    transition: all 0.3s ease;
}

.radar-chart-point:hover {
    r: 7;
    stroke: #d4af37;
    fill: #f59e0b;
}

.pillar-metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-metric-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.anchor-gold-card {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.8) 0%, rgba(254, 243, 199, 0.5) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.friction-zone-card {
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.8) 0%, rgba(255, 228, 230, 0.5) 100%);
    border: 1px solid rgba(244, 63, 94, 0.25);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.06);
}

.dialogue-prompt-card {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(224, 242, 254, 0.5) 100%);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

/* Luxury Multi-page Print Directives (3-Page Strict Executive Architecture) */
.dossier-page {
    position: relative;
    background: #ffffff;
    box-sizing: border-box;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 22mm 14mm 12mm 14mm;
    }
    
    body {
        background: #ffffff !important;
        color: #0f172a !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .no-print {
        display: none !important;
    }

    .dossier-paper {
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .dossier-page {
        page-break-after: always !important;
        break-after: page !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        min-height: 250mm;
        height: auto;
        padding: 6mm 0 4mm 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        box-sizing: border-box;
    }

    .dossier-page.page-3,
    .dossier-page:last-of-type {
        page-break-after: auto !important;
        break-after: auto !important;
    }

    .page-break-before {
        page-break-before: always !important;
        break-before: page !important;
    }

    .page-break-inside-avoid,
    .keep-together,
    .pillar-metric-card,
    .anchor-gold-card,
    .friction-zone-card,
    .dialogue-prompt-card {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-header {
        display: flex !important;
    }

    .print-footer {
        display: flex !important;
    }
}

/* ===================================================
   Global Luxury Motion & Animated Glows (الحركات الفاخرة)
   =================================================== */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.1); opacity: 0.65; }
}

@keyframes draw-progress {
    from { stroke-dashoffset: 427.26; }
}

@keyframes draw-gauge {
    from { stroke-dashoffset: 251.33; }
}

.animate-spin-slow {
    animation: spin-slow 28s linear infinite;
}

.animate-pulse-subtle {
    animation: pulse-subtle 4s ease-in-out infinite;
}

.animate-draw-top {
    animation: draw-progress 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-draw {
    animation: draw-gauge 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.luxury-card-glow {
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(244, 63, 94, 0.25), 0 0 25px rgba(251, 191, 36, 0.15) !important;
}


