/* =========================================
   DewTime Specific Styles
   ========================================= */

.app-hero-section.dewtime-hero {
    min-height: 58vh;
}

.app-hero-background.dewtime-bg {
    background-image: url('../../../../images/dewtime_feature.png');
    background-position: center;
}

.app-hero-overlay.dewtime-overlay {
    background: linear-gradient(135deg, rgba(5, 34, 46, 0.82) 0%, rgba(8, 88, 112, 0.58) 48%, rgba(11, 59, 76, 0.78) 100%);
}

.dewtime-badge-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #67e8f9;
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 10px #67e8f9;
}

.dewtime-badge-blue {
    background: rgba(8, 145, 178, 0.12);
    color: #0891b2;
}

.dewtime-badge-green {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.dewtime-badge-amber {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.dewtime-bullet-blue {
    background: #cffafe;
    color: #0891b2;
}

.dewtime-bullet-green {
    background: #ccfbf1;
    color: #0f766e;
}

.dewtime-bullet-amber {
    background: #fef3c7;
    color: #b45309;
}

.dewtime-feature-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.kpass-feature-highlight.dewtime-feature-showcase .feature-text {
    order: 0;
}

.dewtime-feature-showcase--reverse {
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
}

.kpass-feature-highlight.dewtime-feature-showcase--reverse .feature-text {
    order: 2;
}

.kpass-feature-highlight.dewtime-feature-showcase--reverse .dewtime-feature-shot {
    order: 1;
}

.dewtime-feature-shot {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(100%, 330px);
    padding: 0.8rem;
    border-radius: 36px;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.92), transparent 26%),
        linear-gradient(160deg, rgba(224, 251, 255, 0.96), rgba(125, 211, 252, 0.5));
    border: 1px solid rgba(8, 145, 178, 0.18);
    box-shadow: 0 28px 70px rgba(8, 145, 178, 0.18);
}

.dewtime-feature-shot::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.34);
    transform: rotate(-5deg);
    z-index: 0;
}

.dewtime-feature-shot--timer {
    background:
        linear-gradient(180deg, rgba(2, 19, 43, 0.96), rgba(34, 211, 238, 0.35)),
        radial-gradient(circle at 80% 18%, rgba(103, 232, 249, 0.42), transparent 30%);
}

.dewtime-feature-shot--timer::before {
    background: rgba(103, 232, 249, 0.18);
}

.dewtime-feature-shot--book {
    transform: rotate(-1.5deg);
}

.dewtime-feature-shot--aquarium {
    transform: rotate(1.5deg);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.68), rgba(30, 64, 175, 0.78)),
        radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.4), transparent 28%);
}

.dewtime-feature-shot img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.dewtime-flow-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fdff 0%, #e8f9ff 48%, #f7fbff 100%);
}

.dewtime-flow-section::before {
    content: '';
    position: absolute;
    left: -8%;
    right: -8%;
    top: 48%;
    height: 110px;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.16), rgba(14, 165, 233, 0.2), rgba(45, 212, 191, 0.14));
    border-top: 1px solid rgba(103, 232, 249, 0.42);
    border-bottom: 1px solid rgba(103, 232, 249, 0.32);
    transform: rotate(-1.5deg);
}

.dewtime-flow-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    padding: 2rem 0 0;
    margin: 0;
    list-style: none;
}

.dewtime-flow-list::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 62px;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #22d3ee, #2dd4bf, #0ea5e9);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.22);
}

.dewtime-flow-card {
    position: relative;
    min-height: 250px;
    padding: 4.5rem 1.35rem 1.35rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 145, 178, 0.13);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dewtime-flow-card:nth-child(even) {
    transform: translateY(1.75rem);
}

.dewtime-flow-marker {
    position: absolute;
    top: 0;
    left: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    color: #0891b2;
    font-weight: 800;
    border: 8px solid #cffafe;
    box-shadow: 0 14px 32px rgba(8, 145, 178, 0.18);
    transform: translateY(-50%);
}

.dewtime-flow-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 0.8rem;
    margin-bottom: 0.85rem;
    border-radius: 9999px;
    background: rgba(8, 145, 178, 0.1);
    color: #0e7490;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
}

.dewtime-flow-card h4 {
    margin: 0 0 0.6rem;
    color: #04304f;
    font-size: 1.05rem;
    font-weight: 800;
}

.dewtime-flow-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .dewtime-feature-showcase,
    .dewtime-feature-showcase--reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .kpass-feature-highlight.dewtime-feature-showcase--reverse .feature-text,
    .kpass-feature-highlight.dewtime-feature-showcase--reverse .dewtime-feature-shot {
        order: 0;
    }

    .dewtime-flow-section::before {
        top: 18%;
        bottom: 10%;
        left: 32px;
        right: auto;
        width: 74px;
        height: auto;
        transform: none;
    }

    .dewtime-flow-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 1rem;
    }

    .dewtime-flow-list::before {
        left: 29px;
        right: auto;
        top: 1rem;
        bottom: 1rem;
        width: 3px;
        height: auto;
    }

    .dewtime-flow-card,
    .dewtime-flow-card:nth-child(even) {
        min-height: 0;
        padding: 1.25rem 1.25rem 1.25rem 5.25rem;
        transform: none;
    }

    .dewtime-flow-marker {
        top: 1.25rem;
        left: 1rem;
        width: 46px;
        height: 46px;
        border-width: 6px;
        transform: none;
    }
}

@media (max-width: 640px) {
    .dewtime-feature-shot {
        width: min(100%, 280px);
        border-radius: 28px;
        padding: 0.55rem;
    }

    .dewtime-feature-shot img {
        border-radius: 22px;
    }
}
