* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #ab47bc;
    --light-purple: #f3e5f5;
    --warm-white: #fefefe;
    --soft-gray: #f8f4ff;
    --text-dark: #2d1b69;
    --text-medium: #4a148c;
    --text-light: #7b1fa2;
    --border-light: #e1bee7;
    --shadow-light: 0 1px 3px rgba(74, 20, 140, 0.1);
    --shadow-medium: 0 4px 6px rgba(74, 20, 140, 0.15);
    --shadow-large: 0 10px 25px rgba(74, 20, 140, 0.2);
    --crisis-red: #e53e3e;
    --crisis-bg: #fce4ec;
    --warning-orange: #ff6f00;
    --info-blue: #1565c0;
    --success-green: #2e7d32;
    --gold-accent: #ffd700;
    --mystical-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sacred-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hero {
    background: var(--mystical-gradient);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="star" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.8"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="30" r="1" fill="url(%23star)"/><circle cx="80" cy="20" r="1.5" fill="url(%23star)"/><circle cx="60" cy="70" r="1" fill="url(%23star)"/><circle cx="30" cy="80" r="1.2" fill="url(%23star)"/><circle cx="90" cy="60" r="0.8" fill="url(%23star)"/></svg>') repeat;
    opacity: 0.3;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--soft-gray);
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--accent-color);
}

.insight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.insight-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.deep-truth {
    background: var(--light-purple);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold-accent);
    position: relative;
    overflow: hidden;
}

.deep-truth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sacred-gradient);
    opacity: 0.1;
}

.deep-truth strong {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.myth-busters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.myth-busters h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.myth-buster {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 8px;
}

.myth {
    font-weight: 600;
    color: var(--crisis-red);
    margin-bottom: 0.5rem;
}

.reality {
    font-weight: 600;
    color: var(--success-green);
}

.healing-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.phase {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.phase h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1rem 0;
}

.phase p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.phase-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool {
    background: var(--light-purple);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
}

.healing-truths {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.healing-truths h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.truth-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-purple);
    border-radius: 8px;
    border-left: 4px solid var(--gold-accent);
    position: relative;
    overflow: hidden;
}

.truth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mystical-gradient);
    opacity: 0.05;
}

.truth-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.truth-card p {
    color: var(--text-medium);
}

.growth-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    color: var(--text-medium);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.growth-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.growth-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border-top: 4px solid var(--accent-color);
}

.growth-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.growth-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.growth-practice {
    background: var(--light-purple);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    border: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.growth-practice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sacred-gradient);
    opacity: 0.08;
}

.growth-practice strong {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.wisdom-quotes {
    background: var(--mystical-gradient);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wisdom-quotes::before {
    content: '✨';
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    top: 1rem;
    right: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.wisdom-quotes h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: white;
}

.wisdom-quotes blockquote {
    font-size: 1.125rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 0 2rem;
    border-left: 3px solid var(--gold-accent);
    text-align: left;
    position: relative;
    z-index: 1;
}

.resource-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.resource-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.resource-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.resource-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.resource-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.resource-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.daily-practices {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.daily-practices h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.practice-item {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.practice-time {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.practice-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.practice-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.crisis-section {
    background: var(--crisis-bg);
}

.crisis-warning {
    background: var(--crisis-red);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-medium);
}

.crisis-warning p {
    font-size: 1.125rem;
    font-weight: 600;
}

.crisis-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.crisis-resource {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.crisis-resource.urgent {
    border: 3px solid var(--crisis-red);
    background: var(--warm-white);
}

.crisis-resource h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--crisis-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 8px;
}

.contact-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-medium);
    font-weight: 500;
}

.crisis-plan {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 3rem;
}

.crisis-plan h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.plan-template {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.plan-section {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
}

.plan-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan-section ul {
    list-style: none;
    padding-left: 0;
}

.plan-section li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.plan-section li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.hope-message {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-large);
}

.hope-message h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: white;
}

.hope-message p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hope-message strong {
    font-size: 1.25rem;
    display: block;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-medium);
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .insight-grid,
    .healing-phases,
    .growth-areas,
    .resource-categories {
        grid-template-columns: 1fr;
    }

    .practice-grid,
    .plan-template {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .section {
        padding: 60px 0;
    }

    .insight-card,
    .phase,
    .growth-card,
    .resource-category {
        padding: 1.5rem;
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --warm-white: #1a202c;
        --soft-gray: #2d3748;
        --text-dark: #f7fafc;
        --text-medium: #e2e8f0;
        --text-light: #a0aec0;
        --border-light: #4a5568;
    }
    
    .insight-card,
    .phase,
    .growth-card,
    .resource-category,
    .healing-truths,
    .daily-practices,
    .crisis-plan {
        background: #2d3748;
        color: #f7fafc;
    }
    
    .navbar {
        background: rgba(26, 32, 44, 0.95);
    }
}
