/* =========================================================
   HERO SECTION
   ========================================================= */


/* =========================================================
   01. HERO BASE
   ========================================================= */

.hero-section {
    display: flex;
    position: relative;
    isolation: isolate;
    background: var(--color-bg);
    overflow: hidden;
    height: 100vh;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../images/noise.png");
    background-repeat: repeat;
    background-size: 280px 280px;
    opacity: 0.075;
    pointer-events: none;
}

/* ---------------------------------------------------------
   Technical Grid
   --------------------------------------------------------- */

.hero-section::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background-image:
        linear-gradient(
            to right,
            rgba(17, 19, 24, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(17, 19, 24, 0.045) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    pointer-events: none;
}


/* ---------------------------------------------------------
   Keep Content Above Background
   --------------------------------------------------------- */

.hero-section > .container {
    position: relative;
    z-index: 1;
}



/* =========================================================
   02. HERO ROW
   ========================================================= */

.hero-row {
    min-height: 650px;
}


/* =========================================================
   03. HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    max-width: 850px;

    padding-right: 40px;
}


/* =========================================================
   05. HERO TITLE
   ========================================================= */

.hero-title {
    max-width: 850px;

    margin-bottom: 30px;

    color: var(--color-text);

    font-size: clamp(56px, 4.15vw, 78px);
    font-weight: var(--font-weight-medium);

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.hero-title-strong {
    font-weight: 500;
}

.hero-title-light {
    font-weight: 300;
    color: var(--color-text-muted);
}


/* =========================================================
   06. HERO DESCRIPTION
   ========================================================= */

.hero-description {
    max-width: 570px;

    margin-bottom: 32px;

    color: var(--color-text-muted);

    font-size: 16px;
    font-weight: var(--font-weight-regular);

    line-height: 1.65;
}


/* =========================================================
   07. HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 26px;
}


/* Primary button */

.hero-actions .btn-custom {
    min-height: 50px;

    padding-inline: 23px;

    font-size: 16px;
}


/* Secondary text link */

.hero-text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: var(--color-text);

    font-size: 16px;
    font-weight: var(--font-weight-medium);

    transition: color var(--transition);
}

.hero-text-link i {
    font-size: 15px;

    transition: transform var(--transition);
}

.hero-text-link:hover {
    color: var(--color-primary);
}

.hero-text-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   09. HERO IMAGE
   ========================================================= */

.hero-image-wrap {
    position: relative;
    z-index: 2;
    /* width: min(100%, 500px); */
    /* overflow: hidden; */
    border-radius: 28px;
    /* background: var(--color-white); */
    /* box-shadow: var(--shadow-md); */
}

.hero-image {
    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.hero-image-wrap:hover .hero-image {
    transform: scale(1.025);
}


/* =========================================================
   10. DECORATIVE CIRCLES
   ========================================================= */

.hero-circle {
    position: absolute;

    border: 1px solid rgba(47, 109, 246, 0.22);

    border-radius: 50%;

    pointer-events: none;
}

.hero-circle-lg {
    z-index: 1;

    width: 520px;
    height: 520px;

    right: -50px;
    top: 30px;
}

.hero-circle-sm {
    z-index: 3;

    width: 180px;
    height: 180px;

    left: 0;
    bottom: 40px;

    border-color: rgba(47, 109, 246, 0.16);
}


/* =========================================================
   11. FLOATING CARD
   ========================================================= */

.hero-floating-card {
    position: absolute;
    z-index: 4;

    left: -90px;
    bottom: -70px;

    display: flex;
    flex-direction: column;

    gap: 6px;

    min-width: 205px;

    padding: 18px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card-label {
    color: var(--color-text-muted);

    font-size: 11px;
    font-weight: var(--font-weight-medium);

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-floating-card strong {
    color: var(--color-text);

    font-size: 13px;
    font-weight: var(--font-weight-medium);
}


/* Availability status */

.hero-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-top: 3px;

    color: var(--color-text-muted);

    font-size: 11px;
}

.hero-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #36b37e;
}


/* =========================================================
   12. LOCATION
   ========================================================= */

.hero-location {
    position: absolute;
    z-index: 4;

    right: 20px;
    bottom: 30px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--color-text-muted);

    font-size: 12px;
    font-weight: var(--font-weight-medium);
}

.hero-location i {
    color: var(--color-primary);

    font-size: 15px;
}

/* =========================================
   HERO RIGHT VISUAL
========================================= */

.hero-visual {
    position: relative;
    width: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   ORBITS
========================================= */

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(47, 109, 246, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-1 {
    width: 690px;
    height: 690px;
}

.hero-orbit-2 {
    width: 535px;
    height: 535px;
    border-style: dashed;
}

.hero-orbit-3 {
    width: 390px;
    height: 390px;
    border-color: rgba(47, 109, 246, 0.09);
}


/* =========================================
   ORBIT DOTS
========================================= */

.hero-orbit-dot {
    position: absolute;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #2f6df6;

    box-shadow:
        0 0 0 7px rgba(47, 109, 246, 0.07),
        0 0 25px rgba(47, 109, 246, 0.25);

    z-index: 3;
}

.hero-dot-1 {
    top: -30px;
    right: 160px;
}

.hero-dot-2 {
    left: -50px;
    top: 280px;
}

.hero-dot-3 {
    bottom: -40px;
    right: 180px;
}


/* =========================================
   MAIN BROWSER
========================================= */

.hero-browser {
    position: relative;

    width: 590px;
    min-height: 390px;

    z-index: 4;

    overflow: hidden;

    border: 1px solid rgba(120, 137, 165, 0.22);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 38px 90px rgba(39, 68, 112, 0.17);

    backdrop-filter: blur(12px);

    transform:
        perspective(1200px)
        rotateY(-7deg)
        rotateX(2deg)
        rotateZ(2deg);
}


/* Browser top */

.hero-browser-bar {
    height: 48px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 16px;

    border-bottom: 1px solid #e8ebef;

    background: rgba(249, 250, 252, 0.92);
}

.hero-browser-dots {
    display: flex;
    gap: 6px;
}

.hero-browser-dots span,
.hero-window-dots span {
    width: 9px;
    height: 9px;

    display: block;

    border-radius: 50%;
}

.hero-browser-dots span:nth-child(1),
.hero-window-dots span:nth-child(1) {
    background: #ff6259;
}

.hero-browser-dots span:nth-child(2),
.hero-window-dots span:nth-child(2) {
    background: #ffc043;
}

.hero-browser-dots span:nth-child(3),
.hero-window-dots span:nth-child(3) {
    background: #2acb58;
}

.hero-browser-url {
    padding: 6px 28px;

    border-radius: 50px;

    background: #eef1f5;

    color: #8a94a1;

    font-size: 9px;
}

.hero-browser-bar > i {
    justify-self: end;

    color: #2f6df6;
}


/* =========================================
   BROWSER CONTENT
========================================= */

.hero-browser-content {
    padding: 24px 28px 26px;
}


/* Mini nav */

.hero-mini-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 9px;
}

.hero-mini-nav strong {
    font-size: 13px;
}

.hero-mini-nav div {
    display: flex;
    gap: 17px;

    color: #788391;
}


/* =========================================
   MINI WEBSITE HERO
========================================= */

.hero-mini-content {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 20px;

    margin-top: 36px;
}

.hero-mini-copy small {
    color: #2f6df6;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.14em;
}

.hero-mini-copy h3 {
    max-width: 285px;

    margin: 9px 0 8px;

    font-size: 29px;

    line-height: 1.02;

    letter-spacing: -0.05em;

    font-weight: 600;
}

.hero-mini-copy h3 em {
    color: #2f6df6;
    font-style: normal;
}

.hero-mini-copy p {
    margin: 0;

    color: #89919c;

    font-size: 9px;
}

.hero-mini-copy button {
    margin-top: 15px;

    padding: 8px 13px;

    border: 0;
    border-radius: 50px;

    background: #17202c;

    color: #fff;

    font-size: 8px;
}


/* =========================================
   MINI ART
========================================= */

.hero-mini-art {
    position: relative;

    width: 165px;
    height: 145px;

    margin-left: auto;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #edf3ff,
            #dce7ff
        );
}

.mini-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(47, 109, 246, 0.32);

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.mini-ring-1 {
    width: 105px;
    height: 105px;
}

.mini-ring-2 {
    width: 70px;
    height: 70px;

    border-style: dashed;
}

.mini-orb {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    background:
        linear-gradient(
            145deg,
            #75a0ff,
            #2f6df6
        );

    box-shadow:
        0 10px 25px rgba(47, 109, 246, 0.25);
}


/* =========================================
   FEATURE TILES
========================================= */

.hero-mini-features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 26px;
}

