/* Local Font Imports */
@font-face {
    font-family: 'Aldrich';
    src: url('../assets/fonts/Aldrich-Regular.woff2') format('woff2'),
        url('../assets/fonts/Aldrich-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../assets/fonts/DMSans-Regular.woff2') format('woff2'),
        url('../assets/fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../assets/fonts/DMSans-Medium.woff2') format('woff2'),
        url('../assets/fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../assets/fonts/DMSans-Bold.woff2') format('woff2'),
        url('../assets/fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --c-bg-top: #010812;
    --c-bg-bot: #01050E;
    --c-accent: #2AB8FF;
    --font-heading: 'Aldrich', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor everywhere */
}

body {
    background: linear-gradient(180deg, var(--c-bg-top) 0%, var(--c-bg-bot) 100%);
    color: #ffffff;
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a,
button {
    cursor: none;
    /* Ensure custom cursor stays */
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Layout & Typography */
.main-header {
    padding: 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.logo {
    height: 24px;
    /* Adjust based on SVG natural size */
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    z-index: 10;
    margin-top: -5vh;
    /* Visual balance */
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-transform: uppercase;
    /* Check if design is uppercase. Image shows mixed case "We Design..." but "Purposeful" is capitalized. Let's keep normal case as per image */
    text-transform: none;
    letter-spacing: 1px;
}

.highlight-text {
    color: var(--c-accent);
    border-right: 2px solid var(--c-accent);
    /* Typewriter cursor */
    padding-right: 4px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #dadada;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 100;
    animation: fadeIn 1.5s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blurIn {
    from {
        filter: blur(10px);
        opacity: 0;
    }

    to {
        filter: blur(0);
        opacity: 1;
    }
}

.hero-title {
    animation: blurIn 1s ease-out;
}

/* Glassy CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 4px;
    /* Slightly rounded or sharp? Design looks sharp/slightly rounded */
    text-decoration: none;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    animation: fadeIn 2s ease-out;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.6rem;
    color: #acacac;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* Alien Head Background */
.alien-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    /* Adjust based on asset */
    height: auto;
    opacity: 1;
    /* Start subtle */
    z-index: -1;
    pointer-events: none;
    animation: alienPulse 8s ease-in-out infinite;
}

@keyframes alienPulse {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    z-index: 10000;
    pointer-events: none;
    background-image: url('../assets/cursor.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-10%, -10%);
    /* Adjust to center tip if needed */
}