.luxury-hero {
    --luxury-green: #54b789;
    --luxury-green-dark: #1f7454;
    --luxury-gold: #dcc27f;
    --luxury-dark: #061813;

    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 100svh;
    align-items: center;
    overflow: hidden;
    padding: 155px 28px 100px;
    direction: rtl;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(67, 164, 120, 0.2), transparent 30%),
        linear-gradient(135deg, #061813 0%, #0b2720 48%, #123d30 100%);
}

.luxury-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.luxury-hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(3, 18, 14, 0.62));
    pointer-events: none;
}

.luxury-hero__scene {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.luxury-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    will-change: transform;
}

.luxury-glow--green {
    top: 6%;
    right: 48%;
    width: 520px;
    height: 520px;
    opacity: 0.25;
    background: radial-gradient(
        circle,
        rgba(69, 190, 137, 0.7),
        transparent 68%
    );
}

.luxury-glow--gold {
    bottom: -150px;
    left: -80px;
    width: 500px;
    height: 500px;
    opacity: 0.2;
    background: radial-gradient(
        circle,
        rgba(220, 194, 127, 0.8),
        transparent 67%
    );
}

.luxury-grid {
    position: absolute;
    right: -15%;
    bottom: -48%;
    width: 130%;
    height: 80%;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(220, 194, 127, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 194, 127, 0.45) 1px, transparent 1px);
    background-size: 65px 65px;
    transform: perspective(650px) rotateX(68deg);
    transform-origin: center top;
}

.luxury-orbit {
    position: absolute;
    border: 1px solid rgba(220, 194, 127, 0.14);
    border-radius: 50%;
}

.luxury-orbit::before {
    position: absolute;
    width: 9px;
    height: 9px;
    content: "";
    border-radius: 50%;
    background: var(--luxury-gold);
    box-shadow: 0 0 22px rgba(220, 194, 127, 0.8);
}

.luxury-orbit--one {
    top: 13%;
    left: 6%;
    width: 340px;
    height: 340px;
    animation: luxuryOrbit 22s linear infinite;
}

.luxury-orbit--one::before {
    top: 45px;
    right: 48px;
}

.luxury-orbit--two {
    right: 38%;
    bottom: 4%;
    width: 220px;
    height: 220px;
    animation: luxuryOrbitReverse 18s linear infinite;
}

.luxury-orbit--two::before {
    right: -4px;
    bottom: 102px;
}

.luxury-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
    animation: luxuryParticle 4s ease-in-out infinite;
}

.luxury-particle--one {
    top: 20%;
    left: 38%;
}

.luxury-particle--two {
    top: 65%;
    left: 47%;
    animation-delay: 1.2s;
}

.luxury-particle--three {
    top: 38%;
    right: 7%;
    animation-delay: 2.1s;
}

.luxury-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(1480px, 100%);
    grid-template-columns: minmax(420px, 0.86fr) minmax(540px, 1.14fr);
    align-items: center;
    gap: clamp(45px, 7vw, 110px);
    margin: 0 auto;
}

.luxury-hero__content,
.luxury-hero__visual {
    will-change: transform;
}

.luxury-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 10px 17px;
    border: 1px solid rgba(220, 194, 127, 0.25);
    border-radius: 30px;
    color: #ead9ac;
    background: rgba(220, 194, 127, 0.08);
    font-size: 13px;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.luxury-hero__content h1 {
    max-width: 690px;
    margin: 0;
    font-size: clamp(42px, 5.2vw, 78px);
    font-weight: 950;
    letter-spacing: -2.5px;
    line-height: 1.25;
}

.luxury-hero__content h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(
        110deg,
        #f4e4b7,
        #d6b668 45%,
        #fff0c6 70%,
        #cba855
    );
    background-clip: text;
    -webkit-background-clip: text;
}

.luxury-hero__brand {
    margin: 18px 0 0;
    direction: ltr;
    color: rgba(255, 255, 255, 0.34);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 9px;
    text-align: right;
}

.luxury-hero__description {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(235, 247, 241, 0.69);
    font-size: 17px;
    line-height: 2.05;
}

.luxury-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 36px;
}

