/* 기본 스타일 - YourWeather (copied from GuziLab) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yw-cloud-size: 1300px auto;
    --yw-bg-offset: 50px;
    --yw-gradient-size: 100% 100vh;
}

body {
    min-height: 100vh;
    background: 
        url('images/cloud_group.png') center top no-repeat,
        linear-gradient(to bottom, #373287 0%, #FFDEFB 100%);
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed;
    background-size: var(--yw-cloud-size), var(--yw-gradient-size);
    background-position: center var(--yw-bg-offset), center center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    overflow-x: hidden;
}

body.your-weather-page {
    position: relative;
    background: none;
}

body.your-weather-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        url('images/cloud_group.png') center top no-repeat,
        linear-gradient(to bottom, #373287 0%, #FFDEFB 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: var(--yw-cloud-size), var(--yw-gradient-size);
    background-position: center var(--yw-bg-offset), center center;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
}

html {
    scroll-behavior: smooth;
}

.logo {
    position: fixed;
    top: 50px;
    left: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
    z-index: 1000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 20px 0 20px;
}

.container {
    max-width: 1728px; /* 맥북 프로 16 논리적 해상도 기준 */
    margin: 0 auto;
    width: 100%;
}

.squares-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.page-indicator {
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.indicator-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator-dot.active {
    background: #FF0062;
}

.square {
    width: 310px;
    height: 675px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.modal-handle {
    width: 50px;
    height: 6px;
    background: white;
    border-radius: 3px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.app-icon {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 100px;
    height: auto;
    z-index: 10;
}

.weather-text {
    position: absolute;
    top: 180px;
    left: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    line-height: 100%;
    z-index: 10;
}

.forecast-text {
    position: absolute;
    top: 70px;
    left: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    line-height: 110%;
    z-index: 10;
}

.logo-image {
    position: absolute;
    top: 236px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: auto;
    z-index: 10;
}

.square-bottom-image {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: auto;
    z-index: 10;
}

.square-text-bottom-image {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: auto;
    z-index: 10;
}

.square-06-image {
    top: 210px;
}

.square-09-image {
    top: 170px;
}

.character-description-box {
    position: absolute;
    top: 512px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    background: white;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.character-description-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: black;
    text-align: center;
    line-height: 1.2;
}

.app-intro-box {
    position: absolute;
    top: 354px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    background: white;
    border-radius: 40px;
    padding: 12px 20px;
    box-sizing: border-box;
}

.app-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: black;
    text-align: center;
    line-height: 1.2;
}

.app-store-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.store-button {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.store-button:hover {
    opacity: 0.8;
}

.store-badge {
    height: 40px;
    width: auto;
    display: block;
}

.forecast-text-center {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    line-height: 110%;
    text-align: center;
    width: 250px;
    z-index: 10;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 반응형 디자인 - YourWeather */

/* 1728px 이하 */
@media (max-width: 1728px) {
    .page-section {
        padding: 150px 40px 0 40px;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .square {
        width: 280px;
        height: 610px;
    }
    
    .app-icon {
        width: 90px;
        top: 55px;
        left: 35px;
    }
    
    .weather-text {
        font-size: 32px;
        line-height: 100%;
        top: 165px;
        left: 45px;
    }
    
    .forecast-text {
        font-size: 30px;
        line-height: 110%;
        top: 65px;
        left: 45px;
    }
    
    .logo-image {
        width: 180px;
        top: 215px;
    }
    
    .square-bottom-image {
        width: 271px;
    }
    
    .square-text-bottom-image {
        width: 253px;
        top: 185px;
    }
    
    .square-06-image {
        top: 205px;
    }
    
    .square-09-image {
        top: 165px;
    }
    
    .character-description-box {
        width: 180px;
        height: 55px;
        top: 465px;
    }
    
    .character-description-text {
        font-size: 14px;
    }
    
    .app-intro-box {
        width: 220px;
        top: 320px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .app-intro-text {
        font-size: 14px;
    }

    .store-badge {
        height: 36px;
    }
    
    .forecast-text-center {
        font-size: 28px;
        line-height: 110%;
        top: 65px;
        width: 220px;
    }
    
    .logo {
        font-size: 24px;
        top: 40px;
        left: 40px;
    }
    
    .page-indicator {
        right: 50px;
    }
    
    .indicator-dot {
        width: 14px;
        height: 14px;
    }
    
    :root {
        --yw-cloud-size: 1200px auto;
    }
}

/* 1200px 이하 */
@media (max-width: 1200px) {
    .page-section {
        padding: 135px 40px 0 40px;
    }
    
    .squares-container {
        gap: 20px;
    }
    
    .square {
        width: 250px;
        height: 545px;
    }
    
    .app-icon {
        width: 80px;
        top: 50px;
        left: 30px;
    }
    
    .weather-text {
        font-size: 28px;
        line-height: 100%;
        top: 150px;
        left: 40px;
    }
    
    .forecast-text {
        font-size: 26px;
        line-height: 110%;
        top: 60px;
        left: 40px;
    }
    
    .logo-image {
        width: 160px;
        top: 198px;
    }
    
    .square-bottom-image {
        width: 242px;
    }
    
    .square-text-bottom-image {
        width: 226px;
        top: 180px;
    }
    
    .square-06-image {
        top: 200px;
    }
    
    .square-09-image {
        top: 160px;
    }
    
    .character-description-box {
        width: 160px;
        height: 50px;
        top: 423px;
    }
    
    .character-description-text {
        font-size: 13px;
    }
    
    .app-intro-box {
        width: 200px;
        top: 286px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .app-intro-text {
        font-size: 13px;
    }

    .store-badge {
        height: 32px;
    }
    
    .forecast-text-center {
        font-size: 26px;
        line-height: 110%;
        top: 60px;
        width: 240px;
    }
    
    .logo {
        font-size: 22px;
        top: 35px;
        left: 35px;
    }
    
    .page-indicator {
        right: 45px;
    }
    
    .indicator-dot {
        width: 14px;
        height: 14px;
    }
    
    :root {
        --yw-cloud-size: 1000px auto;
    }
}

/* 1024px 이하 - 태블릿 */
@media (max-width: 1024px) {
    .page-section {
        padding: 80px 30px 0 30px;
        height: auto !important;
        min-height: auto;
        display: block;
    }
    
    .squares-container {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .square {
        width: 310px;
        height: 676px;
    }
    
    .app-icon {
        width: 100px;
        top: 54px;
        left: 36px;
    }
    
    .weather-text {
        font-size: 36px;
        line-height: 100%;
        top: 162px;
        left: 45px;
    }
    
    .forecast-text {
        font-size: 32px;
        line-height: 110%;
        top: 63px;
        left: 45px;
    }
    
    .logo-image {
        width: 180px;
        top: 212px;
    }
    
    .square-bottom-image {
        width: 300px;
    }
    
    .square-text-bottom-image {
        width: 280px;
        top: 183px;
    }
    
    .square-06-image {
        top: 203px;
    }
    
    .square-09-image {
        top: 163px;
    }
    
    .character-description-box {
        width: 200px;
        height: 60px;
        top: 460px;
    }
    
    .character-description-text {
        font-size: 16px;
    }
    
    .app-intro-box {
        width: 240px;
        top: 336px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .app-intro-text {
        font-size: 16px;
    }

    .store-badge {
        height: 40px;
    }
    
    .forecast-text-center {
        font-size: 30px;
        line-height: 110%;
        top: 63px;
        width: 250px;
    }

    .logo {
        font-size: 22px;
        top: 30px;
        left: 30px;
    }

    .page-indicator {
        display: none;
    }
    
    :root {
        --yw-cloud-size: 800px auto;
    }
}

/* 600px 이하 - 모바일 세로 */
@media (max-width: 600px) {
    .page-section {
        padding: 80px 15px 0 15px;
        height: auto !important;
        min-height: auto;
        display: block;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .squares-container {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .square {
        width: 280px;
        height: 610px;
        margin: 0 auto;
        position: relative;
    }
    
    .app-icon {
        width: 100px;
        top: 54px;
        left: 36px;
    }
    
    .weather-text {
        font-size: 36px;
        line-height: 100%;
        top: 162px;
        left: 45px;
    }
    
    .forecast-text {
        font-size: 32px;
        line-height: 110%;
        top: 63px;
        left: 45px;
    }
    
    .logo-image {
        width: 180px;
        top: 212px;
    }
    
    .square-bottom-image {
        width: 270px;
    }
    
    .square-text-bottom-image {
        width: 252px;
        top: 183px;
    }
    
    .square-06-image {
        top: 203px;
    }
    
    .square-09-image {
        top: 163px;
    }
    
    .character-description-box {
        width: 200px;
        height: 60px;
        top: 460px;
    }
    
    .character-description-text {
        font-size: 16px;
    }
    
    .app-intro-box {
        width: 240px;
        top: 336px;
        left: 45px;
    }
    
    .app-intro-text {
        font-size: 16px;
    }

    .store-badge {
        height: 40px;
    }

    .store-badge {
        height: 40px;
    }
    
    .forecast-text-center {
        font-size: 30px;
        line-height: 110%;
        top: 63px;
        width: 250px;
    }
    
    .logo {
        font-size: 22px;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        background: rgba(55, 50, 135, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        text-align: left;
    }

    .page-indicator {
        display: none;
    }
    
    .app-intro-box {
        left: 50%;
        transform: translateX(-50%);
    }
    
    :root {
        --yw-cloud-size: 600px auto;
    }

    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

/* =====================================================
   Data Legend Styles
   ===================================================== */

/* Data Legend Base Styles - scoped to data_legend.html */
body.data-legend-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #F2F6FF 0%, #FEF0F0 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
}

body.data-legend-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

body.data-legend-page .title {
    text-align: left;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 70px;
}

body.data-legend-page .section {
    margin-bottom: 60px;
}

body.data-legend-page .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}

body.data-legend-page .subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

body.data-legend-page .table-container {
    overflow-x: auto;
    margin: 20px 0;
}

body.data-legend-page .table-container table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

body.data-legend-page .table-container th,
body.data-legend-page .table-container td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

body.data-legend-page .pm-table td:first-child {
    text-align: left;
    padding-left: 22px;
    width: 25%;
}

body.data-legend-page .pm-table th,
body.data-legend-page .pm-table td {
    width: 33.33%;
}

body.data-legend-page .uv-table td:last-child {
    text-align: left;
}

body.data-legend-page .uv-table td:nth-child(1) {
    width: 15%;
}

body.data-legend-page .uv-table td:nth-child(2) {
    width: 30%;
}

body.data-legend-page .wind-table td:nth-child(1),
body.data-legend-page .wind-table td:nth-child(2),
body.data-legend-page .wind-table td:nth-child(3) {
    width: 16.67%;
}

body.data-legend-page .table-container th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

body.data-legend-page .table-container td {
    font-size: 13px;
    color: #4b5563;
    background: transparent;
}

body.data-legend-page .pm10-row {
    background: transparent;
}

body.data-legend-page .pm25-row {
    background: transparent;
}

body.data-legend-page .info-text {
    font-size: 14px;
    color: #6b7280;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 0;
}

body.data-legend-page .who-table th {
    background: #f1f5f9;
    font-size: 13px;
}

body.data-legend-page .who-table td {
    font-size: 12px;
}

body.data-legend-page .aqg-row {
    background: transparent;
    font-weight: 600;
}

body.data-legend-page .it-row {
    background: transparent;
}

@media (max-width: 768px) {
    body.data-legend-page .title {
        font-size: 28px;
        margin-bottom: 70px;
    }
}

@media (max-width: 600px) {
    body.data-legend-page .title {
        font-size: 24px;
        margin-bottom: 50px;
    }
    
    body.data-legend-page .section-title {
        font-size: 20px;
    }
    
    body.data-legend-page .subsection-title {
        font-size: 16px;
    }
    
    body.data-legend-page .table-container th,
    body.data-legend-page .table-container td {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    body.data-legend-page .info-text {
        font-size: 13px;
        padding: 0 10px;
    }
    
    body.data-legend-page .who-table th {
        font-size: 11px;
    }
    
    body.data-legend-page .who-table td {
        font-size: 10px;
    }
    
    body.data-legend-page .mobile-flip-table th,
    body.data-legend-page .mobile-flip-table td {
        padding: 6px 4px;
        font-size: 11px;
    }
}

@media (max-width: 500px) {
    body.data-legend-page .section-title {
        font-size: 21px;
    }
    
    body.data-legend-page .subsection-title {
        font-size: 17px;
    }
    
    body.data-legend-page .table-container th,
    body.data-legend-page .table-container td {
        font-size: 13px;
    }
    
    body.data-legend-page .info-text {
        font-size: 14px;
    }
    
    body.data-legend-page .who-table th {
        font-size: 12px;
    }
    
    body.data-legend-page .who-table td {
        font-size: 11px;
    }
    
    body.data-legend-page .mobile-flip-table th,
    body.data-legend-page .mobile-flip-table td {
        font-size: 12px;
    }
}

body.data-legend-page .color-circle {
    display: inline-block;
    width: 12px;
    height: 9px;
    border-radius: 4px;
    border: 1px solid white;
    margin-right: 8px;
    vertical-align: middle;
}

body.data-legend-page .color-excellent { background-color: #0026FF; }
body.data-legend-page .color-good { background-color: #006FFF; }
body.data-legend-page .color-fair { background-color: #00C8C2; }
body.data-legend-page .color-normal { background-color: #58CA00; }
body.data-legend-page .color-slightly-bad { background-color: #FFAE00; }
body.data-legend-page .color-bad { background-color: #FF5100; }
body.data-legend-page .color-extremely-bad { background-color: #FF0000; }
body.data-legend-page .color-worst { background-color: #951919; }
body.data-legend-page .color-low { background-color: #00D9FF; }
body.data-legend-page .color-moderate { background-color: #00CA25; }
body.data-legend-page .color-high { background-color: #FF8800; }
body.data-legend-page .color-very-high { background-color: #FF1E00; }
body.data-legend-page .color-dangerous { background-color: #D400FF; }

/* =====================================================
   Terms & Policy Pages Styles
   (location_terms, marketing_consent, privacy_policy, terms)
   ===================================================== */

/* Common styles for terms pages */
body.location-terms-page,
body.marketing-consent-page,
body.privacy-policy-page,
body.terms-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #F2F6FF 0%, #FEF0F0 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
}

body.location-terms-page .container,
body.marketing-consent-page .container,
body.privacy-policy-page .container,
body.terms-page .container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

body.location-terms-page .header,
body.marketing-consent-page .header,
body.privacy-policy-page .header,
body.terms-page .header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #373287;
    display: block;
}

body.location-terms-page .header > *,
body.marketing-consent-page .header > *,
body.privacy-policy-page .header > *,
body.terms-page .header > * {
    display: block !important;
    width: 100%;
    clear: both;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}

body.location-terms-page .logo,
body.marketing-consent-page .logo,
body.privacy-policy-page .logo,
body.terms-page .logo {
    font-size: 24px;
    font-weight: 800;
    color: #373287;
    margin: 0 auto 10px auto;
    display: block !important;
    width: 100%;
    text-align: center;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: auto !important;
    text-shadow: none !important;
}

body.location-terms-page .header h1,
body.marketing-consent-page .header h1,
body.privacy-policy-page .header h1,
body.terms-page .header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #373287;
    margin: 0 auto 10px auto;
    display: block !important;
    width: 100%;
    text-align: center;
    clear: both;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

body.location-terms-page .update-date,
body.marketing-consent-page .update-date,
body.privacy-policy-page .update-date,
body.terms-page .update-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    display: block;
}

body.location-terms-page .intro,
body.marketing-consent-page .intro,
body.privacy-policy-page .intro,
body.terms-page .intro {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #373287;
}

body.location-terms-page .intro p,
body.marketing-consent-page .intro p,
body.privacy-policy-page .intro p,
body.terms-page .intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

body.marketing-consent-page .intro p:last-child {
    margin-bottom: 0;
}

body.location-terms-page .article,
body.terms-page .article {
    margin-bottom: 30px;
}

body.location-terms-page .article-title,
body.terms-page .article-title {
    font-size: 20px;
    font-weight: 700;
    color: #373287;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

body.location-terms-page .article-content,
body.terms-page .article-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

body.location-terms-page .article-content p,
body.terms-page .article-content p {
    margin-bottom: 12px;
    font-size: 15px;
}

body.location-terms-page .article-content ul,
body.terms-page .article-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

body.location-terms-page .article-content li,
body.terms-page .article-content li {
    margin-bottom: 8px;
}

body.location-terms-page .article-content ol,
body.terms-page .article-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

body.location-terms-page .article-content ol li,
body.terms-page .article-content ol li {
    margin-bottom: 8px;
}

body.marketing-consent-page .section,
body.privacy-policy-page .section {
    margin-bottom: 35px;
}

body.marketing-consent-page .section-title,
body.privacy-policy-page .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #373287;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

body.marketing-consent-page .subsection-title,
body.privacy-policy-page .subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #373287;
    margin-bottom: 15px;
    margin-top: 25px;
}

body.marketing-consent-page .section-content,
body.privacy-policy-page .section-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

body.marketing-consent-page .section-content p,
body.privacy-policy-page .section-content p {
    margin-bottom: 12px;
    font-size: 15px;
}

body.marketing-consent-page .section-content ul,
body.privacy-policy-page .section-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

body.marketing-consent-page .section-content li,
body.privacy-policy-page .section-content li {
    margin-bottom: 8px;
}

body.marketing-consent-page .section-content ol,
body.privacy-policy-page .section-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

body.marketing-consent-page .section-content ol li,
body.privacy-policy-page .section-content ol li {
    margin-bottom: 8px;
}

body.location-terms-page .highlight,
body.marketing-consent-page .highlight,
body.privacy-policy-page .highlight,
body.terms-page .highlight {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 15px 0;
}

body.location-terms-page .highlight p,
body.marketing-consent-page .highlight p,
body.privacy-policy-page .highlight p,
body.terms-page .highlight p {
    font-weight: 600;
    color: #856404;
    margin: 0;
}

body.location-terms-page .table-container,
body.marketing-consent-page .table-container,
body.privacy-policy-page .table-container,
body.terms-page .table-container {
    margin: 20px 0;
    overflow-x: auto;
}

body.location-terms-page .table-container table,
body.marketing-consent-page .table-container table,
body.privacy-policy-page .table-container table,
body.terms-page .table-container table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.location-terms-page .table-container th,
body.marketing-consent-page .table-container th,
body.privacy-policy-page .table-container th,
body.terms-page .table-container th {
    background: #373287;
    color: white;
    padding: 15px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

body.location-terms-page .table-container td,
body.marketing-consent-page .table-container td,
body.privacy-policy-page .table-container td,
body.terms-page .table-container td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

body.location-terms-page .table-container tr:last-child td,
body.marketing-consent-page .table-container tr:last-child td,
body.privacy-policy-page .table-container tr:last-child td,
body.terms-page .table-container tr:last-child td {
    border-bottom: none;
}

body.location-terms-page .table-container tr:nth-child(even),
body.marketing-consent-page .table-container tr:nth-child(even),
body.privacy-policy-page .table-container tr:nth-child(even),
body.terms-page .table-container tr:nth-child(even) {
    background: #f8f9ff;
}

body.location-terms-page .contact-info,
body.privacy-policy-page .contact-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2196f3;
    margin: 20px 0;
}

body.location-terms-page .contact-info h3,
body.privacy-policy-page .contact-info h3 {
    color: #1976d2;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

body.location-terms-page .footer,
body.marketing-consent-page .footer,
body.privacy-policy-page .footer,
body.terms-page .footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #373287;
    text-align: center;
}

body.location-terms-page .footer p,
body.marketing-consent-page .footer p,
body.privacy-policy-page .footer p,
body.terms-page .footer p {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

body.location-terms-page .back-button,
body.marketing-consent-page .back-button,
body.privacy-policy-page .back-button,
body.terms-page .back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #373287;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

body.location-terms-page .back-button:hover,
body.marketing-consent-page .back-button:hover,
body.privacy-policy-page .back-button:hover,
body.terms-page .back-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

body.marketing-consent-page .channel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

body.marketing-consent-page .channel-item {
    background: #f8f9ff;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    color: #373287;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.marketing-consent-page .channel-icon {
    font-size: 16px;
}

body.marketing-consent-page .warning-box {
    background: #f8d7da;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    margin: 20px 0;
}

body.marketing-consent-page .warning-box p {
    color: #721c24;
    font-weight: 600;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive styles for terms pages */
@media (max-width: 768px) {
    body.location-terms-page,
    body.marketing-consent-page,
    body.privacy-policy-page,
    body.terms-page {
        padding: 10px;
    }

    body.location-terms-page .container,
    body.marketing-consent-page .container,
    body.privacy-policy-page .container,
    body.terms-page .container {
        padding: 25px;
        border-radius: 15px;
    }

    body.location-terms-page h1,
    body.marketing-consent-page h1,
    body.privacy-policy-page h1,
    body.terms-page h1 {
        font-size: 24px;
    }

    body.location-terms-page .article-title,
    body.marketing-consent-page .section-title,
    body.privacy-policy-page .section-title,
    body.terms-page .article-title {
        font-size: 20px;
    }

    body.marketing-consent-page .subsection-title,
    body.privacy-policy-page .subsection-title {
        font-size: 16px;
    }

    body.location-terms-page .article-content,
    body.marketing-consent-page .section-content,
    body.privacy-policy-page .section-content,
    body.terms-page .article-content {
        font-size: 14px;
    }

    body.location-terms-page .article-content p,
    body.terms-page .article-content p {
        font-size: 14px;
    }

    body.marketing-consent-page .section-content p,
    body.privacy-policy-page .section-content p {
        font-size: 14px;
    }

    body.marketing-consent-page .warning-box p {
        font-size: 14px;
    }

    body.location-terms-page .intro p,
    body.marketing-consent-page .intro p,
    body.privacy-policy-page .intro p,
    body.terms-page .intro p {
        font-size: 15px;
    }

    body.location-terms-page .back-button,
    body.marketing-consent-page .back-button,
    body.privacy-policy-page .back-button,
    body.terms-page .back-button {
        top: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }

    body.location-terms-page .table-container table,
    body.marketing-consent-page .table-container table,
    body.privacy-policy-page .table-container table,
    body.terms-page .table-container table {
        font-size: 13px;
    }

    body.location-terms-page .table-container th,
    body.location-terms-page .table-container td,
    body.marketing-consent-page .table-container th,
    body.marketing-consent-page .table-container td,
    body.privacy-policy-page .table-container th,
    body.privacy-policy-page .table-container td,
    body.terms-page .table-container th,
    body.terms-page .table-container td {
        padding: 12px 10px;
    }

    body.marketing-consent-page .channel-list {
        flex-direction: column;
        gap: 10px;
    }

    body.marketing-consent-page .channel-item {
        padding: 12px 16px;
        font-size: 13px;
    }

    body.location-terms-page .logo,
    body.marketing-consent-page .logo,
    body.privacy-policy-page .logo,
    body.terms-page .logo {
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    body.location-terms-page .container,
    body.marketing-consent-page .container,
    body.privacy-policy-page .container,
    body.terms-page .container {
        padding: 20px;
    }

    body.location-terms-page h1,
    body.marketing-consent-page h1,
    body.privacy-policy-page h1,
    body.terms-page h1 {
        font-size: 22px;
    }

    body.location-terms-page .article-title,
    body.marketing-consent-page .section-title,
    body.privacy-policy-page .section-title,
    body.terms-page .article-title {
        font-size: 18px;
    }

    body.marketing-consent-page .subsection-title,
    body.privacy-policy-page .subsection-title {
        font-size: 15px;
    }

    body.location-terms-page .article-content,
    body.marketing-consent-page .section-content,
    body.privacy-policy-page .section-content,
    body.terms-page .article-content {
        font-size: 13px;
    }

    body.location-terms-page .article-content p,
    body.terms-page .article-content p {
        font-size: 13px;
    }

    body.marketing-consent-page .section-content p,
    body.privacy-policy-page .section-content p {
        font-size: 13px;
    }

    body.marketing-consent-page .warning-box p {
        font-size: 13px;
    }

    body.location-terms-page .intro p,
    body.marketing-consent-page .intro p,
    body.privacy-policy-page .intro p,
    body.terms-page .intro p {
        font-size: 14px;
    }

    body.location-terms-page .table-container table,
    body.marketing-consent-page .table-container table,
    body.privacy-policy-page .table-container table,
    body.terms-page .table-container table {
        font-size: 12px;
    }

    body.location-terms-page .table-container th,
    body.location-terms-page .table-container td,
    body.marketing-consent-page .table-container th,
    body.marketing-consent-page .table-container td,
    body.privacy-policy-page .table-container th,
    body.privacy-policy-page .table-container td,
    body.terms-page .table-container th,
    body.terms-page .table-container td {
        padding: 10px 8px;
    }

    body.marketing-consent-page .channel-item {
        padding: 10px 14px;
        font-size: 12px;
    }

    body.location-terms-page .logo,
    body.marketing-consent-page .logo,
    body.privacy-policy-page .logo,
    body.terms-page .logo {
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        text-align: center !important;
    }
}

/* Remove background from logo in terms pages on mobile */
@media (max-width: 600px) {
    body.location-terms-page .logo,
    body.marketing-consent-page .logo,
    body.privacy-policy-page .logo,
    body.terms-page .logo {
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        text-align: center !important;
    }
}
