.hero{
    position: relative;
    margin-top: 150px;
}
.hero-container {
    width: 100%;
    max-height: none; /* Allow height to be flexible */
    padding: clamp(2rem, 5vw, 3rem);
    position: relative;
    border-radius: clamp(16px, 4vw, 24px);
    background:
            radial-gradient(circle at 30% 70%, rgba(0, 255, 128, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 70% 30%, rgba(0, 153, 77, 0.12) 0%, transparent 50%),
            linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 26, 13, 0.4) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg,
    rgba(204, 255, 238, 0.4) 0%,
    rgba(0, 255, 128, 0.2) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(0, 255, 128, 0.2) 75%,
    rgba(204, 255, 238, 0.4) 100%) 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
            0 25px 100px rgba(0, 0, 0, 0.5),
            0 8px 32px rgba(0, 255, 128, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(204, 255, 238, 0.1),
            0 0 0 1px rgba(204, 255, 238, 0.05);
    transition: all 0.4s ease;
}

.hero-container::before,
.hero-container::after {
    position: absolute;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg,
    rgba(204, 255, 238, 0.15) 0%,
    rgba(0, 255, 128, 0.1) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(0, 255, 128, 0.1) 75%,
    rgba(204, 255, 238, 0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.hero-container::before {
    inset: clamp(-8px, -2vw, -12px);
    padding: clamp(8px, 2vw, 12px);
    opacity: 0.6;
    box-shadow:
            0 0 30px rgba(204, 255, 238, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-container::after {
    inset: clamp(-16px, -4vw, -24px);
    padding: clamp(16px, 4vw, 24px);
    opacity: 0.3;
    box-shadow:
            0 0 60px rgba(0, 255, 128, 0.05),
            0 0 120px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE HOVER EFFECTS */
@media (hover: hover) and (pointer: fine) {
    .hero-container:hover {
        transform: translateY(-8px);
        box-shadow:
                0 35px 140px rgba(0, 0, 0, 0.6),
                0 12px 48px rgba(0, 255, 128, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                inset 0 -1px 0 rgba(204, 255, 238, 0.15),
                0 0 80px rgba(204, 255, 238, 0.1),
                0 0 0 1px rgba(204, 255, 238, 0.08);
    }

    .hero-container:hover::before {
        opacity: 0.8;
        box-shadow:
                0 0 40px rgba(204, 255, 238, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .hero-container:hover::after {
        opacity: 0.5;
        box-shadow:
                0 0 80px rgba(0, 255, 128, 0.08),
                0 0 160px rgba(0, 0, 0, 0.4);
    }
}

.hero-content-wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
    padding: clamp(1rem, 3vw, 2rem) 0;
    order: 2; /* Content below crystal on mobile */
}

.hero-title {
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: clamp(1rem, 3vw, 1.2rem);
    color: var(--green);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: rgba(255, 224, 166, 0.9);
    margin-bottom: clamp(1rem, 3vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    color: rgba(255, 224, 166, 0.8);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 5vw, 2.5rem);
    max-width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1rem, 3vw, 1.2rem) clamp(2rem, 5vw, 2.5rem);
    background: linear-gradient(135deg,
    rgba(255, 224, 166, 0.12) 0%,
    rgba(0, 255, 128, 0.12) 50%,
    rgba(255, 224, 166, 0.12) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg,
    rgba(255, 224, 166, 0.7) 0%,
    rgba(0, 255, 128, 0.5) 50%,
    rgba(255, 224, 166, 0.7) 100%) 1;
    border-radius: clamp(10px, 2vw, 14px);
    color: rgb(255, 224, 166);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 3px 12px rgba(0, 255, 128, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 1px rgba(255, 224, 166, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    /* Touch-friendly sizing */
    min-height: 48px;
    min-width: 200px;
    touch-action: manipulation;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

/* Touch and hover interactions */
@media (hover: hover) and (pointer: fine) {
    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow:
                0 20px 80px rgba(0, 0, 0, 0.5),
                0 8px 24px rgba(0, 255, 128, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 60px rgba(255, 224, 166, 0.15),
                0 0 0 1px rgba(255, 224, 166, 0.2);
        background: linear-gradient(135deg,
        rgba(255, 224, 166, 0.18) 0%,
        rgba(0, 255, 128, 0.18) 50%,
        rgba(255, 224, 166, 0.18) 100%);
    }
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.cta-arrow {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    .cta-button:hover .cta-arrow {
        transform: translateX(5px);
    }
}

.emerald-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    order: 1; /* Crystal above content on mobile */
}

.emerald-container {
    width: clamp(250px, 60vw, 320px);
    height: clamp(250px, 60vw, 320px);
    position: relative;
    border-radius: clamp(12px, 3vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
    rgba(0, 255, 128, 0.05) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 153, 77, 0.05) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg,
    rgba(0, 255, 128, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(0, 255, 128, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(0, 153, 77, 0.3) 100%) 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 3px 10px rgba(0, 255, 128, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 255, 128, 0.1);
    transition: all 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .emerald-container:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow:
                0 20px 80px rgba(0, 0, 0, 0.5),
                0 6px 20px rgba(0, 255, 128, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                inset 0 -1px 0 rgba(0, 255, 128, 0.15),
                0 0 50px rgba(0, 255, 128, 0.1);
    }
}

.emerald-svg {
    width: clamp(180px, 45vw, 240px);
    height: clamp(180px, 45vw, 240px);
    filter: drop-shadow(0 0 25px rgba(0, 255, 128, 0.4));
    transition: all 0.3s ease;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: no-preference) {
    .emerald-svg {
        animation: emerald-glow 4s ease-in-out infinite alternate;
    }
}

@media (hover: hover) and (pointer: fine) {
    .emerald-svg:hover {
        transform: scale(1.05) rotate(5deg);
        filter: drop-shadow(0 0 50px rgba(0, 255, 128, 0.6));
    }
}

@keyframes emerald-glow {
    0% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 128, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(0, 255, 128, 0.6));
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.floating-gem {
    position: absolute;
    width: clamp(4px, 1vw, 6px);
    height: clamp(4px, 1vw, 6px);
    background: radial-gradient(circle, rgba(0, 255, 128, 0.8), rgba(0, 153, 77, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 255, 128, 0.6);
}

/* Reduced animations on mobile */
@media (prefers-reduced-motion: no-preference) {
    .floating-gem {
        animation: float 15s linear infinite;
    }
}

@keyframes float {
    0% {
        transform: translateY(100%) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10%) translateX(20%) rotate(360deg);
        opacity: 0;
    }
}

.luxury-badge {
    position: absolute;
    top: clamp(1rem, 3vw, 1.5rem);
    right: clamp(1rem, 3vw, 1.5rem);
    padding: clamp(0.5rem, 2vw, 0.6rem) clamp(1rem, 3vw, 1.2rem);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 128, 0.3);
    border-radius: clamp(4px, 1vw, 6px);
    backdrop-filter: blur(8px);
    color: rgba(255, 224, 166, 0.9);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
}

/* RESPONSIVE BREAKPOINTS */

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .hero-container {
        padding: 1.5rem;
    }

    .hero-title {
        line-height: 1.1;
    }

    .emerald-container {
        width: min(280px, 80vw);
        height: min(280px, 80vw);
    }

    .emerald-svg {
        width: min(200px, 60vw);
        height: min(200px, 60vw);
    }
}

/* Small mobile devices */
@media (max-width: 767px) {
    .hero-visual {
        position: relative !important;
        width: 290px !important;
        margin: 0 auto !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    .hero-visual svg.ring {
        width: 290px !important;
        height: 290px !important;
    }
    .how-to-work {
        max-width: 100vw;
    }
}

/* Medium screens and tablets */
@media (min-width: 768px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-content {
        order: 1; /* Content on left for larger screens */
    }

    .emerald-showcase {
        order: 2; /* Crystal on right for larger screens */
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .hero-container {
        max-height: 700px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .emerald-svg {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .luxury-badge {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    body {
        padding: 1rem;
    }

    .hero-container {
        padding: 2rem;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .emerald-showcase {
        order: 2;
    }
}


ul.infoGraphic {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}
ul.infoGraphic li .content {
    margin: 1em;
    position: relative;
}
ul.infoGraphic li .content h2{
    margin: 0;
    line-height: 35px;
    font-size: 20px;
}
ul.infoGraphic li .number {
    font-size: 3em;
    margin: 0;
    position: relative;
}

.card {
    position: relative;
}
.card::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    transition: 0.6s;
    z-index: 0;
    background-color: #ff5e14;
}
.card:hover {
    box-shadow: 0.063rem 0.063rem 1.25rem 0.375rem rgba(0, 0, 0, 0.53);
}
.card:nth-child(1)::before {
    bottom: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}
.card:nth-child(2)::before {
    bottom: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}
.card:nth-child(3)::before {
    top: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}
.card:nth-child(4)::before {
    top: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}
.card p {
    transition: 0.8s;
}

.card:hover::before {
    clip-path: circle(110vw at 100% 100%);
}

.card:hover p {
    color: #fff;
}

@media screen and (min-width: 62.5rem) {
    .about-us-features.circle {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
}
.about-us-features .circle {
    width: 100%;
    height: 300px;
    opacity: 1;
    margin: 0 0;
    transition: none;
    border-radius: 0;
    position: absolute;
}

.card:nth-child(1) .circle {
    background: url('../images/box/2.png') no-repeat 50% 50% / cover;
    bottom: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.card:nth-child(2) .circle {
    background: url('../images/box/1.png') no-repeat 50% 50%/cover;
    bottom: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.card:nth-child(3) .circle {
    background: url('../images/box/3.png') no-repeat 50% 50%/cover;
    top: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.card:nth-child(4) .circle {
    background: url('../images/box/4.png') no-repeat 50% 50%/cover;
    top: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

.about-us-features .grid-offer h2 {
    direction: rtl;
    text-align: right;
    margin: 35px 0 !important;
    line-height: 35px;
    font-size: 22px;
}

:root {
    --brand: hsl(125, 100%, 66%);
    --bg-primary: hsl(0,0%,100%);
}

.hero-visual {
    position: relative;
    width: 456px;
    margin: 0 auto;
}
.hero-visual::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    margin-top: -40px;
    margin-left: -40px;
    background: var(--brand);
    width: 80px;
    height: 80px;
    border-radius: 80px;
    filter: blur(40px);
    opacity: 0;
    transition: all cubic-bezier(.5,.01,.14,.99) 600ms;
}
.hero__center {
    height: 60px;
    width: 152px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 50%;
    left: 50%;
    z-index: 3;
    margin-top: -30px;
    margin-left: -76px;
}
.hero__center__appicon-left {
    height: 60px;
    width: 60px;
    border-radius: 20px;
    background: var(--bg-primary);
    background-image: url("https://www.svgrepo.com/show/327388/logo-react.svg");
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(40px);
    opacity: 0;
    transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.hero__center__appicon-right {
    height: 60px;
    width: 60px;
    border-radius: 20px;
    background: var(--bg-primary);
    background-image: url("https://www.svgrepo.com/show/353723/expo-icon.svg");
    background-size: 40% auto;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-40px);
    opacity: 0;
    transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.hero__center__plus {
    fill: var(--bg-primary);
    transform: rotate(0);
    transform-origin: center;
    opacity: 0;
    transition: all cubic-bezier(1, 0, 0.46, 1) 1s;
}
.ring {
    margin: 0 auto;
    display: block;
}
.ellipse {
    stroke:var(--brand);
    stroke-width:1;
    transform-origin: center;
    transition: all cubic-bezier(.5,.01,.14,.99) 6s;
    transform: rotate(0);
    opacity: 0;
}
.loading-done {

    .hero-visual::before {
        opacity: 1;
    }
    .hero__center__appicon-left {
        transform: translateY(0);
        opacity: 1;
    }
    .hero__center__appicon-right {
        transform: translateY(0);
        opacity: 1;
    }
    .hero__center__plus {
        transform: rotate(45deg);
        opacity: 1;
    }
    .e-1 { transform: rotate(165deg); opacity: 1; }
    .e-2 { transform: rotate(150deg); opacity: 0.9; }
    .e-3 { transform: rotate(135deg); opacity: 0.8; }
    .e-4 { transform: rotate(120deg); opacity: 0.7; }
    .e-5 { transform: rotate(105deg); opacity: 0.6; }
    .e-6 { transform: rotate(90deg); opacity: 0.5; }
    .e-7 { transform: rotate(75deg); opacity: 0.4; }
    .e-8 { transform: rotate(60deg); opacity: 0.3; }
    .e-9 { transform: rotate(45deg); opacity: 0.2;}
    .e-10 { transform: rotate(30deg); opacity: 0.1; }
    .e-11 { transform: rotate(15deg); opacity: 0.06; }
    .e-12 { transform: rotate(0deg); opacity: 0.03; }

}
.spin {
    animation: spin 15s linear infinite;
    border: 0;
    box-shadow: 0 0 0 0;
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.how-to-work {
    margin-bottom: 125px;
}
ul.infoGraphic li {
    min-height: 175px;
    display: flex;
    align-items: center;
}
.how-to-work ul.infoGraphic li .content h2 {
    margin: 0;
    line-height: 35px;
    font-size: 20px;
    padding: 0 30px;
}