:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#root{width:100%;min-height:100vh}.timeline-animation-section{margin-bottom:40px}.timeline-animation-wrapper{width:100%}.timeline-animation-container{position:relative;background:#f8f9ff;border-radius:20px;padding:40px 30px;min-height:180px;display:flex;flex-direction:column;justify-content:center}.timeline-phase-display{animation:fadeIn .6s ease-out}.timeline-phase-header{display:flex;align-items:center;gap:15px;margin-bottom:20px}.timeline-phase-time{font-size:28px;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;min-width:90px}.timeline-phase-indicator{width:12px;height:12px;background:#667eea;border-radius:50%;position:relative;animation:pulse 2s ease-out infinite}@keyframes pulse{0%{box-shadow:0 0 #667eeab3}70%{box-shadow:0 0 0 20px #667eea00}to{box-shadow:0 0 #667eea00}}.timeline-phase-content{margin-left:0}.timeline-phase-text{font-size:18px;line-height:1.6;color:#333;margin:0;animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.timeline-dots{display:flex;gap:10px;justify-content:center;margin-top:30px}.timeline-dot{width:10px;height:10px;background:#e8e8ff;border-radius:50%;transition:all .3s ease}.timeline-dot.active{width:30px;background:#667eea;border-radius:5px}.timeline-dot.completed{background:#667eea;opacity:.5}.timeline-progress-bar{width:100%;height:4px;background:#e8e8ff;border-radius:2px;overflow:hidden;margin-top:20px}.timeline-progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);width:0;transform-origin:left}.timeline-replay-btn{margin-top:20px;margin-left:auto;margin-right:auto;display:block;padding:12px 28px;background:#f0f0ff;color:#667eea;border:none;border-radius:25px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease}.timeline-replay-btn:hover{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 5px 15px #667eea4d}@media (max-width: 480px){.timeline-phase-time{font-size:24px;min-width:70px}.timeline-phase-text{font-size:16px}.timeline-animation-container{padding:30px 20px;min-height:150px}}.main-navigation{background:#fffffff2;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);box-shadow:0 1px #0000000d;position:fixed;top:0;left:0;right:0;z-index:1000;transition:all .3s ease;animation:slideDown .5s ease-out}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.nav-container{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;min-height:70px}.nav-left{display:flex;flex-direction:column;gap:.25rem}.nav-logo{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-decoration:none;transition:opacity .3s ease;line-height:1.2}.nav-logo:hover{opacity:.8}.nav-tagline{font-size:.875rem;color:#666;margin:0;opacity:.8}.nav-menu{display:flex;gap:2rem;align-items:center;margin-left:auto;margin-right:2rem}.nav-link{color:#666;text-decoration:none;font-weight:500;font-size:1rem;padding:.5rem 0;position:relative;transition:color .3s ease}.nav-link:hover,.nav-link.active{color:#667eea}.nav-link.active:after{content:"";position:absolute;bottom:-5px;left:0;right:0;height:2px;background:#667eea}.nav-language-selector{display:flex;gap:8px}.nav-language-selector .lang-button{padding:8px 16px;border:1px solid #e0e0e0;background:#fff;color:#666;border-radius:20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease}.nav-language-selector .lang-button:hover{background:#f8f9ff;border-color:#667eea;color:#667eea}.nav-language-selector .lang-button.active{background:#667eea;color:#fff;border-color:#667eea}@media (max-width: 768px){.nav-container{padding:0 1rem}.nav-logo{font-size:1.2rem}.nav-menu{gap:1rem}.nav-link{font-size:.9rem}.nav-language-selector{gap:4px}.nav-language-selector .lang-button{padding:6px 12px;font-size:12px}}@media (max-width: 480px){.nav-container{flex-direction:column;gap:1rem;padding:1rem}.nav-left{text-align:center;width:100%}.nav-tagline{font-size:.75rem}.nav-menu{margin:0;gap:1rem}.nav-language-selector{margin-top:.5rem}}.app-footer{background:#2d3748;color:#e2e8f0;padding:3rem 0 1rem;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem}.footer-section h4{color:#fff;font-size:1.2rem;margin-bottom:1rem}.footer-section p{color:#cbd5e0;line-height:1.6}.footer-section ul{list-style:none;padding:0}.footer-section ul li{margin-bottom:.5rem}.footer-section a{color:#cbd5e0;text-decoration:none;transition:color .3s ease}.footer-section a:hover{color:#667eea}.footer-bottom{text-align:center;padding:1.5rem 2rem 0;border-top:1px solid #4a5568;color:#a0aec0}@media (max-width: 768px){.footer-content{grid-template-columns:1fr;text-align:center}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333;padding-top:0;background-attachment:fixed}.app{min-height:100vh;display:flex;flex-direction:column;padding-top:70px}.container{width:100%;max-width:480px;margin:1rem auto 2rem;flex:1}.header{display:none}.header h1{font-size:32px;font-weight:700;margin-bottom:10px}.header p{font-size:18px;opacity:.9}.tab-navigation{display:flex;justify-content:center;gap:12px;padding:6px;background:#fffffff2;border-radius:30px;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);width:fit-content;margin:20px auto 30px;box-shadow:0 4px 15px #00000014}.tab-button{padding:12px 28px;border:none;background:transparent;color:#666;font-size:1rem;font-weight:500;border-radius:24px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.tab-button:hover{color:#667eea;background:#667eea0d;transform:scale(1.02)}.tab-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;box-shadow:0 4px 15px #667eea4d;transform:scale(1)}.color-subtitle{font-size:1.1rem;color:#666;text-align:center;margin-bottom:1.5rem;line-height:1.6}.upload-section{animation:fadeIn .6s ease-out}.upload-card{background:#fff;border-radius:24px;padding:40px;box-shadow:0 20px 60px #00000026;position:relative;overflow:hidden}.upload-card:before{content:"";position:absolute;top:-100%;left:-100%;width:300%;height:300%;background:linear-gradient(45deg,transparent 30%,rgba(102,126,234,.05) 50%,transparent 70%);animation:shimmer 3s infinite}@keyframes shimmer{0%{transform:translate(-100%) translateY(-100%) rotate(45deg)}to{transform:translate(100%) translateY(100%) rotate(45deg)}}.upload-area{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 40px;border:2px dashed #e0e0e0;border-radius:20px;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;background:linear-gradient(135deg,#667eea05,#764ba205)}.upload-area:hover{border-color:#667eea;background:linear-gradient(135deg,#667eea0d,#764ba20d);transform:translateY(-2px);box-shadow:0 8px 20px #667eea1a}.upload-icon{font-size:56px;margin-bottom:24px;animation:float 3s ease-in-out infinite;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1))}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.upload-text{font-size:20px;font-weight:600;color:#333;margin-bottom:10px;letter-spacing:.3px}.upload-subtext{font-size:15px;color:#777;letter-spacing:.2px}.preview-container{text-align:center;transition:opacity .3s ease}.preview-image{max-width:100%;max-height:300px;border-radius:15px;margin-bottom:20px;transition:transform .3s ease,opacity .3s ease}.preview-area{text-align:center;transition:opacity .3s ease}.preview-area img{max-width:100%;max-height:300px;border-radius:15px;margin-bottom:20px;transition:transform .3s ease,opacity .3s ease}.change-photo-btn{background:#f0f0f0;border:none;padding:10px 20px;border-radius:20px;font-size:14px;cursor:pointer;transition:background .3s}.change-photo-btn:hover{background:#e0e0e0}.analyze-button{width:100%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px 32px;border-radius:30px;font-size:18px;font-weight:600;cursor:pointer;margin-top:24px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 4px 15px #667eea4d}.analyze-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#fff3;transform:translate(-50%,-50%);transition:width .6s,height .6s}.analyze-button:active:before{width:300px;height:300px}.analyze-button:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 8px 25px #667eea66}.loading-container{text-align:center;padding:40px}.loading-spinner{width:50px;height:50px;border:3px solid #f0f0f0;border-top:3px solid #667eea;border-radius:50%;margin:0 auto 20px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{font-size:16px;color:#667eea;animation:fadeInOut 2s ease-in-out}@keyframes fadeInOut{0%,to{opacity:.5}50%{opacity:1}}.error-message{color:#e53e3e;text-align:center;margin-top:20px;padding:10px;background:#fee;border-radius:8px}.result-section{animation:slideUp .6s ease-out;position:relative}.floating-insights-btn{position:fixed;bottom:30px;right:30px;background:#fff;color:#667eea;text-decoration:none;padding:12px 20px;border-radius:30px;box-shadow:0 4px 20px #00000026;display:flex;align-items:center;gap:8px;transition:all .3s ease;z-index:100;animation:floatIn .6s ease-out 1s both}@keyframes floatIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.floating-insights-btn:hover{transform:translateY(-3px);box-shadow:0 6px 25px #0003;background:#667eea;color:#fff}.floating-icon{font-size:20px}.floating-text{font-weight:600;font-size:14px}.result-photo-section{text-align:center;margin-bottom:2rem;transition:opacity .3s ease,transform .3s ease}.result-photo{width:150px;height:150px;object-fit:cover;border-radius:50%;border:5px solid #fff;transition:transform .3s ease;box-shadow:0 5px 20px #0000001a}.analysis-basis-button{margin-top:.5rem;background:none;border:1px solid #e0e0e0;color:#666;padding:.3rem .8rem;border-radius:20px;font-size:.85rem;cursor:pointer;transition:all .2s ease}.analysis-basis-button:hover{background:#f0f0f0;border-color:#999;color:#333}.analysis-basis-box{margin-top:1rem;padding:1rem;background:#f9f9f9;border-left:3px solid #4285f4;border-radius:5px;animation:slideDown .3s ease}.analysis-basis-box p{margin:0;color:#555;font-size:.9rem;line-height:1.6}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.superpower-section{margin:2rem 0;padding:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;text-align:center;color:#fff;box-shadow:0 5px 20px #667eea4d}.superpower-title{font-size:1rem;font-weight:500;margin-bottom:1rem;opacity:.9}.superpower-name{font-size:1.8rem;font-weight:700;margin-bottom:.8rem;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.superpower-description{font-size:.95rem;line-height:1.6;opacity:.95;max-width:400px;margin:0 auto}.share-image-preview{margin:2rem 0;padding:1rem;background:#f8f9fa;border-radius:10px;text-align:center}.share-preview-title{font-size:.9rem;color:#666;margin-bottom:1rem}.share-image-preview img{max-width:100%;max-height:300px;border-radius:8px;box-shadow:0 2px 10px #0000001a}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.result-card{background:#fff;border-radius:20px;padding:30px;box-shadow:0 10px 30px #0003}.archetype-header{text-align:center;margin-bottom:30px;padding:20px;background:linear-gradient(135deg,#f8f9ff,#fff);border-radius:15px}.archetype-badge{display:inline-block;font-size:24px;font-weight:700;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);padding:12px 30px;border-radius:30px;margin-bottom:15px;box-shadow:0 5px 15px #667eea4d;animation:bounceIn .6s ease-out}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{transform:scale(1.05)}70%{transform:scale(.9)}to{opacity:1;transform:scale(1)}}.archetype-name{font-size:28px;font-weight:700;color:#667eea;margin-bottom:10px}.archetype-rarity{font-size:16px;color:#666;line-height:1.5}.section-title{font-size:20px;font-weight:600;margin-bottom:20px;color:#333}.timeline-section{margin-bottom:40px;padding:25px;background:#f8f9ff;border-radius:15px}.timeline-items{space-y:15px}.timeline-item{display:flex;align-items:center;margin-bottom:15px;padding:10px;background:#fff;border-radius:10px;animation:fadeInLeft .6s ease-out}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.timeline-time{font-size:14px;font-weight:600;color:#667eea;margin-right:15px;min-width:50px}.timeline-text{font-size:16px;color:#333;flex:1}.metrics-section{margin-bottom:40px;padding:25px;background:#fafbff;border-radius:15px}.metrics-grid{display:grid;gap:20px}.metric-item{margin-bottom:15px}.metric-label{font-size:14px;font-weight:600;color:#555;margin-bottom:8px}.metric-bar-container{display:flex;align-items:center;gap:10px}.metric-bar{flex:1;height:8px;background:#e8e8ff;border-radius:10px;overflow:hidden;position:relative}.metric-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:10px;transition:width 1.5s ease-out;animation:fillBar 1.5s ease-out;animation-fill-mode:both}.metric-value{font-size:14px;font-weight:700;color:#667eea;min-width:40px;text-align:right}.first-noticed-section{margin-bottom:35px}.noticed-items{display:grid;gap:15px}.noticed-item{display:flex;align-items:center;gap:12px;padding:15px;background:#f8f9ff;border-radius:12px;border-left:3px solid #667eea;animation:slideInLeft .6s ease-out;animation-fill-mode:both}.noticed-item:nth-child(1){animation-delay:.1s}.noticed-item:nth-child(2){animation-delay:.2s}.noticed-item:nth-child(3){animation-delay:.3s}@keyframes slideInLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.noticed-icon{font-size:20px}.noticed-text{font-size:15px;color:#333;line-height:1.5}.personal-narrative{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:15px;text-align:center;margin-bottom:35px;box-shadow:0 10px 25px #667eea4d;animation:fadeInScale .8s ease-out}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.narrative-text{font-size:18px;line-height:1.8;font-weight:500}.hidden-qualities-section{margin-bottom:35px}.quality-cards{display:grid;gap:15px}.quality-card{position:relative;padding:20px;background:#fafbff;border-radius:12px;border:1px solid #e8e8ff;animation:fadeInUp .6s ease-out;animation-fill-mode:both}.quality-card:nth-child(1){animation-delay:.1s}.quality-card:nth-child(2){animation-delay:.2s}.quality-card:nth-child(3){animation-delay:.3s}.quality-quote{position:absolute;top:10px;left:15px;font-size:40px;color:#667eea;opacity:.2;font-family:Georgia,serif}.quality-text{font-size:16px;color:#333;line-height:1.6;font-style:italic;margin-left:20px}.vibe-keywords{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:30px}.vibe-tag{display:inline-block;padding:8px 20px;background:#f0f0ff;color:#667eea;border-radius:20px;font-size:14px;font-weight:600;animation:popIn .5s ease-out;animation-fill-mode:both}.vibe-tag:nth-child(1){animation-delay:.1s}.vibe-tag:nth-child(2){animation-delay:.2s}.vibe-tag:nth-child(3){animation-delay:.3s}@keyframes popIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.action-buttons{display:flex;gap:15px;margin-top:30px}.insights-cta{margin-top:2rem;padding:1.8rem;background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border-radius:16px;border:1px solid rgba(102,126,234,.1);box-shadow:0 2px 8px #0000000a}.insights-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.insights-icon{font-size:24px}.insights-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#333}.insights-text{color:#666;font-size:.95rem;line-height:1.6;margin:0 0 1rem}.insights-button{display:inline-block;color:#667eea;text-decoration:none;font-weight:600;font-size:.95rem;padding:10px 20px;background:#fff;border-radius:20px;border:1px solid rgba(102,126,234,.2);transition:all .3s ease}.insights-button:hover{background:#667eea;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.color-cta-section{margin-top:2rem;padding-top:2rem;border-top:1px solid #e0e0e0;text-align:center}.color-cta-button{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;border:none;padding:16px 32px;font-size:1.1rem;font-weight:600;border-radius:30px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #f093fb66}.color-cta-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f093fb80}.share-button,.retry-button{flex:1;padding:14px 24px;border:none;border-radius:25px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.share-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.retry-button{background:#f0f0f0;color:#333}.share-button:hover,.retry-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #0003}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width: 480px){.header h1{font-size:28px}.header p{font-size:16px}.language-selector{gap:5px}.lang-button{padding:6px 12px;font-size:12px}.upload-card,.result-card{padding:20px}.upload-area{padding:40px 20px}.action-buttons{flex-direction:column}.timeline-item{flex-direction:column;align-items:flex-start}.timeline-time{margin-bottom:5px}.floating-insights-btn{bottom:20px;right:20px;padding:10px 16px}.floating-text{display:none}}.engine-selector{display:flex;gap:10px;justify-content:center;margin-bottom:20px;margin-top:10px;border:1px solid #eee;border-radius:25px;padding:5px;background-color:#f8f9ff}.engine-button{flex:1;padding:10px 15px;border:none;background:transparent;color:#555;border-radius:20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.engine-button:hover{background:#fff;color:#333}.engine-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;box-shadow:0 4px 10px #667eea4d}.color-result-card{max-width:600px;margin:0 auto}.color-diagnosis-section{text-align:center;margin-bottom:3rem}.color-section-title{font-size:1.5rem;color:#333;margin-bottom:2rem}.mood-color-display{margin-bottom:2rem}.color-swatch{margin:0 auto 1rem;border-radius:50%;box-shadow:0 5px 20px #00000026}.color-swatch.large{width:120px;height:120px}.color-name{font-size:1.8rem;font-weight:700;color:#333;margin-bottom:.5rem}.personal-tone-badge{display:inline-block;background:#f5f5f5;padding:12px 24px;border-radius:30px;margin-top:1rem}.tone-label{color:#666;font-size:.9rem;margin-right:.5rem}.tone-value{font-weight:600;color:#333;font-size:1.1rem}.guide-section{margin-bottom:2.5rem;padding:1.5rem;background:#f9f9f9;border-radius:15px}.guide-title{font-size:1.2rem;color:#333;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.guide-icon{font-size:1.5rem}.guide-content{color:#555;line-height:1.8}.key-outfit{font-size:1.1rem;color:#333;margin-bottom:1.5rem;font-style:italic}.accent-colors{margin-bottom:1.5rem}.accent-label,.fabric-label,.makeup-label{display:inline-block;font-weight:600;color:#666;margin-bottom:.5rem;margin-right:.5rem}.color-chips{display:flex;gap:1rem;margin-top:.5rem;flex-wrap:wrap}.color-chip-container{text-align:center}.color-chip{width:60px;height:60px;border-radius:50%;box-shadow:0 2px 8px #0000001a;margin-bottom:.5rem}.color-chip-name{font-size:.85rem;color:#666}.fabric-recommendation{margin-top:1rem}.makeup-item{margin-bottom:1rem}.makeup-item:last-child{margin-bottom:0}.lifestyle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;margin-top:1rem}.lifestyle-item{text-align:center}.lifestyle-icon{font-size:2rem;display:block;margin-bottom:.5rem}.lifestyle-label{display:block;font-weight:600;color:#666;margin-bottom:.5rem;font-size:.9rem}.lifestyle-item p{font-size:.9rem;line-height:1.4;color:#555;margin:0}
