/* Word Model — Latin Empire X */

body.word-model-page::before {
    filter: brightness(0.22) saturate(0.9) !important;
}

.wm-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px 90px;
}

.wm-hero {
    text-align: center;
    padding: 40px 16px 70px;
    position: relative;
}

.wm-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 90vw);
    height: 280px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.wm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-main);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.wm-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.wm-hero h1 span {
    background: linear-gradient(135deg, #f9d976, #d4af37, #aa7700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wm-hero-lead {
    color: #b8b8b8;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

.wm-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.wm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #dbb83a, #d4af37);
    color: #0a0805;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}

.wm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.45);
    color: #0a0805;
}

.wm-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ddd;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.25s, background 0.25s;
}

.wm-btn-ghost:hover {
    border-color: var(--gold-main);
    background: rgba(212, 175, 55, 0.08);
    color: #fff;
}

.wm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.wm-stat {
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 14px;
    text-align: center;
}

.wm-stat strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--gold-main);
    margin-bottom: 4px;
}

.wm-stat span {
    font-size: 0.65rem;
    color: #777;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wm-section {
    margin: 70px 0;
}

.wm-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.wm-section-head h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 10px;
}

.wm-section-head p {
    color: #888;
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.wm-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wm-card {
    padding: 28px 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 18px;
    transition: border-color 0.3s, transform 0.3s;
}

.wm-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-4px);
}

.wm-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 12px;
    color: var(--gold-main);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.wm-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.wm-card p {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.65;
}

.wm-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: wmstep;
}

.wm-step {
    position: relative;
    padding: 24px 18px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.wm-step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold-main);
    color: #0a0805;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.95rem;
}

.wm-step h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #eee;
}

.wm-step p {
    font-size: 0.72rem;
    color: #777;
    line-height: 1.55;
}

.wm-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.wm-type {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    background: rgba(212, 175, 55, 0.04);
}

.wm-type:hover {
    border-color: var(--gold-main);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-3px);
    color: inherit;
}

.wm-type i {
    font-size: 1.8rem;
    color: var(--gold-main);
    margin-bottom: 12px;
    display: block;
}

.wm-type strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.wm-type span {
    font-size: 0.68rem;
    color: #888;
}

.wm-tech {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wm-tech-box {
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.wm-tech-box h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-main);
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wm-tech-box ul {
    list-style: none;
    font-size: 0.85rem;
    color: #aaa;
}

.wm-tech-box li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wm-tech-box li:last-child {
    border-bottom: none;
}

.wm-faq {
    max-width: 680px;
    margin: 0 auto;
}

.wm-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wm-faq-q {
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: #eee;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.wm-faq-q i {
    color: var(--gold-main);
    transition: transform 0.25s;
}

.wm-faq-item.open .wm-faq-q i {
    transform: rotate(180deg);
}

.wm-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.wm-faq-item.open .wm-faq-a {
    max-height: 200px;
}

.wm-faq-a p {
    padding: 0 0 18px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.65;
}

.wm-cta-final {
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(0, 0, 0, 0.5) 100%),
        rgba(10, 8, 5, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
}

.wm-cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wm-cta-final h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 12px;
    position: relative;
}

.wm-cta-final p {
    color: #999;
    margin-bottom: 28px;
    position: relative;
}

.wm-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.wm-compare-col {
    padding: 20px;
    border-radius: 14px;
    font-size: 0.8rem;
}

.wm-compare-col.others {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #666;
}

.wm-compare-col.lex {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #ccc;
}

.wm-compare-col h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.wm-compare-col.lex h4 {
    color: var(--gold-main);
}

.wm-compare-col ul {
    list-style: none;
}

.wm-compare-col li {
    padding: 5px 0;
}

.wm-compare-col li::before {
    margin-right: 8px;
}

.wm-compare-col.others li::before {
    content: '—';
    color: #555;
}

.wm-compare-col.lex li::before {
    content: '✓';
    color: var(--gold-main);
}

@media (max-width: 900px) {
    .wm-stats { grid-template-columns: repeat(2, 1fr); }
    .wm-benefits { grid-template-columns: 1fr; }
    .wm-steps { grid-template-columns: 1fr 1fr; }
    .wm-types { grid-template-columns: 1fr 1fr; }
    .wm-tech { grid-template-columns: 1fr; }
    .wm-compare { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .wm-steps { grid-template-columns: 1fr; }
    .wm-types { grid-template-columns: 1fr; }
}

/* Photo upload guide — PT / EN */
.wm-photo-guide {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 36px 28px 40px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.wm-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.wm-lang-tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(0, 0, 0, 0.4);
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wm-lang-tab:hover {
    border-color: var(--gold-main);
    color: #fff;
}

.wm-lang-tab.active {
    background: linear-gradient(135deg, #d4af37, #f0d080);
    color: #000;
    border-color: var(--gold-main);
}

.wm-guide-panel {
    display: none;
    text-align: left;
}

.wm-guide-panel.active {
    display: block;
}

.wm-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.wm-guide-card {
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wm-guide-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wm-guide-ok {
    background: rgba(0, 80, 40, 0.15);
    border-color: rgba(0, 200, 100, 0.25);
}

.wm-guide-ok h3 {
    color: #6ee7a0;
}

.wm-guide-no {
    background: rgba(80, 20, 20, 0.15);
    border-color: rgba(255, 80, 80, 0.2);
}

.wm-guide-no h3 {
    color: #ff8a8a;
}

.wm-guide-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wm-guide-card li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: #c8c8c8;
    font-size: 0.88rem;
    line-height: 1.55;
}

.wm-guide-ok li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6ee7a0;
    font-weight: 700;
}

.wm-guide-no li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ff8a8a;
    font-weight: 700;
}

.wm-guide-tips {
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.35);
}

.wm-guide-tips h4 {
    font-size: 0.85rem;
    color: var(--gold-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wm-guide-tips p {
    color: #b0b0b0;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.wm-guide-panel .wm-btn-primary {
    display: inline-flex;
}

.wm-guide-note {
    text-align: center;
    margin-top: 28px;
    color: rgba(212, 175, 55, 0.85);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

@media (max-width: 700px) {
    .wm-guide-grid {
        grid-template-columns: 1fr;
    }
    .wm-photo-guide {
        padding: 28px 16px 32px;
    }
}
