/* ============================================
   BLOOMLY - Teen Mental Health Website
   Modern 2025 Design with Glassmorphism
   ============================================ */

/* ========== CSS Variables & Design Tokens ========== */
:root {
    /* Brand Colors */
    --color-blue: #5FA8FF;
    --color-pink: #FF78B9;
    --color-lilac: #C8A7FF;
    --color-glass: rgba(255, 255, 255, 0.3);
    --color-glass-strong: rgba(255, 255, 255, 0.5);
    --color-glass-border: rgba(255, 255, 255, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF78B9 0%, #C8A7FF 50%, #5FA8FF 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 120, 185, 0.1) 0%, rgba(200, 167, 255, 0.1) 50%, rgba(95, 168, 255, 0.1) 100%);
    --gradient-hero: linear-gradient(135deg, #FF78B9 0%, #C8A7FF 30%, #5FA8FF 70%, #C8A7FF 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 120, 185, 0.15) 0%, rgba(95, 168, 255, 0.15) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    --space-4xl: 8rem;    /* 128px */
    
    /* Typography Scale */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 2rem;      /* 32px */
    --text-4xl: 2.5rem;    /* 40px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    --text-7xl: 4.5rem;   /* 72px */
    
    /* Shadows & Effects */
    --shadow-soft: 0 4px 20px rgba(255, 120, 185, 0.15);
    --shadow-glow: 0 0 30px rgba(95, 168, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-button: 0 4px 15px rgba(255, 120, 185, 0.4);
    
    /* Border Radius */
    --radius-sm: 0.75rem;   /* 12px */
    --radius-md: 1rem;      /* 16px */
    --radius-lg: 1.5rem;    /* 24px */
    --radius-xl: 2rem;      /* 32px */
    --radius-2xl: 2.5rem;   /* 40px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 1200px;
    --section-padding-y: var(--space-4xl);
    --section-padding-y-mobile: var(--space-2xl);
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: #2D2D2D;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FF 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1A1A1A;
}

h1 {
    font-size: var(--text-6xl);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--text-5xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

h4 {
    font-size: var(--text-2xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    color: #4A4A4A;
}

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

a:hover {
    color: var(--color-pink);
}

/* ========== Container & Layout ========== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 120, 185, 0.1);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.85);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    font-size: var(--text-base);
    font-weight: 500;
    color: #4A4A4A;
    transition: all var(--transition-fast);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a:hover {
    color: var(--color-pink);
}

.nav-links a.active {
    color: var(--color-blue);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.mobile-menu-toggle {
    display: none;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-blue);
    transition: all var(--transition-base);
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: var(--color-glass-strong);
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 167, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: var(--space-lg);
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatShape 15s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-primary);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 120, 185, 0.5);
    color: #FFFFFF;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-blue);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    color: var(--color-pink);
}

/* ========== Glassmorphic Cards ========== */
.glass-card {
    background: #FFFFFF !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 120, 185, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
    z-index: 5;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    background: var(--color-glass-strong);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: #FFFFFF;
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-soft);
}

.glass-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-2xl);
    color: #000000 !important;
    opacity: 1 !important;
    font-weight: 700;
}

.glass-card p {
    color: #000000 !important;
    margin-bottom: 0;
    line-height: 1.7;
    opacity: 1 !important;
    font-weight: 600;
}

/* ========== Grid System ========== */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ========== Feature Section ========== */
.features {
    background: var(--gradient-soft);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

/* ========== Section Headers ========== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #000000 !important; /* Fallback for browsers that don't support background-clip */
    font-weight: 800;
    font-size: var(--text-4xl);
    opacity: 1 !important;
}

.section-header p {
    font-size: var(--text-lg);
    color: #000000 !important;
    line-height: 1.8;
    opacity: 1 !important;
    font-weight: 600;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(180deg, #1A1A1A 0%, #0F0F0F 100%);
    color: #FFFFFF;
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: var(--space-md);
    font-size: var(--text-lg);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

/* ========== Blog Styles ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.blog-card {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-glass-border);
    transition: all var(--transition-base);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: var(--text-5xl);
    position: relative;
    overflow: hidden;
}

.blog-card-content {
    padding: var(--space-xl);
}

.blog-card-date {
    font-size: var(--text-sm);
    color: var(--color-blue);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.blog-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--text-xl);
    color: #1A1A1A;
}

.blog-card p {
    color: #4A4A4A;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.blog-card-link {
    color: var(--color-pink);
    font-weight: 600;
    font-size: var(--text-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

.blog-card-link:hover {
    gap: var(--space-sm);
    color: var(--color-blue);
}

/* ========== Blog Article Page ========== */
.article-header {
    background: var(--gradient-hero);
    padding: calc(var(--space-4xl) + 80px) var(--space-lg) var(--space-4xl);
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.article-header h1 {
    color: #FFFFFF;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-base);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
}

.article-content h2,
.article-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article-content p {
    font-size: var(--text-lg);
    line-height: 1.9;
    color: #4A4A4A;
    margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
    color: #4A4A4A;
    line-height: 1.9;
}

.article-content li {
    margin-bottom: var(--space-sm);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-blue);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    transition: all var(--transition-fast);
}

.back-button:hover {
    gap: var(--space-sm);
    color: var(--color-pink);
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Force My Story panel to be visible */
.my-story-panel.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-y: var(--section-padding-y-mobile);
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.75rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Mobile menu backdrop overlay - using body pseudo-element approach */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        pointer-events: none;
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: var(--space-md);
        right: var(--space-md);
        background: var(--color-glass);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-sm);
        border-radius: var(--radius-xl);
        box-shadow: 
            0 8px 32px rgba(255, 120, 185, 0.2),
            0 0 0 1px var(--color-glass-border),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        border: 1px solid var(--color-glass-border);
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .nav-links a {
        display: block;
        padding: var(--space-md) var(--space-lg);
        border-radius: var(--radius-md);
        font-size: var(--text-lg);
        font-weight: 600;
        color: #2D2D2D;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav-links a:hover {
        color: #FFFFFF;
        transform: translateX(8px) scale(1.02);
        box-shadow: 
            0 4px 20px rgba(255, 120, 185, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    
    .nav-links a:hover::before {
        left: 0;
        opacity: 1;
    }
    
    .nav-links a.active {
        color: #FFFFFF;
        background: var(--gradient-primary);
        box-shadow: 
            0 4px 20px rgba(255, 120, 185, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.3);
    }
    
    .nav-links a.active::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure menu is accessible on very small screens */
    @media (max-width: 360px) {
        .nav-links {
            left: var(--space-sm);
            right: var(--space-sm);
            padding: var(--space-lg) var(--space-md);
        }
        
        .nav-links a {
            padding: var(--space-sm) var(--space-md);
            font-size: var(--text-base);
        }
    }
    
    .hero {
        min-height: 90vh;
        padding: var(--space-2xl) var(--space-md);
    }
    
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    .hero p {
        font-size: var(--text-lg);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ========== My Story Section Styles ========== */
.my-story-section {
    position: relative;
}

.my-story-panel {
    position: relative;
    z-index: 100 !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.my-story-panel p {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.my-story-panel:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 80px rgba(255, 255, 255, 0.3) !important;
}

.my-story-heading {
    animation: fadeInDown 0.8s ease-out;
}

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

@keyframes floatButterfly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translate(-15px, -20px) rotate(-5deg) scale(0.9);
    }
    75% {
        transform: translate(10px, -40px) rotate(3deg) scale(1.05);
    }
}

/* Vignette effect for My Story section - REMOVED to prevent visibility issues */
.my-story-section::after {
    display: none;
}

@media (max-width: 768px) {
    .my-story-panel {
        padding: var(--space-xl) !important;
    }
    
    .my-story-heading {
        font-size: var(--text-4xl) !important;
    }
    
    .my-story-panel p {
        font-size: var(--text-lg) !important;
        line-height: 1.8 !important;
    }
    
    .floating-butterfly {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
    }
    
    .glass-card {
        padding: var(--space-lg);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-sm);
    }
    
    .logo-text {
        font-size: var(--text-xl);
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .my-story-panel {
        padding: var(--space-lg) !important;
    }
    
    .my-story-heading {
        font-size: var(--text-3xl) !important;
    }
    
    .my-story-panel p {
        font-size: var(--text-base) !important;
        line-height: 1.7 !important;
    }
}
