/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors - Dark Theme with Blue Accent */
    --primary-blue: #007AFF;
    --primary-blue-dark: #0056CC;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --background-primary: #000000;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 122, 255, 0.2);
    
    /* Spacing */
    --space-xs: clamp(4px, 1vw, 8px);
    --space-sm: clamp(8px, 2vw, 16px);
    --space-md: clamp(16px, 4vw, 32px);
    --space-lg: clamp(32px, 6vw, 64px);
    --space-xl: clamp(64px, 10vw, 120px);
    
    /* Border Radius */
    --radius-sm: clamp(8px, 2vw, 12px);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #ffffff;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overscroll-behavior: none;
    touch-action: manipulation;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow-x: hidden;
}


/* ===== APP ICON DESIGN ===== */
.app-icon {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    margin: 30px auto 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(18px, 4vw, 32px);
    box-shadow: 0 clamp(10px, 3vw, 25px) clamp(20px, 5vw, 45px) rgba(28, 28, 30, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 40px) clamp(80px, 12vw, 140px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.language-selector {
    position: absolute;
    top: clamp(15px, 3vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(6px, 1.5vw, 12px);
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 95vw;
    z-index: 10;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.language-selector::-webkit-scrollbar {
    display: none;
}

.lang-btn {
    padding: clamp(6px, 1.5vw, 10px) clamp(10px, 2.5vw, 16px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: clamp(16px, 3vw, 24px);
    cursor: pointer;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-btn.active,
.lang-btn:hover {
    background: white;
    color: #007AFF;
    border-color: white;
}

.hero h1 {
    color: white;
    font-size: clamp(2rem, 8vw, 4rem);
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: clamp(-1px, -0.2vw, -2px);
    position: relative;
    z-index: 1;
}

.hero .tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(20px, 4vw, 40px);
    font-weight: 300;
    position: relative;
    z-index: 1;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO STATS (About page only) ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(20px, 4vw, 40px);
    margin-top: clamp(30px, 6vw, 60px);
    position: relative;
    z-index: 1;
    max-width: min(90vw, 800px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: clamp(20px, 4vw, 35px) clamp(15px, 3vw, 25px);
    border-radius: clamp(20px, 3vw, 30px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.15);
    min-height: clamp(100px, 12vw, 140px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007AFF, #00D4FF, #007AFF);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.stat-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: clamp(8px, 2vw, 15px);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    opacity: 0.9;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* ===== LAST UPDATED (Privacy page only) ===== */
.last-updated {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(12px, 2.5vw, 18px) clamp(25px, 5vw, 40px);
    margin: clamp(30px, 6vw, 50px) auto;
    text-align: center;
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== SECTIONS ===== */
.section {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 40px);
    max-width: min(95%, 1400px);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.section-number {
    display: inline-block;
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    border-radius: 50%;
    line-height: clamp(35px, 6vw, 50px);
    font-weight: 700;
    margin-bottom: clamp(10px, 2vw, 20px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.section h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #1a1a2e;
    margin-bottom: clamp(12px, 2.5vw, 20px);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: min(90%, 700px);
    margin: 0 auto;
    line-height: 1.6;
}

.section p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section ul {
    margin: 20px 0 20px 25px;
    color: #555;
}

.section li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: linear-gradient(135deg, #007AFF10 0%, #0056CC10 100%);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: clamp(16px, 3vw, 25px);
    padding: clamp(25px, 5vw, 40px);
    margin: clamp(30px, 6vw, 50px) 0;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: linear-gradient(135deg, #007AFF15 0%, #0056CC15 100%);
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-2px);
}

.highlight-box .icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(15px, 3vw, 25px);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.highlight-box h3 {
    color: #007AFF;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: clamp(12px, 2.5vw, 18px);
    font-weight: 600;
    line-height: 1.3;
}

.highlight-box p {
    color: #444;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    margin: 0;
    max-width: min(90%, 600px);
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURE CARDS GRID (About page) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 4vw, 40px);
    margin-top: clamp(30px, 6vw, 60px);
}

.feature-card {
    background: white;
    border-radius: clamp(16px, 3vw, 25px);
    padding: clamp(25px, 5vw, 40px);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.feature-icon {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    border: none;
    border-radius: clamp(12px, 2.5vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: clamp(15px, 3vw, 25px);
    color: white;
}

.feature-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #1a1a2e;
    margin-bottom: clamp(8px, 2vw, 15px);
    font-weight: 600;
    line-height: 1.3;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: clamp(15px, 3vw, 25px);
    flex-grow: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.feature-details {
    padding-top: clamp(15px, 3vw, 25px);
    border-top: 1px solid #f0f0f0;
}

.feature-detail-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    margin-bottom: clamp(8px, 2vw, 12px);
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #555;
    line-height: 1.4;
}

.detail-check {
    color: #007AFF;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    flex-shrink: 0;
}

/* ===== CURRENCY SUPPORT SECTION (About page) ===== */
.currency-showcase {
    background: white;
    border-radius: clamp(20px, 4vw, 30px);
    margin-top: clamp(30px, 6vw, 50px);
}

.currency-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 35px);
    margin-bottom: clamp(30px, 6vw, 50px);
}

.currency-category {
    background: white;
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(25px, 5vw, 40px);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.currency-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.12);
    border-color: rgba(0, 122, 255, 0.2);
}

.category-icon {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(12px, 2.5vw, 20px);
    color: #64748b;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.category-title {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #1a1a2e;
    margin-bottom: clamp(8px, 2vw, 12px);
    font-weight: 600;
    line-height: 1.3;
}

.category-description {
    color: #666;
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: clamp(12px, 2.5vw, 18px);
    flex-grow: 1;
    line-height: 1.5;
}

.currency-examples {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 1.5vw, 10px);
    justify-content: center;
}

.currency-chip {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: clamp(4px, 1vw, 6px) clamp(10px, 2vw, 15px);
    border-radius: clamp(16px, 3vw, 24px);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: #555;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    font-weight: 500;
}

.currency-chip:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: #007AFF;
    color: #1a1a2e;
    transform: translateY(-1px);
}

/* ===== PRIVACY CARDS GRID (Privacy page) ===== */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 35px);
    margin-top: clamp(30px, 6vw, 60px);
}

.privacy-card {
    background: white;
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(25px, 5vw, 40px);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.privacy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.12);
    border-color: rgba(0, 122, 255, 0.2);
}

.privacy-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: clamp(15px, 3vw, 25px);
    color: #64748b;
}

.privacy-card h3 {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: #1a1a2e;
    margin-bottom: clamp(12px, 2.5vw, 18px);
    font-weight: 600;
    line-height: 1.3;
}

.privacy-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ===== TECHNOLOGY STACK (About page) ===== */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: clamp(15px, 3vw, 30px);
    margin-top: clamp(30px, 6vw, 50px);
}

