/* ==========================================================================
   ARABE CORANIQUE - V3 MASTER DESIGN SYSTEM (Strict Match)
   ========================================================================== */

/* --- 1. FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@300;400;500;600;700;800;900&family=Scheherazade+New:wght@400;700&display=swap');

:root {
    --font-primary: 'Montserrat', sans-serif;
    /* Classic Arabic Font Stack: Amiri (Naskh) -> Scheherazade (Traditional) -> System */
    --font-arabic: 'Amiri', 'Scheherazade New', 'Traditional Arabic', serif;

    /* V3 BRAND COLORS (Verified) */
    --color-brand-green: #8DC63F;
    --color-brand-blue: #00AEEF;
    --color-brand-pink: #C20095;
    --color-black: #000000;
    --color-white: #ffffff;
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
}

.font-arabic {
    font-family: var(--font-arabic);
    line-height: 1.6;
    /* Classic fonts need more breathing room */
}

/* --- 2. COLOR UTILITIES --- */
.text-brandGreen {
    color: var(--color-brand-green);
}

.text-brandBlue {
    color: var(--color-brand-blue);
}

.text-brandPink {
    color: var(--color-brand-pink);
}

.text-black {
    color: var(--color-black);
}

.text-white {
    color: var(--color-white);
}

.bg-brandGreen {
    background-color: var(--color-brand-green);
}

.bg-brandBlue {
    background-color: var(--color-brand-blue);
}

.bg-brandPink {
    background-color: var(--color-brand-pink);
}

.bg-black {
    background-color: var(--color-black);
}

.bg-white {
    background-color: var(--color-white);
}

.border-brandGreen {
    border-color: var(--color-brand-green);
}

.border-brandBlue {
    border-color: var(--color-brand-blue);
}

.border-brandPink {
    border-color: var(--color-brand-pink);
}

.border-black {
    border-color: var(--color-black);
}

/* --- 3. SACRED BORDER (Unique V3 Feature) --- */
.sacred-border {
    border: 4px solid var(--color-brand-green);
    position: relative;
}

.sacred-border::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid var(--color-brand-blue);
    pointer-events: none;
}

/* --- 4. HARD SHADOWS (Neo Brutalism) --- */
.shadow-hard-green {
    box-shadow: 6px 6px 0px var(--color-brand-green);
}

.shadow-hard-blue {
    box-shadow: 6px 6px 0px var(--color-brand-blue);
}

.shadow-hard-pink {
    box-shadow: 6px 6px 0px var(--color-brand-pink);
}

.shadow-hard-black {
    box-shadow: 6px 6px 0px var(--color-black);
}

/* --- 5. ANIMATIONS (Snappy & Fluid) --- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

/* Stagger Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.15s;
}

.delay-300 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.25s;
}

.delay-500 {
    animation-delay: 0.3s;
}

.delay-600 {
    animation-delay: 0.35s;
}

.delay-700 {
    animation-delay: 0.4s;
}

/* Initial Hidden State */
.reveal-hidden {
    opacity: 0;
}

/* --- 6. COMPONENTS --- */

/* CTA Arabe Coranique Style (User Request: "cta-arcor") */
.cta-arcor {
    background-color: #0F172A;
    /* bg-slate-900 */
    color: #ffffff;
    padding: 1.5rem;
    /* p-6 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* shadow-xl */
    transform: translateZ(0);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #1E293B;
    /* border-slate-800 */
}

.cta-arcor:hover {
    transform: translateY(-0.25rem);
    /* hover:-translate-y-1 */
}

.cta-arcor h3 {
    font-weight: 900;
    /* font-black */
    text-transform: uppercase;
    font-size: 1.125rem;
    /* text-lg */
    margin-bottom: 0.5rem;
    /* mb-2 */
    line-height: 1;
}

.cta-arcor .highlight {
    color: var(--color-brand-pink);
    opacity: 0.9;
    font-size: 0.875rem;
    /* text-sm */
    display: block;
    /* Force new line logic but keep inline semantics if needed */
}

.cta-arcor p {
    font-size: 0.625rem;
    /* text-[10px] */
    font-weight: 500;
    margin-bottom: 1rem;
    /* mb-4 */
    color: #94A3B8;
    /* text-slate-400 */
    line-height: 1.625;
}

.cta-arcor form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* space-y-2 */
}

.cta-arcor input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 0.75rem;
    /* text-xs */
    color: white;
    outline: none;
}

.cta-arcor input:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

.cta-arcor input::placeholder {
    color: #64748B;
    /* text-slate-500 */
}

.cta-arcor button {
    width: 100%;
    background-color: var(--color-brand-pink);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.625rem;
    /* text-[10px] */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-arcor button:hover {
    background-color: white;
    color: var(--color-brand-pink);
}

/* --- 7. QURANIC CITATION V3 (Standardized) --- */
.quran-citation-v3 {
    background-color: #000000;
    color: #ffffff;
    padding-top: 3rem;
    /* pt-12 */
    padding-bottom: 2rem;
    /* pb-8 */
    padding-left: 2rem;
    /* px-8 */
    padding-right: 2rem;
    /* px-8 */
    border-left: 8px solid var(--color-brand-pink);
    box-shadow: 8px 8px 0px var(--color-brand-pink);
    margin-top: 4rem;
    /* my-16 */
    margin-bottom: 4rem;
    /* my-16 */
    position: relative;
    /* Context for absolute elements if needed */
}

/* Arabic Text: Right Aligned, Large */
.quran-citation-v3 .arabic-text {
    font-family: var(--font-arabic);
    font-size: 2.25rem;
    /* text-4xl */
    line-height: 1.625;
    text-align: right;
    margin-bottom: 2rem;
    /* mb-8 */
    color: #ffffff;
    direction: rtl;
}

@media (min-width: 768px) {
    .quran-citation-v3 .arabic-text {
        font-size: 3rem;
        /* md:text-5xl */
    }
}

/* French Text: Left Aligned, Italic */
.quran-citation-v3 .french-text {
    font-size: 1.25rem;
    /* text-xl */
    font-style: italic;
    font-family: serif;
    /* font-serif */
    color: #CBD5E1;
    /* text-slate-300 */
    text-align: left;
    margin-bottom: 1.5rem;
    /* mb-6 */
}

/* Footer Reference: Left Aligned, Pink */
.quran-citation-v3 footer {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 900;
    /* font-black */
    color: var(--color-brand-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    text-align: left;
    margin-top: 1rem;
    /* mt-4 */
}

/* Highlighted letter inside Quranic citation (for Tajwid/Alphabet) */
.quran-citation-v3 .arabic-text .text-brandBlue {
    color: var(--color-brand-blue) !important;
}