body {
    font-family: "Outfit", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: linear-gradient(70deg, #FFF 40%, #C7F7E2 100%);
    color: #333;
    -webkit-text-size-adjust: 100%;
}

header {
    background: linear-gradient(90deg, #000000, #000000, #087660, #c7f7e2);
    color: #fff;
    text-align: center;
    padding: 0.1rem 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}

.header-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-content h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 2px;
}

.header-logo {
    color: #C7F7E2;
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: normal;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto 0 auto;
    min-height: 70vh;
}

.left-pane, .right-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-pane {
    align-items: flex-end;
    margin-right: 0.5rem;
    height: 100%;
    justify-content: center;
}

.right-pane {
    align-items: flex-start;
    margin-left: 0.5rem;
    min-width: 350px;
    justify-content: center;
    min-height: 500px;
    height: 100%;
}

section {
    background: #fff;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

section h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.hero-section {
    background: #fff;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.5rem;
    flex-wrap: wrap;
}

.gallery {
    flex: 0.8;
    text-align: center;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

.gallery div {
    width: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    position: absolute;
    width: 96%;
    max-width: 638px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 0 auto;
}

.gallery-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.gallery-image.fade-out {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta {
    flex: 1;
    text-align: left;
    padding: 1rem;
    min-width: 280px;
}

.cta h2 {
    border-bottom: 2px solid #087660 !important;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

footer {
    text-align: center;
    margin-top: 0.1rem;
    background: #fff;
    color: #000;
    font-size: 0.7rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

footer a {
    color: #087660;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: inline-block;
}

footer a:hover {
    color: #055444;
    text-decoration: underline;
}

.terms-content, .privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    line-height: 1.6;
    box-sizing: border-box;
}

.terms-content h2, .privacy-content h2 {
    color: #087660;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.terms-section, .privacy-section {
    margin-bottom: 2rem;
}

.terms-section h3, .privacy-section h3 {
    color: #087660;
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 4vw, 1.3rem);
}

.terms-section h4, .privacy-section h4 {
    color: #087660;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.terms-section p, .privacy-section p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.terms-section ul, .privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li, .privacy-section li {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-info {
    font-weight: bold;
    color: #087660;
    word-wrap: break-word;
}

.app-store-badge {
    width: clamp(140px, 30vw, 180px);
    height: auto;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.gradient-text {
  background: linear-gradient(90deg, #000000, #000000, #087660, #c7f7e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.5rem 1rem;
    }

    .header-logo {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .hero-content {
        gap: 0.5rem;
        padding: 0;
        width: 100%;
        margin: 0;
        flex-direction: column;
    }

    .gallery {
        flex: 1;
        width: 100%;
        min-width: auto;
        padding: 0;
        box-sizing: border-box;
        margin-top: 3rem;
    }
    
    .gallery div {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .gallery img {
        width: 85%;
        max-width: 280px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .cta {
        padding: 0.5rem;
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .cta h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .cta p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    main {
        margin: 1rem auto 0.5rem auto;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 900px) {
    main {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        min-height: unset;
    }
    .left-pane, .right-pane {
        align-items: center;
        margin: 0;
        min-width: unset;
        min-height: unset;
        height: unset;
    }
}

@media screen and (max-width: 480px) {
    main {
        margin: 0.75rem auto 0.25rem auto;
    }

    header {
        padding: 0.25rem 0;
    }

    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 0.25rem 0.5rem;
    }

    section {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .gallery {
        margin-top: 2.4rem;
    }

    .gallery img {
        width: 85%;
    }

    footer {
        padding: 0.5rem;
        margin-top: 0;
    }

    .app-store-badge {
        margin-top: 0.5rem;
    }

    .header-icon {
        width: 30px;
        height: 30px;
    }

    footer {
        font-size: 0.6rem;
    }

    footer a {
        display: block;
        padding: 0.3rem;
    }

    p {
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .gallery img:hover {
        transform: none;
        box-shadow: none;
    }

    .app-store-badge:hover {
        transform: none;
    }

    footer a {
        padding: 0.5rem;
    }
}

/* Base fixes to prevent horizontal scroll */
html, body, header {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Support Page Styles */
.support-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.support-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    background: linear-gradient(135deg, #087660, #C7F7E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.support-option {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.support-option h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.support-option p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #087660, #C7F7E2);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(8, 118, 96, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 118, 96, 0.4);
}

.email-link {
    display: inline-block;
    color: #087660;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #087660;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #fff;
}

.email-link:hover {
    background: #087660;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 118, 96, 0.3);
}

/* Mobile Responsive for Support Page */
@media screen and (max-width: 768px) {
    .support-content {
        padding: 1rem;
    }
    
    .support-content h1 {
        font-size: 2rem;
    }
    
    .support-option {
        padding: 1.5rem;
    }
    
    .support-option h2 {
        font-size: 1.3rem;
    }
    
    .support-option p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .email-link {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .support-content {
        padding: 0.5rem;
    }
    
    .support-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .support-options {
        gap: 1.5rem;
    }
    
    .support-option {
        padding: 1rem;
    }
    
    .support-option h2 {
        font-size: 1.2rem;
    }
    
    .support-option p {
        font-size: 0.95rem;
    }
}

 