:root {
    --bg: #120d0a;
    --bg-soft: #1b1410;
    --panel: rgba(33, 23, 17, 0.92);
    --panel-strong: #241912;
    --text: #f7efe7;
    --muted: #d7c3b0;
    --accent: #ffb45c;
    --accent-strong: #ff7a59;
    --line: rgba(255, 180, 92, 0.24);
    --good: #7ff0a6;
    --bad: #ff9aa2;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    --radius: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 89, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 180, 92, 0.12), transparent 22%),
        linear-gradient(180deg, #110c09 0%, #1a120e 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    padding: 22px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(19, 13, 10, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand img {
    width: 220px;
    height: auto;
}

.lang-switcher {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lang-switcher a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: #1b120d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: transparent;
}

.hero {
    padding: 22px 0 48px;
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 180, 92, 0.12);
    color: #ffd9aa;
    font-size: 0.92rem;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    line-height: 0.95;
    letter-spacing: 0.01em;
}

h1 {
    margin-top: 18px;
    font-size: clamp(3rem, 8vw, 5.6rem);
}

.hero-copy p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.cta,
.ghost-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
    color: #24150d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 28px rgba(255, 122, 89, 0.24);
}

.ghost-cta {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.cta:hover,
.ghost-cta:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    min-height: 100%;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px 0 auto 12%;
    height: 72%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 180, 92, 0.22), rgba(255, 122, 89, 0));
    filter: blur(8px);
}

.hero-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #2a1c14;
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 290px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(15, 9, 6, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-badge strong {
    display: block;
    margin-bottom: 6px;
    color: #ffd9aa;
}

.section {
    padding: 22px 0 40px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.section-heading p {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    padding: 26px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.table-wrap {
    overflow-x: auto;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-table,
.pricing-table,
.pros-cons {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td,
.pricing-table th,
.pricing-table td,
.pros-cons th,
.pros-cons td {
    padding: 16px 18px;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table thead th,
.pricing-table thead th,
.pros-cons thead th {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(255, 180, 92, 0.24), rgba(255, 122, 89, 0.16));
    color: #fff4e8;
    font-weight: 700;
    text-align: left;
}

.comparison-table tbody tr:hover,
.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child,
.pricing-table td:first-child {
    color: #ffd9aa;
    font-weight: 700;
}

.center-cta {
    margin-top: 26px;
    text-align: center;
}

.editor-pick {
    margin-top: 18px;
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: #ffe1b7;
}

.illustration-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 26px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.illustration-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 18px;
}

.illustration-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.article-block {
    margin-top: 28px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-block h3 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 18px;
}

.article-block p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.85;
}

.tool-section {
    margin-top: 26px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tool-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tool-heading h3 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.tool-tag {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 180, 92, 0.12);
    color: #ffd9aa;
    white-space: nowrap;
}

.tool-media {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 22px;
}

.tool-media figure {
    margin: 0;
}

.tool-media img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 220px;
    object-fit: cover;
    background: #1b120d;
}

.tool-media figcaption {
    margin-top: 10px;
    color: #cfbaa7;
    font-size: 0.94rem;
    line-height: 1.6;
}

.tool-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.85;
}

.pros-cons thead th:first-child {
    color: var(--good);
}

.pros-cons thead th:last-child {
    color: var(--bad);
}

.pros-cons ul {
    margin: 0;
    padding-left: 20px;
}

.pros-cons li {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.75;
}

.closing-note {
    margin-top: 26px;
    padding: 26px;
    background: rgba(255, 180, 92, 0.08);
    border: 1px solid rgba(255, 180, 92, 0.16);
    border-radius: var(--radius);
}

.closing-note p {
    margin: 0 0 16px;
    color: #f4e2cf;
    line-height: 1.85;
}

.footer {
    padding: 36px 0 48px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #c9b19c;
}

.footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero-card,
    .illustration-card,
    .tool-media,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .footer-inner,
    .topbar-inner,
    .tool-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand img {
        width: 180px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(var(--max), calc(100% - 20px));
    }

    .hero-card,
    .content-card,
    .illustration-card,
    .article-block,
    .tool-section {
        padding: 20px;
    }

    h1 {
        font-size: 2.7rem;
    }

    .hero-visual-card img {
        min-height: 300px;
    }

    .comparison-table th,
    .comparison-table td,
    .pricing-table th,
    .pricing-table td,
    .pros-cons th,
    .pros-cons td {
        padding: 14px;
    }
}
