:root {
    --primary-pink: #E6007E;
    --text-dark: #333333;
    --text-grey: #666666;
    --font-main: 'Oswald', sans-serif;
    --font-script: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    overflow: hidden;
    /* Prevent scrolling, let canvas handle background */
    background-color: #f4f4f0;
    /* Fallback off-white */
    background-image: url('assets/canvas_texture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    /* Custom cursor */
    position: relative;
}

/* Canvas Container for Matter.js */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    /* Allow interaction with physics objects */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-pink);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(230, 0, 126, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state for links/buttons */
body:has(a:hover) .cursor-outline,
body:has(button:hover) .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 0, 126, 0.1);
    border-color: var(--primary-pink);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }
}

.content-wrapper {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 10;
    /* Above canvas */
    pointer-events: none;
    /* Let clicks pass through to canvas where not on card */
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    /* Re-enable pointer events for the card content */
}

/* Hero Section */
.hero {
    margin-bottom: 2.5rem;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.main-logo-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.headlines h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subtitle-1 {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle-2 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-pink);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(230, 0, 126, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/impasto_red.png');
    /* Subtle texture overlay if desired */
    opacity: 0.2;
    mix-blend-mode: overlay;
    background-size: cover;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 0, 126, 0.4);
    background-color: #c4006b;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
        gap: 2.5rem;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background-color: rgba(230, 0, 126, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-pink);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 2rem 1.5rem;
    }

    .headlines h1 {
        font-size: 2rem;
    }

    .subtitle-1 {
        font-size: 1.8rem;
    }

    .subtitle-2 {
        font-size: 1rem;
    }
}