/* ===== BASE RESET & TOKENS ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #07080f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-h: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-h: rgba(255, 255, 255, 0.18);
    --text: #e8eaf2;
    --muted: #7a7f9a;
    --purple: #a78bfa;
    --blue: #60a5fa;
    --green: #34d399;
    --pink: #f472b6;
    --orange: #fb923c;
    --teal: #2dd4bf;
    --yellow: #fbbf24;
    --indigo: #818cf8;
    --red: #f87171;
    --cyan: #22d3ee;
    --magenta: #e879f9;
    --lime: #a3e635;
    --grad1: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
    --grad2: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
    --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, .4);
    border-radius: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    background: rgba(7, 8, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-icon {
    color: var(--purple);
}

.logo-accent {
    color: var(--purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    padding: .5rem 1.25rem;
    background: var(--grad2);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    transition: opacity .2s, transform .2s;
}

.btn-nav:hover {
    opacity: .85;
    transform: scale(1.03);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE MENU MAP ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.mobile-links a:hover {
    color: var(--purple);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: rgba(167, 139, 250, .18);
    top: -100px;
    left: -150px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: rgba(96, 165, 250, .14);
    top: 10%;
    right: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: rgba(52, 211, 153, .12);
    bottom: -50px;
    left: 30%;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: .45rem 1.2rem;
    background: rgba(167, 139, 250, .12);
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 2rem;
    letter-spacing: .02em;
    animation: fadeUp .6s ease both;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeUp .7s ease .1s both;
}

.gradient-text {
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeUp .7s ease .2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeUp .7s ease .3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    background: var(--grad1);
    color: #000;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(167, 139, 250, .4);
}

.btn-ghost {
    padding: .85rem 2rem;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: border-color .2s, background .2s;
}

.btn-ghost:hover {
    border-color: var(--border-h);
    background: var(--bg-card);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: fadeUp .7s ease .4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
}

.stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: .75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad1);
    opacity: 0;
    transition: opacity .3s;
}

.tool-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.tool-card:hover::before {
    opacity: .05;
}

.tool-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    position: relative;
}

.tool-content {
    flex: 1;
    position: relative;
}

.tool-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.tool-content p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: .75rem;
}

.tool-tag {
    display: inline-block;
    padding: .2rem .7rem;
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
}

.tool-arrow {
    position: relative;
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform .25s, color .25s;
}

.tool-card:hover .tool-arrow {
    transform: translateX(4px);
    color: var(--purple);
}

/* Color accents on hover */
.tool-card[data-color="purple"]:hover {
    box-shadow: 0 0 40px rgba(167, 139, 250, .2);
}

.tool-card[data-color="blue"]:hover {
    box-shadow: 0 0 40px rgba(96, 165, 250, .2);
}

.tool-card[data-color="green"]:hover {
    box-shadow: 0 0 40px rgba(52, 211, 153, .2);
}

.tool-card[data-color="pink"]:hover {
    box-shadow: 0 0 40px rgba(244, 114, 182, .2);
}

.tool-card[data-color="orange"]:hover {
    box-shadow: 0 0 40px rgba(251, 146, 60, .2);
}

.tool-card[data-color="teal"]:hover {
    box-shadow: 0 0 40px rgba(45, 212, 191, .2);
}

.tool-card[data-color="yellow"]:hover {
    box-shadow: 0 0 40px rgba(251, 191, 36, .2);
}

.tool-card[data-color="indigo"]:hover {
    box-shadow: 0 0 40px rgba(129, 140, 248, .2);
}

.tool-card[data-color="red"]:hover {
    box-shadow: 0 0 40px rgba(248, 113, 113, .2);
}

.tool-card[data-color="cyan"]:hover {
    box-shadow: 0 0 40px rgba(34, 211, 238, .2);
}

.tool-card[data-color="magenta"]:hover {
    box-shadow: 0 0 40px rgba(232, 121, 249, .2);
}

.tool-card[data-color="lime"]:hover {
    box-shadow: 0 0 40px rgba(163, 230, 53, .2);
}

/* ===== HOW SECTION ===== */
.how-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, .02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how-section .section-header {
    max-width: 1200px;
    margin: 0 auto 3.5rem;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .75rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.step-card p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.55;
}

.step-line {
    width: 60px;
    height: 1px;
    background: var(--border);
    align-self: center;
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 6rem 2rem;
    max-width: 760px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item[open] {
    border-color: var(--border-h);
}

.faq-item summary {
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--purple);
    transition: transform .2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.1rem;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .logo {
    justify-content: center;
    margin-bottom: .75rem;
}

.footer-sub {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: .5rem;
}

.footer-copy {
    color: rgba(255, 255, 255, .2);
    font-size: .8rem;
}

/* ===== ADSENSE ===== */
.ad-slot {
    width: 100%;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .02);
    border: 1px dashed rgba(255, 255, 255, .1);
    border-radius: 12px;
    min-height: 90px;
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.ad-slot::before {
    content: 'Advertisement';
    position: absolute;
    top: .5rem;
    left: 1rem;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}

/* ===== TOOL PAGE SHARED ===== */
.tool-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tool-nav {
    padding: 1rem 2rem;
    background: rgba(7, 8, 15, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}

.back-btn:hover {
    color: var(--text);
}

.tool-wrapper {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 2rem;
}

.tool-header {
    margin-bottom: 2.5rem;
}

.tool-header .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.tool-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.tool-header p {
    color: var(--muted);
    font-size: .95rem;
}

/* INPUTS */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--muted);
}

