:root {
    /* Brand Colors derived from the image */
    --color-teal: #00A388;
    --color-green-light: #7BCC43;
    /* Corrected from 7BCC143 */
    --color-green-dark: #7BC024;
    --color-orange: #F26624;
    /* Corrected from F266724 */
    --color-navy: #2C3E50;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-navy);
    background-color: #f0f4f8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* For the background shapes */
    position: relative;
}

/* Background Animation */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    background-color: var(--color-teal);
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    background-color: var(--color-orange);
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    background-color: var(--color-green-light);
    width: 300px;
    height: 300px;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

/* Main Container */
.container {
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 10;
}

/* Glassmorphism Card */
.card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Typography & Content */
header {
    margin-bottom: 2.5rem;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.logo-S {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-green-light));
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 163, 136, 0.3);
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--color-navy);
    letter-spacing: -1px;
}

h1 .highlight {
    color: var(--color-teal);
}

.tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--color-orange);
    margin-top: 5px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.mission {
    font-style: italic;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-teal), var(--color-green-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 163, 136, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 163, 136, 0.5);
}

footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    transition: box-shadow 0.3s ease;
}

.input-group:focus-within {
    box-shadow: 0 4px 20px rgba(0, 163, 136, 0.2);
    border-color: rgba(0, 163, 136, 0.3);
}

.email-input {
    border: none;
    background: transparent;
    padding: 12px 20px;
    flex-grow: 1;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-navy);
    outline: none;
    border-radius: 50px 0 0 50px;
    /* Rounded only on left */
}

/* Adjust button inside group */
.input-group .btn-primary {
    border-radius: 50px;
    /* Full pill */
    padding: 12px 25px;
    box-shadow: none;
    margin: 2px;
    flex-shrink: 0;
}

.input-group .btn-primary:hover {
    transform: none;
    background: linear-gradient(90deg, var(--color-teal), #6abf4b);
}

/* Responsive Form Update */
@media (max-width: 480px) {
    .input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: 10px;
    }

    .email-input {
        background: white;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        padding: 15px 20px;
        text-align: center;
        width: 100%;
    }

    .input-group .btn-primary {
        width: 100%;
        padding: 15px;
        margin: 0;
    }
}