* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.is-hidden {
    display: none !important;
}

html,
body {
    font-family: 'Nunito', sans-serif;
    background-color: #fff9f5;
    overflow-x: hidden;
}

.landing-page {
    position: relative;
    width: 100%;
    max-width: 1440px;
    background-color: #fff9f5;
    margin: 0 auto;
}

.lang-toggle-landing {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.vector-1473 {
    position: absolute;
    left: -91.49934387207031px;
    top: 514.4999389648438px;
    width: 1587.998px;
    height: 3875.674px;
    background-image: url('assets/Vector 1473.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    padding: 121px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-container {
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-logo {
    position: relative;
    width: 124px;
    height: 128.227px;
    margin-bottom: 76px;
}

.frame-3221 {
    position: absolute;
    left: 0;
    top: 0;
    width: 124px;
    height: 124px;
    background-color: #4d3420;
    border-radius: 32px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo .gemini-1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 124px;
    height: 128.227px;
    border-radius: 24.894px;
    background-image: url('assets/Gemini_Generated_Image_kl8vu1kl8vu1kl8v.png');
    background-size: cover;
    background-position: center;
}

.hero-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-size: 96px;
    line-height: 96px;
    width: 412px;
    height: 96px;
    margin: 0 0 32px 0;
}

.hero-subtitle {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    width: 710px;
    height: 88px;
    margin: 0 0 66px 0;
}

.button {
    width: 235px;
    height: 56px;
    border-radius: 28px;
    background-color: #f3f3f8;
    color: #4d3420;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 0 #583529;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 145px 0;
    transition: opacity 0.2s, transform 0.1s;
}

.button:hover {
    opacity: 0.9;
    transform: translateY(1px);
    box-shadow: 0 3px 0 #583529;
}

.button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #583529;
}


/* Second Early Access Section */
.early-access-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.early-access-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 710px;
    margin-bottom: 60px;
}

.early-access-logo {
    width: 124px;
    height: 128.227px;
    margin-bottom: 40px;
    position: relative;
}

.early-access-logo .gemini-2 {
    position: static;
    left: auto;
    top: auto;
    width: 124px;
    height: 128.227px;
    border-radius: 24.894px;
    background-image: url('assets/Gemini_Generated_Image_kl8vu1kl8vu1kl8v.png');
    background-size: cover;
    background-position: center;
}

.early-access-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-size: 48px;
    line-height: 48px;
    width: 209px;
    height: 48px;
    margin: 0 0 24px 0;
}

.early-access-text {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    max-width: 710px;
    height: auto;
    margin: 0 0 40px 0;
    line-height: 1.4;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
    .early-access-section {
        padding: 40px 20px;
    }
    
    .early-access-logo {
        width: 100px;
        height: 103px;
        margin-bottom: 30px;
    }
    
    .early-access-logo .gemini-2 {
        width: 100px;
        height: 103px;
    }
    
    .early-access-title {
        font-size: 36px;
        line-height: 36px;
        width: auto;
        height: auto;
        margin-bottom: 20px;
    }
    
    .early-access-text {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .button-2 {
        width: 100%;
        max-width: 300px;
    }
    
    .frame-3222 {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .features-section {
        padding-top: 80px;
    }

    .feature-item {
        padding: 0 10px;
    }

    .feature-title,
    .feature-description {
        max-width: 100%;
    }

    .feature-title,
    .feature-description {
        background-color: rgba(255, 249, 245, 0.9);
        padding: 4px 8px;
        border-radius: 8px;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }
}

.button-2 {
    width: 235px;
    height: 56px;
    margin: 0;
}

.page-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 300px;
}

.frame-3222 {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 52px;
    justify-content: center;
}

.hero-phones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 77px;
    width: 100%;
    max-width: 1193px;
    margin: 0 auto;
}

