:root {
    --brand-primary: #d64024;
    /* Rich Terracotta/Chili Red */
    --brand-secondary: #f2a628;
    /* Turmeric Yellow */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --bg-dark: #120e0c;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body,
html {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;

    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
}

/* Background Image & Overlay */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 14, 12, 0.95) 0%, rgba(18, 14, 12, 0.8) 40%, rgba(18, 14, 12, 0.2) 100%);
}

/* Responsive Overlay for Mobile */
@media (max-width: 900px) {
    .overlay {
        background: linear-gradient(180deg, rgba(18, 14, 12, 0.7) 0%, rgba(18, 14, 12, 0.95) 100%);
    }

    .background-container {
        background-position: 60% center;
    }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2.5rem 6vw;
    max-width: 1400px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    animation: fadeInDown 1.2s ease-out;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.brand-logo span {
    color: var(--brand-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-main);
    transition: all 0.3s ease;
    opacity: 0.8;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--brand-secondary);
    opacity: 1;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 580px;
    padding: 4rem 0;
}

.badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title .highlight {
    color: var(--brand-primary);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 90%;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Form Styles */
.waitlist-form {
    animation: fadeInUp 1s ease-out 0.8s both;
    width: 100%;
}

.input-group {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(214, 64, 36, 0.15);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #c23920;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(214, 64, 36, 0.4);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

/* Button States */
.submit-btn.loading {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    pointer-events: none;
}

.submit-btn.success {
    background: #2ea043;
    pointer-events: none;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--brand-secondary);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.4s ease;
    margin-left: 1rem;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    opacity: 0.5;
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .input-group {
        flex-direction: column;
        border-radius: 12px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
    }

    .hero-section {
        justify-content: flex-end;
        /* Push content down on mobile over the darker part of gradient */
        padding-bottom: 2rem;
    }

    .badge {
        margin-bottom: 1.5rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Aligns text to the right, next to the logo */
}

.brand-tagline {
    font-size: 0.85rem;
    color: #dfb74a;
    font-style: italic;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-top: -0.25rem;
    /* Pull it slightly closer to the title */
}

.main-logo {
    height: 100px;
    width: auto;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4rem;
    margin-bottom: 2rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    line-height: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .map-section iframe {
        height: 250px;
    }

    .brand {
        gap: 0.5rem;
    }

    .main-logo {
        height: 36px;
    }
}