/* Munafasa landing — maintenance company marketing page */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.munafasa-landing {
    --lp-purple: #441d44;
    --lp-purple-dark: #2c2233;
    --lp-lavender: #a56edb;
    --lp-gold: #c9a227;
    --lp-gold-light: #e4cc70;
    --lp-muted: #626d90;
    --lp-surface: #faf8fc;
    --lp-radius: 20px;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--lp-purple-dark);
    overflow-x: hidden;
}

.munafasa-landing .f-b {
    font-weight: 700;
}

/* Header */
.munafasa-landing .landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.munafasa-landing .landing-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(44, 34, 51, 0.08);
    padding: 10px 0;
}

.munafasa-landing .landing-header .site-brand-name {
    color: var(--lp-purple-dark);
}

.munafasa-landing .landing-header .nav_bar a.active,
.munafasa-landing .landing-header .nav_bar a:hover {
    color: var(--lp-gold);
}

/* Hero */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(165deg, #f3edf8 0%, #fff 45%, #fdf9ef 100%);
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: lp-float 14s ease-in-out infinite;
}

.landing-hero__orb--1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #a56edb 0%, transparent 70%);
    top: -8%;
    right: -5%;
}

.landing-hero__orb--2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #c9a227 0%, transparent 70%);
    bottom: 10%;
    left: -8%;
    animation-delay: -4s;
}

.landing-hero__orb--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #441d44 0%, transparent 70%);
    top: 40%;
    left: 35%;
    opacity: 0.2;
    animation-delay: -7s;
}

@keyframes lp-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -24px) scale(1.05); }
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-purple);
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(165, 110, 219, 0.12);
    border: 1px solid rgba(68, 29, 68, 0.1);
}

.landing-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-gold);
    animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.landing-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--lp-purple-dark);
}

.landing-hero__title {
    background: linear-gradient(120deg, var(--lp-purple-dark) 0%, var(--lp-purple) 40%, var(--lp-gold) 80%, var(--lp-purple-dark) 120%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: lp-title-shine 8s ease-in-out infinite;
}

@keyframes lp-title-shine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.landing-hero__spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-gold);
    opacity: 0.5;
    animation: lp-spark 5s ease-in-out infinite;
}

.landing-hero__spark--1 { top: 22%; left: 12%; animation-delay: 0s; }
.landing-hero__spark--2 { top: 55%; right: 18%; animation-delay: -1.5s; width: 4px; height: 4px; }
.landing-hero__spark--3 { bottom: 28%; left: 42%; animation-delay: -3s; background: var(--lp-lavender); }

@keyframes lp-spark {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
    50% { transform: translateY(-18px) scale(1.4); opacity: 0.9; }
}

.landing-hero-in.is-visible .landing-hero__actions .landing-btn {
    animation: lp-btn-pop 0.6s ease backwards;
}

.landing-hero-in.is-visible .landing-hero__actions .landing-btn:nth-child(2) {
    animation-delay: 0.12s;
}

@keyframes lp-btn-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.landing-hero__badge--float {
    animation: lp-badge-float 4s ease-in-out infinite;
}

@keyframes lp-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.landing-btn--primary {
    position: relative;
    overflow: hidden;
}

.landing-btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: lp-btn-shine 3.5s ease-in-out infinite;
}

@keyframes lp-btn-shine {
    0%, 100% { left: -100%; }
    50% { left: 140%; }
}

.landing-hero__lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lp-muted);
    max-width: 32rem;
}

.landing-hero__lead p {
    margin-bottom: 0.75rem;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.landing-btn--primary {
    background: linear-gradient(135deg, var(--lp-gold-light), var(--lp-gold));
    color: var(--lp-purple-dark) !important;
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35);
}

.landing-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 162, 39, 0.45);
    color: var(--lp-purple-dark) !important;
}

.landing-btn--ghost {
    border: 2px solid rgba(68, 29, 68, 0.2);
    color: var(--lp-purple) !important;
    background: rgba(255, 255, 255, 0.6);
}

.landing-btn--ghost:hover {
    border-color: var(--lp-purple);
    background: #fff;
    transform: translateY(-2px);
}

