@charset "UTF-8";
/* ==========================================================================
   Legkopay Hero Block Stylesheet
   ========================================================================== */

:root {
    /* ==========================================================================
       НАЛАШТУВАННЯ РОЗМІРУ ТА ПОЛОЖЕННЯ ТЕЛЕФОНІВ
       (Крутіть ці значення, щоб налаштувати вигляд як вам подобається!)
       ========================================================================== */
    --hero-phones-size: 100%;
    /* Ширина контейнера (залиште 100% для бездоганного накладання) */
    --hero-phones-bg-size: contain;
    /* Масштаб фото телефонів (використовуйте contain, щоб фото НІКОЛИ не обрізалося!) */
    --hero-phones-bg-position: left bottom;
    /* Вирівнювання фото (left bottom дозволяє телефонам бездоганно спиратися на лівий нижній край без обрізання) */

    /* ПОЧАТКОВА ПОЗИЦІЯ (Звідки вилітають телефони) */
    --hero-phones-initial-x: 25%;
    /* Початковий зсув вправо (крутіть більше %, щоб зсунути старт до центру) */
    --hero-phones-initial-y: 100%;
    /* Початковий зсув вниз (100% — телефони повністю сховані під екраном на старті) */
    --hero-phones-initial-scale: 0.85;
    /* Початковий масштаб на старті польоту (менше 1 — зменшено) */

    /* КІНЦЕВА ПОЗИЦІЯ (Де телефони зупиняються) */
    --hero-phones-final-x: 30%;
    /* Фінальний зсув по X (0% — оригінал, -10% — змістить вліво, 10% — вправо) */
    --hero-phones-final-y: 0%;
    /* Фінальний зсув по Y (0% — оригінал, -5% — змістить вгору, 5% — вниз) */
    --hero-phones-final-scale: 2.1;
    /* Фінальний масштаб після приземлення (1 — оригінальний розмір) */
}

.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 2; /* Fix overlap with parallax footer */
    background-image: url('../images/fon-hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Premium smooth dissolve gradient overlay to transition into the next block seamlessly */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Animated Phones Layer (Desktop and Landscape Viewports only) */
@media (min-width: 992px) {
    .hero-phones-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        /* Sits behind the container and the glass-bg-panel */
        pointer-events: none;
    }

    .hero-phones {
        width: var(--hero-phones-size);
        height: 100%;
        background-image: url('../images/fon-phone.png');
        background-size: var(--hero-phones-bg-size);
        background-position: var(--hero-phones-bg-position);
        background-repeat: no-repeat;
        opacity: 0;
        /* Diagonal fly-out from the center (shifted right and down) to the top-left */
        transform: translate(var(--hero-phones-initial-x), var(--hero-phones-initial-y)) scale(var(--hero-phones-initial-scale));
        will-change: transform, opacity;
    }

    body.animate-hero .hero-phones {
        opacity: 1;
        transform: translate(var(--hero-phones-final-x), var(--hero-phones-final-y)) scale(var(--hero-phones-final-scale));
        /* Move transition here so it only animates active state, eliminating mount jank */
        transition: transform 2.0s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.8s ease-out;
    }
}

/* Edge-to-edge Frosted Glass Background Panel (Full screen on Mobile, 50% on Desktop) */
.glass-bg-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(var(--color-white-rgb), 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-left: 1px solid rgba(var(--color-white-rgb), 0.45);
    box-shadow: -15px 0 35px rgba(var(--color-dark-rgb), 0.02);
    z-index: 2;
    /* Increased from 1 so phones slide beautifully underneath the glass blur */
    pointer-events: none;
    /* Passes click events through to forms and buttons */
}

.hero-container {
    z-index: 5;
    position: relative;
}

.hero-row {
    min-height: 100vh;
}

