:root {
    --color-bg-light: #e0f2f1; /* very soft teal */
    --color-bg-dark: #b2dfdb;
    --color-orb-1: rgba(128, 203, 196, 0.6);
    --color-orb-2: rgba(178, 223, 219, 0.5);
    --color-orb-3: rgba(165, 214, 167, 0.4);
    
    --color-text-main: #263238;
    --color-text-muted: #546e7a;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Lora', serif;
    
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Background Animated Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    transition: background 10s ease-in-out;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: var(--color-orb-1);
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: var(--color-orb-2);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 40vw;
    height: 40vw;
    background: var(--color-orb-3);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 10vh) scale(1.1); }
}

/* Glassmorphism Utilities */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Typography */
h1, h2, h3 {
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #1a2a30;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    text-align: center;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    z-index: 1000;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    color: var(--color-text-main);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

/* Main Layout */
main {
    padding-top: 180px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    gap: 60px;
}

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

.hero-content p {
    margin-bottom: 40px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-mask {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    /* Organic bubble shape using clip-path fallback to border-radius for smoother edges */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    position: relative;
    /* smooth breath animation */
    animation: breathing 10s infinite alternate ease-in-out;
    box-shadow: var(--glass-shadow);
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* subtle slow zoom inward */
    animation: gentleMap 20s infinite alternate ease-in-out;
}

@keyframes breathing {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1); }
    100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%; transform: scale(1.02); }
}

@keyframes gentleMap {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Features */
.features {
    padding: 100px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    padding: 40px;
    border-radius: 30px;
    text-align: left;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.float-hover {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.float-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Quote Section */
.quote-section {
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    margin: 60px 0 120px;
}

.quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 24px;
    font-style: italic;
}

.author {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
footer {
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.glassmorphism-footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Animations & Interactivity */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

/* Daily Flow */
.daily-flow {
    padding: 80px 0;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 32px;
}

.step-time {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-main);
    width: 120px;
    text-align: right;
}

.step-content {
    flex: 1;
    padding: 32px;
    border-radius: 24px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Community Stories */
.community-stories {
    padding: 100px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.story-card {
    padding: 40px;
    border-radius: 30px;
}

.story-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    margin: 60px 0 60px;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.glass-input {
    flex: 1;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-main);
    outline: none;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.glass-input::placeholder {
    color: var(--color-text-muted);
}

/* Mobile Reponsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar {
        width: 85%;
        padding: 12px 24px;
        position: fixed;
    }

    main {
        padding-top: 140px;
    }
    
    .flow-step {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .step-time {
        text-align: left;
        width: auto;
    }
    
    .cta-form {
        flex-direction: column;
    }
}