.landing-hero__visual {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.landing-hero__visual img {
    width: 100%;
    height: clamp(280px, 42vw, 440px);
    object-fit: cover;
    border-radius: var(--lp-radius);
    box-shadow: 0 24px 60px rgba(44, 34, 51, 0.18);
    position: relative;
    z-index: 2;
    animation: lp-hero-img 1s ease-out both;
}

@keyframes lp-hero-img {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.landing-hero__frame {
    position: absolute;
    inset: -12px -12px 12px 12px;
    border: 2px solid rgba(201, 162, 39, 0.45);
    border-radius: calc(var(--lp-radius) + 8px);
    z-index: 1;
    animation: lp-frame 6s ease-in-out infinite;
}

@keyframes lp-frame {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -8px); }
}

.landing-hero__badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    z-index: 3;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(44, 34, 51, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: lp-badge 0.8s ease-out 0.4s both;
}

@keyframes lp-badge {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-hero__badge strong {
    display: block;
    font-size: 1.35rem;
    color: var(--lp-purple);
    line-height: 1.1;
}

.landing-hero__badge span {
    font-size: 0.75rem;
    color: var(--lp-muted);
}

/* Trust strip */
.landing-trust {
    margin-top: -40px;
    position: relative;
    z-index: 5;
    padding-bottom: 2rem;
}

.landing-trust__inner {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: 0 20px 50px rgba(44, 34, 51, 0.1);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    border: 1px solid rgba(68, 29, 68, 0.06);
}

.landing-trust__item {
    text-align: center;
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.landing-stagger > .landing-trust__item.is-visible,
.landing-stagger > .landing-moral.is-visible,
.landing-stagger > .landing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-trust__item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-purple);
    line-height: 1.2;
}

.landing-trust__item span {
    font-size: 0.8125rem;
    color: var(--lp-muted);
    font-weight: 500;
}

/* Section common */
.landing-section {
    padding: 5rem 0;
}

.landing-section--alt {
    background: var(--lp-surface);
}

.landing-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.landing-section__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-gold);
    margin-bottom: 0.75rem;
}

.landing-section__title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--lp-purple-dark);
}

.landing-section__desc {
    color: var(--lp-muted);
    line-height: 1.7;
}

/* About */
.landing-about__content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--lp-muted);
    text-align: center;
}

.landing-scroll-hint {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.landing-scroll-hint .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(68, 29, 68, 0.25);
    border-radius: 20px;
    position: relative;
}

.landing-scroll-hint .mouse::before {
    content: "";
    width: 4px;
    height: 8px;
    background: var(--lp-gold);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: lp-scroll 1.8s ease-in-out infinite;
}

@keyframes lp-scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Vision / Mission */
.landing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.landing-card {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 2rem;
    border: 1px solid rgba(68, 29, 68, 0.08);
    box-shadow: 0 12px 40px rgba(44, 34, 51, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.landing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(165, 110, 219, 0.15);
}

.landing-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(165, 110, 219, 0.2), rgba(201, 162, 39, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--lp-purple);
}

.landing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.landing-card p {
    color: var(--lp-muted);
    line-height: 1.7;
    margin: 0;
}

/* Morals / values */
.landing-morals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.landing-moral {
    text-align: center;
    padding: 2rem 1.5rem 1.75rem;
    background: #fff;
    border-radius: var(--lp-radius);
    border: 1px solid rgba(68, 29, 68, 0.08);
    box-shadow: 0 10px 32px rgba(44, 34, 51, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.landing-moral::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-purple), var(--lp-lavender), var(--lp-gold));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.landing-moral:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(165, 110, 219, 0.18);
    border-color: rgba(165, 110, 219, 0.25);
}

.landing-moral:hover::before {
    opacity: 1;
}

.landing-moral__icon-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-moral__icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(165, 110, 219, 0.35);
    animation: lp-value-ring 12s linear infinite;
}

.landing-moral:hover .landing-moral__icon-ring {
    border-color: rgba(201, 162, 39, 0.5);
    animation-duration: 8s;
}

@keyframes lp-value-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.landing-moral__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(165, 110, 219, 0.18) 0%, rgba(201, 162, 39, 0.22) 100%);
    color: var(--lp-purple);
    font-size: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 20px rgba(68, 29, 68, 0.12);
    transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease;
}

.landing-moral:hover .landing-moral__icon {
    transform: scale(1.08);
    background: linear-gradient(145deg, var(--lp-purple) 0%, #5a2d5a 100%);
    color: #fff;
}

.landing-moral h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--lp-purple-dark);
}

.landing-moral p {
    font-size: 0.875rem;
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .landing-moral__icon-ring {
        animation: none;
    }
}

/* Services */
.landing-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.landing-service:last-child {
    margin-bottom: 0;
}

.landing-service--reverse .landing-service__media {
    order: 2;
}

.landing-service--reverse .landing-service__body {
    order: 1;
}

