/* --- General Setup & Variables --- */
:root {
    --swiggy-orange: #FC8019;
    --light-bg: #f9fafb; /* Light gray background */
    --text-primary: #1f2937; /* Dark gray for text */
    --text-secondary: #6b7281; /* Medium gray for descriptions */
    --border-color: #e5e7eb; /* Light border color */
}

@font-face {
            font-family: 'Gilroy';
            /* Use a relative path to the font file */
            src: url('../fonts/Gilroy-Regular.otf') format('opentype');
            font-weight: 400;
            /* 400 is normal */
            font-style: normal;
        }

        @font-face {
            font-family: 'Gilroy';
            src: url('../fonts/Gilroy-Medium.otf') format('opentype');
            font-weight: 500;
            /* 500 is medium */
            font-style: normal;
        }

        @font-face {
            font-family: 'Gilroy';
            src: url('../fonts/Gilroy-SemiBold.otf') format('opentype');
            font-weight: 600;
            /* 600 is semi-bold */
            font-style: normal;
        }

        @font-face {
            font-family: 'Gilroy';
            src: url('../fonts/Gilroy-Bold.otf') format('opentype');
            font-weight: 700;
            /* 700 is bold */
            font-style: normal;
        }

/* Base body styles using variables */
body {
    font-family: 'Gilroy', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
}

/* --- Particle Background --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* --- Main Content Card --- */
.content {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Typography --- */
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.logo span {
    color: var(--swiggy-orange);
    font-weight: 600;
}

.main-headline {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* --- Subscription Form --- */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.subscribe-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input::placeholder {
    color: #9ca3af;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--swiggy-orange);
    box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.2);
}

.subscribe-form button {
    padding: 0.9rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--swiggy-orange);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.subscribe-form button:hover {
    background-color: #e06c0a;
    transform: translateY(-2px);
}

.form-message {
    min-height: 24px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}
.form-message.success { color: #16a34a; }
.form-message.error { color: #dc2626; }


/* --- Media Queries --- */
@media (max-width: 640px) {
    .content {
        padding: 2rem 1.5rem;
        border: none;
        background-color: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }
    .main-headline { font-size: 1.8rem; }
    .logo { font-size: 2rem; }
}