.hero-feature {
    min-height: 75px;

    padding: 12px;

    border: 1px solid #e7ebf1;

    border-radius: 12px;

    background: #fff;
}

.hero-feature i {
    display: block;

    margin-bottom: 8px;

    color: #2f6df6;

    font-size: 14px;
}

.hero-feature strong {
    display: block;

    font-size: 9px;
}

.hero-feature span {
    display: block;

    width: 55%;
    height: 4px;

    margin-top: 8px;

    border-radius: 50px;

    background: #e5eaf1;
}


/* =========================================
   FLOATING CARDS
========================================= */

.hero-float-card {
    position: absolute;

    border: 1px solid rgba(120, 137, 165, 0.18);

    background: rgba(255, 255, 255, 0.95);

    box-shadow:
        0 24px 70px rgba(35, 65, 110, 0.13);

    backdrop-filter: blur(12px);
}


/* =========================================
   CODE CARD
========================================= */

.hero-code-card {
    top: -110px;
    left: 0px;
    width: 260px;
    padding: 15px;
    border-radius: 15px;
    background: #17202c;
    color: #d9e2f0;
    transform: rotate(-7deg);
}

.hero-code-head {
    display: flex;
    align-items: center;

    gap: 5px;
}

.hero-window-dots {
    display: flex;
    gap: 5px;
}

