/* =========================================================
   LINKLOOP — GLOBAL STYLES
   BRAND PALETTE: PURPLE + GOLD
   ========================================================= */

:root {
    --bg: #08051a;
    --bg-soft: #10082b;
    --card: #160d36;
    --card-hover: #201247;

    --text: #ffffff;
    --text-soft: #c8c0df;
    --text-muted: #8e86a8;

    --primary: #6d28d9;
    --primary-light: #8b5cf6;

    --gold: #ffc400;
    --gold-light: #ffd84d;
    --gold-dark: #e5a900;

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    --white: #ffffff;

    --container: 1180px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow: 0 20px 70px rgba(0, 0, 0, 0.4);

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

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


/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 48px;
}

.section-heading h2 {
    max-width: 650px;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-heading > p {
    max-width: 430px;

    color: var(--text-soft);
    font-size: 15px;
}


/* =========================================================
   BRAND LOGO
   ========================================================= */

.brand-logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.brand-logo img {
    width: 150px;
    height: auto;

    object-fit: contain;
}

.footer-logo img {
    width: 165px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 5, 26, 0.88);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
}

.header-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--text-soft);

    font-size: 14px;
    font-weight: 600;

    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--gold);
}

.header-button {
    padding: 11px 18px;

    border: 1px solid rgba(255, 196, 0, 0.35);
    border-radius: 10px;

    background: rgba(255, 196, 0, 0.08);

    color: var(--gold);

    font-size: 13px;
    font-weight: 800;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.header-button:hover {
    background: rgba(255, 196, 0, 0.16);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: var(--white);

    font-size: 26px;
    cursor: pointer;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 0 20px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--gold);
    color: #100800;
}

.button-primary:hover {
    background: var(--gold-light);
}

.button-secondary {
    border: 1px solid var(--border-strong);

    background: rgba(255, 255, 255, 0.03);

    color: var(--white);
}

.button-secondary:hover {
    border-color: rgba(255, 196, 0, 0.35);
    background: var(--card);
}

.button-light {
    background: var(--white);
    color: #10051f;
}

.text-link {
    color: var(--gold);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(109, 40, 217, 0.32),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 15%,
            rgba(255, 196, 0, 0.07),
            transparent 28%
        ),
        #08051a;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-container {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns: 1fr 0.95fr;

    align-items: center;

    gap: 65px;

    padding: 100px 0;
}

.hero-content {
    max-width: 670px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;
    margin-bottom: 24px;

    border: 1px solid rgba(255, 196, 0, 0.22);
    border-radius: 999px;

    background: rgba(255, 196, 0, 0.06);

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 700;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 12px rgba(255, 196, 0, 0.9);
}

.hero h1 {
    max-width: 720px;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;

    color: var(--gold);
}

.hero-description {
    max-width: 600px;

    margin-top: 28px;

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 48px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--gold);

    font-size: 18px;
}

.trust-item span {
    color: var(--text-muted);

    font-size: 11px;
}

.trust-divider {
    width: 1px;
    height: 32px;

    background: var(--border-strong);
}


/* =========================================================
   HERO BANNER
   ========================================================= */

.hero-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 420px;
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(109, 40, 217, 0.35);

    filter: blur(80px);
}

.hero-banner-card {
    position: relative;
    z-index: 2;

    width: 100%;

    overflow: hidden;

    border: 2px solid rgba(255, 196, 0, 0.22);

    border-radius: 24px;

    background: #160d36;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 50px rgba(109, 40, 217, 0.2);
}

.hero-banner-card img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-section {
    background: var(--bg-soft);
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.category-card {
    padding: 26px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 196, 0, 0.3);

    background: var(--card-hover);
}

.category-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 12px;

    background: rgba(109, 40, 217, 0.2);

    font-size: 20px;
}

.category-card h3 {
    font-size: 18px;
}

.category-card p {
    min-height: 48px;

    margin: 8px 0 18px;

    color: var(--text-muted);

    font-size: 13px;
}

.category-card > span {
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   TOOLS
   ========================================================= */

.tools-section {
    background: var(--bg);
}

.tools-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.tool-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--card);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 196, 0, 0.28);
}

.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.tool-brand-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: rgba(109, 40, 217, 0.2);

    color: var(--gold);

    font-size: 15px;
    font-weight: 900;
}

.tool-category {
    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(255, 196, 0, 0.08);

    color: var(--gold-light);

    font-size: 10px;
    font-weight: 700;
}

.tool-card h3 {
    font-size: 20px;
}

.tool-card p {
    margin-top: 9px;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.7;
}

.tool-card-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 28px;
    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   WHY SECTION
   ========================================================= */

.why-section {
    background: var(--bg-soft);
}

.why-container {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}

.why-content h2 {
    max-width: 500px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1;

    letter-spacing: -0.05em;
}

