/* =========================================================
   WEB APP HERO
========================================================= */

section[data-module="web-app-hero"] {
    --webapphero-blue: #1677ff;
    --webapphero-blue-dark: #075cbd;
    --webapphero-blue-soft: #e9f3ff;
    --webapphero-dark: #10233f;
    --webapphero-text: #586b84;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 50px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(22, 119, 255, 0.1);
    background: #ffffff;
    color: var(--webapphero-dark);
}

section[data-module="web-app-hero"] *,
section[data-module="web-app-hero"] *::before,
section[data-module="web-app-hero"] *::after {
    box-sizing: border-box;
}


/* =========================================================
   BACKGROUND
========================================================= */

section[data-module="web-app-hero"] .webapphero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

section[data-module="web-app-hero"] .webapphero-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

section[data-module="web-app-hero"] .webapphero-orb-one {
    top: -320px;
    right: -190px;
    width: 720px;
    height: 720px;
    background: radial-gradient(
        circle,
        rgba(22, 119, 255, 0.13) 0%,
        rgba(22, 119, 255, 0) 70%
    );
}

section[data-module="web-app-hero"] .webapphero-orb-two {
    bottom: -400px;
    left: -280px;
    width: 760px;
    height: 760px;
    background: radial-gradient(
        circle,
        rgba(7, 92, 189, 0.07) 0%,
        rgba(7, 92, 189, 0) 70%
    );
}

section[data-module="web-app-hero"] .webapphero-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    opacity: 0.4;
    background-image:
        linear-gradient(
            rgba(22, 119, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(22, 119, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 38px 38px;
    mask-image: linear-gradient(to left, #000 20%, transparent 92%);
    -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 92%);
}


/* =========================================================
   WRAPPER
========================================================= */

section[data-module="web-app-hero"] .webapphero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
    align-items: center;
    gap: clamp(50px, 6vw, 100px);
    width: min(92%, 1500px);
    margin: 0 auto;
}


/* =========================================================
   CONTENT
========================================================= */

section[data-module="web-app-hero"] .webapphero-content {
    min-width: 0;
}

section[data-module="web-app-hero"] .webapphero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 8px 14px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.06);
    color: var(--webapphero-blue-dark);
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.025em;
}

section[data-module="web-app-hero"] .webapphero-eyebrow-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--webapphero-blue);
}

section[data-module="web-app-hero"] .webapphero-eyebrow-dot::before {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(22, 119, 255, 0.24);
    border-radius: 50%;
    content: "";
}

section[data-module="web-app-hero"] .webapphero-title {
    max-width: 800px;
    margin: 0 0 18px;
    color: #101d35;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: clamp(44px, 4vw, 62px);
    font-weight: 600;
    line-height: 1.01;
    letter-spacing: -0.045em;
}

section[data-module="web-app-hero"] .webapphero-description {
    max-width: 700px;
    color: #526078;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 17px;
    line-height: 1.6;
}

section[data-module="web-app-hero"] .webapphero-description p,
section[data-module="web-app-hero"] .webapphero-notes p,
section[data-module="web-app-hero"] .webapphero-feature-text p,
section[data-module="web-app-hero"] .webapphero-project-result p {
    margin: 0;
}


/* =========================================================
   BUTTONS
========================================================= */

section[data-module="web-app-hero"] .webapphero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin: 22px 0 13px;
}

section[data-module="web-app-hero"] .webapphero-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 6px 7px 6px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

section[data-module="web-app-hero"] .webapphero-button:hover,
section[data-module="web-app-hero"] .webapphero-button:focus-visible {
    outline: none;
    transform: translateY(-3px);
}

section[data-module="web-app-hero"] .webapphero-button-arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

section[data-module="web-app-hero"] .webapphero-button-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

section[data-module="web-app-hero"] .webapphero-button:hover .webapphero-button-arrow,
section[data-module="web-app-hero"] .webapphero-button:focus-visible .webapphero-button-arrow {
    transform: translateX(2px);
}


/* Primary Button */

section[data-module="web-app-hero"] .webapphero-button-primary {
    border-color: var(--webapphero-blue);
    background: var(--webapphero-blue);
    box-shadow: 0 14px 32px rgba(22, 119, 255, 0.23);
    color: #ffffff;
}

