/* Custom Cursor - High Contrast Difference Mode */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    display: block !important;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    /* Base White */
    mix-blend-mode: difference;
    /* Inverts color based on background */
    transition: transform 0.1s;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1.5px solid white;
    /* Base White */
    background-color: transparent;
    mix-blend-mode: difference;
    /* Inverts color based on background */
    transition: width 0.3s, height 0.3s, background-color 0.3s, transform 0.15s ease-out;
}

/* Interactivity */
body.is-hovering .cursor-circle {
    background-color: white;
    /* Fills white -> renders as Black on White bg */
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Hide default cursor */
html,
body,
a,
button,
input,
textarea,
select,
.upload-area,
.point {
    cursor: none !important;
}

/* Webcore Media V7 Tokens & Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #000000;
    --font-main: 'Open Sans', system-ui, -apple-system, sans-serif;
    --spacing-sm: 40px;
    --transition-snappy: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Components */
.btn-pill {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition-snappy);
    display: inline-block;
}

.btn-pill:hover {
    transform: scale(1.05);
}

.tool-card {
    background: var(--bg-color);
    border: 3px solid var(--text-color);
    padding: var(--spacing-sm);
    position: relative;
    transition: var(--transition-snappy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;
    color: var(--text-color);
    overflow: hidden;
}

.tool-card:hover {
    background: var(--text-color);
    color: #fff;
    transform: translateY(-10px);
}

.tool-card:hover .arrow {
    color: #fff;
    transform: rotate(0deg) scale(1.2);
}

.tool-card .arrow {
    font-size: 40px;
    align-self: flex-end;
    transform: rotate(-45deg);
    transition: var(--transition-snappy);
}

.tool-card .index {
    position: absolute;
    bottom: -20px;
    left: -10px;
    font-size: 180px;
    font-weight: 800;
    opacity: 0.05;
    transition: var(--transition-snappy);
}

.tool-card:hover .index {
    opacity: 0.1;
    color: #fff;
}

.category-separator {
    display: flex;
    align-items: center;
    margin: 80px 0 40px;
    gap: 20px;
}

.category-separator .line {
    flex-grow: 1;
    height: 2px;
    background: var(--text-color);
}

.category-separator span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

main {
    padding: 80px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 2px solid black;
}

.logo {
    font-weight: 800;
    font-size: 24px;
}

.mega-title {
    font-size: clamp(80px, 15vw, 300px);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mega-title {
        display: none;
    }
}