.tech-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(25px, 5vw, 40px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.tech-icon {
    width: clamp(40px, 7vw, 60px);
    height: clamp(40px, 7vw, 60px);
    background: #f1f5f9;
    border-radius: clamp(10px, 2vw, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(12px, 2.5vw, 20px);
    color: #64748b;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.tech-item .tech-icon {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
}

.tech-name {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    line-height: 1.3;
}

.tech-description {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #666;
    line-height: 1.5;
}

/* ===== CONTACT SECTION (Privacy page) ===== */
.contact-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 40px);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23007AFF" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: min(90%, 600px);
    margin: 0 auto;
}

.contact-section h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: clamp(15px, 3vw, 25px);
    font-weight: 700;
    line-height: 1.2;
}

.contact-section p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: clamp(25px, 5vw, 40px);
    opacity: 0.9;
    line-height: 1.6;
}

.contact-email {
    display: inline-block;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: clamp(14px, 3vw, 20px) clamp(30px, 6vw, 50px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-primary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer .container {
    max-width: min(95%, 1200px);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-image {
    width: clamp(40px, 8vw, 56px);
    height: clamp(40px, 8vw, 56px);
    border-radius: clamp(8px, 2vw, 12px);
}

.footer-brand-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: left;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-semibold);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    color: var(--text-tertiary);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.footer-language {
    display: flex;
    gap: var(--space-sm);
}

.footer-lang-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.footer-lang-btn:hover {
    color: var(--primary-blue);
    background: rgba(0, 122, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: clamp(48px, 10vw, 56px);
    height: clamp(48px, 10vw, 56px);
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.back-to-top:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.back-to-top:focus:not(:focus-visible) {
    outline: none;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.footer-copyright {
    font-size: clamp(0.8rem, 2vw, 1rem);
    opacity: 0.7;
    line-height: 1.6;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: var(--space-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-language {
        justify-content: center;
    }
}

.footer .container {
    background: #000000;
}

/* ===== PRIVACY POLICY TITLE SECTION ===== */
.section-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: #1a1a2e;
    margin-bottom: var(--space-md);
}

.main-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #666;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== FEATURE CARDS STYLING ===== */
.feature-card .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-md);
}

.feature-card h3 {
    text-align: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid #ddd;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
}

/* ===== PRIVACY POLICY STYLING ===== */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.privacy-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.privacy-card .privacy-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    color: white;
    font-size: 1.5rem;
}

.privacy-card h3 {
    text-align: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #ddd;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.privacy-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Privacy policy lists styling */
#no-collect-list,
#may-collect-list,
#local-storage-list,
#data-sharing-list,
#user-rights-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

#no-collect-list li,
#may-collect-list li,
#local-storage-list li,
#data-sharing-list li,
#user-rights-list li {
    margin-bottom: var(--space-sm);
    padding: var(--space-md);
    padding-left: 30px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
}

#no-collect-list li::before,
#may-collect-list li::before,
#local-storage-list li::before,
#data-sharing-list li::before,
#user-rights-list li::before {
    content: '•';
    position: absolute;
    left: var(--space-md);
    color: var(--primary-blue);
    font-weight: bold;
}
