@charset "UTF-8";

/* ==========================================================================
   Positive Thinking Page Styles (Premium Design)
   ========================================================================== */

/* --- Variables --- */
:root {
  /* Core Palette - Warm & Optimistic */
  --pos-primary: #f59e0b;      /* Vivid Amber */
  --pos-secondary: #fffbeb;    /* Warm White */
  --pos-accent: #d97706;       /* Deep Orange */
  --pos-text: #475569;         /* Soft Slate */
  
  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(245, 158, 11, 0.15);
  
  /* Water Animation Tokens */
  --water-top: #7dd3fc;
  --water-bottom: #0ea5e9;
}

/* --- Base Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- Hero Section --- */
.page-hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

/* Decorative background circle */
.page-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-hero h2 {
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 2.5rem;
    color: var(--pos-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.page-hero .subtitle {
    font-size: 1.2rem;
    color: var(--pos-text);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* --- Premium Highlight Section (Glassmorphism & Gimmick) --- */
.highlight-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 235, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--glass-shadow), 
                0 0 0 1px rgba(245, 158, 11, 0.1) inset;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Keep for shimmer */
}

/* Shimmer Gimmick */
.highlight-section::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer-sweep 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shimmer-sweep {
    0% { transform: translate(-100%, -100%) rotate(30deg); }
    10% { transform: translate(100%, 100%) rotate(30deg); }
    100% { transform: translate(100%, 100%) rotate(30deg); }
}

.highlight-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(245, 158, 11, 0.25);
}

/* --- Premium Glass Visuals --- */
.glass-wrapper {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    position: relative;
}

.glass-container {
    width: 120px;
    height: 180px;
    margin: 0 auto 2rem;
    position: relative;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); /* Stronger shadow */
}

.glass {
    width: 100%;
    height: 100%;
    /* Reverted to White/Subtle as per user request */
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255,255,255,0.4);
    border-right: 1px solid rgba(255,255,255,0.4);
    border-top: none;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(105deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.8);
}

.glass::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    width: 8px;
    height: 70%;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.1));
    z-index: 10;
}

/* Interactive Feedback */
.feedback-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--pos-accent);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    white-space: nowrap;
}

.feedback-msg.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Confetti particles (simplified) */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--pos-primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

@keyframes pop {
    0% { transform: translate(0, 0) scale(0); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--water-bottom), var(--water-top));
    opacity: 0.8;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 0 20px var(--water-top) inset;
    animation: water-sway 4s ease-in-out infinite alternate;
}

.water::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    filter: blur(1px);
    animation: water-surface 2s ease-in-out infinite alternate;
}

@keyframes water-sway {
    0% { transform: skewY(0deg) scaleY(1); }
    50% { transform: skewY(1deg) scaleY(1.02); }
    100% { transform: skewY(-1deg) scaleY(1); }
}

@keyframes water-surface {
    0% { transform: scaleX(1); opacity: 0.8; }
    100% { transform: scaleX(1.05); opacity: 0.4; }
}

/* --- Interactive Choice Cards --- */
.choices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 650px;
    margin: 2rem auto 0;
}

@media (min-width: 768px) {
    .choices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.choice-card {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.choice-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.choice-card.highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border-color: var(--pos-primary);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.15);
}

.choice-card.highlight:hover {
    animation: pulse-glow 1.5s infinite;
}

.choice-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pos-accent);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
    font-size: 1rem;
}

/* Internal wrapper for horizontal alignment if needed, 
   but simplistic column stack with gap is clean for A/B buttons */

/* --- Dynamic Transformation Cards --- */
.transformation-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 6px solid #cbd5e1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.transformation-card:hover {
    border-left-color: var(--pos-primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.trans-before {
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trans-arrow {
    text-align: center;
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.4s ease, transform 0.4s ease;
}

.transformation-card:hover .trans-arrow {
    color: var(--pos-primary);
    transform: scale(1.2) rotate(360deg); /* Playful rotation */
}

.trans-after {
    color: #334155;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fffbeb;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px dashed var(--pos-primary);
}

/* --- 3 Steps List (Timeline Style) --- */
.three-steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    position: relative;
    margin-top: 3rem;
}

/* Connecting line */
.three-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.three-steps li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
    z-index: 1;
}

.three-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid var(--pos-primary);
    color: var(--pos-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px #fffbeb; /* Halo effect */
    transition: all 0.3s ease;
}

.three-steps li:hover::before {
    background: var(--pos-primary);
    color: white;
    transform: scale(1.1);
}

.step-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pos-accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Replacements for Inline Styles --- */

.mt-3rem { margin-top: 3rem; }
.mb-2rem { margin-bottom: 2rem; }
.my-2rem { margin-top: 2rem; margin-bottom: 2rem; }

.example-title {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.text-note {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: #475569; /* Added color for consistency */
}

/* Icons */
.icon-cloud { color: #94a3b8; }
.icon-sun { color: #f59e0b; }
.icon-basket { color: #94a3b8; }
.icon-house { color: #ef4444; }

.section-steps {
    margin-top: 3rem;
    background: #fffbeb;
    border-color: #f59e0b; /* inherited from highlight-section border if set, or needs specific override */
    border: 1px solid #f59e0b;
}

.steps-title {
    color: #d97706;
    text-align: center;
    margin-bottom: 2rem;
}

.choice-sub {
    font-size: 0.9rem;
    color: #d97706;
}

.text-summary {
    margin-top: 2rem;
}

/* Footer specific for this page if strictly needed, or general footer style */
.page-footer {
    text-align: center;
    padding: 2rem;
    background: #e2e8f0;
    color: #475569;
}

.sidebar-advice-text {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 640px) {
    .page-hero h2 {
        font-size: 1.8rem;
    }
    
    .highlight-section {
        padding: 1.5rem;
    }
    
    .transformation-card {
        padding: 1.5rem;
    }
}