.hero-code-head small {
    margin-left: auto;

    color: #8e9aaa;

    font-size: 8px;
}

.hero-code-body {
    display: grid;

    gap: 5px;

    margin-top: 15px;

    color: #aebbd0;

    font:
        9px / 1.45
        ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}

.code-indent {
    padding-left: 12px;
}


/* =========================================
   PERFORMANCE
========================================= */

.hero-performance-card {
    top: -90px;
    right: -90px;
    width: 205px;
    padding: 16px;
    border-radius: 15px;
    transform: rotate(-5deg);
}

.hero-stat-head {
    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 11px;
}

.hero-stat-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e8f7ef;

    color: #13a660;
}

.hero-chart {
    height: 55px;

    margin-top: 8px;
}

.hero-chart svg {
    width: 100%;
    height: 100%;
}

.hero-chart path {
    fill: none;

    stroke: #2f6df6;

    stroke-width: 3;

    stroke-linecap: round;
}

.hero-growth-number {
    display: block;

    text-align: right;

    color: #11a45e;

    font-size: 16px;
}


/* =========================================
   DESIGN + GROWTH CARDS
========================================= */

.hero-design-card,
.hero-growth-card {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 14px 16px;

    border-radius: 17px;
}

.hero-design-card {
    left: 34px;
    bottom: 125px;

    transform: rotate(7deg);
}

.hero-growth-card {
    right: -90px;
    bottom: -70px;

    transform: rotate(-6deg);
}

.hero-mini-icon {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #edf3ff;

    color: #2f6df6;

    font-size: 16px;
}

.hero-design-card strong,
.hero-growth-card strong {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;
}

.hero-small-line {
    display: block;

    width: 70px;
    height: 4px;

    margin-top: 5px;

    border-radius: 50px;

    background: #e4e9f0;
}

.hero-small-line.short {
    width: 45px;
}


/* =========================================
   GROWTH BARS
========================================= */

.hero-bars {
    height: 28px;

    display: flex;
    align-items: end;

    gap: 4px;
}

.hero-bars i {
    display: block;

    width: 7px;

    border-radius: 2px 2px 0 0;

    background: #2f6df6;
}