/* PC (Desktop / Landscape) Right Column styling */
@media (min-width: 992px) {
    .hero-right-col {
        /* Fluid top padding to completely clear the 82px absolute header navbar and ensure comfortable breathing room across all viewports */
        padding-top: clamp(90px, 9vh, 130px);
        /* Fluid bottom padding to create elegant bottom breathing room */
        padding-bottom: clamp(20px, 3vh, 45px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 5;
        /* Fluid, height-defensive gap to keep elements beautifully clustered */
        gap: clamp(0.25rem, 1vh, 0.75rem) !important;
    }

    /* Heading and description form a tight unified text block, handled by flex gap */
    .hero-heading-box {
        margin-bottom: 0 !important;
    }

    /* Spacing between the Subtitle and the Form Card scales with height (vh) 
       to prevent vertical overflow on wider screens under shorter viewports! */
    .hero-desc-box {
        margin-top: 0 !important;
        margin-bottom: clamp(0.5rem, 1.8vh, 1.25rem) !important;
    }

    .hero-form-card {
        margin-bottom: 0 !important;
    }

    .hero-cta-group {
        margin-bottom: 0 !important;
    }
}

/* Height-Defensive Vertical Scaling Tier 1: standard shorter laptops (height <= 820px) 
   to guarantee that the entire hero block fits within the viewport with balanced spacing. */
@media (min-width: 992px) and (max-height: 820px) {
    .hero-right-col {
        padding-top: clamp(80px, 8vh, 100px) !important;
        gap: 0.25rem !important;
        /* Elegant vertical clustering */
    }

    .hero-desc-box {
        margin-bottom: 0.5rem !important;
    }

    .headline-light {
        font-size: clamp(1.3rem, 1.1vw, 1.8rem) !important;
    }

    .headline-bold {
        font-size: clamp(2.2rem, 2.5vw, 3.2rem) !important;
    }

    .hero-description {
        font-size: clamp(0.92rem, 0.82vw, 1.1rem) !important;
        line-height: 1.45 !important;
    }

    .hero-form-card {
        padding: 0.38rem 0.85rem !important;
        border-radius: 14px !important;
        margin-bottom: 0.95rem !important;
    }

    .form-title-custom {
        font-size: 1.15rem !important;
        margin-bottom: 0.4rem !important;
    }

    .form-group-custom {
        margin-bottom: 0.12rem !important;
    }

    .form-label-custom {
        font-size: 0.78rem !important;
        margin-bottom: 0.03rem !important;
    }

    .form-input-custom {
        padding: 0.22rem 0.55rem !important;
        font-size: 0.8rem !important;
        border-radius: 7px !important;
    }

    .form-hint-custom {
        font-size: 0.68rem !important;
        margin-top: 0.04rem !important;
    }

    .btn-form-submit {
        padding: 0.4rem 1rem !important;
        font-size: 0.84rem !important;
        border-radius: 7px !important;
        margin-top: 0.2rem !important;
    }

    .btn-hero {
        font-size: 0.92rem !important;
        padding: 0.7rem 2.2rem !important;
    }

    .btn-video-presentation {
        font-size: 0.92rem !important;
        padding: 0.7rem 1.6rem !important;
    }
}

/* Height-Defensive Vertical Scaling Tier 2: ultra-short laptop viewports (height <= 720px)
   guarantees no vertical clipping by utilizing high-density compression and hiding hints */
@media (min-width: 992px) and (max-height: 720px) {
    .hero-right-col {
        padding-top: 75px !important;
        gap: 0.125rem !important;
    }

    .hero-desc-box {
        margin-bottom: 0.25rem !important;
    }

    .headline-light {
        font-size: 1.15rem !important;
    }

    .headline-bold {
        font-size: 1.85rem !important;
    }

    .hero-description {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
    }

    .hero-form-card {
        padding: 0.35rem 0.75rem !important;
        border-radius: 10px !important;
        margin-bottom: 0.35rem !important;
    }

    .form-title-custom {
        font-size: 1.0rem !important;
        margin-bottom: 0.25rem !important;
    }

    .form-group-custom {
        margin-bottom: 0.05rem !important;
    }

    .form-label-custom {
        font-size: 0.7rem !important;
        margin-bottom: 0.02rem !important;
    }

    .form-input-custom {
        padding: 0.18rem 0.45rem !important;
        font-size: 0.76rem !important;
        border-radius: 5px !important;
    }

    .form-hint-custom {
        display: none !important;
        /* Hide tiny helper text on extremely tight heights to guarantee form fit! */
    }

    .btn-form-submit {
        padding: 0.35rem 0.85rem !important;
        font-size: 0.8rem !important;
        border-radius: 5px !important;
        margin-top: 0.1rem !important;
    }

    .btn-hero {
        font-size: 0.82rem !important;
        padding: 0.5rem 1.6rem !important;
    }

    .btn-video-presentation {
        font-size: 0.82rem !important;
        padding: 0.5rem 1.1rem !important;
    }
}

/* Standard Container widths overrides for premium scaling on 2K / wide screens */
@media (min-width: 1400px) {
    .container-lg {
        max-width: 1320px !important;
    }
}

@media (min-width: 1920px) {
    .container-lg {
        max-width: 1600px !important;
    }
}

@media (min-width: 2560px) {
    .container-lg {
        max-width: 2100px !important;
    }
}

/* Left column contains the background image phones space on desktop */


/* ==========================================================================
   Right Column: Marketing Text
   ========================================================================== */
.hero-headline {
    color: var(--color-text-main);
    margin: 0;
}

.hero-heading-box {
    margin-bottom: 0.5rem;
    /* Defensively compact gap */
}

.headline-light {
    font-size: clamp(1.55rem, 0.6rem + 1.5vw, 3.2rem);
    /* Compacted for zero desktop scroll */
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    display: block;
}

.headline-bold {
    font-size: clamp(2.75rem, 1.2rem + 3vw, 6rem);
    /* Compacted for zero desktop scroll */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-dark);
}

