/* ====== Base Styles ====== */
:root {
    /* New dreamy color palette */
    --color-lavender: #d0c4e2;
    --color-light-lavender: #e7e0f4;
    --color-misty-blue: #a8c2d2;
    --color-pale-blue: #cde1ea;
    --color-soft-peach: #f5e0d1;
    --color-pale-rose: #f2d5d5;
    --color-white: #ffffff;
    --color-off-white: #f9f7fe;
    
    /* Text colors */
    --text-dark: #3c3559;
    --text-medium: #6c6489;
    --text-light: #9490ad;
    
    /* Accents */
    --accent-lavender: #9776c7;
    --accent-blue: #7eabc7;
    --accent-peach: #e9b59f;
    
    /* Gradients */
    --gradient-lavender: linear-gradient(135deg, var(--color-lavender) 0%, var(--color-light-lavender) 100%);
    --gradient-blue: linear-gradient(135deg, var(--color-misty-blue) 0%, var(--color-pale-blue) 100%);
    --gradient-peach: linear-gradient(135deg, var(--color-soft-peach) 0%, var(--color-pale-rose) 100%);
    --gradient-primary: linear-gradient(135deg, var(--accent-lavender) 0%, var(--accent-blue) 80%);
    --gradient-text: linear-gradient(90deg, var(--accent-lavender), var(--accent-blue));
    
    /* Shadows */
    --shadow-soft: 0 8px 30px rgba(60, 53, 89, 0.08);
    --shadow-medium: 0 12px 40px rgba(60, 53, 89, 0.12);
    --shadow-accent: 0 8px 25px rgba(151, 118, 199, 0.15);
    
    /* Blur effects */
    --blur-light: rgba(255, 255, 255, 0.7);
    --blur-medium: rgba(255, 255, 255, 0.5);
    
    /* Borders and radiuses */
    --border-light: 1px solid rgba(216, 208, 236, 0.5);
    --border-medium: 1px solid rgba(216, 208, 236, 0.8);
    --radius-small: 12px;
    --radius-medium: 24px;
    --radius-large: 36px;
    --radius-full: 9999px;
    
    /* Font families */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-medium: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== Fluid Background Elements ====== */
.fluid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--color-lavender);
    animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -15%;
    right: -15%;
    width: 60vw;
    height: 60vw;
    background: var(--color-pale-blue);
    animation: float 25s ease-in-out infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 30vw;
    height: 30vw;
    background: var(--color-soft-peach);
    animation: float 18s ease-in-out infinite alternate;
}

.fluid-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40vh;
    background: linear-gradient(90deg, var(--color-light-lavender), var(--color-pale-blue), var(--color-soft-peach), var(--color-light-lavender));
    opacity: 0.3;
    filter: blur(40px);
    border-radius: 100% 100% 0 0;
    transform-origin: bottom center;
    animation: wave 20s linear infinite;
}

/* ====== Animations ====== */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(3%, 3%);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0) scale(1.2, 0.8);
    }
    50% {
        transform: translateX(-25%) scale(1.1, 0.9);
    }
    100% {
        transform: translateX(-50%) scale(1.2, 0.8);
    }
}

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

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

@keyframes breathe {
    0%, 100% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Additional fadeIn variations for tooltip */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes expandIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ====== Preloader ====== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-off-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container {
    text-align: center;
}

.breathing-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-lavender);
    margin: 0 auto 24px;
    animation: breathe 3s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(208, 196, 226, 0.6);
}

.loading-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-medium);
    letter-spacing: 1px;
}

/* ====== Particles ====== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ====== Navigation ====== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(249, 247, 254, 0.7);
    box-shadow: 0 4px 20px rgba(60, 53, 89, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-medium);
    padding-bottom: 0.25rem;
}

.nav-link:hover {
    color: var(--accent-lavender);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.highlight-link {
    color: var(--accent-lavender);
    font-weight: 600;
}

.menu-toggle {
    display: none; /* Hidden by default, shown only in mobile view */
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span, 
.menu-toggle span::before, 
.menu-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span::before {
    content: '';
    top: -7px;
}

.menu-toggle span::after {
    content: '';
    bottom: -7px;
}

