:root {
    --primary-color: #264526;
    --primary-light: #E6FFE6;
    --bg-color: #F7FEF7;
    --text-color: #414141;
    --text-light: #8F8F8F;
    --accent: #1B331B;
    --radius-heavy: 80px;
    --radius-soft: 20px;
}

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

body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   Splash Screen 
========================================= */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: var(--primary-color);
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.splash-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite ease-in-out;
}

.splash-image-logo {
    max-width: 250px;
    height: auto;
}

/* =========================================
   Main Layout 
========================================= */
.main-content {
    opacity: 0; /* Hidden until splash finishes */
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    min-height: 100vh;
    padding: 2rem 5%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header-image-logo {
    height: 48px; 
    width: auto;
    object-fit: contain;
}

/* =========================================
   Hero Section 
========================================= */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-top: 2rem;
    gap: 4rem;
    z-index: 2;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Glassmorphic Redirect Card with 3D */
.redirect-card {
    background: rgba(230, 255, 230, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2.5rem;
    border-radius: var(--radius-soft) var(--radius-heavy) var(--radius-soft) var(--radius-heavy);
    box-shadow: 0 30px 60px rgba(38, 69, 38, 0.08);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.redirect-card > * {
    transform: translateZ(50px);
}

.redirect-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: rgba(38, 69, 38, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(38, 69, 38, 0.15);
}

/* Image Wrapper with Signature Border Radius */
.hero-image-wrapper {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    border-radius: var(--radius-heavy) 0 var(--radius-heavy) 0;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(38, 69, 38, 0.15);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0); /* baseline for scaling */
}

.image-inner:hover .hero-image {
    transform: scale(1.05);
}

/* Glass Badge */
.glass-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateZ(80px); /* Extrude out of image */
    animation: float 4s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--primary-color);
}

/* =========================================
   Decorative Background Blobs 
========================================= */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
    animation: drift 15s infinite alternate ease-in-out;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #c3e6c3;
    bottom: -50px;
    left: -100px;
    animation: drift 20s infinite alternate-reverse ease-in-out;
}

/* =========================================
   Animations 
========================================= */

/* Fade/Slide Up */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes pulse {
    0% { opacity: 0.8; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.8; transform: scale(0.98); }
}

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

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* =========================================
   Responsive Design 
========================================= */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .redirect-card {
        text-align: left;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .image-inner {
        height: 400px;
        border-radius: var(--radius-heavy);
    }
    
    .glass-badge {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .splash-logo {
        font-size: 1.8rem;
    }
    
    .splash-wellness {
        letter-spacing: 5px;
    }
}
