@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #3b82f6;
    --dark: #1f2937;
    --light: #f9fafb;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-poppins: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-poppins);
    color: var(--dark);
    background-color: #f0f4f8;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Base Components */
.card-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08); /* Professional subtle outline */
    border-radius: 10px; /* Square but smooth */
    padding: 2.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px -10px rgba(0, 0, 0, 0.1); /* Thin professional shadow */
}

.card-premium:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 12px 25px -10px rgba(16, 185, 129, 0.15);
    border-color: var(--primary);
}

.btn-primary-glass {
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5);
}

.btn-primary-glass:hover {
    background: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.6);
}

/* Section Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 1.5rem 0; /* Let inner container handle side padding */
}

.nav-glass.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Hero Section Enhancement */
.hero-gradient {
    background: radial-gradient(circle at top right, #e1fcf2 0%, #f0f9ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}
/* Step Flow Section */
.step-item {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid var(--primary);
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px; /* More modern than circle */
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-item:hover .step-number {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.4);
}

.step-connector {
    position: absolute;
    top: 35px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(to right, #cbd5e1 0, #cbd5e1 10px, transparent 10px, transparent 20px);
    z-index: -1;
    opacity: 0.5;
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 20px; /* Smooth card look */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.fab-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.fab-chat {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Responsive Refinements */
@media (max-width: 768px) {
    .nav-glass {
        padding: 0.75rem 0;
    }
    
    .nav-glass.scrolled {
        padding: 0.5rem 0;
    }

    .step-connector {
        display: none;
    }
    
    .hero-gradient {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .card-premium {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        border-width: 2px;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Animations */
@keyframes pulse-emerald {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-pulse-primary {
    animation: pulse-emerald 2s infinite;
}