/* ====== Hero Section ====== */
.hero {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

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

.subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    padding-left: 3rem;
}

.subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 2.5rem;
    height: 1px;
    background: var(--accent-lavender);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeIn 1.2s ease;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-lavender);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(151, 118, 199, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-lavender);
    border: 1px solid var(--accent-lavender);
}

.btn-secondary:hover {
    background: var(--accent-lavender);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-element {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.stone-1 {
    width: 55%;
    height: 70%;
    left: 10%;
    top: 15%;
    animation: float 15s infinite alternate ease-in-out;
    z-index: 1;
}

.stone-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.meditation-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    right: 10%;
    top: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-pulse {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gradient-lavender);
    opacity: 0.3;
    animation: pulse 4s infinite ease-in-out;
}

.circle-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-lavender);
    opacity: 0.4;
    animation: spin 20s infinite linear;
}

.circle-orbit::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-blue);
    right: 20px;
    top: 50%;
    box-shadow: 0 0 15px var(--accent-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    animation: pulse 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-lavender);
    border-bottom: 2px solid var(--accent-lavender);
    transform: rotate(45deg);
}

/* ====== Process Section ====== */
.process-section {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--color-off-white) 0%, rgba(231, 224, 244, 0.5) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--accent-lavender);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-lavender);
    margin: 1.5rem auto 0;
    border-radius: var(--radius-full);
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-medium);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    opacity: 0.8;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.2s);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50%;
    box-shadow: var(--shadow-accent);
    margin-top: 0.5rem;
}

.step-content {
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-lavender);
    color: var(--accent-lavender);
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    transition: var(--transition-medium);
}

.process-step:hover .step-icon {
    transform: rotateY(180deg);
    background: var(--accent-lavender);
    color: white;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.05rem;
}

.connection-line {
    position: absolute;
    left: 2.25rem;
    top: 6rem;
    width: 1px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--accent-lavender), var(--color-lavender));
    z-index: -1;
}

/* Process step animation delays */
.process-step[data-step="1"] {
    --animation-order: 1;
}
.process-step[data-step="2"] {
    --animation-order: 2;
}
.process-step[data-step="3"] {
    --animation-order: 3;
}

/* ====== Release Section ====== */
.release-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

.circle-1 {
    top: -15%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: var(--color-pale-blue);
    transform-origin: center;
    animation: float 20s infinite alternate ease-in-out;
}

.circle-2 {
    bottom: -20%;
    left: -10%;
    width: 45%;
    height: 55%;
    background: var(--color-lavender);
    transform-origin: center;
    animation: float 18s infinite alternate-reverse ease-in-out;
}

.release-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.release-container.centered {
    justify-content: center;
    text-align: center;
}

.release-content {
    flex: 1;
    max-width: 700px;
}

.release-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.release-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.input-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscribe-container {
    margin-top: 3rem;
    padding: 2.5rem 0;
    border-top: var(--border-light);
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-content {
    text-align: center;
    animation: fadeIn 1s ease;
}

.subscribe-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.subscribe-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--radius-full);
    border: var(--border-medium);
    font-family: var(--font-primary);
    font-size: 1.05rem;
    background: var(--color-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(151, 118, 199, 0.1);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-lavender);
    box-shadow: 0 0 20px rgba(151, 118, 199, 0.25);
}

.btn-subscribe {
    width: 100%;
    max-width: 300px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: var(--accent-lavender);
    color: white;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-accent);
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(151, 118, 199, 0.3);
    background: var(--accent-blue);
}

#troubleInput {
    width: 100%;
    height: 160px;
    padding: 1.5rem;
    border: var(--border-light);
    border-radius: var(--radius-medium);
    background: var(--color-white);
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 1.05rem;
    resize: none;
    transition: var(--transition-fast);
    margin-bottom: 1.5rem;
    -webkit-appearance: none;
    appearance: none;
}