textarea,
input[type="text"] {
    width: 100%;
    padding: .9rem 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

textarea:focus,
input[type="text"]:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, .15);
}

textarea {
    min-height: 160px;
}

.run-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    background: var(--grad1);
    color: #000;
    border: none;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.run-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(167, 139, 250, .35);
}

.run-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* RESULTS */
.result-box {
    margin-top: 2rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 16px;
    animation: fadeUp .4s ease;
    display: none;
}

.result-box.show {
    display: block;
}

.result-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

/* Score Ring */
.score-ring-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    flex-shrink: 0;
    background: conic-gradient(var(--purple) var(--pct, 0%), rgba(255, 255, 255, .07) 0%);
    position: relative;
}

.score-ring::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: #0d0f1a;
}

.score-ring span {
    position: relative;
    z-index: 1;
}

/* Meter bar */
.meter-bar-wrap {
    margin-bottom: .75rem;
}

.meter-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .3rem;
}

.meter-bar {
    height: 8px;
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
    overflow: hidden;
}

.meter-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width .8s ease;
    background: var(--grad1);
}

/* Chip list */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.chip {
    padding: .35rem .85rem;
    background: rgba(167, 139, 250, .12);
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--purple);
    cursor: pointer;
    transition: background .2s;
    user-select: all;
}

.chip:hover {
    background: rgba(167, 139, 250, .22);
}

.chip.green {
    background: rgba(52, 211, 153, .1);
    border-color: rgba(52, 211, 153, .25);
    color: var(--green);
}

.chip.orange {
    background: rgba(251, 146, 60, .1);
    border-color: rgba(251, 146, 60, .25);
    color: var(--orange);
}

.chip.blue {
    background: rgba(96, 165, 250, .1);
    border-color: rgba(96, 165, 250, .25);
    color: var(--blue);
}

.chip.pink {
    background: rgba(244, 114, 182, .1);
    border-color: rgba(244, 114, 182, .25);
    color: var(--pink);
}

/* Emotion bars */
.emotion-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .7rem;
}

.emotion-label {
    width: 80px;
    font-size: .82rem;
    color: var(--muted);
    flex-shrink: 0;
}

.emotion-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
    overflow: hidden;
}

.emotion-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 1s ease;
}

.emotion-pct {
    width: 40px;
    text-align: right;
    font-size: .8rem;
    font-weight: 700;
}

/* Copy toast */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: .7rem 1.3rem;
    background: var(--green);
    color: #000;
    border-radius: 12px;
    font-weight: 700;
    font-size: .85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 999;
}

.copy-toast.show {
    opacity: 1;
}

/* Textarea counter */
.char-count {
    font-size: .75rem;
    color: var(--muted);
    text-align: right;
    margin-top: .25rem;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 0 2rem 4rem;
}

.featured-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.featured-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, .12) 0%, rgba(96, 165, 250, .08) 50%, rgba(52, 211, 153, .08) 100%);
    border: 1px solid rgba(167, 139, 250, .35);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    flex-wrap: wrap;
}

.featured-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 60px rgba(167, 139, 250, .25);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: .72rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .3);
    padding: .25rem .75rem;
    border-radius: 999px;
}

.featured-emoji {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.featured-text {
    flex: 1;
}

.featured-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: .5rem;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-text p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.8rem;
    background: var(--grad1);
    color: #000;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-wrap {
    position: relative;
    max-width: 520px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

#toolSearch {
    width: 100%;
    padding: .85rem 1rem .85rem 2.75rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    resize: none;
    min-height: unset;
}

#toolSearch:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, .15);
}

.cat-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    padding: .45rem 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-family: 'Outfit', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}

.cat-btn:hover {
    background: rgba(255, 255, 255, .09);
    color: var(--text);
}

.cat-btn.active {
    background: rgba(167, 139, 250, .18);
    border-color: rgba(167, 139, 250, .4);
    color: var(--purple);
}

/* No results */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--muted);
}

.no-results-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.05rem;
}

.no-results span {
    color: var(--text);
    font-weight: 700;
}

/* ===== TOOL PAGE — EXTRA STYLES ===== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-card {
    padding: 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.info-card .val {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: .25rem;
}

.info-card .lbl {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.big-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: .25rem;
}

.insight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.insight-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.5;
}

.insight-list li::before {
    content: '→';
    color: var(--purple);
    flex-shrink: 0;
    margin-top: .05em;
}

select {
    width: 100%;
    padding: .9rem 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7f9a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, .15);
}

select option {
    background: #0d0f1a;
}

input[type="number"] {
    width: 100%;
    padding: .9rem 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input[type="number"]:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, .15);
}

input[type="range"] {
    width: 100%;
    accent-color: var(--purple);
    cursor: pointer;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .35rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.progress-bar-wrap {
    margin-bottom: 1rem;
}

.progress-bar-bg {
    height: 24px;
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
    overflow: hidden;
    margin-top: .5rem;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--grad1);
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: .6rem;
    font-size: .72rem;
    font-weight: 700;
    color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {

    .nav-links,
    .btn-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .step-line {
        display: none;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .score-ring-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .featured-card {
        flex-direction: column;
        text-align: center;
    }

    .featured-cta {
        width: 100%;
        justify-content: center;
    }

    .featured-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: .75rem;
    }
}