.why-content h2 span {
    display: block;

    color: var(--gold);
}

.why-content p {
    max-width: 520px;

    margin: 22px 0 30px;

    color: var(--text-soft);

    font-size: 15px;

    line-height: 1.75;
}

.benefits-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.benefit-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.02);
}

.benefit-card > span {
    color: var(--gold);

    font-size: 11px;
    font-weight: 900;
}

.benefit-card h3 {
    margin-top: 28px;

    font-size: 17px;
}

.benefit-card p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 100px 0;

    background: var(--bg);
}

.cta-box {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 65px;

    border: 1px solid rgba(255, 196, 0, 0.25);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(109, 40, 217, 0.35),
            transparent 40%
        ),
        #12092b;
}

.cta-box h2 {
    max-width: 650px;

    font-size: clamp(30px, 4vw, 50px);

    line-height: 1;

    letter-spacing: -0.04em;
}

.cta-box p {
    max-width: 580px;

    margin-top: 16px;

    color: var(--text-soft);

    font-size: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 75px;

    border-top: 1px solid var(--border);

    background: #05030f;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 18px;

    color: var(--text-muted);

    font-size: 13px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;

    font-size: 13px;
}

.footer-column a {
    color: var(--text-muted);

    font-size: 12px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 0;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--gold);

    outline-offset: 3px;
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: var(--gold);

    color: #100800;
}
/* =========================================================
   BATCH 7 — SEARCH & FILTER SYSTEM
   ========================================================= */


/* ---------------------------------------------------------
   RESOURCE SEARCH
   --------------------------------------------------------- */

.resource-search-section {

    padding: 35px 0 10px;

    background: var(--bg);

}


.resource-search-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--card);

}


.search-input-wrapper {

    position: relative;

    flex: 1;

}


.search-icon {

    position: absolute;

    top: 50%;

    left: 18px;

    transform: translateY(-50%);

    font-size: 16px;

    pointer-events: none;

}


.search-input-wrapper input {

    width: 100%;

    height: 52px;

    padding: 0 20px 0 50px;

    border: 1px solid var(--border-strong);

    border-radius: 11px;

    outline: none;

    background: rgba(255, 255, 255, 0.035);

    color: var(--white);

    font-size: 14px;

    transition:
        border-color var(--transition),
        background var(--transition);

}


.search-input-wrapper input::placeholder {

    color: var(--text-muted);

}


.search-input-wrapper input:focus {

    border-color: rgba(255, 196, 0, 0.55);

    background: rgba(255, 255, 255, 0.05);

}


.search-info {

    flex-shrink: 0;

    color: var(--text-muted);

    font-size: 12px;

}


.search-info strong {

    color: var(--gold);

    font-size: 15px;

}


/* ---------------------------------------------------------
   FILTERS
   --------------------------------------------------------- */

.resource-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    padding: 18px 0 5px;

}


.filter-button {

    min-height: 38px;

    padding: 0 15px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.025);

    color: var(--text-soft);

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);

}


.filter-button:hover {

    border-color: rgba(255, 196, 0, 0.3);

    color: var(--gold);

    transform: translateY(-1px);

}


.filter-button.active {

    border-color: var(--gold);

    background: var(--gold);

    color: #100800;

}


/* ---------------------------------------------------------
   RESOURCE CARD
   --------------------------------------------------------- */

.resource-card {

    min-height: 330px;

}


.resource-logo {

    width: 48px;

    height: 48px;

    object-fit: contain;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.05);

}


/* ---------------------------------------------------------
   RESOURCE META
   --------------------------------------------------------- */

.resource-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 22px;

    padding-top: 16px;

    border-top: 1px solid var(--border);

}


.resource-meta span {

    color: var(--text-muted);

    font-size: 11px;

}


.resource-meta strong {

    color: var(--gold);

    font-size: 12px;

}


/* ---------------------------------------------------------
   AFFILIATE LINK
   --------------------------------------------------------- */

.affiliate-link {

    color: var(--gold);

    font-weight: 900;

    transition:
        color var(--transition);

}


.affiliate-link:hover {

    color: var(--gold-light);

}


/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.empty-state {

    grid-column: 1 / -1;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 45px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--card);

    text-align: center;

}


.empty-state-icon {

    width: 60px;

    height: 60px;

    display: grid;

    place-items: center;

    margin-bottom: 18px;

    border-radius: 16px;

    background: rgba(109, 40, 217, 0.2);

    font-size: 24px;

}


.empty-state h3 {

    font-size: 22px;

}


.empty-state p {

    max-width: 450px;

    margin: 8px 0 22px;

    color: var(--text-muted);

    font-size: 13px;

}


/* ---------------------------------------------------------
   RESOURCE HERO
   --------------------------------------------------------- */

.resources-hero {

    min-height: 560px;

}