/* Bookmark Button Styles */
.bookmark-btn {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin: 15px auto 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-full);
    background-color: #222;
    color: var(--color-white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.bookmark-btn:hover, .bookmark-btn:focus {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.bookmark-btn:focus {
    outline: 2px solid var(--accent-lavender);
    outline-offset: 2px;
}

.bookmark-btn:active {
    transform: translateY(0);
}

.bookmark-btn:hover::before {
    content: "Save this space for when you need calm again";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 34, 34, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-small);
    font-size: 0.85rem;
    white-space: nowrap;
    margin-bottom: 10px;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.3s forwards;
    z-index: 10;
}

.bookmark-btn:hover::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(34, 34, 34, 0.9) transparent transparent transparent;
    margin-bottom: 4px;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.3s forwards;
    z-index: 10;
}

.bookmark-msg {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 8px 0;
    min-height: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.bookmark-msg.show {
    opacity: 1;
}

#troubleInput:focus {
    outline: none;
    border-color: var(--accent-lavender);
    box-shadow: 0 0 0 3px rgba(151, 118, 199, 0.15);
}

#releaseBtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    font-size: 1.1rem;
    text-align: center;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.visual-element {
    flex: 1;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-feather {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 300px;
    background: url('https://images.unsplash.com/photo-1548588627-f978862b85e1?q=80&w=2070&auto=format&fit=crop') no-repeat center/cover;
    border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    box-shadow: var(--shadow-soft);
    animation: float 10s infinite ease-in-out;
}

/* ====== Testimonials Section ====== */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(231, 224, 244, 0.5) 0%, var(--color-off-white) 100%);
    position: relative;
}

.centered-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-medium);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.2s + 0.3s);
}

.testimonial-card:nth-child(1) {
    --animation-order: 1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    padding: 3.5rem;
}

.testimonial-card:nth-child(2) {
    --animation-order: 2;
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    padding: 3.5rem;
}

.testimonial-card:nth-child(3) {
    --animation-order: 3;
    border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    padding: 3.5rem;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.quote-mark {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-lavender);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-lavender);
    box-shadow: 0 0 0 4px rgba(151, 118, 199, 0.15);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-rating {
    color: var(--accent-peach);
    font-size: 0.9rem;
}

/* ====== Begin Section ====== */
.begin-section {
    padding: 8rem 0;
    background: var(--gradient-lavender);
    position: relative;
    overflow: hidden;
}

.begin-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.begin-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 35%;
    height: 35%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.begin-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.begin-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-large);
    padding: 5rem 3rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    animation: expandIn 0.8s ease;
}

.begin-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.begin-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.share-section-container {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-light-lavender) 0%, var(--color-pale-blue) 100%);
    text-align: center;
}

.share-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.share-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-section.centered {
    text-align: center;
}

.share-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.3rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
    background: var(--accent-lavender);
    box-shadow: var(--shadow-accent);
}

.footer-social .social-icon:nth-child(1):hover {
    background: #c13584; /* Instagram */
}

.footer-social .social-icon:nth-child(2):hover {
    background: #1da1f2; /* Twitter */
}

.footer-social .social-icon:nth-child(3):hover {
    background: #4267B2; /* Facebook */
}

.footer-social .social-icon:nth-child(4):hover {
    background: #FF0000; /* YouTube */
}

.footer-social .social-icon:nth-child(5):hover {
    background: #E60023; /* Pinterest */
}

.share-section .social-icon:nth-child(1):hover {
    background: #25D366; /* WhatsApp */
}

.share-section .social-icon:nth-child(2):hover {
    background: #4267B2; /* Facebook */
}

.share-section .social-icon:nth-child(3):hover {
    background: #1da1f2; /* Twitter */
}

.share-section .social-icon:nth-child(4):hover {
    background: #E60023; /* Pinterest */
}

.share-section .social-icon:nth-child(5):hover {
    background: #0088cc; /* Telegram */
}

/* ====== Footer ====== */
.site-footer {
    padding: 5rem 0 2rem;
    background: var(--color-off-white);
    position: relative;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.tagline {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-medium);
    transition: var(--transition-fast);
    position: relative;
    padding-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--accent-lavender);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-lavender);
    transform: translateY(-50%);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-social p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: var(--border-light);
    text-align: center;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====== Modal ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 53, 89, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    backdrop-filter: blur(8px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    background: var(--color-white);
    border-radius: var(--radius-large);
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-medium);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-light-lavender);
    color: var(--accent-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1;
}

.close-btn:hover {
    background: var(--accent-lavender);
    color: white;
    transform: rotate(90deg);
}