.hero-bars i:nth-child(1) { height: 8px; }
.hero-bars i:nth-child(2) { height: 12px; }
.hero-bars i:nth-child(3) { height: 17px; }
.hero-bars i:nth-child(4) { height: 22px; }
.hero-bars i:nth-child(5) { height: 28px; }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .hero-visual {
        transform: scale(.85);
        transform-origin: center right;
        margin-right: -60px;
    }

}

@media (max-width: 991px) {

    .hero-visual {
        width: 760px;
        max-width: 100%;

        height: 590px;

        margin: 50px auto 0;

        transform: scale(.72);

        transform-origin: top center;
    }

}

@media (max-width: 767px) {

    .hero-visual {
        height: 470px;

        transform: scale(.5);

        margin-bottom: -100px;
    }

}

@media (max-width: 480px) {

    .hero-visual {
        transform: scale(.42);

        margin-bottom: -150px;
    }

}


/* =========================================================
   13. HERO BOTTOM
   ========================================================= */

.hero-bottom {
    display: flex;
    align-items: center;

    gap: 14px;

    padding-top: 25px;
}

.hero-scroll-text {
    color: var(--color-text-muted);

    font-size: 11px;
    font-weight: var(--font-weight-medium);

    white-space: nowrap;
}

.hero-scroll-line {
    width: 70px;
    height: 1px;

    background: var(--color-border);
}

.hero-scroll-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 1px solid var(--color-border);

    border-radius: 50%;

    color: var(--color-text);

    font-size: 12px;
}


/* =========================================================
   14. LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {

    .hero-section {
        padding-top: 80px;
        padding-bottom: 55px;
    }

    .hero-row {
        min-height: 680px;
    }

    .hero-title {
        font-size: clamp(64px, 4vw, 78px);
    }

    .hero-description {
        font-size: 17px;
    }

}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .hero-section {
        padding-top: 55px;
        padding-bottom: 45px;
    }

    .hero-row {
        min-height: auto;
    }

    .hero-content {
        max-width: 760px;

        padding-right: 0;
    }

    .hero-title {
        max-width: 700px;

        font-size: clamp(52px, 7vw, 68px);
    }

    .hero-visual {
        min-height: 520px;

        margin-top: 55px;
    }

    .hero-image-wrap {
        width: min(100%, 460px);
    }

    .hero-circle-lg {
        right: 5%;
    }

    .hero-bottom {
        padding-top: 10px;
    }

}


/* =========================================================
   16. MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .hero-section {
        padding-top: 45px;
        padding-bottom: 35px;
        padding-right: 24px;
        padding-left: 24px;
        height: 65vh;

    }

    .hero-eyebrow {
        margin-bottom: 22px;

        font-size: 12px;
    }

    .hero-title {
        margin-bottom: 24px;

        font-size: clamp(46px, 12vw, 62px);

        line-height: 1;
    }

    .hero-description {
        max-width: 500px;

        margin-bottom: 26px;

        font-size: 15px;
    }

    .hero-actions {
        gap: 18px;
    }

    .hero-visual {
        min-height: 450px;

        margin-top: 45px;
    }

    .hero-image-wrap {
        width: min(100%, 400px);

        border-radius: 22px;
    }

    .hero-circle-lg {
        width: 420px;
        height: 420px;

        right: -70px;
        top: 20px;
    }

    .hero-circle-sm {
        width: 130px;
        height: 130px;

        left: 0;
        bottom: 30px;
    }

    .hero-floating-card {
        left: 0;
        bottom: 45px;

        min-width: 185px;

        padding: 15px;
    }

    .hero-location {
        right: 0;
        bottom: 15px;
    }

    .hero-bottom {
        padding-top: 0;
    }

}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .hero-title {
        font-size: clamp(42px, 12vw, 54px);

        letter-spacing: -0.045em;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions .btn-custom {
        width: 50%;
        font-size: 14px;
    }

    .hero-text-link {
        margin-left: 4px;
        font-size: 14px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-image-wrap {
        width: 88%;
    }

    .hero-floating-card {
        bottom: 30px;

        min-width: 165px;

        padding: 13px;
    }

    .hero-floating-card strong {
        font-size: 12px;
    }

    .hero-location {
        bottom: 5px;

        font-size: 11px;
    }

    .hero-scroll-line {
        width: 45px;
    }

}