/* CTAs Styles */
.btn-hero {
    font-size: 1.05rem;
    padding: 0.9rem 2.8rem;
    box-shadow: 0 6px 20px rgba(var(--color-dark-rgb), 0.15);
}

/* Play presentation button */
.btn-play-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-light-bg);
    border: 1px solid rgba(var(--color-dark-rgb), 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(var(--color-dark-rgb), 0.05);
    transition: var(--transition-bounce);
    cursor: pointer;
    text-decoration: none;
}

.btn-play-circle:hover {
    background-color: var(--color-white);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 24px rgba(var(--color-dark-rgb), 0.12);
    border-color: rgba(var(--color-dark-rgb), 0.1);
}

.play-icon {
    margin-left: 2px;
    /* Visual center adjustment */
    transition: var(--transition-smooth);
}

.btn-play-circle:hover .play-icon {
    transform: scale(1.05);
}

/* Premium Video Presentation Button */
.btn-video-presentation {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-main);
    background: rgba(var(--color-white-rgb), 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--color-dark-rgb), 0.08);
    border-radius: 30px;
    padding: 0.9rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(var(--color-dark-rgb), 0.04);
    transition: var(--transition-bounce);
    cursor: pointer;
    outline: none;
}

.btn-video-presentation:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: rgba(var(--color-primary-rgb), 0.25);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.12);
    transform: translateY(-2px);
}

.btn-video-presentation:active {
    transform: translateY(1px);
}

.play-icon-svg {
    transition: var(--transition-smooth);
    color: var(--color-text-main);
}

.btn-video-presentation:hover .play-icon-svg {
    transform: scale(1.1);
    color: var(--color-primary);
}

/* Description Text Box */
.hero-desc-box {
    margin-top: 0.5rem;
    /* Saved space to prevent scroll */
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 0.95rem + 0.2vw, 1.35rem);
    line-height: 1.6;
    color: var(--color-text-muted);
    font-weight: 400;
    margin: 0;
    max-width: clamp(440px, 350px + 8vw, 580px);
    /* Align perfectly with the form card width fluidly */
}

/* ==========================================================================
   Premium Glassmorphic Invoice Form Styles
   ========================================================================== */
.hero-form-card {
    background: rgba(var(--color-white-rgb), 0.45);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(var(--color-white-rgb), 0.5);
    border-radius: 16px;
    padding: 0.8rem 1.15rem;
    /* Airy, spacious vertical padding */
    box-shadow: 0 15px 35px rgba(var(--color-dark-rgb), 0.03),
        inset 0 0 0 1px rgba(var(--color-white-rgb), 0.2);
    margin-bottom: 1.25rem !important;
    /* Comfortable gap between the form card and buttons */
    text-align: left;
    width: 100%;
    max-width: clamp(440px, 350px + 8vw, 580px);
    margin-left: auto;
    margin-right: 0;

    /* Animated states */
    clip-path: inset(42% 40% 42% 40% round 16px);
    opacity: 0;
    transform: scale(0.9);
    will-change: clip-path, opacity, transform;
}

