:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1b;
    --primary-green: #22c55e;
    --secondary-green: #16a34a;
    --accent-green: #15803d;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-green: 0 20px 25px -5px rgba(34, 197, 94, 0.2), 0 8px 10px -6px rgba(34, 197, 94, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, #f8fafc 0%, #ffffff 100%);
    font-family: var(--font-main);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    text-align: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-color);
    max-width: 20ch;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

.button-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-gradient {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.05em;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 30px -5px rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, #4ade80 0%, var(--secondary-green) 100%);
}

.btn-gradient:active {
    transform: translateY(0) scale(0.98);
}

/* Micro-animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        /* Better for long content on mobile */
        padding-top: 20vh;
    }

    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.625rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .btn-gradient {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        /* Full width on small mobile */
    }
}

/* Button pulse effect */
.btn-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    border-radius: 100px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.5s, opacity 0.5s;
}

.btn-gradient:active::after {
    width: 200%;
    height: 200%;
    opacity: 0.15;
    transition: 0s;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-gradient:hover .btn-glow {
    opacity: 1;
}