section[data-module="web-app-hero"] .webapphero-button-primary .webapphero-button-arrow {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

section[data-module="web-app-hero"] .webapphero-button-primary:hover,
section[data-module="web-app-hero"] .webapphero-button-primary:focus-visible {
    border-color: var(--webapphero-blue-dark);
    background: var(--webapphero-blue-dark);
    box-shadow: 0 18px 38px rgba(7, 92, 189, 0.25);
    color: #ffffff;
}


/* Secondary Button */

section[data-module="web-app-hero"] .webapphero-button-secondary {
    border-color: #cbdceb;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(22, 119, 255, 0.07);
    color: var(--webapphero-blue);
}

section[data-module="web-app-hero"] .webapphero-button-secondary .webapphero-button-arrow {
    background: var(--webapphero-blue-soft);
    color: var(--webapphero-blue);
}

section[data-module="web-app-hero"] .webapphero-button-secondary:hover,
section[data-module="web-app-hero"] .webapphero-button-secondary:focus-visible {
    border-color: #a9ccef;
    background: var(--webapphero-blue-soft);
    color: var(--webapphero-blue-dark);
}

section[data-module="web-app-hero"] .webapphero-button-secondary:hover .webapphero-button-arrow,
section[data-module="web-app-hero"] .webapphero-button-secondary:focus-visible .webapphero-button-arrow {
    background: #ffffff;
    color: var(--webapphero-blue-dark);
}


/* =========================================================
   NOTES
========================================================= */

section[data-module="web-app-hero"] .webapphero-notes {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 690px;
    color: #7a8597;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 12px;
    line-height: 1.65;
}

section[data-module="web-app-hero"] .webapphero-notes-line {
    width: 18px;
    height: 1px;
    flex: 0 0 18px;
    margin-top: 9px;
    background: var(--webapphero-blue);
}

section[data-module="web-app-hero"] .webapphero-notes a {
    color: var(--webapphero-blue);
    font-weight: 600;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(22, 119, 255, 0.3);
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

section[data-module="web-app-hero"] .webapphero-notes a:hover,
section[data-module="web-app-hero"] .webapphero-notes a:focus-visible {
    color: var(--webapphero-blue-dark);
    outline: none;
    box-shadow: inset 0 -1px 0 var(--webapphero-blue-dark);
}


/* =========================================================
   FEATURE ITEMS
========================================================= */

section[data-module="web-app-hero"] .webapphero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin: 20px 0 0;
}

section[data-module="web-app-hero"] .webapphero-feature {
    position: relative;
    min-width: 0;
    min-height: 112px;
    padding: 16px 17px;
    overflow: hidden;
    border: 1px solid rgba(22, 119, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.05);
    animation: webappheroFeatureIn 0.6s ease both;
    animation-delay: var(--webapphero-delay, 0ms);
}

section[data-module="web-app-hero"] .webapphero-feature::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(
        90deg,
        var(--webapphero-blue),
        #44c8b4
    );
    content: "";
}

section[data-module="web-app-hero"] .webapphero-feature-number {
    margin: 0 0 9px;
    color: var(--webapphero-blue);
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.09em;
}