body.animate-hero .hero-form-card {
    clip-path: inset(0% 0% 0% 0% round 16px);
    opacity: 1;
    transform: scale(1);
    /* Transition is active ONLY when animating to prevent mount jank */
    transition:
        opacity 0.6s ease-out,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        clip-path 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

/* Sequential Fade-in for form contents */
.hero-form-card>* {
    opacity: 0;
    transform: translateY(10px);
    will-change: opacity, transform;
}

body.animate-hero .hero-form-card>* {
    opacity: 1;
    transform: translateY(0);
    /* Transition is active ONLY when animating */
    transition:
        opacity 0.6s ease-out 0.8s,
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s;
}

/* Hover animations removed for stable, static card aesthetic as requested */

.form-title-custom {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    /* Shaved title size */
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
    margin-bottom: 0.85rem !important;
    /* Beautiful title space */
}

.form-group-custom {
    margin-bottom: 0.65rem;
    /* Airy margin for a premium aesthetic */
}

.form-label-custom {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
    display: block;
    letter-spacing: -0.01em;
}

.form-input-custom {
    width: 100%;
    background: rgba(var(--color-white-rgb), 0.6);
    border: 1px solid rgba(var(--color-dark-rgb), 0.06);
    border-radius: 8px;
    padding: 0.38rem 0.75rem;
    /* Airy vertical padding */
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.form-input-custom::placeholder {
    color: rgba(var(--color-dark-rgb), 0.3);
}

.form-input-custom:focus {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12);
    outline: none;
}

.form-hint-custom {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
    display: block;
    line-height: 1.35;
}

.btn-form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1.25rem;
    /* Pill submit button style to match brand design */
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--color-success-rgb), 0.25);
    transition: var(--transition-bounce);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-form-submit:hover {
    box-shadow: 0 8px 24px rgba(var(--color-success-rgb), 0.35);
    filter: brightness(1.05);
}

.btn-form-submit:active {
    transform: translateY(1px);
}


/* ==========================================================================
   Responsive Overrides for Tablet and Mobile
   ========================================================================== */

@media (max-width: 991.98px) {
    .glass-bg-panel {
        width: 100%;
        border-left: none;
        box-shadow: none;
        background-color: rgba(var(--color-white-rgb), 0.45);
        /* Mobile soft glass */
        backdrop-filter: blur(15px) saturate(145%);
        -webkit-backdrop-filter: blur(15px) saturate(145%);
        height: 100%;
        /* Spans the entire scrollable height */
    }

    .hero-section {
        min-height: 100vh;
        height: auto;
        display: block;
        /* Normal block layout on mobile so long elements scroll naturally without clipping */
        padding-top: 0;
        padding-bottom: 0;
        background-position: right center;
        /* Shifts background to show only gradient blue glow, hiding phones on mobile */
    }

    .hero-right-col {
        align-items: center !important;
        text-align: center !important;
        padding-top: calc(110px + env(safe-area-inset-top));
        /* Clear the header and Apple notch completely */
        padding-bottom: 60px;
        z-index: 5;
        width: 100%;
    }

    .hero-form-card {
        margin-left: auto !important;
        margin-right: auto !important;
        background: rgba(var(--color-white-rgb), 0.7);
        box-shadow: 0 10px 25px rgba(var(--color-dark-rgb), 0.04);
        padding: 1rem;
        /* Shaved off mobile padding for beautiful clean layout */
        border-radius: 16px;
        margin-bottom: 1.5rem;
        text-align: left !important;
        /* Keep input labels left-aligned inside the card */
    }

    /* Mobile Brand Origami Logo */
    .hero-mobile-logo {
        height: 48px;
        width: 48px;
        /* Force square aspect ratio to show only the bird logo symbol */
        object-fit: cover;
        object-position: left center;
        /* Crop brand text out */
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
        margin: 0 auto !important;
        display: block !important;
    }

    /* Heading sizing for perfect fit on smaller phone screens */
    .headline-light {
        font-size: 1.9rem;
        line-height: 1.3;
        font-weight: 500;
        text-align: center !important;
        width: 100%;
    }

    .headline-bold {
        font-size: 2.8rem;
        font-weight: 800;
        margin-top: 0.25rem;
        text-align: center !important;
        width: 100%;
    }

    .hero-cta-group {
        justify-content: center !important;
        width: 100%;
    }

    .btn-hero {
        padding: 0.8rem 2.4rem;
        font-size: 1rem;
    }

    .btn-play-circle {
        width: 48px;
        height: 48px;
    }

    .btn-video-presentation {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }

    /* Mobile sub-links: Login | Register */
    .mobile-sublinks {
        display: flex;
        align-items: center;
        justify-content: center !important;
        gap: 0.5rem;
        margin-top: 0.75rem;
        width: 100%;
    }

    .mobile-sublink {
        font-family: var(--font-body);
        font-size: 0.9rem;
        color: var(--color-text-muted);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition-smooth);
    }

    .mobile-sublink:hover {
        color: var(--color-text-main);
    }

    .sublink-divider {
        color: rgba(var(--color-dark-rgb), 0.15);
        font-size: 0.85rem;
    }

    /* Mobile custom horizontal divider */
    .mobile-hero-divider {
        width: 60px;
        border-top: 1.5px solid rgba(var(--color-dark-rgb), 0.8);
        opacity: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100%;
    }
}

