/* ============================================
   YONH Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-pink: #E91E63;
    /* Vibrant pink from design */
    --color-pink-light: #F8BBD0;
    --color-pink-bg: #FFEFF6;
    /* Light pink bg for hero */
    --color-yellow: #FFEB3B;
    /* Yellow from design */
    --color-yellow-light: #FFFDE7;
    --color-text-dark: #1A1A1A;
    --color-text-gray: #555555;
    --color-white: #FFFFFF;
    --color-purple: #4A148C;

    --font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-max-width: 1200px;
    --header-height: 80px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 72px;
    position: relative;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-center {
    justify-self: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-links-right {
    justify-content: center;
}

.header-links-left {
    justify-content: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--color-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-primary {
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    left: 24px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    transition: var(--transition-normal);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background-color: var(--color-white);
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
}

.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: calc(100vh - var(--header-height) - 120px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    direction: ltr;
    /* ensure visual left/right order is not flipped by RTL */
}

.hero-left {
    background: #ffd6e8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 32px;
}

.hero-left-inner {
    position: relative;
    max-width: 520px;
    direction: rtl;
    /* keep Hebrew content RTL inside */
}

.hero-main-image-wrap {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.hero-main-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Quote bubbles in hero */
.quote-bubble {
    background-color: #ffe4e9;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    padding: 20px;
    box-sizing: border-box;
    direction: rtl;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.quote-bubble-main {
    width: 120px;
    height: 120px;
    font-size: 11px;
    bottom: 600px;
    right: -30px;
    left: auto;
    transform: none;
}

.quote-bubble-secondary {
    width: 120px;
    height: 120px;
    font-size: 11px;
}

.quote-bubble-secondary-1 {
    top: 50px;
    right: auto;
    left: 80px;
}

.quote-bubble-secondary-2 {
    bottom: 140px;
    left: 160px;
    top: auto;
}

.quote-icon {
    position: absolute;
    color: #ffc2cd;
    font-size: 50px;
    font-family: 'Times New Roman', serif;
    line-height: 0;
    pointer-events: none;
}

.quote-icon.top {
    top: 35px;
}

.quote-icon.bottom {
    bottom: 25px;
    transform: rotate(180deg);
}

@media (max-width: 1024px) {

    .quote-bubble,
    .quote-bubble-main,
    .quote-bubble-secondary {
        position: static;
        transform: none;
        margin: 12px auto;
    }
}

@media (max-width: 768px) {
    .quote-bubble {
        width: 200px;
        height: 200px;
        font-size: 16px;
    }

    .quote-icon {
        font-size: 56px;
    }
}

.hero-bubble {
    position: absolute;
    background: var(--color-white);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hero-bubble-1 {
    top: 10%;
    left: -10%;
}

.hero-bubble-2 {
    bottom: 6%;
    left: 0;
}

.hero-bubble-3 {
    top: 50%;
    right: -6%;
}

.hero-right {
    position: relative;
    background: #ffe86b;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.85;
    background-image: url("/assets/images/pattern-yellow-y.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-card {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: 40px;
    padding: 40px 44px;
    max-width: 460px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    direction: rtl;
    /* keep Hebrew content RTL inside */
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.hero-title-accent {
    color: var(--color-pink);
}

.hero-text {
    font-size: 16px;
    color: var(--color-text-gray);
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-fast);
}

.store-btn:hover img {
    transform: scale(1.05);
}

.phone-frame {
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #1a1a1a 0%, #333 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-frame-large {
    width: 260px;
    height: 520px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: var(--color-pink);
    color: var(--color-white);
    padding: 20px 16px 12px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.phone-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-card {
    height: 80px;
    background: linear-gradient(135deg, #f8f8f8 0%, #eee 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove placeholders pseudo-elements when images are present */
.phone-card:empty::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    background: var(--color-pink-light);
    border-radius: 8px;
}

.phone-card:empty::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 76px;
    width: 100px;
    height: 12px;
    background: #ddd;
    border-radius: 6px;
}

.hero-callout {
    position: absolute;
    background: var(--color-white);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 160px;
    z-index: 3;
}

.callout-icon {
    font-size: 20px;
}

.hero-callout-1 {
    top: 5%;
    right: -40px;
}

.hero-callout-2 {
    top: 45%;
    left: -60px;
}

.hero-callout-3 {
    bottom: 10%;
    right: -30px;
}

/* ============================================
   Business Section
   ============================================ */
.business-section {
    background: var(--color-white);
    padding: 100px 0;
}

.business-container {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 80px;
    align-items: center;
}

.business-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.business-real-image {
    max-width: 480px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.business-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
}

.business-content {
    max-width: 500px;
}

.business-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-content {
    max-width: 500px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.section-title-center {
    text-align: center;
}

.business-text {
    font-size: 16px;
    color: var(--color-text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.business-discount {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
}

.discount-highlight {
    color: var(--color-pink);
    font-size: 24px;
    font-weight: 800;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-section {
    background-color: #FFF6BD;
    padding: 100px 0;
}

.how-section .section-title {
    margin-bottom: 60px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.step-reverse {
    grid-template-columns: 1fr 350px;
}

.step-reverse .step-image {
    order: 2;
}

.step-reverse .step-content {
    order: 1;
}

.step-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.step-img-real {
    width: 380px;
    height: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.step-number-badge {
    position: absolute;
    top: 0;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-pink);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(163, 17, 105, 0.4);
    border: 3px solid var(--color-white);
}

.step-main-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text-dark);
    text-align: right;
}

.step-text {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* ============================================
   Download Section
   ============================================ */
.download-section {
    background-color: var(--color-white);
    padding: 100px 0;
    position: relative;
}

/* Pattern overlay removed for white background */
.download-section::before {
    display: none;
}

.download-container {
    display: grid;
    grid-template-columns: 0.8fr auto 1.2fr; /* Shift balance left */
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    direction: ltr;
}

.download-decorations-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.decor-brushes {
    max-width: 300px;
    transform: rotate(-15deg);
    margin-bottom: 20px;
    z-index: 2;
}

.decor-powder {
    max-width: 140px;
    margin-left: -60px;
    margin-bottom: 40px;
    z-index: 1;
}

.decor-lipsticks {
    max-width: 120px;
    margin-left: 40px;
    transform: rotate(10deg);
    z-index: 3;
}

.download-phone {
    display: flex;
    justify-content: center;
}

.download-app-image {
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
    transform: translateX(-60px); /* Nudge phone to the left */
}

.download-content {
    max-width: 500px;
    text-align: right;
    position: relative; 
}

.decor-nail-polish {
    position: absolute;
    bottom: -150px;
    right: 380px; /* Position relative to the right text column, moving it left towards phone */
    width: 160px;
    transform: rotate(15deg);
    z-index: 0;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.download-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.download-text {
    font-size: 16px;
    color: var(--color-text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.download-box {
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.download-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.download-box-text {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.download-cta-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-white);
    padding: 24px 0;
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    font-size: 14px;
    color: var(--color-text-gray);
}

.footer-center {
    font-size: 12px;
    color: var(--color-text-gray);
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    font-size: 14px;
    color: var(--color-text-gray);
    text-decoration: underline;
}

.footer-right a:hover {
    color: var(--color-pink);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero-inner {
        grid-template-columns: 1fr;
        box-shadow: none;
    }

    .hero-left {
        padding: 40px 20px;
        background: var(--color-pink-bg); /* Keep pink bg */
    }

    .hero-right {
        padding: 40px 20px;
    }

    .hero-left-inner, 
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-card {
        max-width: 100%;
        padding: 32px;
        text-align: center;
    }

    .hero-cta {
        align-items: center;
    }

    .store-buttons {
        justify-content: center;
    }

    /* Hero Bubbles - Stack them or adjust positions */
    .quote-bubble-main {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
    }

    .quote-bubble-secondary {
        display: none; /* Hide secondary bubbles on tablet/mobile to save space */
    }

    /* Business Section */
    .business-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .business-image {
        order: -1; /* Image on top */
    }

    /* How It Works */
    .step,
    .step-reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .step-main-title {
        text-align: center;
    }

    /* Download Section */
    .download-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .download-decorations-left {
        display: none; /* Hide left decor on mobile */
    }

    .download-phone {
        margin: 0 auto;
    }

    .download-app-image {
        transform: none; /* Reset nudge */
        max-width: 300px;
    }

    .download-content {
        max-width: 100%;
        text-align: center;
    }

    .decor-nail-polish {
        display: none; /* Hide floating nail polish on mobile */
    }
}

@media (max-width: 768px) {

    .nav,
    .header-links-right,
    .header-links-left {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--header-height) + 40px);
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .download-title {
        font-size: 36px;
    }

    .business-section,
    .how-section,
    .download-section {
        padding: 60px 0;
    }

    .steps {
        gap: 50px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .download-title {
        font-size: 28px;
    }

    .store-btn img {
        height: 42px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-callout {
    animation: float 3s ease-in-out infinite;
}

.hero-callout-2 {
    animation-delay: 0.5s;
}

.hero-callout-3 {
    animation-delay: 1s;
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: calc(var(--header-height) + 20px);
}