* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    padding: 15px;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.main-header {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.button-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mega-button {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 16px;
    padding: 35px 30px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.mega-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.06);
}

.mega-button .icon {
    font-size: 2rem;
}

.mega-button.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.mega-button.primary:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
    transform: translateY(-3px);
}

.mega-button.secondary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.mega-button.secondary:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

/* iPad specific optimizations */
@media (min-width: 768px) {
    .button-grid {
        flex-direction: row;
        justify-content: center;
    }
    
    .mega-button {
        flex: 1;
        max-width: 350px;
    }
    
    .main-header h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .mega-button {
        min-height: 140px;
        padding: 60px 40px;
    }
}

.problems-header {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-2px);
}

.problems-header h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
    margin-top: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.problems-header p {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.problems-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.04);
}

.problem-title {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    gap: 16px;
    min-height: 80px;
}

.problem-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.problem-text {
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.expand-icon {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 300;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.problem-card.open .expand-icon {
    transform: rotate(45deg);
    color: #10b981;
}

.solution {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.1);
}

.problem-card.open .solution {
    max-height: 1500px;
    padding: 0 28px 28px 28px;
}

.step {
    margin-bottom: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border-left: 3px solid #10b981;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.06);
}

.step h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.step p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    font-weight: 400;
}

.step ul {
    margin-top: 10px;
    padding-left: 20px;
}

.step li {
    font-size: 1.1rem;
    color: #b0bec5;
    margin-bottom: 5px;
}

.help-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-text {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 20px;
    font-weight: 400;
}

.help-button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.help-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.sticky-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sticky-whatsapp:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* iPad optimizations */
@media (min-width: 768px) {
    .container {
        max-width: 900px;
    }
    
    .button-grid {
        flex-direction: row;
        gap: 20px;
    }
    
    .mega-button {
        flex: 1;
        max-width: 400px;
    }
    
    .main-header h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .problems-header h1 {
        font-size: 2.4rem;
    }
    
    .problem-title {
        font-size: 1.2rem;
        padding: 28px 32px;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .mega-button {
        min-height: 110px;
        padding: 40px 30px;
    }
    
    .problem-title {
        padding: 28px;
        min-height: 90px;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}