/* Carousel container - desktop shows all, mobile shows carousel */
.phone-carousel {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-track {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    transition: none;
    margin: 0;
}

.carousel-slide {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    width: auto;
}

@media (min-width: 768px) {
    .carousel-track {
        justify-content: center;
        gap: 77px;
    }
}

.iphone {
    width: 262px;
    height: 568px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Carousel indicators - hidden on desktop */
.carousel-indicators {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 6px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(77, 52, 32, 0.3);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s, transform 0.2s;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: #4d3420;
    transform: scale(1.2);
}

.iphone-19 {
    background-image: url('assets/iPhone19.png');
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(77, 52, 32, 0.2);
}

.iphone-21 {
    background-image: url('assets/iPhone21.png');
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(77, 52, 32, 0.2);
}

.iphone-22 {
    background-image: url('assets/iPhone22.png');
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(77, 52, 32, 0.2);
}


/* Desktop: Absolute positioning for second Early Access section */
@media (min-width: 1024px) {
    .early-access-section {
        padding: 60px 20px;
        position: relative;
        min-height: auto;
        margin-top: 75px;
    }
    
    .early-access-container {
        position: relative;
        max-width: none;
        margin-bottom: 0;
    }
    
    .early-access-logo {
        position: static;
        left: auto;
        top: auto;
        margin-bottom: 40px;
    }
    
    .early-access-title {
        position: static;
        left: auto;
        transform: none;
        top: auto;
        width: 209px;
        height: 48px;
        margin: 0 0 24px 0;
    }
    
    .early-access-text {
        position: static;
        left: auto;
        transform: none;
        top: auto;
        width: 710px;
        height: auto;
        margin: 0 0 40px 0;
    }
    
    .button-2 {
        position: static;
        left: auto;
        transform: none;
        top: auto;
        width: 235px;
        margin: 0;
    }
    
    .page-footer {
        position: static;
        left: auto;
        transform: none;
        top: auto;
        margin-top: 500px;
    }
    
    .frame-3222 {
        position: static;
        left: auto;
        top: auto;
        width: 320px;
        height: 44px;
    }
}

.link {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: underline;
    width: auto;
    min-height: 44px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.icon-vector-1474,
.icon-vector-1475 {
    position: absolute;
    stroke: #fff9f5;
    stroke-width: 16px;
    fill: none;
    stroke-linecap: none;
    stroke-linejoin: round;
}

.icon-vector-1474 {
    left: 22px;
    top: 23.9755859375px;
    width: 79.793px;
    height: 73.581px;
}

.icon-vector-1475 {
    left: 22.58203125px;
    top: 19px;
    width: 79.081px;
    height: 86.878px;
}

@media (max-width: 767px) {
    .icon-vector-1474 {
        left: 18px;
        top: 19px;
        width: 64px;
        height: 59px;
    }
    
    .icon-vector-1475 {
        left: 18px;
        top: 15px;
        width: 64px;
        height: 70px;
    }
}










/* Features Section */
.features-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
    padding-top: 191px;
    position: relative;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 1019px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

.feature-icon-wrapper {
    height: 131px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.feature-icon {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.feature-icon.gemini-769zpk-1 {
    width: 127px;
    height: 117px;
    background-image: url('assets/Gemini_Generated_Image_769zpk769zpk769z 1.png');
}

.feature-icon.gemini-769zpk-2 {
    width: 114px;
    height: 131px;
    background-image: url('assets/Gemini_Generated_Image_769zpk769zpk769z 2.png');
}

.feature-icon.gemini-769zpk-4 {
    width: 123px;
    height: 109px;
    background-image: url('assets/Gemini_Generated_Image_769zpk769zpk769z 4.png');
}

.feature-icon.gemini-769zpk-6 {
    width: 125px;
    height: 119px;
    background-image: url('assets/Gemini_Generated_Image_769zpk769zpk769z 6.png');
}

.feature-title {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 12px 0;
    width: 100%;
    max-width: 274px;
    line-height: 1.2;
}

.feature-description {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    max-width: 274px;
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 60px;
        align-items: start;
    }
    
    .feature-icon-wrapper {
        height: 131px;
    }
}

/* Desktop: 2 Spalten (bleibt gleich) */
@media (min-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 60px;
        align-items: start;
    }
    
    .feature-icon-wrapper {
        height: 131px;
    }
}

/* How It Works Section */
.how-it-works-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.how-it-works-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 40px;
    width: 100%;
    max-width: 332px;
}

.how-it-works-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 305px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.how-it-works-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.how-it-works-icon {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.how-it-works-icon.gemini-cxpn93-2 {
    background-image: url('assets/Gemini_Generated_Image_cxpn93cxpn93cxpn 2.png');
}

.how-it-works-icon.gemini-cxpn93-3 {
    background-image: url('assets/Gemini_Generated_Image_cxpn93cxpn93cxpn 3.png');
}

.how-it-works-icon.gemini-cxpn93-4 {
    background-image: url('assets/Gemini_Generated_Image_cxpn93cxpn93cxpn 4.png');
}

.how-it-works-text {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    max-width: 305px;
}

@media (max-width: 767px) {
    .how-it-works-text {
        font-size: 20px;
        max-width: 100%;
    }
}

/* Desktop: Layout adjustments */
@media (min-width: 1024px) {
    .how-it-works-section {
        padding: 60px 20px;
        position: relative;
        min-height: auto;
    }
    
    .how-it-works-title {
        position: static;
        left: auto;
        transform: none;
        top: auto;
        width: 332px;
        height: auto;
        margin: 0 auto 40px;
        max-width: none;
    }
    
    .how-it-works-container {
        position: relative;
        max-width: 1440px;
        gap: 0;
        align-items: center;
        margin: 0 auto;
        padding-left: 0;
    }
    
    .how-it-works-item {
        position: relative;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: auto;
        margin-bottom: 50px;
    }
    
    .how-it-works-item:last-child {
        margin-bottom: 0;
    }
    
    .how-it-works-icon {
        position: static;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }
    
    .how-it-works-text {
        text-align: center;
        max-width: 305px;
        width: 305px;
    }
}



/* Group 77 - Decorative Element */
.group-77 {
    width: 115.063px;
    height: 118.722px;
    background-image: url('assets/Group 77.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 60px auto;
    position: relative;
}

.vector-1476,
.vector-1477 {
    position: absolute;
    stroke: #583529;
    stroke-width: 16px;
    fill: none;
    stroke-linecap: none;
    stroke-linejoin: round;
}

.vector-1476 {
    left: 0px;
    top: 0.07421875px;
    width: 115.063px;
    height: 108.075px;
}

.vector-1477 {
    left: 8.787109375px;
    top: 0px;
    width: 98.005px;
    height: 118.722px;
}

/* Desktop positioning for group-77 */
@media (min-width: 1024px) {
    .group-77 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 4237px;
        margin: 0;
    }
}

/* Privacy Page Styles */
.privacy-page {
    min-height: 100vh;
    background-color: #fff9f5;
    padding: 0;
    margin: 0;
    position: relative;
}

.privacy-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 121px;
    padding-bottom: 40px;
    position: relative;
}

.back-to-home {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.back-to-home:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s, color 0.2s;
}

.back-link:hover {
    opacity: 0.8;
    color: #583529;
}

.privacy-logo {
    width: 124px;
    height: 128.227px;
    border-radius: 24.894px;
    margin-bottom: 20px;
}

.privacy-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.privacy-content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-section {
    max-width: 814px;
    margin: 0 auto 80px;
}

.privacy-section-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.privacy-text {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0;
}

.privacy-text p {
    margin-bottom: 32px;
}

.privacy-text ul {
    margin-left: 24px;
    margin-bottom: 32px;
}

.privacy-text li {
    margin-bottom: 16px;
}

.privacy-text a {
    color: #4d3420;
    text-decoration: underline;
}

.privacy-text a:hover {
    opacity: 0.8;
}

.privacy-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 40px;
    margin-top: 80px;
}

.privacy-footer .frame-3222 {
    position: relative;
    left: auto;
    top: auto;
    width: 275px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 52px;
    justify-content: center;
}

.lang-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background-color: #4d3420;
    color: #fff9f5;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lang-btn:hover {
    opacity: 0.8;
}

