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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #f7fafc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    color: white;
    text-align: center;
    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 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #90cdf4;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-cta {
    margin-top: 40px;
}

.motivation-text {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

/* Progress Section */
.progress-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: #2d3748;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #48bb78, #38a169);
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.success-card.highlight {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fffbeb, #fef5e7);
}

.success-card.highlight::before {
    background: linear-gradient(90deg, #ffd700, #f6e05e);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.success-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.progress-line {
    margin: 20px 0;
}

.progress-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.from {
    color: #e53e3e;
    font-weight: 600;
}

.arrow {
    color: #4a5568;
    font-size: 1.2rem;
}

.to {
    color: #38a169;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #48bb78, #38a169);
    border-radius: 4px;
    animation: progressAnimation 2s ease-out;
}

@keyframes progressAnimation {
    from { width: 0%; }
}

.liver-values {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.liver-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
}

.value-name {
    font-weight: 600;
    color: #2d3748;
}

.value-progress {
    color: #38a169;
    font-weight: 500;
}

.score-comparison {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 20px 0;
    gap: 15px;
}

.score-before,
.score-after {
    text-align: center;
    flex: 1;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
}

.score-value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 10px;
}

.score-value.danger {
    background: #fed7d7;
    color: #c53030;
}

.score-value.success {
    background: #c6f6d5;
    color: #22543d;
}

.score-arrow {
    font-size: 1.5rem;
    color: #4a5568;
    font-weight: bold;
}

.success-desc {
    color: #4a5568;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
}

/* Charts Section */
.charts-section {
    padding: 100px 0;
    background: white;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.chart-card {
    background: #f7fafc;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.chart-header {
    margin-bottom: 20px;
}

.chart-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.chart-header p {
    color: #718096;
    font-size: 0.95rem;
}

.chart-image {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chart-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.chart-card:hover .chart-image img {
    transform: scale(1.02);
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #ffd700;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
}

.timeline-date {
    font-weight: 600;
    color: #ffd700;
    font-size: 1.1rem;
    min-width: 140px;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #f0f8ff;
}

.timeline-content p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.timeline-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.timeline-status.danger {
    background: #feb2b2;
    color: #742a2a;
}

.timeline-status.warning {
    background: #fbd38d;
    color: #744210;
}

.timeline-status.improving {
    background: #9ae6b4;
    color: #22543d;
}

.timeline-status.success {
    background: #68d391;
    color: #1a202c;
}

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

/* Motivation Section */
.motivation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}

.motivation-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.motivation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.motivation-card h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 25px;
    font-weight: 700;
}

.motivation-large {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 40px;
    font-weight: 400;
}

.motivation-quotes {
    margin: 40px 0;
}

.motivation-quotes blockquote {
    font-style: italic;
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 20px 0;
    position: relative;
    padding: 20px 30px;
    background: #f7fafc;
    border-left: 4px solid #667eea;
    border-radius: 10px;
}

.motivation-cta h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 30px;
    font-weight: 700;
}

.next-steps {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.next-steps li {
    padding: 15px 0;
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.3s ease;
}

.next-steps li:hover {
    color: #667eea;
}

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

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-motto {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffd700;
    margin-top: 15px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chart-card {
        padding: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .timeline-item::before {
        left: 20px !important;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin: 0 !important;
        text-align: left !important;
        margin-top: 10px;
        margin-left: 20px !important;
        width: calc(100% - 20px);
        position: relative;
        z-index: 3;
    }
    
    .timeline-date {
        min-width: auto;
        margin-bottom: 10px;
    }
    
    .motivation-card {
        padding: 40px 30px;
    }
    
    .score-comparison {
        flex-direction: column;
        gap: 10px;
    }
    
    .score-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .motivation-card h2 {
        font-size: 2rem;
    }
    
    .motivation-large {
        font-size: 1.1rem;
    }
    
    .motivation-card {
        padding: 30px 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.chart-image img {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Enhanced interactions */
.success-card,
.chart-card,
.timeline-item {
    will-change: transform;
}

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .motivation-section,
    .timeline-section {
        background: white !important;
        color: black !important;
    }
    
    .timeline-content {
        background: #f7fafc !important;
        color: black !important;
    }
}
