:root {
    --bg-color: #050a14;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-glow: #60a5fa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.background-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.background-glob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(5, 10, 20, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

/* Container */
/* Container */
.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    z-index: 10;
    width: 100%;
    align-self: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography */
.company-name {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--accent-blue);
    opacity: 0.5;
}

/* Contact Form */
.contact-form {
    margin-bottom: 3rem;
    position: relative;
    min-height: 60px;
    /* Prevent layout shift */
}

.input-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s ease;
}

input[type="email"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

button {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--accent-glow);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

button:active {
    transform: translateY(0);
}

.success-message {
    text-align: center;
    color: var(--accent-glow);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    position: absolute;
    /* Take form out of flow visually or center it */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px);
    width: 100%;
    pointer-events: none;
}

.success-message.visible {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* Address Section */
/* Address Section */
.address-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3rem;
    margin-bottom: 2rem;
    width: auto;
    align-self: center;
    max-width: 90%;
    background: rgba(5, 10, 20, 0.6);
    backdrop-filter: blur(10px);
    z-index: 20;
    border-radius: 100px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .input-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    input[type="email"] {
        width: 100%;
        max-width: 320px;
    }

    button {
        width: 100%;
        max-width: 320px;
    }
}