:root {

    --bg: #050507;
    --bg-secondary: #09090d;

    --surface: rgba(255, 255, 255, 0.045);
    --surface-hover: rgba(255, 255, 255, 0.075);

    --border: rgba(255, 255, 255, 0.09);

    --text: #f5f5f7;
    --muted: #92929d;

    --accent: #8b5cf6;
    --accent-two: #22d3ee;

    --radius: 22px;

    --font-main: "DM Sans", sans-serif;
    --font-display: "Space Grotesk", sans-serif;

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(139, 92, 246, 0.14),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);

    font-family: var(--font-main);

    overflow-x: hidden;

    transition:
        background .3s ease,
        color .3s ease;

}


body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: .025;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    z-index: 100;

}


/* ==========================================
   AMBIENT
========================================== */

.ambient {

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(130px);

    opacity: .12;

    pointer-events: none;

    z-index: -1;

}


.ambient-one {

    top: 100px;
    left: -250px;

    background: var(--accent);

}


.ambient-two {

    right: -300px;
    top: 600px;

    background: var(--accent-two);

}


/* ==========================================
   NAVBAR
========================================== */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 50;

    border-bottom: 1px solid transparent;

    transition: .3s ease;

}


.navbar.scrolled {

    background: rgba(5, 5, 7, .78);

    backdrop-filter: blur(20px);

    border-color: var(--border);

}


.nav-container {

    width: min(1180px, calc(100% - 40px));

    height: 76px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: var(--text);

}


.logo-mark {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    font-family: var(--font-display);

    font-weight: 700;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-two)
        );

    box-shadow:
        0 0 30px rgba(139, 92, 246, .3);

}


.logo-text {

    font-family: var(--font-display);

    font-size: 20px;

    font-weight: 700;

    letter-spacing: -.7px;

}


.nav-links {

    display: flex;

    gap: 34px;

}


.nav-links a {

    color: var(--muted);

    text-decoration: none;

    font-size: 14px;

    transition: .25s;

}


.nav-links a:hover {

    color: var(--text);

}


.nav-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.theme-btn,
.menu-btn {

    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--text);

    width: 40px;
    height: 40px;

    border-radius: 12px;

    cursor: pointer;

}


.nav-btn {

    padding: 11px 17px;

    border-radius: 12px;

    text-decoration: none;

    color: white;

    font-size: 13px;

    font-weight: 600;

    background: var(--accent);

}


.menu-btn {

    display: none;

}


/* ==========================================
   HERO
========================================== */

.hero {

    min-height: 850px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 150px 20px 100px;

    overflow: hidden;

}


.hero-grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black,
            transparent 70%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 13px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,.035);

    border-radius: 100px;

    font-size: 12px;

    color: #c9c9d1;

    margin-bottom: 28px;

}


.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow: 0 0 12px #4ade80;

}


.hero h1 {

    font-family: var(--font-display);

    font-size: clamp(48px, 7vw, 88px);

    line-height: .98;

    letter-spacing: -5px;

    max-width: 850px;

}


.hero h1 span {

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-two)
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}


.hero-description {

    max-width: 650px;

    margin: 28px auto 38px;

    font-size: 17px;

    line-height: 1.7;

    color: var(--muted);

}


/* ==========================================
   SEARCH
========================================== */

.search-wrapper {

    position: relative;

    max-width: 700px;

    margin: auto;

}


.search-box {

    height: 66px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 0 18px;

    border: 1px solid rgba(255,255,255,.13);

    border-radius: 18px;

    background:
        rgba(15,15,20,.75);

    backdrop-filter: blur(25px);

    box-shadow:
        0 25px 80px rgba(0,0,0,.35);

    transition: .3s;

}


.search-box:focus-within {

    border-color:
        rgba(139,92,246,.55);

    box-shadow:
        0 0 0 4px rgba(139,92,246,.08),
        0 25px 80px rgba(0,0,0,.35);

}


.search-icon {

    font-size: 27px;

    color: var(--muted);

}


.search-box input {

    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    color: var(--text);

    font-size: 15px;

    font-family: inherit;

}


.search-box input::placeholder {

    color: #666671;

}


.search-box kbd {

    border: 1px solid var(--border);

    border-radius: 7px;

    padding: 5px 8px;

    color: #777782;

    font-size: 11px;

}


.search-results {

    display: none;

    position: absolute;

    top: 74px;

    left: 0;
    right: 0;

    padding: 8px;

    border: 1px solid var(--border);

    background: rgba(12,12,16,.96);

    backdrop-filter: blur(25px);

    border-radius: 16px;

    text-align: left;

    z-index: 20;

}


.search-results.active {

    display: block;

}


.search-result {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 12px;

    border: none;

    border-radius: 11px;

    background: transparent;

    color: var(--text);

    text-align: left;

    cursor: pointer;

}


.search-result:hover {

    background: var(--surface-hover);

}


.result-icon {

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(139,92,246,.12);

}


