@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Reset and base styles for cross-browser compatibility */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    font-family: 'Inria Serif', serif;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inria Serif', serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

header {
    z-index: 1000;
    width: 100%;
    position: fixed;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #8373E4;
    color: white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: visible;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header nav a {
    position: relative;
    margin: 0 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    overflow: visible;
}

.logo a {
    font-size: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: #F2F0EF;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    margin-left: 100%;
}

.logo a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 1px #FFFFFF, 0 0 2px #FFFFFF, 0 0 4px #8373E4, 0 0 20px #8373E4;
}

header nav a {
    position: relative;
    margin: 0 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #F2F0EF;
    -webkit-transition: width 0.4s ease;
    -moz-transition: width 0.4s ease;
    -o-transition: width 0.4s ease;
    transition: width 0.4s ease;
}

header nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    padding: 6rem 5rem 12rem;
    background-color: #8373E4;
    color: #F2F0EF;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 2rem;
    overflow: visible;
    min-height: 100vh;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hero-text {
    margin-left: 10rem;
    max-width: 50%;
    text-align: left;
}

.hero-text {
    position: relative;
    opacity: 0;
    z-index: 15;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-animation: hero-text-slide-in 1s ease-out forwards;
    -moz-animation: hero-text-slide-in 1s ease-out forwards;
    -o-animation: hero-text-slide-in 1s ease-out forwards;
    animation: hero-text-slide-in 1s ease-out forwards;
}


@keyframes hero-text-slide-in {
    from {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}


.hero h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
}

.hero p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* hero image: switch to height-driven sizing so width follows aspect ratio */
.hero-img {
    /* use height to control size, keep width automatic to preserve aspect ratio */
    height: 60vh;
    /* primary control: adjust this value to resize image */
    height: 800px;
    /* prevent it from becoming excessively large on very tall screens */
    width: auto;
    position: absolute;
    bottom: 0;
    right: 2rem;
    z-index: 4;
    opacity: 0;
    -webkit-animation: hero-img-slide-in 1s ease-out forwards;
    -moz-animation: hero-img-slide-in 1s ease-out forwards;
    -o-animation: hero-img-slide-in 1s ease-out forwards;
    animation: hero-img-slide-in 1s ease-out forwards;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    animation-delay: 0.5s;
    pointer-events: none;
    object-fit: contain;
}

.arrow {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 1rem auto 0;
    margin-bottom: -70%;
    padding-bottom: 0;
    width: 100%;
    position: absolute;
    left: 40vw;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
}

@supports (-webkit-touch-callout: none) {
    .arrow {
        margin-bottom: -100%;
    }
}

