@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.monitor-container {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.monitor {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transform: perspective(1000px) rotateX(5deg);
}

.screen {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 40px;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
}

.nav-btnVote {
    background: linear-gradient(135deg, #fa004b, #5457fa);
    color: white;
    border: none;
    padding: 20px 75px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.nav-btnVote:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
}

.login-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.problems-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(100px);
}

.section-card.active {
    opacity: 1;
    transform: translateX(0);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-icon {
    margin-bottom: 20px;
}

.problem-illustration,
.solution-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.person-icon,
.computer-icon,
.gear-icon,
.lightbulb-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

.gear-icon {
    animation: rotate 3s linear infinite;
}

.warning-signs,
.check-marks {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sign,
.check {
    font-size: 20px;
    animation: pulse 1.5s infinite;
}

.check {
    animation: checkPop 2s infinite;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.problem-item:nth-child(1) { animation-delay: 0.1s; }
.problem-item:nth-child(2) { animation-delay: 0.2s; }
.problem-item:nth-child(3) { animation-delay: 0.3s; }
.problem-item:nth-child(4) { animation-delay: 0.4s; }
.problem-item:nth-child(5) { animation-delay: 0.5s; }
.problem-item:nth-child(6) { animation-delay: 0.6s; }

.problem-bubble {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.problem-item:hover .problem-bubble::before {
    left: 100%;
}

.problem-item:hover .problem-bubble {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.problem-item.selected .problem-bubble {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.section-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.solution-btn,
.back-btn {
    background: linear-gradient(135deg, #ffa726, #fb8c00);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.solution-btn::before,
.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.solution-btn:hover::before,
.back-btn:hover::before {
    left: 100%;
}

.solution-btn:hover,
.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
}

.solutions-section {
    display: none;
}

.solutions-section.active {
    display: block;
}

.solution-content {
    text-align: left;
}

.solution-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #667eea;
    text-align: center;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.solution-highlight p {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.solution-text {
    margin-bottom: 40px;
}

.solution-text p {
    color: #7f8c8d;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
}

.solution-text strong {
    color: #2c3e50;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tip-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 3px solid #667eea;
    animation: tipSlideIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.tip-card:nth-child(1) { animation-delay: 0.1s; }
.tip-card:nth-child(2) { animation-delay: 0.2s; }
.tip-card:nth-child(3) { animation-delay: 0.3s; }
.tip-card:nth-child(4) { animation-delay: 0.4s; }

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tip-icon {
    font-size: 36px;
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
}

.tip-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tip-card p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.monitor-stand {
    width: 120px;
    height: 80px;
    background: linear-gradient(145deg, #bdc3c7, #95a5a6);
    margin: -10px auto 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.monitor-base {
    width: 200px;
    height: 20px;
    background: linear-gradient(145deg, #95a5a6, #7f8c8d);
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: 20%;
    left: 10%;
    animation-delay: -3s;
}

.floating-elements::after {
    top: 60%;
    right: 15%;
    animation-delay: -1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(5deg) translateY(50px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(5deg) translateY(0);
    }
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes checkPop {
    0%, 80%, 100% { opacity: 0.7; transform: scale(1); }
    40% { opacity: 1; transform: scale(1.3); }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tipSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .screen {
        padding: 30px 20px;
    }
    
    .monitor {
        transform: none;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-btn, .login-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .section-card {
        padding: 25px 20px;
    }
    
    .problem-illustration,
    .solution-illustration {
        flex-direction: column;
        gap: 10px;
    }
}