/* Specific narrow device tweaks (e.g. iPhone SE / smaller Androids) */
@media (max-width: 375px) {
    .headline-light {
        font-size: 1.65rem;
    }

    .headline-bold {
        font-size: 2.4rem;
    }

    .btn-hero {
        padding: 0.75rem 2rem;
    }
}

/* ==========================================================================
   Progressive Step-by-Step Form Styles
   ========================================================================== */
.form-step-tracker {
    display: flex;
    align-items: center;
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(var(--color-dark-rgb), 0.15);
    transition: var(--transition-smooth);
}

.step-dot.active {
    width: 14px;
    border-radius: 4px;
    background-color: var(--color-dark);
    box-shadow: 0 2px 6px rgba(var(--color-dark-rgb), 0.2);
}

.btn-step-next {
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--color-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 14px rgba(var(--color-dark-rgb), 0.15);
}

.btn-step-next:hover {
    background: transparent;
    color: var(--color-dark);
    box-shadow: 0 6px 20px rgba(var(--color-dark-rgb), 0.25);
}

.btn-step-next .arrow-icon {
    transition: var(--transition-smooth);
}

.btn-step-next:hover .arrow-icon {
    transform: translateX(3px);
}

.btn-step-back {
    background: transparent;
    color: var(--color-dark);
    padding: 0.55rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(var(--color-dark-rgb), 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-step-back:hover {
    background: rgba(var(--color-dark-rgb), 0.05);
    border-color: rgba(var(--color-dark-rgb), 0.35);
}

.btn-mode-toggle {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    outline: none;
}

.btn-mode-toggle:hover {
    color: var(--color-primary);
}

/* Animations for step panels */
.form-step-panel {
    animation: stepFadeIn 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.form-step-panel.full-mode-active {
    margin-bottom: 0.8rem;
    animation: none;
}

.form-step-panel.full-mode-active:last-of-type {
    margin-bottom: 0;
}

/* ==========================================================================
   2K Displays scaling (1920px width and up with comfortable height >= 980px)
   ========================================================================== */
@media (min-width: 1920px) and (min-height: 980px) {
    .hero-form-card {
        padding: 0.75rem 1rem;
        border-radius: 16px;
    }

    .form-title-custom {
        font-size: 1.45rem;
        margin-bottom: 0.75rem !important;
    }

    .form-group-custom {
        margin-bottom: 0.35rem;
    }

    .form-label-custom {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .form-input-custom {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .form-hint-custom {
        font-size: 0.76rem;
        margin-top: 0.25rem;
    }

    .btn-form-submit {
        font-size: 1rem;
        padding: 0.65rem 1.25rem;
        border-radius: 10px;
        margin-top: 0.4rem !important;
    }

    .btn-hero {
        font-size: 1.1rem;
        padding: 0.95rem 3rem;
    }

    .btn-play-circle {
        width: 52px;
        height: 52px;
    }

    .btn-play-circle svg {
        width: 13px;
        height: 15px;
    }

    .btn-video-presentation {
        font-size: 1.1rem;
        padding: 0.95rem 2.2rem;
    }
}

/* ==========================================================================
   4K Displays scaling (2560px width and up with comfortable height >= 1200px)
   ========================================================================== */
@media (min-width: 2560px) and (min-height: 1200px) {
    .hero-form-card {
        padding: 1.1rem 1.4rem;
        border-radius: 20px;
    }

    .form-title-custom {
        font-size: 1.85rem;
        margin-bottom: 1.1rem !important;
    }

    .form-group-custom {
        margin-bottom: 0.55rem;
    }

    .form-label-custom {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }

    .form-input-custom {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .form-hint-custom {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }

    .btn-form-submit {
        font-size: 1.15rem;
        padding: 0.85rem 1.5rem;
        border-radius: 12px;
        margin-top: 0.7rem !important;
    }

    .btn-hero {
        font-size: 1.25rem;
        padding: 1.2rem 3.8rem;
    }

    .btn-play-circle {
        width: 64px;
        height: 64px;
    }

    .btn-play-circle svg {
        width: 15px;
        height: 17px;
    }

    .btn-video-presentation {
        font-size: 1.25rem;
        padding: 1.2rem 2.8rem;
    }
}