:root {
    --primary: #28a745;
    --primary-light: #4ade80;
    --primary-dark: #166534;
    --accent: #20c997;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
}

/* Background gradient animation */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, #f0fdf4 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, #f0fdf4 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #fafff8 0%, transparent 100%);
}

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

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 25s infinite alternate ease-in-out;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -150px;
    left: -100px;
    animation: float 20s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 40px);
    }
}

/* Navbar */
nav {
    padding: 2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

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

.logo-img {
    height: 90px;
    /* Increased size significantly */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.logo-badge {
    background: #f0fdf4;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-headline {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-headline::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    /* Sleeker, less heavy */
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Form Styling */
.form-container {
    width: 100%;
    max-width: 580px;
}

.input-wrapper {
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 100px;
    display: flex;
    gap: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-wrapper:focus-within {
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 25px 60px -20px rgba(40, 167, 69, 0.15);
    transform: translateY(-2px);
}

input[type="email"] {
    flex: 1;
    border: none;
    padding: 1rem 1.75rem;
    outline: none;
    font-size: 1.05rem;
    font-family: inherit;
    border-radius: 100px;
    color: var(--text);
    background: transparent;
}

input[type="email"]::placeholder {
    color: #94a3b8;
}

button {
    background: var(--text);
    color: white;
    border: none;
    padding: 0 2.5rem;
    height: 56px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: var(--primary);
    transform: translateX(2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.2);
}

/* Status Messages */
.status-msg {
    margin-top: 2rem;
    padding: 1.25rem 2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    backdrop-filter: blur(10px);
}

.status-msg.success {
    display: block;
    background: rgba(236, 253, 245, 0.8);
    color: #064e3b;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-msg.error {
    display: block;
    background: rgba(254, 242, 242, 0.8);
    color: #7f1d1d;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Features Grid */
.features {
    padding: 6rem 8% 8rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(40, 167, 69, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(40, 167, 69, 0.15);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::after {
    opacity: 1;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: inline-flex;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.5s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: #f0fdf4;
    color: var(--primary);
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #fff;
    border-top: 1px solid var(--border);
}

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

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

.hero>*,
.feature-card {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero p {
    animation-delay: 0.2s;
}

.form-container {
    animation-delay: 0.3s;
}

.features .feature-card:nth-child(1) {
    animation-delay: 0.4s;
}

.features .feature-card:nth-child(2) {
    animation-delay: 0.5s;
}

.features .feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 5%;
    }

    .features {
        padding: 4rem 5%;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 70px;
    }

    .hero {
        padding-top: 6rem;
    }

    .input-wrapper {
        flex-direction: column;
        border-radius: 30px;
        padding: 0.75rem;
    }

    input[type="email"] {
        padding: 1.25rem;
    }

    button {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2.8rem;
    }

    .feature-card {
        padding: 3rem 2rem;
    }
}