.landing-service__media {
    position: relative;
}

.landing-service__media img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: var(--lp-radius);
    box-shadow: 0 16px 48px rgba(44, 34, 51, 0.12);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.landing-service.is-visible:hover .landing-service__media img {
    transform: scale(1.03);
    box-shadow: 0 22px 56px rgba(165, 110, 219, 0.22);
}

.landing-service__index {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 48px;
    height: 48px;
    background: var(--lp-purple);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.landing-service.is-visible:hover .landing-service__index {
    transform: rotate(-8deg) scale(1.08);
    background: var(--lp-gold);
    color: var(--lp-purple-dark);
}

.landing-service__body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--lp-purple-dark);
}

.landing-service__body p {
    color: var(--lp-muted);
    line-height: 1.75;
}

/* Contact CTA */
.landing-cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--lp-purple-dark) 0%, var(--lp-purple) 50%, #5a2d5a 100%);
    overflow: hidden;
}

.landing-cta--animated {
    background-size: 200% 200%;
    animation: lp-cta-gradient 12s ease infinite;
}

@keyframes lp-cta-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.landing-cta__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    background-size: 32px 32px;
    animation: lp-pattern-drift 40s linear infinite;
}

@keyframes lp-pattern-drift {
    from { background-position: 0 0; }
    to { background-position: 64px 64px; }
}

.landing-cta .form-content.form-call {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.landing-cta .form-content.form-call:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.landing-cta .btn-main {
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--lp-gold-light), var(--lp-gold));
    color: var(--lp-purple-dark) !important;
    font-weight: 700;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-cta .btn-main:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.45);
}

.landing-cta__intro {
    color: #fff;
    padding-right: 2rem;
}

.landing-cta__intro h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.landing-cta__intro p {
    opacity: 0.88;
    font-size: 1.1rem;
    line-height: 1.6;
}

.landing-cta .form-call h5 {
    font-weight: 700;
    color: var(--lp-purple-dark);
}

/* Footer */
.munafasa-landing .landing-footer {
    background: var(--lp-purple-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0;
}

.munafasa-landing .landing-footer .site-brand-name {
    color: var(--lp-gold-light);
}

.munafasa-landing .landing-footer .site-brand-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.munafasa-landing .landing-footer .gray-color,
.munafasa-landing .landing-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.munafasa-landing .landing-footer a:hover {
    color: var(--lp-gold-light) !important;
}

.munafasa-landing .landing-footer .infoFooter {
    flex-wrap: wrap;
    gap: 1rem;
}

/* Reveal on scroll */
.landing-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.landing-reveal--left {
    transform: translateX(-36px);
}

.landing-reveal--right {
    transform: translateX(36px);
}

.landing-reveal.is-visible,
.landing-reveal--left.is-visible,
.landing-reveal--right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.landing-reveal--delay {
    transition-delay: 0.15s;
}

.landing-section__head--line .landing-section__title {
    position: relative;
    display: inline-block;
}

.landing-section__head--line.is-visible .landing-section__title::after {
    animation: lp-line-grow 0.8s ease forwards;
}

.landing-section__head--line .landing-section__title::after {
    content: "";
    display: block;
    width: 0;
    height: 4px;
    margin: 0.65rem auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--lp-purple), var(--lp-gold));
}

@keyframes lp-line-grow {
    to { width: 72px; }
}

.landing-stagger > .landing-moral,
.landing-stagger > .landing-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.landing-stagger > .landing-moral.is-visible,
.landing-stagger > .landing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .landing-hero {
        padding-top: 100px;
        text-align: center;
    }

    .landing-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero__actions {
        justify-content: center;
    }

    .landing-hero__visual {
        margin: 3rem auto 0;
    }

    .landing-service,
    .landing-service--reverse {
        grid-template-columns: 1fr;
    }

    .landing-service--reverse .landing-service__media,
    .landing-service--reverse .landing-service__body {
        order: unset;
    }

    .landing-cta__intro {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero__orb,
    .landing-hero__frame,
    .landing-eyebrow::before,
    .landing-scroll-hint .mouse::before,
    .landing-hero__title,
    .landing-hero__spark,
    .landing-hero__badge--float,
    .landing-btn--primary::after,
    .landing-cta--animated,
    .landing-cta__pattern,
    .landing-moral__icon-ring {
        animation: none;
    }

    .landing-reveal,
    .landing-reveal--left,
    .landing-reveal--right,
    .landing-stagger > * {
        opacity: 1;
        transform: none;
    }
}
