:root {
    --primary: #d6336c;
    --primary-dark: #c90e50;
    --background-soft: #ffe6eb;
    --text-main: #333333;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background-color: var(--background-soft);
    line-height: 1.5;
}

.topbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0cbd6;
}

.topbar a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary);
}

.lang-dropdown {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 80px 20px 80px;
    text-align: center;
    position: relative;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: 3.2rem;
    letter-spacing: 0.5px;
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.25rem;
    opacity: 0.95;
}

.hero-lang-wrapper {
    position: absolute;
    top: 20px;
    right: 28px;
}

.hero-lang-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.hero-lang-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: white;
    color: #333;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
}

.hero-lang-menu div {
    padding: 8px 14px;
    cursor: pointer;
}

.hero-lang-menu div:hover {
    background: #ffe6eb;
}


.container {
    margin: 0;
    padding: 80px 24px;
}

section {
    max-width: 1400px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 32px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-left: auto;
    margin-right: auto;
}

section h2, section h1 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

section li p {
    font-size: 1.05rem;
    margin: 0;
}

section ol {
    margin: 0;
}

section ol li::marker {
    color: #d6336c;
    font-weight: bold;
    font-size: 1.05rem;
}

section .qa_question {
    font-weight: bold;
    margin: 0;
}
section .qa_answer {
    margin-bottom: 1rem;
    margin-top: 0;
}

.samples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.sample-box {
    height: auto;
    border-radius: 10px;
    background-color: #fff0f4;
    border: 2px dashed #f3a6bd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 12px;
}

.sample-box img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    border-radius: 8px;
}

.sample-box p {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-main);
    color: #666666;
}

footer {
    text-align: center;
    padding: 40px 20px 60px;
    font-size: 0.9rem;
    color: #666666;
}

footer p {
    margin: 0;
    display: inline;
}



header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0 0 12px;
    font-size: 2.5rem;
}

header .back-home {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 6px;
}

header .hero-lang-wrapper {
    position: absolute;
    top: 16px;
    right: 28px;
}
