:root {
    --dark: #0f0e1a;
    --radius: 20px;
}

/* ── HERO ── */
.hero {
    min-height: 84vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 0 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    background: none;
}

.hero-text { padding-right: 60px; }

.hero-badge {
    display: inline-block;
    background: var(--brand-pale);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
    display: inline-block;
    transform-origin: left;
}

.hero-title span {
    color: var(--brand);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── PHONE MOCKUPS HERO ── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: -20px;
    position: relative;
    height: 580px;
}

.phone-wrap {
    position: absolute;
    transition: transform 0.3s ease;
}

.phone-wrap:nth-child(1) {
    left: 10%;
    bottom: 0;
    transform: rotate(-6deg) translateY(20px);
    z-index: 1;
}
.phone-wrap:nth-child(2) {
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    bottom: 0;
    z-index: 3;
}
.phone-wrap:nth-child(3) {
    right: 10%;
    bottom: 0;
    transform: rotate(6deg) translateY(20px);
    z-index: 1;
}

.hero-visual:hover .phone-wrap:nth-child(1) { transform: rotate(-8deg) translateY(10px); }
.hero-visual:hover .phone-wrap:nth-child(3) { transform: rotate(8deg) translateY(10px); }

.phone-wrap img {
    width: 200px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
}

.phone-wrap:nth-child(2) img { width: 230px; }

/* ── SECTION COMMON ── */
section { padding: 100px 40px; }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.3;
    transform: scaleX(1.24);
    display: inline-block;
}

.screenshots .section-title {
    transform-origin: left;
    text-align: left;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
}

/* ── FEATURES ── */
.features { background: var(--brand-pale); border-radius: 40px; margin: 0 20px; padding: 80px 60px; }

.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(128,125,219,0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 10px;
    display: inline-block;
    transform: scaleX(1.2);
    transform-origin: left;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 300;
}

/* ── SCREENSHOTS ── */
.screenshots { padding: 100px 40px; }

.screenshots-header { margin-bottom: 64px; }

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: end;
}

.screenshot-item { text-align: center; }

.screenshot-item img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.14));
    transition: transform 0.3s, filter 0.3s;
}
.screenshot-item:hover img {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.2));
}

.screenshot-item:nth-child(2) img,
.screenshot-item:nth-child(3) img { transform: translateY(-16px); }
.screenshot-item:nth-child(2):hover img,
.screenshot-item:nth-child(3):hover img { transform: translateY(-24px) scale(1.02); }

.screenshot-label {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ── HUNGARIAN PRIDE ── */
.hungarian {
    padding: 80px 40px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.hungarian::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ce2939 33.33%, #ffffff 33.33%, #ffffff 66.66%, #477050 66.66%);
}

.hungarian::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ce2939 33.33%, #ffffff 33.33%, #ffffff 66.66%, #477050 66.66%);
}

.hungarian-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.hungarian-flag {
    display: flex;
    flex-direction: column;
    width: 80px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.flag-stripe {
    flex: 1;
}

.flag-stripe.red   { background: #ce2939; }
.flag-stripe.white { background: #ffffff; }
.flag-stripe.green { background: #477050; }

.hungarian .section-label {
    color: var(--brand-light);
}

.hungarian-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hungarian-title span {
    color: var(--brand-light);
}

.hungarian-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 12px;
}

.hungarian-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hu-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(128,125,219,0.18);
    border: 1px solid rgba(128,125,219,0.3);
    color: var(--brand-light);
    font-size: 0.82rem;
    font-weight: 400;
    padding: 6px 16px;
    border-radius: 50px;
}

.hu-mini-flag {
    display: inline-flex;
    flex-direction: column;
    width: 18px;
    height: 13px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.hu-mini-flag span {
    flex: 1;
    display: block;
}

.hu-mini-flag .s-red   { background: #ce2939; }
.hu-mini-flag .s-white { background: #ffffff; }
.hu-mini-flag .s-green { background: #477050; }

/* ── STORES ── */
.stores { padding: 80px 40px; }
.stores-inner { max-width: 1100px; margin: 0 auto; }
.stores-header { text-align: center; margin-bottom: 48px; }
.stores-header .section-sub { margin: 0 auto; }
.stores-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-pale);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.2s, transform 0.15s;
}
.store-pill:hover { background: var(--brand-light); transform: translateY(-2px); }
.store-pill span { font-size: 1.1rem; }
.stores-note { text-align: center; margin-top: 28px; font-size: 0.82rem; color: var(--text-muted); }

/* ── HOW IT WORKS ── */
.how { background: var(--brand-pale); border-radius: 40px; margin: 0 20px 80px; padding: 80px 60px; }
.how-header { text-align: center; margin-bottom: 56px; }
.how-header .section-sub { margin: 0 auto; }
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.how-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-light), var(--brand-light));
    border-radius: 2px;
}
.how-step { text-align: center; padding: 0 16px; }
.how-step-num {
    width: 56px;
    height: 56px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}
.how-step h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.how-step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* ── ANIMATIONS ── */
@keyframes fadeUpHero {
    from { opacity: 0; transform: translateY(30px) scaleX(1.6); }
    to   { opacity: 1; transform: translateY(0) scaleX(1.6); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge  { animation: fadeUp 0.5s ease both; animation-delay: 0.1s; }
.hero-title  { animation: fadeUpHero 0.5s ease both; animation-delay: 0.2s; }
.hero-subtitle { animation: fadeUp 0.5s ease both; animation-delay: 0.3s; }
.hero-actions { animation: fadeUp 0.5s ease both; animation-delay: 0.4s; }
.hero-visual { animation: fadeUp 0.6s ease both; animation-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 24px 60px;
    }
    .hero-title { transform-origin: center; }
    .hero-text { padding-right: 0; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-visual { height: 360px; margin-top: 40px; }
    .phone-wrap img { width: 130px; }
    .phone-wrap:nth-child(2) img { width: 150px; }

    .features { margin: 0; padding: 60px 24px; border-radius: 24px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }

    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-item:nth-child(2) img,
    .screenshot-item:nth-child(3) img { transform: none; }

    .dark-cta { margin: 0 0 60px; border-radius: 24px; padding: 60px 24px; }

    nav { padding: 16px 20px; }

    section { padding: 70px 20px; }

    .stores { padding: 60px 20px; }
    .how { margin: 0 0 60px; border-radius: 24px; padding: 60px 24px; }
    .how-steps { grid-template-columns: 1fr; gap: 32px; }
    .how-steps::before { display: none; }

    .hungarian { padding: 60px 24px; }
    .hungarian-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hungarian-flag { margin: 0 auto; }
    .hungarian-text { margin: 0 auto 12px; }
    .hungarian-badges { justify-content: center; }

    footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 20px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 500px) {
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
    .hero-visual { height: 300px; }
    .phone-wrap img { width: 110px; }
    .phone-wrap:nth-child(2) img { width: 130px; }
}
@media (max-width: 375px) {
    .hero-title {
        font-size: clamp(2.2rem, 4vw, 3.6rem);
    }
    .btn-primary {
        padding: 12px 32px 12px 25px;
    }
}
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 3.6rem);
    }
    .section-title {
        font-size: clamp(1.6rem, 3vw, 2.3rem);
    }
}