/* Perfect Day Page Specific Styles */

.perfect-hero {
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.3) 0%, rgba(0, 192, 255, 0.2) 50%, transparent 70%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.perfect-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 215, 0, 0.1) 20px,
        rgba(255, 215, 0, 0.1) 40px
    );
    animation: perfect-flow 20s linear infinite;
}

@keyframes perfect-flow {
    to {
        transform: translate(40px, 40px);
    }
}

.perfect-state-indicator {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.state-bar {
    width: 150px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.state-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    animation: fill-bar 3s ease-out forwards;
}

.state-bar.confidence::after {
    background: #00ff64;
    animation-delay: 0.5s;
}

.state-bar.creativity::after {
    background: var(--accent-color);
    animation-delay: 1s;
}

.state-bar.connection::after {
    background: #ffd700;
    animation-delay: 1.5s;
}

@keyframes fill-bar {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Perfect Intro */
.perfect-intro {
    background: rgba(255, 215, 0, 0.05);
}

.state-definition {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
    border: 2px solid #ffd700;
}

.state-definition h3 {
    font-size: 32px;
    color: #ffd700;
    margin-bottom: 25px;
}

.state-definition ul {
    list-style: none;
    padding: 0;
}

.state-definition li {
    padding: 15px 0;
    font-size: 20px;
    position: relative;
    padding-left: 30px;
}

.state-definition li::before {
    content: '✨';
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* State Components - Three Pillars */
.state-components {
    padding: 100px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pillar {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateY(-10px);
}

.pillar.confidence {
    border: 2px solid #00ff64;
}

.pillar.confidence:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 100, 0.4);
}

.pillar.creativity {
    border: 2px solid var(--accent-color);
}

.pillar.creativity:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 204, 0.4);
}

.pillar.connection {
    border: 2px solid #ffd700;
}

.pillar.connection:hover {
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

.pillar-icon {
    font-size: 80px;
    margin-bottom: 30px;
    display: block;
}

.pillar h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.pillar.confidence h3 {
    color: #00ff64;
}

.pillar.creativity h3 {
    color: var(--accent-color);
}

.pillar.connection h3 {
    color: #ffd700;
}

.pillar p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.state-examples {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
}

.state-examples h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.state-examples ul {
    list-style: none;
    padding: 0;
}

.state-examples li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Trigger Protocol */
.trigger-protocol {
    background: rgba(0, 192, 255, 0.03);
}

.protocol-steps {
    margin: 60px 0;
}

.protocol-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.protocol-step:hover {
    transform: translateX(10px);
    box-shadow: -10px 10px 30px rgba(0, 192, 255, 0.3);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.protocol-step h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.protocol-step p {
    font-size: 18px;
    line-height: 1.8;
}

.warning-box {
    background: rgba(255, 100, 100, 0.1);
    border: 2px solid rgba(255, 100, 100, 0.5);
    padding: 40px;
    border-radius: 16px;
    margin-top: 60px;
}

.warning-box h3 {
    color: #ff6464;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Case Studies */
.case-studies {
    padding: 100px 0;
}

.case-study {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.case-study h3 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.case-context,
.case-result,
.case-insight {
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
}

.case-content h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 20px;
}

.case-content p {
    font-size: 16px;
    line-height: 1.8;
}

/* State Indicators */
.state-indicators {
    background: rgba(128, 0, 255, 0.05);
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.indicator {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
}

.indicator.positive {
    border: 2px solid #00ff64;
}

.indicator.negative {
    border: 2px solid #ff6464;
}

.indicator h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.indicator.positive h3 {
    color: #00ff64;
}

.indicator.negative h3 {
    color: #ff6464;
}

.indicator ul {
    list-style: none;
    padding: 0;
}

.indicator li {
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.indicator li:last-child {
    border-bottom: none;
}

/* Philosophy Section */
.philosophy {
    padding: 100px 0;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-quote {
    background: var(--card-bg);
    border-left: 4px solid #ffd700;
    padding: 50px;
    margin-bottom: 60px;
    border-radius: 8px;
}

.philosophy-quote p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.8;
}

.philosophy-principles {
    margin-top: 60px;
}

.philosophy-principles h3 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.principle {
    background: rgba(0, 192, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 192, 255, 0.2);
}

.principle h4 {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.principle p {
    font-size: 18px;
    line-height: 1.6;
}

/* Perfect Future */
.perfect-future {
    background: radial-gradient(circle at center, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
}

.future-intro {
    font-size: 24px;
    text-align: center;
    margin-bottom: 60px;
}

.future-possibilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.possibility {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    transition: all 0.3s ease;
}

.possibility:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.3);
}

.possibility h3 {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.possibility p {
    font-size: 18px;
    color: var(--text-secondary);
}

.closing-thought {
    background: var(--card-bg);
    border: 2px solid #ffd700;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.closing-thought h3 {
    font-size: 36px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.closing-thought p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.closing-thought p:last-child {
    font-weight: 700;
    color: #ffd700;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .case-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .protocol-step {
        flex-direction: column;
        text-align: center;
    }
    
    .indicators-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .future-possibilities {
        grid-template-columns: 1fr;
    }
}