/* Airbnb-inspired CSS styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cereal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Navigation */
.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-brand:hover {
    color: #0070f3;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: #0070f3;
}

.nav-link.active {
    color: #0070f3;
    font-weight: 600;
}

.nav-app-store {
    background: #0070f3;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-app-store:hover {
    background: #0056b3;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Header */
header {
    padding: 48px 0 48px;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 48px;
}

header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 16px;
    line-height: 1.25;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #222222;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.language-button:hover {
    border-color: #0070f3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.language-button .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    display: inline-block;
}

.language-button .arrow {
    font-size: 12px;
    color: #717171;
    transition: transform 0.2s ease;
}

.language-dropdown.open .language-button .arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    min-width: 180px;
}

.language-dropdown.open .language-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.language-option:hover {
    background-color: #f7f7f7;
}

.language-option.active {
    background-color: #0070f3;
    color: #ffffff;
}

.language-option .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Flag backgrounds */
.flag.en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23FFF' stroke-width='6'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23FFF' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.flag.es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23AA151B'/%3E%3Crect y='7.5' width='60' height='15' fill='%23F1BF00'/%3E%3C/svg%3E"); }
.flag.ja { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23FFFFFF'/%3E%3Ccircle cx='30' cy='15' r='9' fill='%23BC002D'/%3E%3C/svg%3E"); }
.flag.de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='10' fill='%23000'/%3E%3Crect y='10' width='60' height='10' fill='%23DD0000'/%3E%3Crect y='20' width='60' height='10' fill='%23FFCE00'/%3E%3C/svg%3E"); }
.flag.fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='20' height='30' fill='%23002395'/%3E%3Crect x='20' width='20' height='30' fill='%23FFFFFF'/%3E%3Crect x='40' width='20' height='30' fill='%23ED2939'/%3E%3C/svg%3E"); }
.flag.pt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23009B3A'/%3E%3Cpath d='M30 15L5 5v20z' fill='%23FEDF00'/%3E%3Ccircle cx='30' cy='15' r='4' fill='%23002776'/%3E%3C/svg%3E"); }

.last-updated {
    font-size: 14px;
    color: #717171;
    font-weight: 400;
}

/* Main content */
main {
    margin-bottom: 64px;
}

/* Sections */
section {
    margin-bottom: 48px;
}

section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 24px;
    line-height: 1.25;
}

section p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #222222;
}

.lead {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 32px;
}

/* Subsections */
.subsection {
    margin-bottom: 32px;
}

.subsection h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 16px;
    line-height: 1.25;
}

/* Lists */
ul {
    padding-left: 0;
    margin-bottom: 24px;
}

li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #222222;
}



li strong {
    font-weight: 600;
}

/* Special styling for the "What We Don't Do" section */
.no-tracking-list li {
    margin-bottom: 16px;
    padding: 16px 20px;
    padding-left: 44px;
    background-color: #f7f7f7;
    border-radius: 8px;
    border-left: 4px solid #00a699;
    color: #222222;
}

.no-tracking-list li::before {
    content: "✓";
    color: #00a699;
    font-weight: bold;
    left: 16px;
}

/* Intro section */
.intro {
    background-color: #f7f7f7;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 48px;
}

.intro h2 {
    margin-bottom: 16px;
}

/* Bottom line section */
.bottom-line {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
    color: white;
    padding: 32px;
    border-radius: 12px;
    margin-top: 48px;
}

.bottom-line h2 {
    color: white;
    margin-bottom: 16px;
}

.bottom-line p {
    color: white;
    font-size: 18px;
    line-height: 1.5;
}

/* Contact info */
.contact-info {
    background-color: #f7f7f7;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #ff5a5f;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info .email {
    font-size: 18px;
    font-weight: 500;
}

.contact-info strong {
    color: #222222;
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #dddddd;
    color: #717171;
    font-size: 14px;
    margin-top: 48px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-right {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .nav-app-store {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    header {
        padding: 48px 0 32px;
        margin-bottom: 32px;
    }
    
    header h1 {
        font-size: 28px;
    }
    
    .language-button {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .language-button .flag {
        width: 18px;
        height: 14px;
    }
    
    .language-menu {
        min-width: 160px;
    }
    
    section h2 {
        font-size: 22px;
    }
    
    .subsection h3 {
        font-size: 18px;
    }
    
    .intro {
        padding: 24px;
    }
    
    .bottom-line {
        padding: 24px;
    }
    
    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 12px 16px;
        gap: 12px;
    }
    
    .nav-brand {
        font-size: 16px;
    }
    
    .nav-right {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .nav-app-store {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    section h2 {
        font-size: 20px;
    }
    
    .subsection h3 {
        font-size: 16px;
    }
    
    .intro {
        padding: 20px;
    }
    
    .bottom-line {
        padding: 20px;
    }
    
    .contact-info {
        padding: 16px;
    }
    
    li {
        padding-left: 20px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    header {
        border-bottom: 2px solid black;
        padding: 20px 0;
    }
    
    .intro,
    .bottom-line,
    .contact-info {
        background-color: white !important;
        color: black !important;
        border: 1px solid black;
    }
    
    .no-tracking-list li {
        background-color: white !important;
        border-left: 2px solid black;
    }
    
    footer {
        border-top: 1px solid black;
        color: black;
    }
}

/* Hero, CTA and screenshots for homepage */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    padding: 40px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.hero-inner {
    max-width: 860px;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.hero-ctas {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    background: #ffffff;
    color: #222222;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

.btn.primary {
    background: #0070f3;
    color: #fff;
    border-color: #0070f3;
}

.btn.secondary {
    background: transparent;
    color: #0070f3;
    border-color: #0070f3;
    box-shadow: none;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 20px;
    }
}

@media (max-width: 350px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}