.luxury-button {
    display: inline-flex;
    min-width: 190px;
    height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.luxury-button--primary {
    color: #092219;
    background: linear-gradient(135deg, #f2dda5, #cba854);
    box-shadow: 0 16px 36px rgba(203, 168, 84, 0.2);
}

.luxury-button--glass {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
}

.luxury-button:hover {
    color: inherit;
    transform: translateY(-3px);
}

.luxury-button--primary:hover {
    box-shadow: 0 20px 45px rgba(203, 168, 84, 0.3);
}

.luxury-button--glass:hover {
    border-color: rgba(220, 194, 127, 0.4);
    color: #fff;
}

.luxury-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 42px;
    padding-top: 27px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.luxury-hero__trust > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.luxury-hero__trust i {
    color: var(--luxury-gold);
    font-size: 22px;
}

.luxury-hero__trust span {
    display: grid;
    gap: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}

.luxury-hero__trust strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.luxury-dashboard-stage {
    position: relative;
    max-width: 790px;
    margin: auto;
    padding: 35px;
}

.luxury-dashboard-tilt {
    position: relative;
    z-index: 2;
    transition: transform 0.12s linear;
    transform-style: preserve-3d;
    will-change: transform;
}

.luxury-dashboard-frame {
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(66, 174, 126, 0.09);
    backdrop-filter: blur(20px);
    animation: luxuryDashboardFloat 6s ease-in-out infinite;
}

.luxury-dashboard-frame__top {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
}

.luxury-window-dots {
    display: flex;
    gap: 7px;
    direction: ltr;
}

.luxury-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.luxury-window-dots span:nth-child(1) {
    background: #e46c66;
}

.luxury-window-dots span:nth-child(2) {
    background: #e4be63;
}

.luxury-window-dots span:nth-child(3) {
    background: #55b984;
}

.luxury-live-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 10px;
    font-weight: 750;
}

.luxury-live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #65d99b;
    box-shadow: 0 0 12px #65d99b;
}

.luxury-dashboard-frame__image {
    overflow: hidden;
    border-radius: 21px;
    background: #fff;
}

.luxury-dashboard-frame__image img {
    display: block;
    width: 100%;
    height: auto;
}

.luxury-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 175px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 17px;
    color: #17231f;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
}

.luxury-float-card--income {
    top: 1%;
    right: -2%;
    animation: luxuryCardFloat 5s ease-in-out infinite;
}

.luxury-float-card--occupancy {
    bottom: 6%;
    left: -3%;
    animation: luxuryCardFloat 5.8s ease-in-out infinite reverse;
}

.luxury-float-card--secure {
    right: 6%;
    bottom: -2%;
    min-width: auto;
    color: #e7d29d;
    background: rgba(8, 36, 28, 0.9);
    animation: luxuryCardFloat 6.4s ease-in-out infinite;
}

.luxury-float-card__icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 12px;
    color: #277e5a;
    background: #e7f6ee;
    font-size: 18px;
}

.luxury-float-card div {
    display: grid;
    gap: 2px;
}

.luxury-float-card small {
    color: #839087;
    font-size: 9px;
}

.luxury-float-card strong {
    font-size: 12px;
}

.luxury-scroll-indicator {
    position: absolute;
    z-index: 5;
    bottom: 24px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    text-decoration: none;
    transform: translateX(-50%);
}

.luxury-scroll-indicator i {
    color: var(--luxury-gold);
    font-size: 16px;
    animation: luxuryScroll 1.8s ease-in-out infinite;
}

@keyframes luxuryOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes luxuryOrbitReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes luxuryParticle {
    50% {
        opacity: 0.25;
        transform: translateY(-18px);
    }
}

@keyframes luxuryDashboardFloat {
    50% {
        transform: translateY(-9px);
    }
}

@keyframes luxuryCardFloat {
    50% {
        transform: translateY(-10px);
    }
}

@keyframes luxuryScroll {
    50% {
        transform: translateY(6px);
    }
}

