/* ========================================
   HERO
======================================== */

.hero {
    min-height: 100vh;

    padding: 180px 40px 80px;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    background-color: #fff;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px
        );

    background-size: 80px 80px;
}


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

.hero-content {
    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* Badge */

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 16px;

    margin-bottom: 22px;

    border: 1px solid #e5e5e5;
    border-radius: 999px;

    background: #ffffff;

    color: #555;

    font-size: 13px;
    font-weight: 500;
}


/* Title */

.hero h1 {
    margin: 0;
    color: #111;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 700;
}


/* Description */

.hero-description {
    max-width: 620px;

    margin: 26px 0 0;

    color: #666;

    font-size: 18px;
    line-height: 1.6;
}


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

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 34px;
}

.hero-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


/* Primary */

.hero-button-primary {
    background: #111;
    color: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hero-button-primary:hover {
    background: #222;
    transform: translateY(-2px);
}


/* Secondary */

.hero-button-secondary {
    background: #fff;
    color: #111;

    border: 1px solid #dedede;
}

.hero-button-secondary:hover {
    background: #f7f7f7;
    border-color: #ccc;

    transform: translateY(-2px);
}


/* ========================================
   PROMOTION
======================================== */

.hero-promotion {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: #777;

    font-size: 13px;
}

.hero-promotion strong {
    color: #111;
}

.promotion-icon {
    color: #111;
    font-size: 15px;
}


/* ========================================
   SHOWCASE
======================================== */

.hero-showcase {
    width: 100%;
    max-width: 1150px;

    min-height: 470px;

    margin-top: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 50px;

    position: relative;
}


/* ========================================
   PHONE
======================================== */

.phone-mockup {
    position: relative;

    width: 245px;

    z-index: 2;
}

.phone-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 0.48;

    padding: 9px;

    background: #111;

    border-radius: 38px;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08);

    transform: rotate(-3deg);

    overflow: hidden;
}


/* Screen */

.phone-screen {
    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 30px;

    background: #f5f5f5;
}

.phone-screen img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* Speaker */

.phone-speaker {
    position: absolute;

    top: 16px;
    left: 50%;

    transform: translateX(-50%);

    width: 65px;
    height: 5px;

    border-radius: 999px;

    background: #222;

    z-index: 5;
}


/* ========================================
   ARROW
======================================== */

.hero-arrow {
    width: 100px;
    height: 60px;

    display: flex;
    align-items: center;

    position: relative;
}


/* Line */

.arrow-line {
    width: 70px;
    height: 2px;

    background: #bbb;
}


/* Arrow head */

.arrow-head {
    position: absolute;

    right: 18px;

    width: 12px;
    height: 12px;

    border-top: 2px solid #999;
    border-right: 2px solid #999;

    transform: rotate(45deg);
}


/* ========================================
   PLATFORM MOCKUP
======================================== */

.platform-mockup {
    width: min(650px, 55vw);

    z-index: 1;
}


/* Browser */

.browser-window {
    width: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dedede;

    border-radius: 16px;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(0, 0, 0, 0.05);

    transform: rotate(1deg);
}


/* Browser header */

.browser-header {
    height: 42px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    border-bottom: 1px solid #e8e8e8;

    background: #fafafa;
}


/* Dots */

.browser-dots {
    display: flex;
    align-items: center;

    gap: 6px;
}

.browser-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d2d2d2;
}


/* Address */

.browser-address {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    padding: 5px 45px;

    border-radius: 6px;

    background: #f0f0f0;

    color: #999;

    font-size: 11px;
}


/* Platform image */

.browser-content {
    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f5f5f5;
}

.browser-content img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .hero {
        padding: 150px 24px 60px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-showcase {
        gap: 20px;
    }

    .phone-mockup {
        width: 190px;
    }

    .platform-mockup {
        width: 55vw;
    }

    .hero-arrow {
        width: 50px;
    }

    .arrow-line {
        width: 35px;
    }

    .arrow-head {
        right: 0;
    }
}


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

@media (max-width: 650px) {

    .hero {
        padding: 130px 20px 60px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .hero-promotion {
        max-width: 340px;

        line-height: 1.5;
    }

    .hero-showcase {
        min-height: auto;

        margin-top: 60px;

        flex-direction: column;

        gap: 35px;
    }

    .phone-mockup {
        width: 210px;
    }

    .hero-arrow {
        width: 40px;
        height: 45px;

        transform: rotate(90deg);
    }

    .platform-mockup {
        width: 100%;
    }

    .browser-window {
        transform: none;
    }
}