:root {
    --primary-bg: #462365;
    --accent: #afd136;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --input-bg: rgba(255, 255, 255, 0.1);
    --font-family: 'Nunito', sans-serif;
}

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

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

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
    animation: move-blobs 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -10%;
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    animation-duration: 30s;
}

@keyframes move-blobs {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02) rotate(1deg);
}

.title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.accent {
    color: var(--accent);
}

.description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.signup-form {
    max-width: 500px;
}

.input-group {
    display: flex;
    gap: 1rem;
    background: var(--input-group-bg, rgba(255, 255, 255, 0.05));
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--accent);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

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

button {
    background: var(--accent);
    color: var(--primary-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(175, 209, 54, 0.3);
}

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

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-message.success {
    color: var(--accent);
}

.form-message.error {
    color: #ff4d4d;
}

footer {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-white);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.social-links a:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateY(-3px);
}

.social-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px;
    width: fit-content;
    align-items: start;
    margin-top: 35px;
}

.social-button:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.social-button:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    max-width: 126px;
    position: relative;
    left: 21px;
}

.social-button:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    top: 25px;
    left: -9px;
}

.social-button {
    background: rgba(156, 136, 200, 0.6);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-button:hover {
    background: rgba(176, 156, 220, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-button:active {
    transform: translateY(0);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.social-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .social-container {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
    }

    .social-button:nth-child(1),
    .social-button:nth-child(2),
    .social-button:nth-child(3) {
        grid-column: 1;
        justify-self: center;
    }

    .social-button:nth-child(1) {
        grid-row: 1;
    }

    .social-button:nth-child(2) {
        grid-row: 2;
        left: auto;
    }

    .social-button:nth-child(3) {
        grid-row: 3;
        top: auto;
        left: auto;
    }
}


/* Animations */
.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .title {
        font-size: 3rem;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .signup-form {
        margin-left: auto;
        margin-right: auto;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
    }

    button {
        width: 100%;
        border-radius: 15px;
    }
}