@media (max-width: 1100px) {
    .luxury-hero {
        min-height: auto;
        padding-top: 145px;
    }

    .luxury-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .luxury-hero__content h1,
    .luxury-hero__description {
        margin-inline: auto;
    }

    .luxury-hero__brand {
        text-align: center;
    }

    .luxury-hero__actions,
    .luxury-hero__trust {
        justify-content: center;
    }

    .luxury-hero__visual {
        width: min(800px, 100%);
        margin: auto;
    }
}

@media (max-width: 700px) {
    .luxury-hero {
        padding: 125px 16px 75px;
    }

    .luxury-hero__container {
        gap: 45px;
    }

    .luxury-hero__content h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .luxury-hero__description {
        font-size: 14px;
    }

    .luxury-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .luxury-button {
        width: 100%;
    }

    .luxury-dashboard-stage {
        padding: 8px;
    }

    .luxury-dashboard-frame {
        border-radius: 18px;
    }

    .luxury-dashboard-frame__image {
        border-radius: 13px;
    }

    .luxury-float-card--income,
    .luxury-float-card--occupancy {
        display: none;
    }

    .luxury-float-card--secure {
        right: 50%;
        bottom: -30px;
        transform: translateX(50%);
        white-space: nowrap;
        animation: none;
    }

    .luxury-scroll-indicator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxury-hero *,
    .luxury-hero *::before,
    .luxury-hero *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ================= Fixed Background Parallax ================= */

.home-fixed-parallax {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 680px;
    place-items: center;
    overflow: hidden;
    padding: 90px 24px;
    direction: rtl;
    text-align: center;

    background-image:
        linear-gradient(
            115deg,
            rgba(3, 20, 15, 0.9),
            rgba(10, 48, 37, 0.66),
            rgba(3, 18, 14, 0.88)
        ),
        url("../images/about.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* افکت اصلی پارالکس */
    background-attachment: fixed;
}

.home-fixed-parallax::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(218, 189, 118, 0.25),
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            rgba(4, 22, 17, 0.08),
            rgba(4, 22, 17, 0.58)
        );
}

.home-fixed-parallax::after {
    position: absolute;
    inset: 34px;
    content: "";
    border: 1px solid rgba(226, 201, 139, 0.18);
    border-radius: 28px;
    pointer-events: none;
}

.home-fixed-parallax__content {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    padding: 55px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    background: rgba(4, 25, 19, 0.35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(7px);
}

.home-fixed-parallax__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #e3c87e;
    font-size: 14px;
    font-weight: 900;
}

.home-fixed-parallax h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 950;
    line-height: 1.35;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.45);
}

.home-fixed-parallax h2 span {
    color: transparent;
    background: linear-gradient(
        110deg,
        #fff0bd,
        #d8b85e,
        #f5dda0
    );
    background-clip: text;
    -webkit-background-clip: text;
}

.home-fixed-parallax p {
    max-width: 760px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 2.1;
}

.home-fixed-parallax__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 34px;
}

.home-fixed-parallax__actions a {
    display: inline-flex;
    min-width: 190px;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding-inline: 24px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-fixed-parallax__actions a:hover {
    transform: translateY(-3px);
}

.home-fixed-parallax__primary {
    color: #10291f;
    background: linear-gradient(
        135deg,
        #f1dfa9,
        #cda94f
    );
    box-shadow: 0 15px 35px rgba(205, 169, 79, 0.23);
}

.home-fixed-parallax__primary:hover {
    color: #10291f;
    box-shadow: 0 20px 45px rgba(205, 169, 79, 0.34);
}

.home-fixed-parallax__secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.home-fixed-parallax__secondary:hover {
    color: #fff;
}

/* در موبایل background-attachment fixed معمولاً لگ ایجاد می‌کند */
@media (max-width: 768px) {
    .home-fixed-parallax {
        min-height: 590px;
        padding: 55px 15px;
        background-attachment: scroll;
    }

    .home-fixed-parallax::after {
        inset: 14px;
        border-radius: 20px;
    }

    .home-fixed-parallax__content {
        padding: 38px 20px;
        border-radius: 21px;
    }

    .home-fixed-parallax h2 {
        font-size: 39px;
    }

    .home-fixed-parallax p {
        font-size: 14px;
    }

    .home-fixed-parallax__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-fixed-parallax__actions a {
        width: 100%;
    }
}