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

:root {
    --primary: #16342D;
    --primary-light: #265440;
    --primary-dark: #0F2920;
    --secondary: #C4B27A;
    --secondary-light: #DCCA90;
    --secondary-dark: #AD9B65;
    --background: #F9F9F9;
    --surface: #FFFFFF;
    --text: #16342D;
    --text-secondary: #38524C;
    --text-muted: #556B66;
    --border: #9EA39B;
    --border-light: #DADCD8;
    --font-primary: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--surface);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 12px;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary);
}

main {
    padding: 0;
    margin: 0;
}

h1 {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.last-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.legal-section {
    background-color: var(--surface);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

ul,
ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--secondary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.placeholder-notice {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: var(--primary-dark);
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    font-weight: 500;
    text-align: center;
}

footer {
    background-color: var(--primary);
    color: var(--background);
    padding: 40px 24px;
    margin-top: auto;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    font-size: 14px;
    color: rgba(249, 249, 249, 0.7);
}

.help-card {
    background-color: var(--surface);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.help-card h3 {
    margin-top: 0;
}

.contact-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--background);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-button:hover {
    background-color: var(--primary-light);
    text-decoration: none;
    transform: translateY(-1px);
}

details {
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

details:last-of-type {
    border-bottom: none;
}

summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
    transition: color 0.2s ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 24px;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding-top: 8px;
    color: var(--text-secondary);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    .legal-section {
        padding: 24px;
    }

    header {
        padding: 20px 16px;
    }

    .logo {
        height: 36px;
    }

    .logo-text {
        font-size: 20px;
    }

    nav {
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}




.widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 52, 45, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.widget-overlay.active {
    opacity: 1;
    visibility: visible;
}

.floating-download-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--surface);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 220px;
    text-align: center;
    border: 1px solid var(--border-light);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.6s ease,
        visibility 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-download-widget.ready {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-download-widget.expanded {
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);
    width: 360px;
    padding: 40px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    cursor: default;
    opacity: 1;
    visibility: visible;
}

.floating-download-widget:hover:not(.expanded) {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.widget-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.widget-close:hover {
    color: var(--primary);
}

.floating-download-widget h4 {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 8px;
    transition: font-size 0.3s ease;
}

.floating-download-widget.expanded h4 {
    font-size: 24px;
    margin-bottom: 24px;
}

.widget-qr {
    background: white;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    transition: padding 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-download-widget.expanded .widget-qr {
    padding: 24px;
}

.qr-logo {
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease;
}

.floating-download-widget.expanded .qr-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.widget-qr img:not(.qr-logo) {
    width: 110px;
    height: 110px;
    display: block;
    transition: width 0.3s ease, height 0.3s ease;
}

.floating-download-widget.expanded .widget-qr img:not(.qr-logo) {
    width: 200px;
    height: 200px;
}

.floating-download-widget p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
    transition: font-size 0.3s ease;
}

.floating-download-widget.expanded p {
    font-size: 16px;
    max-width: 240px;
}


@media (max-width: 1024px) {
    .floating-download-widget {
        display: none;
    }
}