/* ==========================================================================
   Design tokens — the only place colors are defined.
   Values are RGB channels so Tailwind opacity modifiers (bg-primary/90) work.
   ========================================================================== */
:root {
    /* Hessaty Child palette */
    --color-primary: 30 58 138;                  /* #1E3A8A */
    --color-on-primary: 255 255 255;             /* #FFFFFF */
    --color-primary-container: 229 241 255;      /* #E5F1FF */
    --color-on-primary-container: 23 37 84;      /* #172554 */
    --color-secondary: 217 119 6;                /* #D97706 */
    --color-on-secondary: 255 255 255;           /* #FFFFFF */
    --color-secondary-container: 255 242 228;    /* #FFF2E4 */
    --color-on-secondary-container: 124 45 18;   /* #7C2D12 */
    --color-tertiary: 14 165 233;                /* #0EA5E9 */
    --color-on-tertiary: 255 255 255;            /* #FFFFFF */
    --color-tertiary-container: 224 242 254;     /* #E0F2FE */
    --color-on-tertiary-container: 7 89 133;     /* #075985 */
    --color-background: 249 250 251;             /* #F9FAFB */
    --color-on-background: 15 23 42;             /* #0F172A */
    --color-surface: 255 255 255;                /* #FFFFFF */
    --color-on-surface: 15 23 42;                /* #0F172A */
    --color-surface-variant: 241 245 249;        /* #F1F5F9 */
    --color-on-surface-variant: 51 65 85;        /* #334155 */
    --color-outline: 229 231 235;                /* #E5E7EB */
    --color-error: 185 28 28;                    /* #B91C1C */
    --color-on-error: 255 255 255;               /* #FFFFFF */
    --color-error-container: 254 226 226;        /* #FEE2E2 */
    --color-on-error-container: 127 29 29;       /* #7F1D1D */
    --color-warning: 217 119 6;                  /* #D97706 */
    --color-on-warning: 255 255 255;             /* #FFFFFF */
    --color-warning-container: 255 239 208;      /* #FFEFD0 */
    --color-on-warning-container: 120 53 15;     /* #78350F */
    --color-success: 21 128 61;                  /* #15803D */
    --color-on-success: 255 255 255;             /* #FFFFFF */
    --color-success-container: 222 243 229;      /* #DEF3E5 */
    --color-on-success-container: 20 83 45;      /* #14532D */
    --color-neutral-100: 249 250 251;            /* #F9FAFB */
    --color-neutral-200: 241 245 249;            /* #F1F5F9 */
    --color-neutral-300: 229 231 235;            /* #E5E7EB */
    --color-neutral-400: 203 213 225;            /* #CBD5E1 */
    --color-neutral-500: 148 163 184;            /* #94A3B8 */
    --color-neutral-600: 100 116 139;            /* #64748B */
    --color-neutral-700: 71 85 105;              /* #475569 */
    --color-neutral-800: 31 41 55;               /* #1F2937 */
    --color-neutral-900: 15 23 42;               /* #0F172A */

    /* Dark mode backgrounds (not in the palette; only used by dark: classes) */
    --color-background-dark: 34 21 16;           /* #221510 */
    --color-background-darker: 26 17 14;         /* #1a110e */
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: rgb(var(--color-background));
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Filled icons variant (pricing page) */
.icons-filled .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* Font's own defaults, optical size follows font-size (how-it-works, download) */
.icons-auto .material-symbols-outlined {
    font-variation-settings: normal;
}

/* ==========================================================================
   Effects & animations
   ========================================================================== */
.hero-orange-gradient {
    background: radial-gradient(circle at 70% 30%, rgb(var(--color-primary) / 0.08) 0%, transparent 70%),
        linear-gradient(180deg, rgb(var(--color-primary) / 0.04) 0%, transparent 100%);
}

.lift-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.lift-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-lg {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.mockup-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-soft-shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Home — screenshots swiper
   ========================================================================== */
#screen-swiper {
    padding-bottom: 80px !important;
}

#screen-swiper .swiper-wrapper {
    padding-bottom: 0 !important;
}

#screen-swiper .swiper-pagination {
    bottom: 20px !important;
}

#screen-swiper .swiper-pagination-bullet {
    background: rgb(var(--color-primary));
    width: 12px;
    height: 12px;
}

#screen-swiper .swiper-pagination-bullet-active {
    background: rgb(var(--color-primary));
}

#screen-swiper .swiper-button-prev,
#screen-swiper .swiper-button-next {
    color: rgb(var(--color-primary));
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#screen-swiper .swiper-button-prev:after,
#screen-swiper .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

#screen-swiper .swiper-button-prev:hover,
#screen-swiper .swiper-button-next:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

#screen-swiper .swiper-button-prev {
    left: 20px;
}

#screen-swiper .swiper-button-next {
    left: 20px;
}

.screenshot-container {
    width: 280px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.step-card {
    background-color: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

/* ==========================================================================
   Download
   ========================================================================== */
.page-download-bg {
    background: linear-gradient(135deg, #fffcf5 0%, #f0f9ff 100%);
}

.journey-gradient {
    background: linear-gradient(135deg, #FFAD60 0%, #96E6A1 0%, #67d1fb 100%);
    opacity: 0.15;
}

.orbiting-icon {
    position: absolute;
    animation: float-lg 6s ease-in-out infinite;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.whatsapp-glow:hover {
    box-shadow: 0 0 20px rgb(var(--color-primary) / 0.2);
}

/* ==========================================================================
   FAQs accordion
   ========================================================================== */
.page-faqs details summary::-webkit-details-marker {
    display: none;
}

.page-faqs details[open] summary {
    color: rgb(var(--color-secondary));
}

.page-faqs details[open] .chevron {
    color: rgb(var(--color-primary));
    transform: rotate(180deg);
}