/* Responsive Styles for Hero Section */
@media (max-width: 1279px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(48px, 7.5vw, 96px);
        line-height: clamp(48px, 7.5vw, 96px);
        width: auto;
        max-width: 412px;
    }
    
    .hero-subtitle {
        font-size: clamp(20px, 2.5vw, 32px);
        width: auto;
        max-width: 710px;
        height: auto;
        min-height: 88px;
    }
    
    .hero-phones {
        gap: clamp(20px, 5.4vw, 77px);
    }
    
    .iphone {
        width: clamp(180px, 18.2vw, 262px);
        height: auto;
        aspect-ratio: 262 / 568;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 80px 0 0;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-logo {
        width: 100px;
        height: 103px;
        margin-bottom: 40px;
    }
    
    .frame-3221 {
        width: 100px;
        height: 100px;
    }
    
    .hero-logo .gemini-1 {
        width: 100px;
        height: 103px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 48px;
        width: auto;
        max-width: 100%;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        margin-bottom: 40px;
        line-height: 1.4;
    }
    
    .button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 60px;
    }
    
    /* Mobile carousel styles */
    .hero-phones {
        width: 100%;
        overflow: hidden;
        position: relative;
        padding-bottom: 10px;
    }
    
    .phone-carousel {
        width: 100%;
        overflow: hidden;
        display: block;
    }
    
    .carousel-track {
        display: flex;
        gap: 0;
        transition: transform 0.4s ease-in-out;
        width: 300%;
        justify-content: flex-start;
        will-change: transform;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        touch-action: pan-y;
    }
    
    .carousel-slide {
        width: 33.333333%;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
    }
    
    .iphone {
        width: 200px;
        max-width: 80%;
        height: auto;
        aspect-ratio: 262 / 568;
    }
    
    /* Show carousel indicators on mobile */
    .carousel-indicators {
        display: flex;
    }
}

