:root {
    --hero-bg: #FFF8F4;
    --hero-bg-deep: #FFF1E9;
    --hero-accent: #FF6725;
    --hero-accent-soft: rgba(255, 103, 37, 0.10);
    --hero-accent-glow: rgba(255, 103, 37, 0.06);
    --hero-text: #1A1A1A;
    --hero-text-soft: #5A5A5A;
    --hero-border: rgba(0, 0, 0, 0.06);
    --hero-card-bg: #FFFFFF;
}

.hero-v2 {
    position: relative;
    background: var(--hero-bg);
    padding: 170px 0 110px;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-v2__grain,
.hero-v2__grid,
.hero-v2__skyline,
.hero-v2::before,
.hero-v2::after {
    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 103, 37, 0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: heroOrb1 14s ease-in-out infinite;
}

.hero-v2::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 180, 130, 0.06) 0%, transparent 65%);
    pointer-events: none;
    animation: heroOrb2 18s ease-in-out infinite;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.08); }
    66% { transform: translate(15px, -15px) scale(0.96); }
}

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

.hero-v2__grain {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-v2__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse 55% 65% at 50% 45%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 55% 65% at 50% 45%, black, transparent);
}

.hero-v2__content {
    position: relative;
    z-index: 2;
}

.hero-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: 100px;
    padding: 7px 20px 7px 10px;
    margin-bottom: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    animation: heroFadeUp 0.8s ease-out both;
}

.hero-v2__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hero-accent);
    box-shadow: 0 0 10px rgba(255, 103, 37, 0.4);
    animation: heroPulse 2.5s ease-in-out infinite;
}

.hero-v2__eyebrow-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hero-text-soft);
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-v2__heading {
    font-family: "EB Garamond", serif;
    font-size: clamp(42px, 5.5vw, 80px);
    line-height: 1.1;
    font-weight: 500;
    color: var(--hero-text);
    margin-bottom: 26px;
    max-width: 860px;
    animation: heroFadeUp 0.8s ease-out 0.12s both;
}

.hero-v2__heading em {
    font-style: italic;
    color: var(--hero-accent);
    position: relative;
    display: inline-block;
}

.hero-v2__heading em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background: var(--hero-accent-soft);
    border-radius: 4px;
    z-index: -1;
}

.hero-v2__sub {
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.75;
    color: var(--hero-text-soft);
    max-width: 580px;
    margin-bottom: 44px;
    animation: heroFadeUp 0.8s ease-out 0.24s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-v2__search {
    animation: heroFadeUp 0.8s ease-out 0.36s both;
    max-width: 480px;
    position: relative;
    z-index: 5;
}

.hero-v2__search-card {
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: 18px;
    padding: 6px;
    overflow: visible;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.04);
}

.hero-v2__search-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
    overflow: visible;
}

.hero-v2__search-field {
    flex: 1;
    padding: 18px 22px;
    position: relative;
    overflow: visible;
}

.hero-v2__search-field:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: var(--hero-border);
}

.hero-v2__search-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hero-accent);
    margin-bottom: 6px;
}

.hero-v2__search-field .nice-select,
.hero-v2__search-field select {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: var(--hero-text) !important;
    font-size: 15px;
    font-family: "Gordita", sans-serif;
    padding: 0 20px 0 0 !important;
    height: auto !important;
    line-height: 1.5 !important;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
}

.hero-v2__search-field .nice-select .current {
    color: var(--hero-text);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-v2__search-field .nice-select .current.slide-out {
    opacity: 0;
    transform: translateY(-12px);
}

.hero-v2__search-field .nice-select .current.slide-in {
    animation: heroSlideIn 0.35s ease-out forwards;
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-v2__search-field .nice-select::after {
    border-color: #bbb !important;
    right: 2px;
}

.hero-v2__search-field .nice-select .list {
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    z-index: 10;
}

.hero-v2__search-field .nice-select .list .option {
    color: var(--hero-text);
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-v2__search-field .nice-select .list .option:hover,
.hero-v2__search-field .nice-select .list .option.selected {
    background: var(--hero-accent);
    color: #fff;
}

.hero-v2__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hero-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 13px;
    padding: 0 34px;
    min-width: 150px;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-v2__search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-v2__search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 103, 37, 0.3);
}

.hero-v2__search-btn:hover::before {
    opacity: 1;
}

.hero-v2__search-btn i {
    font-size: 17px;
    transition: transform 0.3s;
}

.hero-v2__search-btn:hover i {
    transform: translateX(3px);
}

.hero-v2__illustration {
    animation: heroFadeUp 0.8s ease-out 0.4s both;
    text-align: center;
    padding-left: 20px;
}

.hero-v2__illustration img {
    width: 100%;
    max-width: 620px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
    animation: heroIllustrationFloat 6s ease-in-out infinite;
}

@keyframes heroIllustrationFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-v2__trust {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 44px;
    animation: heroFadeUp 0.8s ease-out 0.5s both;
}

.hero-v2__trust-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-v2__trust-number {
    font-family: "EB Garamond", serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--hero-text);
}

.hero-v2__trust-label {
    font-size: 12px;
    color: var(--hero-text-soft);
    letter-spacing: 0.02em;
}

.hero-v2__trust-sep {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-v2__skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.hero-v2__skyline img {
    width: 100%;
    display: block;
}

.hero-v2__float-badge {
    position: absolute;
    z-index: 3;
    animation: heroFloat 7s ease-in-out infinite;
}

.hero-v2__float-badge--right {
    right: 6%;
    top: 32%;
}

.hero-v2__float-badge--left {
    left: 4%;
    bottom: 22%;
    animation-delay: -3.5s;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-v2__badge-card {
    background: var(--hero-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--hero-border);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-v2__badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--hero-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--hero-accent);
    flex-shrink: 0;
}

.hero-v2__badge-text strong {
    display: block;
    font-size: 15px;
    color: var(--hero-text);
    font-weight: 600;
}

.hero-v2__badge-text span {
    font-size: 12px;
    color: var(--hero-text-soft);
}

.hero-v2__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: heroFadeUp 0.8s ease-out 0.9s both;
}

.hero-v2__scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--hero-accent), transparent);
    animation: heroScrollLine 2.2s ease-in-out infinite;
}

@keyframes heroScrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

.hero-v2__scroll-text {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hero-text-soft);
    opacity: 0.6;
}

@media (max-width: 991px) {
    .hero-v2 {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero-v2__heading {
        font-size: clamp(34px, 7vw, 50px);
    }

    .hero-v2__illustration--mobile {
        margin-bottom: 28px;
        text-align: center;
    }

    .hero-v2__illustration--mobile img {
        max-width: 360px;
        width: 100%;
    }

    .hero-v2__search-inner {
        flex-direction: column;
    }

    .hero-v2__search-btn {
        margin: 6px;
        padding: 16px 32px;
        border-radius: 11px;
        min-width: auto;
    }

    .hero-v2__search {
        z-index: 10;
    }

    .hero-v2__float-badge {
        display: none;
    }

    .hero-v2__trust {
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-v2__scroll-hint {
        display: none;
    }

}

@media (max-width: 575px) {
    .hero-v2 {
        padding: 120px 0 60px;
    }

    .hero-v2__heading {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .hero-v2__sub {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-v2__eyebrow {
        margin-bottom: 22px;
    }

    .hero-v2__search-field {
        padding: 12px 16px;
    }

    .hero-v2__trust-number {
        font-size: 22px;
    }

    .hero-v2__trust-sep {
        display: none;
    }

    .hero-v2__trust {
        gap: 20px 32px;
    }
}
