/* alsariie landing — subtle 2026 refresh */

:root {
    --brand-primary: #ee6718;
    --brand-gradient: linear-gradient(135deg, #ee1823 0%, #efc10b 100%);
    --surface-glass: rgba(10, 10, 15, 0.72);
    --surface-card: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-muted: rgba(255, 255, 255, 0.72);
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.24);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.32);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.landing-page {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* hide debug particle counter — handled in fire-particles.css */

/* glass navbar on scroll */
.navbar-main {
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar-main.navbar-scrolled {
    background: var(--surface-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar-main .nav-link {
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color var(--transition), opacity var(--transition);
}

.navbar-main .btn-neutral {
    border-radius: 999px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.navbar-main .btn-neutral:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(238, 103, 24, 0.25);
}

/* hero — full redesign */
.section-hero-shape,
.hero-section,
body.landing-page.dark-mode .section-hero-shape,
body.landing-page.dark-mode .hero-section {
    padding-top: 6.5rem !important;
    padding-bottom: 3rem !important;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent !important;
    background-color: transparent !important;
    min-height: auto;
}

body.landing-page .wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

.section-hero-shape .section-inside,
.section-hero-shape .herobgs {
    display: none !important;
}

.hero-section {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 8.5rem !important;
        padding-bottom: 6rem !important;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }

    .hero-section .hero-container {
        width: 100%;
    }
}

/* ambient glow — subtle, lets fire particles show through */
.hero-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.hero-glow--primary {
    width: 320px;
    height: 320px;
    top: -40px;
    left: -80px;
    background: radial-gradient(circle, rgba(238, 103, 24, 0.4) 0%, transparent 70%);
}

.hero-glow--accent {
    width: 280px;
    height: 280px;
    top: 20%;
    right: -40px;
    background: radial-gradient(circle, rgba(239, 193, 11, 0.25) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-row {
    gap: 2rem 0;
}

/* badge */
.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem 0.4rem 0.4rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--brand-gradient);
    line-height: 1.4;
}

.hero-badge:empty {
    display: none;
}

.hero-badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding-right: 0.5rem;
}

/* typography hierarchy */
.hero-eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary) !important;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700 !important;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f5 45%, rgba(255, 200, 150, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted) !important;
    max-width: 32rem;
    margin-bottom: 0;
}

.hero-content.text-center .hero-description {
    margin-left: auto;
    margin-right: auto;
}

/* CTAs */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0a0f !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.28);
    color: #0a0a0f !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

/* trust highlights */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-highlights {
        justify-content: flex-start;
    }
}

.hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.hero-highlights li i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-primary);
}

.hero-highlights li i.fa-whatsapp {
    color: #25D366;
}

/* hero visual / phone */
.hero-visual-col {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (min-width: 992px) {
    .hero-visual-col {
        margin-top: 0;
        justify-content: flex-end;
    }
}

.hero-visual {
    position: relative;
    width: min(100%, 340px);
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-visual {
        width: min(100%, 380px);
        margin-right: 0;
        margin-left: auto;
    }
}

.hero-visual-ring {
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    border: 1px solid rgba(238, 103, 24, 0.2);
    animation: heroRingPulse 4s ease-in-out infinite;
}

.hero-phone-glow {
    position: absolute;
    inset: 5% 0;
    background: radial-gradient(ellipse at center, rgba(238, 103, 24, 0.35) 0%, transparent 65%);
    filter: blur(24px);
    z-index: 0;
}

.hero-phone-img,
#hero-image {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.45));
    animation: heroFloat 5s ease-in-out infinite;
}

/* floating chips on phone */
.hero-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-float i {
    font-size: 0.9rem;
}

.hero-float--qr {
    top: 18%;
    left: -8%;
    animation: heroFloatChip 4s ease-in-out infinite;
}

.hero-float--qr i {
    color: var(--brand-primary);
}

.hero-float--wa {
    bottom: 22%;
    right: -10%;
    animation: heroFloatChip 4s ease-in-out 1s infinite;
}

.hero-float--wa i {
    color: #25D366;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes heroFloatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes heroRingPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.03); }
}

