:root {
    --bg: #0b0910;
    --bg-2: #131019;
    --bg-3: #1b1624;
    --panel: rgba(18, 15, 24, 0.88);
    --panel-strong: rgba(24, 20, 32, 0.96);
    --panel-soft: rgba(255, 255, 255, 0.04);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f6f1eb;
    --muted: #c4bbb1;
    --muted-2: #9d9388;
    --accent: #ff7a59;
    --accent-2: #ffb14a;
    --accent-3: #ff5f8f;
    --success: #8fe0b7;
    --danger: #ff9b9b;
    --shadow-xl: 0 32px 100px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.24);
    --radius-2xl: 36px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 122, 89, 0.18), transparent 28%),
        radial-gradient(circle at 100% 12%, rgba(255, 177, 74, 0.14), transparent 26%),
        linear-gradient(180deg, #0d0a12 0%, #0a090f 40%, #09070c 100%);
}

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

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

.container {
    max-width: var(--container-width);
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.34;
    pointer-events: none;
    z-index: 0;
}

.site-shell::before {
    top: 120px;
    left: -200px;
    background: rgba(255, 122, 89, 0.22);
}

.site-shell::after {
    top: 760px;
    right: -220px;
    background: rgba(255, 177, 74, 0.16);
}

.site-shell > * {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
}

p,
li,
small,
figcaption,
button,
a,
span,
td,
th {
    line-height: 1.72;
}

p {
    margin: 0 0 18px;
}

.text-muted-custom {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    color: #ffe0c6;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-space {
    padding: 96px 0;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(2.15rem, 4vw, 3.4rem);
    line-height: 0.96;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(9, 7, 12, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
    padding: 16px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text) !important;
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 7px rgba(255, 122, 89, 0.14);
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 18px;
    height: 12px;
    background-image:
        linear-gradient(var(--text), var(--text)),
        linear-gradient(var(--text), var(--text)),
        linear-gradient(var(--text), var(--text));
    background-size: 100% 2px, 100% 2px, 100% 2px;
    background-position: 50% 0, 50% 50%, 50% 100%;
    background-repeat: no-repeat;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: rgba(246, 241, 235, 0.82) !important;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.06);
}

.dropdown .btn {
    min-height: 46px;
    border-radius: 999px;
    padding: 10px 16px;
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-weight: 700;
}

.dropdown .btn:hover,
.dropdown .btn:focus,
.dropdown .btn.show {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-menu {
    min-width: 230px;
    margin-top: 10px;
    background: #fffdfa;
    border: 1px solid rgba(23, 19, 29, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
    border-radius: 18px;
    padding: 10px;
}

.dropdown-item {
    color: #18131f;
    border-radius: 12px;
    font-weight: 600;
    padding: 11px 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #18131f;
    background: rgba(255, 122, 89, 0.11);
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

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

.hero > .container {
    max-width: none;
    width: 100%;
    padding-left: 28px;
    padding-right: 28px;
}

.hero-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    background:
        linear-gradient(108deg, rgba(12, 10, 16, 0.97) 0%, rgba(12, 10, 16, 0.85) 54%, rgba(12, 10, 16, 0.56) 100%),
        url('../images/bg-hero.png') center/cover no-repeat;
    box-shadow: var(--shadow-xl);
}

.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 177, 74, 0.18), transparent 24%),
        linear-gradient(180deg, transparent 48%, rgba(255, 95, 143, 0.12));
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
    gap: 32px;
    align-items: stretch;
    min-height: 560px;
    padding: 54px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5.4vw, 5rem);
    line-height: 0.94;
    max-width: 12ch;
    margin: 16px 0 20px;
}

.hero-copy p {
    color: #e5d8cb;
    font-size: 1.03rem;
    max-width: 64ch;
}

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

.cta-button,
.ghost-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.cta-button {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 34px rgba(255, 122, 89, 0.28);
}

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

.ghost-button,
.secondary-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-side {
    display: flex;
    align-items: center;
}

.choice-panel {
    width: 100%;
    padding: 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(255, 177, 74, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(16, 13, 23, 0.93));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.choice-list {
    display: grid;
    gap: 12px;
}

.choice-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
}

.choice-card p {
    margin: 8px 0 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.choice-head,
.choice-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.choice-head span,
.choice-foot span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.choice-head span {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: #1a1111;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.choice-head strong {
    flex: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
}

.choice-foot span {
    padding: 6px 10px;
    color: #ffd8cb;
    background: rgba(255, 122, 89, 0.13);
    font-size: 0.78rem;
}

.small-link,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.card-link {
    margin-top: 18px;
}

.hero-card,
.choice-panel,
.newsletter-card,
.intro-card,
.table-card,
.alternative-card,
.tool-box,
.pros-box,
.cons-box,
.verdict-box,
.age-modal-content {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(17, 14, 24, 0.9));
    box-shadow: var(--shadow-lg);
}

.hero-card {
    padding: 28px;
    backdrop-filter: blur(14px);
}

.hero-card:first-child {
    min-height: 220px;
    background:
        radial-gradient(circle at top right, rgba(255, 177, 74, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(16, 13, 23, 0.92));
}

.hero-card:last-child {
    min-height: 170px;
}

.hero-card h2 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--muted);
    margin: 0;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 177, 74, 0.12);
    border: 1px solid rgba(255, 177, 74, 0.18);
    color: #ffd7ad;
    font-weight: 700;
}

.intro-grid,
.cards-grid,
.tool-layout,
.verdict-grid {
    display: grid;
    gap: 28px;
}

