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

:root {
    --primary-color: #2cd0c1;
    --secondary-color: #3A2E39;
    --on-primary-color: var(--secondary-color);
    --on-secondary-color: #F5F5F5;
    --background-color: #f8fffe;
    --text-color: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #25b8aa 100%);
    color: var(--secondary-color);
    padding: 60px 20px;
    text-align: center;
}

.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 16px;
    font-weight: 700;
}

.header p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s;
}

.language-switcher a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.language-switcher a.active {
    background: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--secondary-color);
    margin-top: 60px;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Marketing Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 40px;
    text-align: center;
}

.section ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    justify-content: center;
}

.section ul li {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--text-color);
    font-size: 1.05em;
    line-height: 1.6;
    flex: 0 0 280px;
}

.section ul li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(44, 208, 193, 0.15);
}

.section ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3em;
    margin-right: 12px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 208, 193, 0.2);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.cta-section {
    background: var(--secondary-color);
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--on-secondary-color);
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
}

.store-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.store-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-button {
    height: 60px;
    width: auto;
    transition: transform 0.2s;
}

.store-button--appstore {
    height: 60px;
}

.store-button--playstore {
    height: 80px;
}

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

/* Privacy Page Styles */
.privacy-page body {
    line-height: 1.8;
}

.privacy-page .header {
    padding: 40px 20px;
}

.privacy-page .header h1 {
    margin-bottom: 10px;
}

.privacy-page .header .back-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.privacy-page .header .back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.privacy-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.privacy-page .last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
}

.privacy-page h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 40px 0 20px 0;
}

.privacy-page h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin: 30px 0 15px 0;
}

.privacy-page p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.privacy-page ul {
    margin: 15px 0 15px 30px;
}

.privacy-page li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.privacy-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-page a:hover {
    text-decoration: underline;
}

.privacy-page .section {
    margin-bottom: 30px;
}

/* Share Landing Page Styles */
.share-page {
    background: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.share-page .logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-page .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-page .container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.share-page h1 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 24px;
}

.share-page p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.qr-container {
    background: var(--background-color);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}

#qrcode {
    display: inline-block;
}

.button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--on-secondary-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    transition: all 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--on-primary-color);
    box-shadow: 0 4px 12px rgba(44, 208, 193, 0.3);
}

.small-text {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.preview-box {
    background: var(--background-color);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.preview-box p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .section h2 {
        font-size: 1.6em;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }

    .privacy-page h2 {
        font-size: 1.5em;
    }

    .privacy-page h3 {
        font-size: 1.2em;
    }
}
