:root {
    --primary-color: #CC0000;
    --primary-hover: #A30000;
    --text-color: #1F2937;
    --text-secondary: #4B5563;
    --bg-color: #F9FAFB;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

body.js-loading {
    opacity: 0;
    visibility: hidden;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-btn {
    height: 32px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    line-height: 1;
}

.lang-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    /* Adjust height to fit header */
    width: auto;
    display: block;
}

/* Hero */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    padding: 3rem 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.column h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #374151;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
}

/* Cards */
/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.card h3::after {
    content: " >";
    margin-left: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* FAQ */
.faq-list {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.faq-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-of-type {
    border-bottom: none;
}

.faq-item summary {
    font-weight: 500;
    cursor: pointer;
    color: #374151;
    list-style: none;
    /* Hide default triangle */
}

/* Custom indicator for summary */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-weight: bold;
}

.faq-item[open] summary::after {
    content: '-';
}


.faq-item p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.support-link {
    margin-top: 1.5rem;
    text-align: center;
}

.support-link a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: #fff;
    padding: 1.5rem 0;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.mob-copyright {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-copyright a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}