/* =========================================
   SECTION 1: HERO
   ========================================= */

.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15vh;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgb(32, 32, 32) 0%,
        rgb(32, 32, 32) 15%,
        rgba(32, 32, 32, 0.9) 25%,
        rgba(32, 32, 32, 0.6) 38%,
        rgba(32, 32, 32, 0.25) 50%,
        transparent 65%
    );
}

.hero__nav {
    position: absolute;
    top: 20px;
    right: 24px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: white;
    border: none;
    color: #151515;
    text-decoration: none;
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: background 200ms ease;
}

.hero__cta:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
}

.hero__logo-full {
    width: 22rem;
    height: auto;
}

.hero__title {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: clamp(1.75rem, 6vw + 0.5rem, 6.5rem);
    font-weight: 400;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: center;
}

.hero__title-accent {
    font-weight: 400;
}

/* =========================================
   SECTION 2: INTERESTS SHOWCASE (under progress)
   ========================================= */

.interests-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #202020;
    overflow: hidden;
}

/* --- Left: Text Content --- */

.interests-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.interests-left__content {
    max-width: 32.625rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    color: white;
}

.interests-left__title {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.85);
}

.interests-left__title-accent {
    color: #F67F62;
    font-weight: 600;
}

/* Store buttons */
.interests-left__buttons {
    display: flex;
    gap: 2rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    background: #F67F62;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.store-btn:hover {
    opacity: 0.85;
}

.store-btn__icon {
    flex-shrink: 0;
}

.store-btn__text {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* --- Right: Phone Mockup --- */

.interests-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem 4rem 0;
}

/* Orange container card behind the phone */
.phone-card {
    position: relative;
    width: 308px;
    height: 626px;
    zoom: 1.3;
}

.phone-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F67F62;
    border-radius: 55px;
    z-index: 0;
}

/* =========================================
   Phone Frame — straight PNG, simple rect screen.
   ========================================= */

.phone-frame {
    position: absolute;
    z-index: 1;
    left: 4px;
    top: 4px;
    width: 300px;
    height: 618px;
}

.phone-frame__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 3;
    pointer-events: none;
}

/* App screen — positioned inside the frame's bezel.
   Insets from last commit (proven to fit perfectly). */
.app-screen {
    position: absolute;
    top: 1.6%;
    left: 4%;
    right: 3.4%;
    bottom: 1.6%;
    background: #FCFCFC;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 38px;
    z-index: 2;
}

/* =========================================
   iOS Status Bar
   ========================================= */

.phone-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 0 36px;
    height: 38px;
    flex-shrink: 0;
    position: relative;
    z-index: 21;
}

.statusbar__time {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #151515;
    letter-spacing: 0.2px;
}

.statusbar__icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.statusbar__signal,
.statusbar__wifi,
.statusbar__battery {
    display: block;
}

.statusbar__signal { width: 14px; height: 10px; }
.statusbar__wifi { width: 14px; height: 12px; }
.statusbar__battery { width: 22px; height: 11px; }

/* =========================================
   Phone App Content
   ========================================= */

.phone-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 8px 4px;
    min-height: 0;
}

.phone-header {
    padding: 12px 14px 0;
    flex-shrink: 0;
}

.phone-header__title {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #151515;
    letter-spacing: -0.4px;
    line-height: 24px;
}

.phone-header__divider {
    height: 1px;
    background: rgba(21, 21, 21, 0.2);
    margin-top: 12px;
}

/* =========================================
   Card Stack
   ========================================= */

.card-stack {
    position: relative;
    flex: 1;
    margin: 10px 10px 0;
    min-height: 0;
    max-height: 340px;
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    will-change: transform;
    transform-origin: 50% 0;
    backface-visibility: hidden;
}

@keyframes card-swipe-right {
    from { transform: translateX(0) rotate(0deg); }
    to   { transform: translateX(200%) rotate(45deg); }
}

@keyframes card-swipe-left {
    from { transform: translateX(0) rotate(0deg); }
    to   { transform: translateX(-200%) rotate(-45deg); }
}

.card.swiping-right {
    animation: card-swipe-right 500ms linear forwards;
}

.card.swiping-left {
    animation: card-swipe-left 500ms linear forwards;
}

.card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.20) 40%,
        transparent 70%
    );
    pointer-events: none;
}

.card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 14px;
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(0, 0, 0, 0.45) 15%,
        rgba(0, 0, 0, 0.50) 30%,
        rgba(0, 0, 0, 0.50) 85%,
        rgba(0, 0, 0, 0.60) 100%
    );
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 0 4px rgba(0, 0, 0, 0.4);
}