/* Large desktop responsive design */
@media (min-width: 1441px) {
    .hero {
        padding: 8rem 3rem 15rem;
        gap: 3rem;
    }

    .hero-text {
        margin-left: 15rem;
        max-width: 45%;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    .hero-img {
        height: 60vh;
        max-height: 100px;
    }

    .download2 {
        gap: 100px;
    }

    .download2 a img {
        width: 250px;
    }

    .hows-header,
    .features-header {
        width: 25%;
        font-size: 1rem;
    }

    .peldak {
        margin-left: 12%;
        gap: 12rem;
    }

    .examples {
        gap: 10rem;
        margin-top: -10rem;
    }

    .example2 {
        width: 16%;
        margin-top: 12rem;
    }

    .features-list {
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .feature-item {
        width: 350px;
        padding: 2rem;
    }

    .feature-item h3 {
        font-size: 1.8rem;
    }

    .feature-item p {
        font-size: 1.2rem;
    }

    .gomb input {
        width: 350px;
        height: 70px;
        font-size: 26px;
        margin-left: 42%;
    }
}

/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding: 5rem 2rem 8rem;
        gap: 1.5rem;
    }

    .hero-text {
        margin-left: 5rem;
        max-width: 45%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-img {
        height: 65vh;
        max-height: 600px;
        margin-top: 3rem;
    }

    .download2 {
        gap: 60px;
    }

    .download2 a img {
        width: 180px;
    }

    .hows-header,
    .features-header {
        width: 40%;
        font-size: 0.9rem;
    }

    .peldak {
        margin-left: 8%;
        gap: 8rem;
    }

    .pelda1 img,
    .pelda3 img {
        max-width: 50%;
    }

    .pelda2 img {
        max-width: 55%;
    }

    .examples {
        gap: 6rem;
        margin-top: -6rem;
    }

    .example2 {
        width: 12%;
        margin-top: 8rem;
    }

    .features-list {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-item {
        width: 280px;
        padding: 1.3rem;
    }

    .feature-item h3 {
        font-size: 1.4rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    .gomb input {
        width: 280px;
        height: 55px;
        font-size: 22px;
        margin-left: 35%;
    }
}

/* Enhanced mobile responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
        min-height: 100vh;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .hero-text {
        margin-left: 0;
        max-width: 85%;
        text-align: left;
        margin-bottom: 3rem;
        order: 1;
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-img {
        position: relative;
        height: 48vh;
        /* smaller height on tablets */
        max-height: 420px;
        width: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        order: 2;
        opacity: 1;
    }

    .download2 {
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 1rem;
        margin-top: 0;
        order: 3;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .logo a {
        margin-left: 0;
        font-size: 1.8rem;
    }

    header {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
    }
}


/* Medium tablet responsive design */
@media (max-width: 900px) and (min-width: 769px) {
    .hero {
        padding: 4.5rem 2rem 7rem;
        gap: 1.2rem;
    }

    .hero-text {
        margin-left: 3rem;
        max-width: 48%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-img {
        height: 60vh;
        max-height: 550px;
    }

    .download2 {
        gap: 50px;
    }

    .download2 a img {
        width: 160px;
    }

    .hows-header,
    .features-header {
        width: 45%;
        font-size: 0.85rem;
    }

    .peldak {
        margin-left: 6%;
        gap: 6rem;
    }

    .examples {
        gap: 5rem;
        margin-top: -5rem;
    }

    .example2 {
        width: 11%;
        margin-top: 6rem;
    }

    .features-list {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        width: 260px;
        padding: 1.2rem;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .gomb input {
        width: 260px;
        height: 52px;
        font-size: 21px;
        margin-left: 37%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3.5rem 1rem 6rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        min-height: 85vh;
        justify-content: flex-start;
        position: relative;
        overflow: visible;
    }

    .download2 {
        flex-direction: row;
        gap: 3rem;
        justify-content: flex-start;
        align-items: center;
        width: 80%;
        z-index: 25;
    }

    .download2 a img {
        width: auto;
        display: block;
    }

    .hero-text {
        margin: 3rem 1rem 1rem 1.2rem;
        max-width: 95%;
        text-align: left;
        position: relative;
        opacity: 1;
        transform: none;
        animation: none;
        z-index: 25;
        padding: 0 0.5rem;
    }

    .hero h1 {
        font-family: 'Inria Serif', serif;
        font-size: 3.6rem;
        /* large like screenshot */
        line-height: 1.02;
        margin: 0 0 0.6rem 0;
        letter-spacing: -0.02em;
        color: #F2F0EF;
    }

    .hero p {
        font-size: 1.05rem;
        margin: 0 0 1.2rem 0;
        color: rgba(242, 240, 239, 0.95);
        max-width: 90%;
    }

    /* Hero image styles moved to phone-view override section */

    .hero-img img,
    .hero-img {
        display: block;
    }

    /* Arrow styles moved to phone-view override section */

    .arrow svg {
        width: 28px;
        height: 28px;
    }
}

/* Conflicting media query removed - styles moved to phone-view override section */

.arrow svg {
    width: 40px;
    height: 40px;
}

.download2 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 80px;
    margin: 0 auto;
    width: 100%;
    z-index: 3;
    position: relative;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 11;
}

.download2 a {
    display: inline-block;
    pointer-events: auto;
    z-index: 11;
    position: relative;
    text-align: center;
}

.download2 a img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 200px;
    height: auto;
}

.tile-ios,
.tile-android {
    background: transparent;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
    height: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 11;
}

.icon-ios,
.icon-android {
    width: 45%;
    height: 45%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    z-index: 11;
}

.icon-ios a img,
.icon-android a img {
    width: 400px;
    height: auto;
    object-fit: contain;
    display: block;
    z-index: 11;
}


.icon-ios:hover,
.icon-android:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

@keyframes hero-img-slide-in {
    from {
        right: -50%;
        opacity: 0;
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg);
    }

    to {
        right: 2rem;
        opacity: 1;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}


@keyframes download-buttons-slide-in {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

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


section {
    padding: 4rem 2rem;
    text-align: center;
}



#features {
    background-color: #e4e3e3;
}

.feature {
    max-width: 300px;
    text-align: left;
    padding: 8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.feature p {
    margin: 0;
    line-height: 1.5;
}

.features,
.examples {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature,
.example {
    max-width: 200px;
}

footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 2rem;
}

.ambassador-btn {
    background-color: white;
    color: rgb(150, 127, 244);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid white;
    text-decoration: none;
}

.hows {
    background-color: white;
}

.hows-header {
    background-color: #8373E4;
    width: 30%;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    margin-top: 3%;
}

.hows-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 20%,
            rgba(255, 255, 255, 0.25) 40%,
            rgba(255, 255, 255, 0.30) 60%,
            rgba(255, 255, 255, 0.25) 80%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glow 2.5s infinite;
    pointer-events: none;
    filter: blur(6px);
}

@keyframes glow {
    0% {
        left: -100%;
    }

    100% {
        left: 110%;
    }
}

.hows p {
    font-size: 1.2rem;
    color: rgb(93, 93, 93)
}

.peldak {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 10%;
    gap: 10rem;
}

.pelda2 {
    margin-left: 55%;
}

.pelda1 {
    display: flex;
    align-items: center;
    margin-top: 5%;
}

.pelda1 img {
    flex-shrink: 0;
    max-width: 53%;
    height: auto;
}

.pelda1-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-left: 15%;
    margin-right: -15%;
    margin-top: -30%;
}

.pelda1-text h1,
.pelda1-text p {
    margin: 0;
}

.pelda2 {
    display: flex;
    align-items: center;
}

.pelda2 img {
    flex-shrink: 0;
    max-width: 60%;
    height: auto;
}

.pelda2-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-left: -150%;
    margin-top: -30%;
}