.intro-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: stretch;
}

.cards-grid,
.verdict-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-card,
.newsletter-card,
.table-card,
.verdict-box,
.tool-box {
    padding: 30px;
}

.intro-card figure,
.tool-visual figure {
    margin: 0;
}

.intro-card img,
.tool-shot,
.placeholder-visual {
    width: 100%;
    min-height: 310px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.placeholder-visual {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(255, 177, 74, 0.26), transparent 50%),
        linear-gradient(135deg, rgba(255, 122, 89, 0.18), rgba(255, 255, 255, 0.04));
    color: #ffe7d0;
    text-align: center;
    padding: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.intro-card figcaption,
.tool-visual figcaption {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.newsletter-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(160deg, rgba(255, 122, 89, 0.16), rgba(255, 95, 143, 0.08) 32%, rgba(19, 15, 25, 0.96));
}

.newsletter-card h2,
.table-card h2,
.alternative-card h3,
.tool-box h2,
.verdict-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1;
}

.newsletter-card p,
.intro-card p,
.table-card p,
.alternative-card p,
.tool-box p,
.verdict-box p,
.pros-box li,
.cons-box li,
.tool-features li {
    color: var(--muted);
}

.table-card {
    position: relative;
    overflow: hidden;
}

.table-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

.table-responsive {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.table {
    margin: 0;
    color: var(--text);
}

.table thead th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffe2cc;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.table td,
.table th {
    border-color: rgba(255, 255, 255, 0.07);
    padding: 16px 18px;
    vertical-align: top;
}

.table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.alternative-card {
    position: relative;
    padding: 28px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(15, 12, 21, 0.94));
    overflow: hidden;
}

.alternative-card::after {
    content: '';
    position: absolute;
    inset: auto -40px -80px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 177, 74, 0.16), transparent 68%);
    pointer-events: none;
}

.alternative-card .rank {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 122, 89, 0.13);
    color: #ffd8cb;
    font-weight: 800;
}

.alternative-card p {
    max-width: 40ch;
}

.alternative-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e9dfd5;
    font-size: 0.88rem;
    font-weight: 700;
}

.tool-section {
    padding-top: 6px;
}

.tool-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
    align-items: start;
}

.tool-box {
    position: relative;
}

.tool-box::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.tool-box h2 {
    margin: 14px 0 18px;
}

.tool-box h3,
.pros-box h3,
.cons-box h3 {
    font-size: 1.22rem;
    margin: 18px 0 14px;
}

.tool-features,
.pros-box ul,
.cons-box ul {
    margin: 0;
    padding-left: 18px;
}

.tool-features li,
.pros-box li,
.cons-box li {
    margin-bottom: 10px;
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.pros-box,
.cons-box {
    padding: 22px;
    border-radius: 20px;
}

.pros-box {
    border: 1px solid rgba(143, 224, 183, 0.18);
    background: rgba(143, 224, 183, 0.06);
}

.pros-box h3 {
    color: var(--success);
}

.cons-box {
    border: 1px solid rgba(255, 157, 157, 0.16);
    background: rgba(255, 157, 157, 0.06);
}

.cons-box h3 {
    color: var(--danger);
}

.cta-note {
    display: inline-flex;
    margin: 24px 0 14px;
    color: #ffe2cc;
    font-weight: 800;
}

.tool-visual {
    position: sticky;
    top: 112px;
}

.tool-visual figure {
    padding: 20px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(18, 14, 25, 0.92));
    box-shadow: var(--shadow-lg);
}

.verdict-box {
    position: relative;
    overflow: hidden;
}

.verdict-box::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.18), transparent 70%);
    pointer-events: none;
}

.site-footer {
    padding: 28px 0 56px;
}

.footer-box {
    padding: 24px 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-box p,
.footer-box small {
    margin: 0;
    color: var(--muted);
}

.age-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 4, 7, 0.84);
    backdrop-filter: blur(12px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    width: min(720px, 100%);
    padding: 34px;
}

.age-modal h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 14px;
}

.age-modal p {
    color: var(--muted);
}

.age-modal .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

/* Comparison + detail layout refinements */
#comparison .table-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(15, 12, 21, 0.96));
}

#comparison .table-responsive {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
}

#comparison .table thead th {
    padding-top: 20px;
    padding-bottom: 20px;
}

#comparison .table tbody td {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
}

#comparison .table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.045);
}

#comparison .table tbody td:first-child {
    font-weight: 700;
    color: #fff0dd;
}

#comparison .table tbody td:nth-child(2),
#comparison .table tbody td:nth-child(3),
#comparison .table tbody td:nth-child(4),
#comparison .table tbody td:nth-child(5) {
    color: #f1e2d4;
    white-space: nowrap;
}

#comparison .table tbody tr:first-child td {
    background: linear-gradient(90deg, rgba(255, 177, 74, 0.14), rgba(255, 122, 89, 0.08));
}

#comparison .table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.07);
}

#alternatives .cards-grid {
    max-width: 1120px;
    margin: 0 auto;
}

.tool-section > .tool-layout {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
    gap: 34px;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
}

.tool-box {
    padding: 34px 36px 36px 42px;
    overflow: hidden;
}

.tool-box::before {
    inset: 28px auto 28px 0;
    width: 4px;
}

.tool-box p,
.tool-features,
.tool-box .cta-note,
.pros-cons {
    max-width: 72ch;
}

.tool-visual figure {
    max-width: 640px;
    margin: 0 auto;
}

.tool-shot,
.placeholder-visual {
    min-height: 360px;
}