/* Responsive Styles for Privacy Page */
@media (max-width: 1024px) {
    .privacy-section {
        max-width: 90%;
    }
    
    .privacy-text {
        font-size: 22px;
        line-height: 30px;
    }
    
    .privacy-title,
    .privacy-section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .privacy-header {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .back-link {
        top: 15px;
        left: 15px;
        font-size: 14px;
    }
    
    .privacy-logo {
        width: 100px;
        height: 103px;
    }
    
    .privacy-title,
    .privacy-section-title {
        font-size: 32px;
    }
    
    .privacy-section {
        max-width: 95%;
        margin-bottom: 60px;
    }
    
    .privacy-text {
        font-size: 20px;
        line-height: 28px;
    }
    
    .privacy-text p {
        margin-bottom: 24px;
    }
    
    .privacy-footer {
        padding: 40px 20px 30px;
    }
    
    .privacy-footer .frame-3222 {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
    
    .lang-toggle {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .privacy-title,
    .privacy-section-title {
        font-size: 28px;
    }
    
    .privacy-text {
        font-size: 18px;
        line-height: 26px;
    }
    
    .privacy-logo {
        width: 80px;
        height: 83px;
    }
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background-color: #fff9f5;
    padding: 0;
    margin: 0;
    position: relative;
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 121px;
    padding-bottom: 40px;
    position: relative;
}

.contact-header .back-to-home {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.contact-header .back-to-home:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.contact-header .back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s, color 0.2s;
}

.contact-header .back-link:hover {
    opacity: 0.8;
    color: #583529;
}

.contact-logo {
    width: 124px;
    height: 128.227px;
    border-radius: 24.894px;
    margin-bottom: 20px;
}

.contact-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.contact-content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-intro {
    max-width: 814px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-intro-text {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0;
    margin: 0;
}

.contact-form {
    max-width: 814px;
    margin: 0 auto 80px;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: #583529;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #4d3420;
    border-radius: 8px;
    background-color: #fff9f5;
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #583529;
    box-shadow: 0 0 0 3px rgba(77, 52, 32, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: none;
    color: #d32f2f;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
}

.contact-submit-btn {
    width: 100%;
    max-width: 300px;
    height: 56px;
    border-radius: 28px;
    background-color: #f3f3f8;
    color: #4d3420;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 0 #583529;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    transition: opacity 0.2s, transform 0.1s;
}

.contact-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(1px);
    box-shadow: 0 3px 0 #583529;
}

.contact-submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #583529;
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 0 #583529;
}

.contact-success {
    max-width: 814px;
    margin: 0 auto 80px;
    padding: 24px;
    background-color: rgba(77, 52, 32, 0.05);
    border-radius: 8px;
    text-align: center;
}

.contact-success p {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin: 0;
}

.contact-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 40px;
    margin-top: 80px;
}

.contact-footer .frame-3222 {
    position: relative;
    left: auto;
    top: auto;
    width: 275px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 52px;
    justify-content: center;
}

/* Responsive Styles for Contact Page */
@media (max-width: 1024px) {
    .contact-form,
    .contact-intro,
    .contact-success {
        max-width: 90%;
    }
    
    .contact-intro-text {
        font-size: 22px;
        line-height: 30px;
    }
    
    .contact-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .contact-header .back-link {
        top: 15px;
        left: 15px;
        font-size: 14px;
    }
    
    .contact-logo {
        width: 100px;
        height: 103px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-form,
    .contact-intro,
    .contact-success {
        max-width: 95%;
        margin-bottom: 60px;
    }
    
    .contact-intro-text {
        font-size: 20px;
        line-height: 28px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 18px;
    }
    
    .contact-footer {
        padding: 40px 20px 30px;
    }
    
    .contact-footer .frame-3222 {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
    
    .contact-submit-btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }
    
    .contact-intro-text {
        font-size: 18px;
        line-height: 26px;
    }
    
    .contact-logo {
        width: 80px;
        height: 83px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .contact-submit-btn {
        font-size: 16px;
        height: 50px;
    }
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(77, 52, 32, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.is-hidden {
    display: none;
}

.modal-popup {
    background-color: #fff9f5;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(77, 52, 32, 0.3);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    max-height: 90vh;
    overflow: auto;
    margin: 20px auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background-color: transparent;
    color: #4d3420;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    padding: 0;
}

.modal-close:hover {
    background-color: rgba(77, 52, 32, 0.1);
    color: #583529;
}

.modal-content {
    padding: 40px 32px 32px;
}

.modal-title {
    color: #4d3420;
    font-family: 'Grandstander', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 24px 0;
}

.modal-text {
    color: #4d3420;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    margin: 0 0 32px 0;
}

.modal-ok-btn {
    width: 100%;
    max-width: 200px;
    height: 48px;
    border-radius: 24px;
    background-color: #f3f3f8;
    color: #4d3420;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 0 #583529;
    display: block;
    margin: 0 auto;
    transition: opacity 0.2s, transform 0.1s;
}

.modal-ok-btn:hover {
    opacity: 0.9;
    transform: translateY(1px);
    box-shadow: 0 3px 0 #583529;
}

.modal-ok-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #583529;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .modal-popup {
        max-width: 90%;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .modal-overlay {
        align-items: flex-start;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .modal-content {
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }
    
    .modal-content {
        padding: 32px 24px 24px;
    }
    
    .modal-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .modal-text {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .modal-popup {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-content {
        padding: 28px 20px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-text {
        font-size: 15px;
        line-height: 22px;
    }
    
    .modal-ok-btn {
        max-width: 100%;
        height: 44px;
        font-size: 15px;
    }

    .modal-content .contact-form {
        max-width: 100%;
        margin: 0;
    }

    .modal-content .form-group {
        margin-bottom: 20px;
    }

    .modal-content .form-group label {
        font-size: 16px;
    }

    .modal-content .form-input {
        font-size: 16px;
        padding: 12px 14px;
    }

    .modal-content .error-message {
        font-size: 14px;
    }

    .modal-content .contact-submit-btn {
        max-width: 100%;
        height: 52px;
        margin: 24px 0 0;
    }
}
