/* Shared styles for all pages */

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

:root {
    --bg-dark: #1a1b24;
    --accent-orange: #f37421;
    --accent-cyan: #00d4ff;
    --text-light: #ffffff;
    --text-gray: #a0a0b0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #1e2227 0%, #040608 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Kantumruy Pro', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="2.5" numOctaves="1" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.4"/></svg>');
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    mix-blend-mode: overlay;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cal Sans', cursive;
}


@keyframes pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Header - Fixed height and positioning */
.header {
    background: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0px 0;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.header.scrolled {
	background: rgba(34, 39, 42, 0.9);
	backdrop-filter: blur(10px);
	padding: 0px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-light);
}

.hahmo-logo {
    width: 150px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hahmo-logo:hover {
    opacity: 1;
}

.back-link {
    color: var(--text-gray);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
    color: var(--text-light);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.policy-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.policy-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.policy-content {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.effective-date {
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 30px;
    font-size: 16px;
}

.policy-content h2 {
    color: var(--accent-orange);
    font-size: 24px;
    margin: 40px 0 20px 0;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    margin: 15px 0;
    color: var(--text-light);
}

.policy-content ul {
    margin: 15px 0 15px 30px;
    color: var(--text-light);
}

.policy-content li {
    margin: 8px 0;
}

.policy-content ul ul {
    margin: 10px 0 10px 20px;
}

.policy-content a {
    color: var(--accent-orange);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}


/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0 20px 0;
    margin-top: auto;
    font-size: 14px;
}

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

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

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-company {
    color: var(--text-gray);
    line-height: 1.4;
}

.footer-company p {
    margin: 5px 0;
}

/* Support page specific styles */
.support-header {
    text-align: center;
    margin-bottom: 60px;
}

.support-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.support-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.support-section {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.support-section h2 {
    color: var(--accent-orange);
    font-size: 24px;
    margin-bottom: 20px;
}

.support-section p {
    margin: 15px 0;
    color: var(--text-light);
}

.support-section a {
    color: var(--accent-orange);
    text-decoration: none;
}

.support-section a:hover {
    text-decoration: underline;
}

.section-title {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-orange);
}

.contact-info {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-email {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.response-time {
    color: var(--text-gray);
    font-style: italic;
    margin-top: 10px;
}

.coming-soon {
    opacity: 0.6;
}

.coming-soon .section-title {
    color: var(--text-gray);
}

.coming-soon-text {
    color: var(--text-gray);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        padding: 0 20px;
    }

    .hahmo-logo {
        width: 120px;
    }

    .back-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .main-content {
        padding: 100px 15px 40px 15px;
    }

    .policy-content, .support-section {
        padding: 30px 20px;
    }

    .footer-links {
        gap: 20px;
    }

    .site-footer {
        padding: 30px 0 15px 0;
    }
}