/* 
   Waiting Spring - Premium Design System 
   Focus: High-end, Dynamic, Trust-first
*/

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

:root {
    /* Brand Palette */
    --color-primary: #2E7D5B;          /* Forest Green */
    --color-primary-hover: #225C43;
    --color-primary-glow: rgba(46, 125, 91, 0.4);
    --color-accent-sage: #ECFDF5;      /* Light Sage */
    --color-accent-gold: #F59E0B;      /* Warm Gold for importance */
    
    /* Neutral Palette */
    --color-text-dark: #111827;
    --color-text-muted: #6B7280;
    --color-bg-light: #F9FAFB;
    --color-white: #FFFFFF;
    
    /* Surfaces */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(46, 125, 91, 0.1);
    --glass-blur: 16px;
    
    /* Spacing & Borders */
    --radius-premium: 24px;
    --radius-button: 12px;
    --shadow-premium: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* 1. Dynamic Background System */
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #F9FAFB;
    overflow-x: hidden;
}

.premium-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: 
        radial-gradient(circle at 0% 0%, rgba(46, 125, 91, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(220, 239, 228, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(46, 125, 91, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(220, 239, 228, 0.3) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Enhanced Mesh Animation */
.mesh-gradient {
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(46, 125, 91, 0.15) 0%, transparent 40%);
    animation: rotateMesh 25s linear infinite;
    filter: blur(60px);
}

@keyframes rotateMesh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Ensure sections are transparent to show the background */
section, .site-header, .site-footer {
    background: transparent !important;
}

/* Add glass effect to header */
.site-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 125, 91, 0.05) !important;
}

/* 2. Glassmorphism Containers */
.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-premium);
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(46, 125, 91, 0.2);
}

/* 3. Typography Hierarchy */
h1, h2, .h1-style {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* 4. Advanced Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-button);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--color-primary-glow);
    border: none;
    cursor: pointer;
}

.btn-premium:hover {
    background: var(--color-primary-hover);
    transform: scale(1.02);
    box-shadow: 0 8px 20px var(--color-primary-glow);
}

.btn-premium:active {
    transform: scale(0.98);
}

/* 5. Utility Styles */
.entrance-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
