:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-grey: #f5f5f5;
    --border-color: #e0e0e0;
    --hover-bg: #000000;
    --hover-text: #ffffff;
    --primary-color: #A044FF;
    /* Brighter Purple */
    --secondary-color: #00E0FF;
    /* Brighter Blue */
    --glass-bg: rgba(255, 255, 255, 0.7);
    /* Whiter, More Frosted */
    --glass-border: rgba(255, 255, 255, 0.8);
    --ios-blur: 40px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Michroma', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* --- Colorful Background Blobs --- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    filter: blur(160px);
    opacity: 0.65;
    /* Brighter, more consistent glow */
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: move-blob 20s infinite alternate;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: var(--primary-color);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -150px;
    left: -100px;
    background: var(--secondary-color);
    animation-delay: -5s;
    width: 500px;
    height: 500px;
}

.blob-3 {
    top: 40%;
    left: 30%;
    background: #FF00E5;
    width: 300px;
    height: 300px;
    animation-delay: -10s;
}

@keyframes move-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* --- Abstract Grid --- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
    pointer-events: none;
}

/* --- Unique Black iOS Pointer --- */
.custom-cursor {
    width: 8px;
    /* Slightly smaller dot */
    height: 8px;
    background-color: #000;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    /* Just a slight scale, still a dot */
    background-color: #000;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Hero Section --- */
.hero {
    margin-bottom: 60px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.logo-circle {
    width: 180px;
    /* Larger for better prominence */
    height: 180px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--ios-blur));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: 0.5px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine-circle 6s infinite;
}

@keyframes shine-circle {
    0% {
        transform: translateX(-150%) rotate(45deg);
    }

    100% {
        transform: translateX(150%) rotate(45deg);
    }
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Removes white background box */
    padding: 15px;
    /* Adds cushion inside circle */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    z-index: 2;
}

.hero.active .logo {
    animation: logoPop 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.logo-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.company-name {
    display: none;
    /* Logo already has the name in correct font */
}

.tagline {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 10px;
}

.separator {
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* --- Links Section --- */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.link-card {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    overflow: hidden;
    border-radius: 24px;
    /* Move radius to parent for smooth backgrounds */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.link-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
    border: 0.5px solid var(--glass-border);
    backdrop-filter: blur(var(--ios-blur));
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    /* Softer corners */
}

.link-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.link-card:hover .link-content::before {
    left: 150%;
}

.link-text {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.link-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-card:hover {
    transform: translateX(4px);
}

.link-card:hover .link-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.35));
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

/* --- Footer --- */
.footer {
    margin-top: 40px;
    padding-top: 40px;
    position: relative;
}

.footer-graphic {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer p {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .logo-circle {
        width: 150px;
        /* Perfect size for mobile header */
        height: 150px;
        margin-bottom: 25px;
    }

    .logo {
        width: 100%;
        height: 100%;
        padding: 5px;
    }

    .link-content {
        padding: 18px 24px;
        border-radius: 24px;
    }

    .hero {
        margin-bottom: 40px;
    }

    .custom-cursor {
        display: none;
    }

    body {
        cursor: auto;
    }
}