:root {
    /* Color Palette */
    --electric-blue: #2962FF; /* Primary vibrant blue */
    --electric-glow: #2962ff80; /* Softer blue for glows */
    --dark-bg: #050508; /* Almost black */
    --text-white: #FFFFFF;
    --text-grey: #8F8F8F;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Space Grotesk', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevents scroll bars during animation */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.dot {
    color: var(--electric-blue);
}

.contact-link {
    color: var(--text-grey);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--electric-blue);
}

/* Main Layout */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Magnetic Text Styling */
.magnetic-area {
    padding: 4rem; /* Creates a large invisible hit-box for the mouse */
    display: inline-block;
    cursor: default;
}

h1.magnetic-target {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-white); /* Outline effect */
    transition: color 0.3s ease;
    /* Important for the JS to move it */
    display: block; 
    pointer-events: none; /* Let mouse events pass through to the wrapper */
}

/* Hover effect: Fill with Electric Blue */
.magnetic-area:hover h1.magnetic-target {
    color: var(--electric-blue);
    -webkit-text-stroke: 2px var(--electric-blue);
    text-shadow: 0 0 30px var(--electric-glow);
}

/* Subtext & Inputs */
.sub-heading {
    color: var(--electric-blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: -20px;
    font-size: 0.8rem;
}

.description {
    color: var(--text-grey);
    margin-top: -20px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

input {
    background: transparent;
    border: 1px solid #333;
    padding: 12px 20px;
    color: white;
    font-family: inherit;
    width: 250px;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s;
}

input:focus {
    border-color: var(--electric-blue);
}

button {
    background-color: var(--electric-blue);
    color: white;
    border: none;
    padding: 12px 25px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--electric-glow);
}

footer {
    text-align: center;
    padding: 2rem;
    color: #333;
    font-size: 0.8rem;
}