/* hero entrance animation */
@media (prefers-reduced-motion: no-preference) {
    .hero-content > * {
        animation: heroFadeUp 0.7s ease both;
    }

    .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
    .hero-content > *:nth-child(2) { animation-delay: 0.12s; }
    .hero-content > *:nth-child(3) { animation-delay: 0.2s; }
    .hero-content > *:nth-child(4) { animation-delay: 0.28s; }
    .hero-content > *:nth-child(5) { animation-delay: 0.36s; }
    .hero-content > *:nth-child(6) { animation-delay: 0.44s; }

    .hero-visual {
        animation: heroFadeUp 0.8s ease 0.2s both;
    }

    @keyframes heroFadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* mobile adjustments */
@media (max-width: 991.98px) {
    .hero-float--qr {
        left: 0;
    }

    .hero-float--wa {
        right: 0;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

/* RTL */
html[dir="rtl"] .hero-actions,
html:lang(ar) .hero-actions {
    justify-content: center;
}

@media (min-width: 992px) {
    html[dir="rtl"] .hero-actions,
    html:lang(ar) .hero-actions {
        justify-content: flex-end;
    }

    html[dir="rtl"] .hero-visual,
    html:lang(ar) .hero-visual {
        margin-left: 0;
        margin-right: auto;
    }

    html[dir="rtl"] .hero-float--qr,
    html:lang(ar) .hero-float--qr {
        left: auto;
        right: -8%;
    }

    html[dir="rtl"] .hero-float--wa,
    html:lang(ar) .hero-float--wa {
        right: auto;
        left: -10%;
    }
}

/* legacy overrides — old hero styles */
.section-hero-shape .alert-hero {
    display: none;
}

.section-hero-shape h1.display-4,
.section-hero-shape .btn-white,
.section-hero-shape .btn-outline-white {
    /* superseded by new hero classes */
}


/* sections — semi-transparent so fire particles bleed through */
.landing-page .section {
    position: relative;
    background: transparent;
}

.landing-page .features-6,
.landing-page .features-1,
.landing-page .pricing_section {
    background: transparent !important;
}

.landing-page .display-3 {
    letter-spacing: -0.025em;
    font-weight: 600 !important;
}

.landing-page .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* feature cards */
.features-6 .cardWithShadow {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.features-6 .cardWithShadow:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(238, 103, 24, 0.25);
}

.features-6 .card-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.features-6 .image-in-card {
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
}

/* pricing */
.pricing_section {
    background: transparent !important;
}

.pricing_section .display-3 {
    color: #fff !important;
}

.pricingCard {
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

.pricingCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(238, 103, 24, 0.3);
}

.pricingCard .btn-outline-success {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricingCard .btn-outline-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(238, 103, 24, 0.3);
}

/* demo */
#demo .badge-success {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#demo .demo-qr-frame {
    display: inline-block;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

#demo .demo-qr-frame img {
    border: none !important;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

#demo .btn-outline-success {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
}

/* restaurant cards — subtle hover only */
#restorants .restaurant-card {
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#restorants a:hover .restaurant-card {
    transform: none;
    box-shadow: var(--shadow-soft);
    border-color: rgba(238, 103, 24, 0.2);
    text-decoration: none;
}

#restorants .restaurant-card figure img {
    border-radius: calc(var(--radius-xl) - 4px);
    transition: opacity 0.2s ease;
}

#restorants a:hover .restaurant-card figure img {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 0.92;
}

#restorants .res_title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

#restorants .btn-outline-success {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.65rem 2rem;
}

/* footer */
.landing-page .footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2.5rem;
}

.landing-page .footer .copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.landing-page .footer .nav-footer .nav-link {
    color: var(--text-muted);
    transition: color var(--transition);
}

.landing-page .footer .nav-footer .nav-link:hover {
    color: var(--brand-primary);
}

/* whatsapp float */
.whatsapp-float-btn {
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

/* product / explain section */
#product .display-3 {
    margin-bottom: 0.75rem;
}

/* subtle section reveal — skip customers section */
@media (prefers-reduced-motion: no-preference) {
    .landing-page .section > .container {
        animation: fadeUp 0.6s ease both;
    }

    #restorants > .container {
        animation: none;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