.release-animation {
    text-align: center;
}

.release-message {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--accent-lavender);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-medium);
}

.animation-container {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-medium);
    background: var(--color-off-white);
}

.trouble-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-dark);
    font-size: 1.8rem;
    opacity: 0;
    transition: var(--transition-medium);
    text-align: center;
    width: 80%;
    font-weight: 500;
}

.particle-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Breathing Animation Styles */
.breathing-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    display: none;
}

.breathing-ball {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 50px rgba(151, 118, 199, 0.4);
}

.breathing-ball.inhale {
    transform: scale(1.5);
    transition: transform 4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.breathing-ball.hold {
    transform: scale(1.5);
    transition: transform 0.1s ease;
}

.breathing-ball.exhale {
    transform: scale(0.8);
    transition: transform 4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.breathing-ball.hold-small {
    transform: scale(0.8);
    transition: transform 0.1s ease;
}

.breathing-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.music-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
}

.music-toggle {
    background: var(--accent-lavender);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(151, 118, 199, 0.4);
}

.timer {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

/* ====== Responsive Styles ====== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-container, 
    .release-container {
        flex-direction: column;
    }
    
    .hero-visual {
        height: 400px;
        width: 100%;
    }
    
    .stone-1 {
        width: 70%;
        height: 70%;
        left: 15%;
    }
    
    .meditation-circle {
        right: 15%;
    }
    
    .process-step {
        padding-left: 3.5rem;
    }
    
    .step-number {
        position: absolute;
        left: 1rem;
        top: 1.5rem;
    }
}

/* Navigation styles for desktop view (> 768px) */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important; /* Always display nav links in desktop */
        position: static;
        background: transparent;
        box-shadow: none;
        width: auto;
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: none !important; /* Never show hamburger in desktop */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* Responsive bookmark button */
    .bookmark-btn {
        width: 90%;
        font-size: 0.95rem;
        padding: 10px 16px;
    }
    
    /* Responsive subscribe form */
    .subscribe-container {
        padding: 2rem 1rem;
    }
    
    .subscribe-content h3 {
        font-size: 1.6rem;
    }
    
    .email-input, .btn-subscribe {
        padding: 1rem;
    }
    
    /* Mobile Navigation Styles */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(249, 247, 254, 0.98); /* Slightly more opaque for better readability */
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(60, 53, 89, 0.1);
        z-index: 100;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0; /* Larger tap target area */
        font-size: 1.2rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span {
        background-color: transparent;
    }
    
    .menu-toggle.active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .menu-toggle.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
    
    .begin-content {
        padding: 3rem 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-links a {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .process-flow {
        gap: 2rem;
    }
    
    .connection-line {
        display: none;
    }
    
    /* Modal improvements for mobile */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 2.5rem 1.5rem;
        overflow-y: auto;
        max-height: 90vh;
    }
    
    .animation-container {
        height: 320px;
    }
    
    /* Breathing exercise improvements */
    .breathing-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .process-step {
        flex-direction: column;
        padding-left: 1.5rem;
        gap: 1rem;
    }
    
    .step-number {
        position: static;
        margin-bottom: 1rem;
    }
    
    .modal-content {
        padding: 2rem 1rem;
    }
    
    .release-message {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .breathing-ball {
        width: 130px;
        height: 130px;
    }
    
    .breathing-text {
        font-size: 1rem;
    }
    
    .music-controls {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .music-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .timer {
        font-size: 1.3rem;
        min-width: 35px;
    }
    
    .animation-container {
        height: 300px;
    }

    /* Improve trouble input area */
    #troubleInput {
        height: 130px;
        padding: 1rem;
        font-size: 16px;
        min-height: 100px;
    }
    
    #releaseBtn {
        padding: 1rem;
        font-size: 1rem;
        height: auto;
        min-height: 44px;
    }
}

/* Fix iOS specific issues */
@supports (-webkit-touch-callout: none) {
    .breathing-ball {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .animation-container {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix touch events on iOS */
    .music-toggle, .close-btn, .btn, .nav-link, .social-icon {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better input handling on iOS */
    #troubleInput {
        -webkit-appearance: none;
        appearance: none;
    }
    
    /* Prevent iOS zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
}