.search-result span:nth-child(2) {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.search-result small {

    color: var(--muted);

}


/* ==========================================
   QUICK TOOLS
========================================== */

.quick-tools {

    margin-top: 19px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

    color: #696974;

    font-size: 12px;

}


.quick-tools button {

    border: none;

    background: transparent;

    color: #9a9aa5;

    cursor: pointer;

    font-size: 12px;

}


.quick-tools button:hover {

    color: var(--text);

}


/* ==========================================
   SECTION
========================================== */

.section {

    width: min(1180px, calc(100% - 40px));

    margin: auto;

    padding: 110px 0;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 42px;

}


.section-heading.centered {

    display: block;

    text-align: center;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: #8d8d99;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


.section-heading h2 {

    font-family: var(--font-display);

    font-size: clamp(32px, 4vw, 50px);

    letter-spacing: -2px;

}


.section-heading p {

    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;

}


.view-all {

    color: #b4b4be;

    text-decoration: none;

    font-size: 13px;

}


/* ==========================================
   TOOL GRID
========================================== */

.tools-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

}


.tool-card {

    min-height: 245px;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;

}


.tool-card::before {

    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    top: -90px;
    right: -90px;

    background: var(--accent);

    filter: blur(80px);

    opacity: .15;

}


.tool-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(139,92,246,.35);

    background:
        rgba(255,255,255,.065);

}


.tool-top,
.tool-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.tool-icon {

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    color: #cfc1ff;

    font-size: 21px;

    background:
        rgba(139,92,246,.11);

    border: 1px solid
        rgba(139,92,246,.15);

}


.tool-category {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #71717c;

}


.tool-content {

    margin: 25px 0;

}


.tool-content h3 {

    font-family: var(--font-display);

    font-size: 20px;

    margin-bottom: 8px;

}


.tool-content p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;

    max-width: 390px;

}


.tool-status {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    color: #777781;

}


.tool-status span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #4ade80;

}


.tool-arrow {

    width: 38px;
    height: 38px;

    border-radius: 11px;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--text);

    cursor: pointer;

    transition: .25s;

}


.tool-arrow:hover {

    background: var(--text);

    color: var(--bg);

}


/* ==========================================
   CATEGORIES
========================================== */

.categories-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}


.category-card {

    min-height: 210px;

    padding: 25px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    background: var(--surface);

    transition: .3s;

}


.category-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(255,255,255,.18);

}


.category-icon {

    font-size: 24px;

    margin-bottom: 35px;

    color: #bfaaff;

}


.category-card h3 {

    font-family: var(--font-display);

    font-size: 19px;

}


.category-card p {

    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;

}


.category-card span {

    display: inline-block;

    margin-top: 15px;

    color: #aaaab5;

    font-size: 12px;

}


/* ==========================================
   BENEFITS
========================================== */

.why-section {

    padding-top: 70px;

}


.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin-top: 50px;

}


.benefit-card {

    position: relative;

    padding: 25px;

    min-height: 280px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

}


.benefit-number {

    position: absolute;

    top: 20px;
    right: 22px;

    font-size: 10px;

    color: #555560;

}


.benefit-icon {

    font-size: 27px;

    margin-bottom: 50px;

}


.benefit-card h3 {

    font-family: var(--font-display);

    font-size: 18px;

}


.benefit-card p {

    margin-top: 9px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.65;

}


/* ==========================================
   CTA
========================================== */

.cta-section {

    width: min(1180px, calc(100% - 40px));

    margin: auto;

    padding: 70px 0 130px;

}


.cta-card {

    position: relative;

    overflow: hidden;

    padding: 85px 30px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(139,92,246,.16),
            transparent 55%
        ),
        var(--surface);

}


.cta-card h2 {

    position: relative;

    font-family: var(--font-display);

    font-size: clamp(35px, 5vw, 58px);

    letter-spacing: -3px;

    max-width: 700px;

    margin: auto;

}


.cta-card h2 span {

    color: #a78bfa;

}


.cta-card p {

    color: var(--muted);

    margin: 17px 0 28px;

}


.primary-btn {

    display: inline-block;

    padding: 13px 20px;

    border-radius: 12px;

    color: white;

    background: var(--accent);

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

}


/* ==========================================
   FOOTER
========================================== */

.footer {

    border-top: 1px solid var(--border);

    padding: 65px 20px 25px;

}


.footer-main {

    width: min(1180px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;

}


.footer-brand p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-top: 15px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column h4 {

    font-size: 12px;

    margin-bottom: 7px;

}


.footer-column a {

    color: var(--muted);

    text-decoration: none;

    font-size: 12px;

}


.footer-column a:hover {

    color: var(--text);

}


.footer-bottom {

    width: min(1180px, 100%);

    margin: 60px auto 0;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: space-between;

    color: #55555f;

    font-size: 10px;

}


/* ==========================================
   MOBILE MENU
========================================== */

.mobile-menu {

    display: none;

}


/* ==========================================
   LIGHT MODE
========================================== */

body.light-mode {

    --bg: #f6f7fb;

    --bg-secondary: #ffffff;

    --surface: rgba(0,0,0,.035);

    --surface-hover: rgba(0,0,0,.06);

    --border: rgba(0,0,0,.09);

    --text: #111118;

    --muted: #656572;

}


body.light-mode .navbar.scrolled {

    background: rgba(246,247,251,.82);

}


body.light-mode .search-box {

    background: rgba(255,255,255,.8);

}