/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    /* Colors - Light, vibrant palette */
    --primary-green: #059669;
    --primary-green-dark: #047857;
    --primary-green-light: #10b981;
    --accent-emerald: #34d399;
    --accent-lime: #84cc16;

    --bg-light: #f0fdf4;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);

    --text-primary: #064e3b;
    --text-secondary: #047857;
    --text-muted: #059669;

    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #34d399 0%, #10b981 50%, #047857 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Noto Sans Gujarati', 'Outfit', sans-serif;
    --font-secondary: 'Noto Sans Gujarati', 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(5, 150, 105, 0.08);
    --shadow-md: 0 4px 16px rgba(5, 150, 105, 0.12);
    --shadow-lg: 0 8px 32px rgba(5, 150, 105, 0.15);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   BACKGROUND EFFECTS
   =================================== */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Animated Leaves */
.leaf {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
    filter: blur(1px);
}

.leaf-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.leaf-2 {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.leaf-3 {
    top: 30%;
    left: 60%;
    animation-delay: 10s;
    animation-duration: 22s;
}

.leaf-4 {
    top: 80%;
    left: 20%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.leaf-5 {
    top: 50%;
    left: 40%;
    animation-delay: 8s;
    animation-duration: 26s;
}

/* Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary-green);
}

.particle-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particle-2 {
    top: 70%;
    left: 70%;
    animation-delay: 5s;
}

.particle-3 {
    top: 40%;
    left: 90%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* ===================================
   MAIN CONTAINER
   =================================== */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ===================================
   LOGO SECTION
   =================================== */
.logo-section {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInDown 0.8s ease-out;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.logo-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.4));
    animation: pulse-glow 3s infinite ease-in-out;
}

.brand-name {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 300;
    font-style: italic;
    opacity: 0.9;
}

/* ===================================
   CONTENT SECTION
   =================================== */
.content-section {
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-card);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary-green);
}

.main-heading {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.5;
}

.description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-weight: 300;
}

/* ===================================
   FEATURES GRID
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    color: var(--primary-green);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-green-light);
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.5));
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===================================
   NOTIFY SECTION
   =================================== */
.notify-section {
    background: var(--bg-card);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.notify-heading {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.notify-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-wrapper {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.email-input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all var(--transition-base);
    outline: none;
}

.email-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 1);
}

.email-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.notify-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.notify-btn:hover::before {
    left: 100%;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.notify-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.notify-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ===================================
   SOCIAL SECTION
   =================================== */
.social-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.social-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    color: var(--primary-green);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ===================================
   TOAST NOTIFICATION
   =================================== */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: bottom var(--transition-base);
    font-weight: 500;
}

.toast.show {
    bottom: 30px;
}

.toast-icon {
    width: 24px;
    height: 24px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.4));
    }

    50% {
        filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.7));
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .logo-wrapper {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .input-wrapper {
        flex-direction: column;
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 48px;
        height: 48px;
    }

    .notify-section {
        padding: var(--spacing-lg);
    }

    .social-links {
        gap: var(--spacing-sm);
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}