.card__name {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: white;
    letter-spacing: -0.52px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* =========================================
   Like / Dislike Buttons
   ========================================= */

.card-buttons {
    display: flex;
    gap: 12px;
    padding: 16px 10px 8px;
    flex-shrink: 0;
}

.card-btn {
    flex: 1;
    height: 46px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FCFCFC;
    border: 1px solid rgba(21, 21, 21, 0.2);
    cursor: default;
    transition: background-color 350ms ease, border-color 350ms ease;
}

.card-btn__text {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #151515;
}

.card-btn__icon {
    width: 14px;
    height: 14px;
    color: #151515;
}

.card-btn--like.active {
    background: #F67F62;
    border-color: transparent;
}

.card-btn--dislike.active {
    background: #F67F62;
    border-color: transparent;
}

/* =========================================
   Bottom Navigation Bar
   ========================================= */

.phone-navbar {
    flex-shrink: 0;
    background: #FCFCFC;
}

.phone-navbar__divider {
    height: 1px;
    background: rgba(21, 21, 21, 0.12);
}

.phone-navbar__items {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 14px 3px;
}

.phone-navbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.phone-navbar__item svg {
    width: 22px;
    height: 22px;
}

.phone-navbar__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(21, 21, 21, 0.15);
}

.phone-navbar__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-home-indicator {
    width: 100px;
    height: 4px;
    background: #151515;
    border-radius: 3px;
    margin: 3px auto 5px;
    opacity: 0.2;
}

/* =========================================
   SECTION 3: PHOTO GRID (5-photo bento)
   ========================================= */

.grid-section {
    background: #202020;
    padding: 3rem 1.5rem;
}

.grid-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.photo-grid-img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   SECTION 4: SWIPE CATEGORIES
   ========================================= */

.swipe-section {
    background: #202020;
    padding: 2.5rem 1.5rem 5rem;
}

.swipe-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.swipe-section__heading {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 500;
    color: white;
    line-height: 1.25;
    margin-bottom: 3rem;
    text-align: right;
}

.swipe-section__heading-accent {
    color: #F67F62;
}

.category-cards-img {
    width: 65%;
    height: auto;
    display: block;
}

.swipe-section__row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.swipe-section__dots {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.swipe-section__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C06651;
}

/* =========================================
   SECTION 5: MESSAGING
   ========================================= */

.message-section {
    background: #DDE1E6;
    padding: 3rem 1.5rem;
}

.message-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.message-section__heading {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

/* Showcase: the card area */
.message-section__showcase {
    display: flex;
    justify-content: center;
}

.match-card-img {
    width: 100%;
    max-width: 860px;
    height: auto;
    display: block;
    margin-top: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #151515;
    padding: 60px 0 0;
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
}

.site-footer__cta {
    text-align: center;
    padding-bottom: 48px;
}

.site-footer__heading {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 28px;
}

.site-footer__badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.badge {
    display: inline-block;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.badge:hover {
    opacity: 0.85;
}

.badge__svg {
    height: 56px;
    width: auto;
    display: block;
}

/* Footer bottom bar */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer__links a {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 200ms ease;
}

.site-footer__links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__sep {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}

.site-footer__social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.site-footer__social a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 200ms ease;
    display: flex;
}

.site-footer__social a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__copyright {
    font-family: 'Oakes Grotesk', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

/* =========================================
   RESPONSIVE — Tablet
   ========================================= */

@media (max-width: 1024px) {

    .phone-card {
        zoom: 1.1;
    }

    .category-cards-img {
        width: 80%;
    }
}

/* =========================================
   RESPONSIVE — Mobile
   ========================================= */

@media (max-width: 768px) {
    /* Hero mobile */
    .hero {
        height: auto;
        aspect-ratio: 16 / 9;
        padding-bottom: 0;
    }


    /* Interests section mobile */
    .interests-section {
        flex-direction: column;
        min-height: auto;
        padding: 4rem 0;
        gap: 3rem;
    }

    .interests-left {
        width: 100%;
        padding: 0 1.5rem;
    }

    .interests-left__content {
        align-items: center;
        text-align: center;
    }

    .interests-left__title {
        font-size: 2.25rem;
    }

    .interests-left__buttons {
        display: none;
    }

    .interests-right {
        width: 100%;
        padding: 0 1.5rem;
        justify-content: center;
    }

    .phone-card {
        zoom: 1;
    }

    /* Grid section mobile — keep same layout, just scale down */
    .grid-section {
        padding: 2rem 1rem;
    }

    /* Swipe section mobile */
    .swipe-section {
        padding: 2rem 1rem 3rem;
    }

    .swipe-section__heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: right;
    }

    .swipe-section__row {
        flex-direction: column;
        gap: 1rem;
    }

    .category-cards-img {
        width: 100%;
    }

    .swipe-section__dots {
        display: none;
    }

    /* Message section mobile */
    .message-section {
        padding: 2rem 1rem 3rem;
    }

    .message-section__heading {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .match-card-img {
        max-width: 100%;
        margin-top: 1rem;
    }

    /* Footer mobile */
    .site-footer__inner {
        padding: 0 1.5rem;
    }

    .site-footer__heading {
        font-size: 1.5rem;
    }

    .site-footer__badges {
        gap: 1rem;
        justify-content: center;
    }

    .badge__svg {
        height: 44px;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px 0;
    }

    .site-footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Extra small screens (320px and below) */
@media (max-width: 360px) {
    .phone-card {
        zoom: 0.85;
    }
}