.pelda2-text h1,
.pelda2-text p {
    margin: 0;
}

.pelda3 {
    display: flex;
    align-items: center;
    margin-top: 5%;
}

.pelda3 img {
    flex-shrink: 0;
    max-width: 53%;
    height: auto;
}

.pelda3-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-left: 15%;
    margin-right: -15%;
    margin-top: -30%;
}

.pelda3-text h1,
.pelda3-text p {
    margin: 0;
}



.decorative-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    height: 95%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
    margin-top: 2.3%;
}

@keyframes line-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
}

to {
    clip-path: inset(0 0 0 0);
}


.examples {
    gap: 8rem;
    margin-top: -8rem;
}

.example {
    z-index: 2;
}

.features-header {
    background-color: #8373E4;
    width: 30%;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    margin-top: 3%;
}

.features-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 20%,
            rgba(255, 255, 255, 0.25) 40%,
            rgba(255, 255, 255, 0.30) 60%,
            rgba(255, 255, 255, 0.25) 80%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glow 2.5s infinite;
    pointer-events: none;
    filter: blur(6px);
}


.example2 {
    width: 14%;
    height: auto;
    margin-top: 10rem;
    z-index: 2;
}



.review-container {
    width: 100%;
    padding: 40px 0;
    background: white;
    position: relative;
}

.review-track {
    display: flex;
    gap: 20px;
    animation: slideLeft 60s linear infinite;
    width: max-content;
}

.review-track:hover {
    animation-play-state: paused;
}