section[data-module="web-app-hero"] .webapphero-feature h2 {
    margin: 0 0 6px;
    color: #16243a;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

section[data-module="web-app-hero"] .webapphero-feature-text {
    color: #748095;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   PROJECT VISUAL
========================================================= */

section[data-module="web-app-hero"] .webapphero-visual {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 0 0 auto;
    padding: 14px 0 58px 27px;
}

section[data-module="web-app-hero"] .webapphero-visual::before {
    position: absolute;
    top: 0;
    right: -22px;
    width: 74%;
    height: 76%;
    border-radius: 32px;
    background: linear-gradient(
        145deg,
        rgba(22, 119, 255, 0.13),
        rgba(22, 119, 255, 0.035)
    );
    content: "";
}

section[data-module="web-app-hero"] .webapphero-visual-frame {
    position: relative;
    z-index: 2;
    height: clamp(350px, 28vw, 420px);
    overflow: hidden;
    border: 1px solid rgba(22, 119, 255, 0.14);
    border-radius: 22px;
    background: linear-gradient(145deg, #eef5fb, #e3eef8);
    box-shadow: 0 30px 70px rgba(18, 47, 87, 0.15);
}

section[data-module="web-app-hero"] .webapphero-visual-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

section[data-module="web-app-hero"] .webapphero-visual:hover .webapphero-visual-frame img {
    transform: scale(1.025);
}

section[data-module="web-app-hero"] .webapphero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eff6fb, #dbeaf6);
}

section[data-module="web-app-hero"] .webapphero-frame-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    pointer-events: none;
    transform: skewX(-15deg);
    transition: left 0.85s ease;
}

section[data-module="web-app-hero"] .webapphero-visual:hover .webapphero-frame-shine {
    left: 145%;
}


/* =========================================================
   REAL PROJECT CARD
========================================================= */

section[data-module="web-app-hero"] .webapphero-project-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: min(68%, 350px);
    padding: 21px 23px;
    border: 1px solid rgba(22, 119, 255, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 22px 55px rgba(18, 47, 87, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

section[data-module="web-app-hero"] .webapphero-project-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--webapphero-blue);
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

section[data-module="web-app-hero"] .webapphero-project-label span {
    width: 16px;
    height: 1px;
    flex: 0 0 16px;
    background: currentColor;
}

section[data-module="web-app-hero"] .webapphero-project-card h2 {
    margin: 0 0 8px;
    color: #142239;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

section[data-module="web-app-hero"] .webapphero-project-result {
    color: #6f7b8f;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes webappheroFeatureIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {
    section[data-module="web-app-hero"] .webapphero-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
        gap: 45px;
    }

    section[data-module="web-app-hero"] .webapphero-title {
        font-size: clamp(42px, 4.8vw, 56px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    section[data-module="web-app-hero"] {
        padding: 24px 0 32px;
    }

    section[data-module="web-app-hero"] .webapphero-wrapper {
        grid-template-columns: 1fr;
        gap: 42px;
        width: min(90%, 820px);
    }

    section[data-module="web-app-hero"] .webapphero-title,
    section[data-module="web-app-hero"] .webapphero-description,
    section[data-module="web-app-hero"] .webapphero-notes {
        max-width: 100%;
    }

    section[data-module="web-app-hero"] .webapphero-visual {
        max-width: 720px;
        margin: 0 auto;
    }

    section[data-module="web-app-hero"] .webapphero-visual-frame {
        height: 430px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    section[data-module="web-app-hero"] {
        padding: 18px 0 25px;
    }

    section[data-module="web-app-hero"] .webapphero-grid {
        width: 100%;
        opacity: 0.26;
    }

    section[data-module="web-app-hero"] .webapphero-wrapper {
        gap: 34px;
        width: calc(100% - 34px);
    }

    section[data-module="web-app-hero"] .webapphero-eyebrow {
        margin-bottom: 15px;
        padding: 7px 12px;
        font-size: 11px;
    }

    section[data-module="web-app-hero"] .webapphero-title {
        margin-bottom: 16px;
        font-size: 36px;
        line-height: 1.07;
        letter-spacing: -0.035em;
    }

    section[data-module="web-app-hero"] .webapphero-description {
        font-size: 15px;
        line-height: 1.65;
    }

    section[data-module="web-app-hero"] .webapphero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 20px 0 13px;
    }

    section[data-module="web-app-hero"] .webapphero-button {
        width: 100%;
        min-height: 52px;
    }

    section[data-module="web-app-hero"] .webapphero-notes {
        font-size: 11px;
    }

    section[data-module="web-app-hero"] .webapphero-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    section[data-module="web-app-hero"] .webapphero-feature {
        min-height: 0;
        padding: 16px 17px;
    }

    section[data-module="web-app-hero"] .webapphero-visual {
        padding: 12px 0 0;
    }

    section[data-module="web-app-hero"] .webapphero-visual::before {
        right: -12px;
        width: 82%;
        height: 62%;
        border-radius: 23px;
    }

    section[data-module="web-app-hero"] .webapphero-visual-frame {
        height: clamp(250px, 72vw, 370px);
        border-radius: 18px;
    }

    section[data-module="web-app-hero"] .webapphero-project-card {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(100% - 22px);
        margin: -24px auto 0;
        padding: 19px 20px;
        border-radius: 15px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    section[data-module="web-app-hero"] .webapphero-title {
        font-size: 34px;
    }

    section[data-module="web-app-hero"] .webapphero-button {
        padding-left: 17px;
    }

    section[data-module="web-app-hero"] .webapphero-project-card {
        width: calc(100% - 16px);
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    section[data-module="web-app-hero"] .webapphero-button,
    section[data-module="web-app-hero"] .webapphero-button-arrow,
    section[data-module="web-app-hero"] .webapphero-feature,
    section[data-module="web-app-hero"] .webapphero-visual-frame img,
    section[data-module="web-app-hero"] .webapphero-frame-shine {
        animation: none;
        transition: none;
    }
}