.box {
    background: white;
    border: 2px solid #8373E4;
    border-radius: 16px;
    padding: 24px;
    min-width: 300px;
    max-width: 350px;
    box-shadow: 0 8px 25px rgba(131, 115, 228, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8373E4, #6A5ACD);
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px #8373E4;
}

.box h1 {
    color: #333;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: -10px;
}

.box h2 {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: -8px;
}

.box img {
    width: 150px;
    height: auto;
    margin-bottom: 16px;
    margin-left: -55px;
}

.box p {
    color: #555;
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inria Serif';
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .box {
        min-width: 280px;
        padding: 20px;
    }

    .review-track {
        gap: 15px;
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .box {
        min-width: 260px;
        padding: 18px;
    }

    .review-track {
        gap: 12px;
    }
}

#main-content.blurred {
    filter: blur(8px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

.gomb input {
    width: 300px;
    height: 60px;
    font-weight: bold;
    font-size: 23px;
    font-family: 'Inria Serif';
    color: #F2F0EF;
    background-color: #6A5ACD;
    border-radius: 24px;
    border: #6A5ACD .1px;
    cursor: pointer;
    transition: transform .3s ease-in-out;
    margin-top: -200%;
    z-index: 3;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 40%;
    align-items: center;
    display: center;
    justify-content: center;
    text-align: center;
}

.gomb input:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.5);
}

.features-img {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -485%;
    right: 0rem;
    z-index: 1;
    width: 90rem;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 2s ease-out;
    opacity: 0;
}

.features-img.visible {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

.download {
    background-color: #8373E4;
    color: #F2F0EF;
    text-align: center;
    padding: 4rem 2rem;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
    flex-wrap: wrap;
}

.download1 a {
    pointer-events: auto;
    z-index: 10;
    position: relative;
    text-align: center;
    display: inline-block;
}

.download1 a img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease-in-out;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.download1 a img:hover {
    transform: scale(1.1);
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    background-color: #6A5ACD;
    border-radius: 12px;
    padding: 1.5rem;
    width: 300px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #F2F0EF;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #E6E6E6;
}

footer a {
    text-decoration: none;
    color: #F2F0EF;
    display: inline-block;
}

footer a:hover {
    color: #8373E4;
}

footer span {
    display: inline-block;
}

footer .divider {
    background-color: #F2F0EF;
    width: 3px;
    height: 15px;
    border-radius: 2px;
    margin-left: 2px;
    margin-right: 2px;
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
}


.nav-links a {
    position: relative;

    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}

.a {
    margin-right: 100px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}

/* Enhanced responsive design for all sections */
@media (max-width: 768px) {
    .peldak {
        margin-left: 5%;
        gap: 5rem;
    }

    .pelda1,
    .pelda2,
    .pelda3 {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
        margin-left: 0;
        margin-top: 2rem;
    }

    .pelda1-text,
    .pelda2-text,
    .pelda3-text {
        margin-left: 0;
        margin-right: 0;
        margin-top: 1rem;
        text-align: center;
    }

    .pelda1 img,
    .pelda2 img,
    .pelda3 img {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Faszaline styles moved to phone-view override section */

    /* Examples styles moved to phone-view override section */

    .example,
    .example2 {
        margin: 0;
        width: 80%;
        max-width: 250px;
    }

    .example2 img,
    .example img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .features-header,
    .hows-header {
        width: 90%;
        margin-top: 2rem;
    }

    .features-list {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .feature-item {
        width: 90%;
        max-width: 400px;
        margin-bottom: 1rem;
    }

    .download1 {
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 1rem;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .download1 a img {
        max-width: 150px;
        height: 40px;
    }

    .download h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .download p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .features-list {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        width: 100%;
        max-width: none;
        padding: 1rem;
        margin-bottom: 0;
    }

    .feature-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {

    .download2,
    .download1 {
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 0.8rem;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    .download2 {
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 3rem;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 auto;
        width: 80%;
        text-align: center;
    }

    .download2 a img {
        margin: 0 auto;
        display: block;
    }

    .tile-ios,
    .tile-android {
        width: auto;
        margin: 0 auto;
        text-align: center;
    }

    .tile-ios a img,
    .tile-android a img {
        width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .hero-text {
        text-align: center;
        margin-top: -15rem;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
        display: block;
        margin: 0 auto;
        line-height: 0.5;
    }

    .decorative-line {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 1;
        opacity: 0.8;
        pointer-events: none;
    }

    .hero-img {
        width: 50%;
        width: 250px;
    }

    .examples {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 1.5rem;
    }

    .example,
    .example2 {
        margin: 0;
        width: 80%;
        max-width: 200px;
    }

    .example2 img,
    .example img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .features-img {
        display: none;
    }

    .logo a {
        margin-left: 0;
    }

    .arrow {
        padding-bottom: 0;
    }

    .peldak {
        margin-left: 2%;
        gap: 3rem;
    }

    .pelda1 img,
    .pelda2 img,
    .pelda3 img {
        max-width: 90%;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }


    .nav-links a svg {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        right: 0;
        width: 80%;
        max-width: 280px;
        background: rgba(130, 115, 228, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 1.5rem;
        text-align: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        gap: 1rem;
        box-shadow: 0 8px 32px rgba(131, 115, 228, 0.3);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
        padding: 0.5rem 0;
        gap: 1rem;
        transition: color 0.3s ease-in-out;
        -webkit-transition: color 0.3s ease-in-out;
    }

    .nav-links a:hover {
        color: #F2F0EF;
    }

    .nav-links a svg {
        width: 24px;
        height: 24px;
        fill: white;
        transition: fill 0.3s ease-in-out;
        -webkit-transition: fill 0.3s ease-in-out;
    }

    .nav-links a:hover svg {
        fill: #F2F0EF;
    }

    /* Backdrop overlay for mobile menu */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 80px;
        right: 0;
        width: 80%;
        max-width: 280px;
        height: auto;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-links.active::before {
        opacity: 1;
    }
}

/* Add styles for .faszaline to position it from the bottom of .pelda1-text to the top of .pelda2-text */
.faszaline {
    position: absolute;
    top: 188%;
    left: 20%;
}

.faszaline2 {
    position: absolute;
    margin-top: 9%;
    margin-left: -41%;
    height: 35%;
    width: auto;
}

.favicon {
    width: 32px;
    height: 32px;
}

/* Additional cross-browser compatibility fixes */
img {
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
    -ms-scroll-behavior: smooth;
}

/* Better text rendering */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Performance optimizations */
.hero-img,
.decorative-line,
.features-img {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Better focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #8373E4;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .hamburger,
    .nav-links,
    .arrow,
    .download2,
    .download1 {
        display: none !important;
    }

    .hero {
        background: white !important;
        color: black !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Phone-view override: keep desktop-like hero layout but scaled for small screens
   - keep text left and phone image right (absolute) like desktop
   - reduce sizes so content fits on small phones
   - make .download2 items side-by-side */
@media (max-width: 600px) {
    .hero {
        padding: 5rem 2rem 2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        min-height: 100vh;
        position: relative;
        overflow: visible;
    }

    .hero-text {
        margin-left: 0;
        max-width: 90%;
        text-align: left;
        opacity: 1;
        transform: none;
        animation: none;
        z-index: 25;
        padding: 0;
    }

    .hero h1 {
        font-family: 'Inria Serif', serif;
        font-size: 2.2rem;
        line-height: 1.1;
        margin: 0 0 0.2rem 0;
        letter-spacing: -0.01em;
        color: #F2F0EF;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.1rem;
        margin: 0 0 1.5rem 0;
        color: rgba(242, 240, 239, 0.95);
        max-width: 100%;
        line-height: 1.4;
    }

    /* ensure badges are side-by-side */
    .download2 {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        height: auto;
        z-index: 25;
        padding: 0;
        margin-top: 1rem;
    }

    .download2 a img {
        height: 40px;
        width: auto;
        display: block;
    }

    /* pin phone image to the lower-right and scale it down */
    .hero-img {
        position: absolute;
        right: 1rem;
        bottom: 0;
        width: auto;
        height: 60vh;
        max-height: 500px;
        pointer-events: none;
        z-index: 10;
        transform: none;
    }


    /* keep arrow visible but smaller and moved below hero if needed */
    .arrow {
        position: absolute;
        bottom: -23rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: auto;
        text-align: center;
        z-index: 15;
    }

    .arrow svg {
        width: 30px;
        height: 30px;
    }

    /* Hows section phone view adjustments */
    .hows {
        padding: 1rem;
        background-color: white;
    }

    .hows-header {
        width: 70%;
        margin: 0 auto 0.5rem;
        padding: 0.2rem;
        font-size: 0.8rem;
        font-weight: 650;
        margin-top: 3rem;
    }

    .hows p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 3rem;
        color: rgb(93, 93, 93);
    }

    .peldak {
        margin-left: 0;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
        overflow-x: hidden;
    }

    .pelda1,
    .pelda2,
    .pelda3 {
        flex-direction: column;
        text-align: center;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 260px;
    }

    .pelda1 img,
    .pelda3 img {
        max-width: 70%;
        width: 70%;
        height: auto;
        margin-left: -4rem;
    }

    .pelda2 img {
        max-width: 70%;
        width: 70%;
        height: auto;
        margin-left: 9rem;
    }


    .pelda1-text,
    .pelda3-text {
        margin-left: 7rem;
        margin-right: -3rem;
        margin-top: -15rem;
        text-align: left;
    }

    .pelda2-text {
        margin-left: -4rem;
        margin-right: 8rem;
        margin-top: -15rem;
        text-align: right;
    }




    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #333;
        line-height: 1.3;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.9rem;
        color: #666;
        margin: 0;
        line-height: 1.4;
    }

    .pelda2-text p {
        margin-left: 2rem;
        margin-right: -2.5rem;
    }

    /* Decorative lines for phone view */
    .faszaline {
        position: absolute;
        top: 148%;
        left: 8%;
        width: 100%;
        height: auto;
        z-index: 1;
    }

    .faszaline2 {
        position: absolute;
        top: 213%;
        right: 16%;
        width: 100%;
        height: auto;
        z-index: 1;
    }

    .faszaline img,
    .faszaline2 img {
        width: 100%;
        height: auto;
        opacity: 0.7;
    }


    .pelda3-text p {
        margin-bottom: 15rem
    }

    .pelda1-text p,
    .pelda2-text p {

        margin-bottom: 30rem;
    }

    .features-header {
        width: 70%;
        margin: 0 auto 0.5rem;
        padding: 0.2rem;
        font-size: 0.8rem;
        font-weight: 650;
        margin-top: 3rem;
    }

    .examples {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 3rem;
        z-index: 2;
        width: 100%;
        height: auto;
    }

    .example {
        margin: 0;
        margin-bottom: -15rem;
    }

    .example2 {
        margin: 0;
        margin-top: 0.3rem;
        order: 2;
        align-self: center;
    }

    .example img,
    .example2 img {
        width: 90%;
        height: auto;
        margin: 0;
    }

    .box {
        min-width: 180px;
        max-width: 220px;
        padding: 12px;
        margin: 0;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateX(100vw);
        opacity: 0;
        transition: none;
        will-change: transform, opacity;
    }

    .box.hopping-in {
        animation: hopIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .box.hopping-out {
        animation: hopOut 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .box.center {
        transform: translateX(-50%);
        opacity: 1;
    }

    @keyframes hopIn {
        0% {
            transform: translateX(-50%) translateX(100vw) scale(0.95);
            opacity: 0;
        }

        70% {
            transform: translateX(-50%) translateX(-5vw) scale(1.02);
            opacity: 0.95;
        }

        100% {
            transform: translateX(-50%) translateX(0) scale(1);
            opacity: 1;
        }
    }

    @keyframes hopOut {
        0% {
            transform: translateX(-50%) translateX(0) scale(1);
            opacity: 1;
        }

        30% {
            transform: translateX(-50%) translateX(-15vw) scale(0.98);
            opacity: 0.9;
        }

        100% {
            transform: translateX(-50%) translateX(-100vw) scale(0.95);
            opacity: 0;
        }
    }

    .box h1 {
        font-size: 18px;
        margin-bottom: 4px;
        margin-top: -6px;
    }

    .box h2 {
        font-size: 11px;
        margin-bottom: 10px;
        margin-top: -4px;
    }

    .box img {
        width: 90px;
        height: auto;
        margin-bottom: 10px;
        margin-left: -25px;
    }

    .box p {
        font-size: 13px;
        line-height: 1.3;
    }

    /* Disable sliding animation on phone view */
    .review-track {
        animation: none !important;
        transform: none !important;
        position: relative;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100vw;

    }

    .review-container {
        overflow: visible;
        position: relative;
        height: 200px;
        width: 100%;
        max-width: 100vw;

        margin-bottom: 10rem;
    }

    .gomb input {
        width: 250px;
        height: 50px;
        font-size: 20px;
        margin: 20px auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .features-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 3rem;
        z-index: 2;
        width: 100%;
        height: auto;
        padding: 0 0.5rem;
    }

    .feature-item {
        width: 200px;
        height: 200px;
        margin: 0;
        flex-shrink: 0;
        padding: 2rem 1rem;
        font-size: 0.8rem;
        min-height: 180px;
    }

    .feature-item:nth-child(2) {
        margin-top: 0.3rem;
        order: 3;
        margin-left: 0vh;
    }

    .feature-item h3 {
        margin-top: -1rem;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

}




/* iPhone X specific adjustments - only affects iPhone X, not Samsung */
@media (max-width: 600px) and (min-height: 800px) and (max-height: 900px) {

    /* Only targets iPhone X dimensions specifically */
    .pelda1-text,
    .pelda3-text {
        margin-top: -12rem;
    }

    .pelda2-text {
        margin-top: -12rem;
    }

    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1.1rem;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.85rem;
    }

    .faszaline {
        top: 160%;
        max-width: 100%;
    }

    .faszaline2 {
        top: 230%;
    }

    .pelda1-text p,
    .pelda2-text p {
        margin-bottom: 25rem;
    }

    .pelda3-text p {
        margin-bottom: 12rem;
    }
}

/* iPhone SE and smaller phones */
@media (max-width: 600px) and (max-height: 700px) {

    .pelda1-text,
    .pelda3-text {
        margin-top: -10rem;
    }

    .pelda2-text {
        margin-top: -10rem;
    }

    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1rem;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.8rem;
    }

    .faszaline {
        top: 175%;
    }

    .faszaline2 {
        top: 250%;
    }

    .pelda1-text p,
    .pelda2-text p {
        margin-bottom: 20rem;
    }

    .pelda3-text p {
        margin-bottom: 10rem;
    }
}

/* iPhone 12/13/14 Pro Max and larger phones */
@media (max-width: 600px) and (min-height: 900px) {

    .pelda1-text,
    .pelda3-text {
        margin-top: -14rem;
    }

    .pelda2-text {
        margin-top: -14rem;
    }

    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1.2rem;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.9rem;
    }

    .faszaline {
        top: 145%;
    }

    .faszaline2 {
        top: 212%;
    }

    .pelda1-text p,
    .pelda2-text p {
        margin-bottom: 28rem;
    }

    .pelda3-text p {
        margin-bottom: 14rem;
    }
}

/* Samsung Galaxy S21/S22 and similar */
@media (max-width: 600px) and (min-height: 750px) and (max-height: 800px) {

    .pelda1-text,
    .pelda3-text {
        margin-top: -13rem;
    }

    .pelda2-text {
        margin-top: -13rem;
    }

    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1.15rem;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.88rem;
    }

    .faszaline {
        top: 142%;
    }

    .faszaline2 {
        top: 205%;
    }

    .pelda1-text p,
    .pelda2-text p {
        margin-bottom: 26rem;
    }

    .pelda3-text p {
        margin-bottom: 13rem;
    }
}

/* Pixel phones and similar */
@media (max-width: 600px) and (min-height: 720px) and (max-height: 750px) {

    .pelda1,
    .pelda2,
    .pelda3 {
        max-width: 250px;
    }

    .pelda1 img,
    .pelda3 img {
        max-width: 65%;
        width: 65%;
        margin-left: -3.5rem;
    }

    .pelda2 img {
        max-width: 65%;
        width: 65%;
        margin-left: 9rem;
    }

    .pelda1-text,
    .pelda3-text {
        margin-left: 6.5rem;
        margin-right: -2.5rem;
        margin-top: -12.5rem;
    }

    .pelda2-text {
        margin-left: -3.5rem;
        margin-right: 7.5rem;
        margin-top: -12.5rem;
    }

    .pelda2-text p {
        margin-left: 1.5rem;
        margin-right: -2rem;
    }

    .pelda1-text h1,
    .pelda2-text h1,
    .pelda3-text h1 {
        font-size: 1.1rem;
    }

    .pelda1-text p,
    .pelda2-text p,
    .pelda3-text p {
        font-size: 0.87rem;
    }

    .faszaline {
        top: 160%;
    }

    .faszaline2 {
        top: 235%;
    }

    .pelda1-text p,
    .pelda2-text p {
        margin-bottom: 25.5rem;
    }

    .pelda3-text p {
        margin-bottom: 12.5rem;
    }
}

/* End of phone-view override */