*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;font-family:Segoe UI,system-ui,-apple-system,sans-serif}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:500px;max-height:85vh;padding:20px;animation:.3s ease-out slideUp;position:relative;overflow-y:auto}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-close{cursor:pointer;color:#6b7280;background:#f3f4f6;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:18px;display:flex;position:absolute;top:16px;right:16px}.modal-close:hover{background:#e5e7eb}.modal-title{color:#1f2937;text-align:center;margin:0 0 16px;padding:0 30px;font-size:1px;font-weight:700}.modal-title a{color:#0891b2;text-decoration:none}.modal-title a:hover{text-decoration:underline}.customer-info{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border:1px solid #bae6fd;border-radius:12px;margin-bottom:16px;padding:14px 16px}.customer-info p{color:#0369a1;gap:8px;margin:6px 0;font-size:13px;display:flex}.customer-info strong{color:#0c4a6e;min-width:60px}.form-label{color:#374151;margin-bottom:10px;font-size:14px;font-weight:600;display:block}.radio-group{flex-direction:column;gap:8px;display:flex}.radio-group .radio-item{cursor:pointer;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:10px;flex-direction:row;align-items:center;gap:10px;width:100%;padding:12px 14px;transition:all .2s;display:flex}.radio-group .radio-item:hover{background:#ecfeff;border-color:#0891b2}.radio-group .radio-item input[type=radio]{accent-color:#0891b2;flex-shrink:0;width:16px;height:16px;padding:0}.radio-group .radio-item span{color:#374151;font-size:13px}.package-group{flex-direction:column;gap:10px;display:flex}.package-group .package-item{cursor:pointer;box-sizing:border-box;border:2px solid #e5e7eb;border-radius:14px;flex-direction:row;align-items:center;gap:12px;padding:14px;transition:all .2s;display:flex}.package-group .package-item:hover{border-color:#0891b2}.package-group .package-item.selected{background:#ecfeff;border-color:#0891b2}.package-group .package-item input[type=radio]{accent-color:#0891b2;flex-shrink:0;width:18px;height:18px;margin-top:0;padding:0}.package-content{flex:1}.package-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.package-content strong{color:#1f2937;font-size:14px}.package-price{color:#92400e;background:#fef3c7;border-radius:6px;padding:4px 10px;font-size:15px;font-weight:700}.package-content p{color:#6b7280;margin:0;font-size:12px;line-height:1.4}.package-promo{font-size:12px;font-weight:700;color:#b91c1c!important;margin-top:6px!important}.terms-section{border-top:1px solid #f0f0f0;margin-top:16px;padding-top:16px}.terms-box{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;margin-bottom:12px;padding:12px 14px}.terms-box h4{color:#92400e;margin:0 0 8px;font-size:13px;font-weight:700}.terms-box p{color:#78350f;margin:0 0 6px;font-size:12px;line-height:1.5}.terms-box p:last-child{margin-bottom:0}.terms-section .checkbox-item{cursor:pointer;flex-direction:row;align-items:center;gap:10px;padding:10px 0;display:flex}.terms-section .checkbox-item input[type=checkbox]{accent-color:#0891b2;flex-shrink:0;width:18px;height:18px;padding:0}.terms-section .checkbox-item span{color:#374151;font-size:13px;line-height:1.4}.btn-submit{color:#fff;cursor:pointer;text-transform:uppercase;background:#0891b2;border:none;border-radius:12px;width:100%;margin-top:12px;padding:14px;font-size:15px;font-weight:700;transition:background .2s}.btn-submit:hover:not(:disabled){background:#0e7490}.btn-submit:disabled{cursor:not-allowed;background:#9ca3af}.success-message{text-align:center;padding:30px 16px}.success-icon{margin-bottom:12px;font-size:40px;display:block}.success-message h3{color:#0891b2;margin:0 0 6px;font-size:18px}.success-message p{color:#6b7280;margin:0 0 12px;font-size:13px}.success-message .success-note{color:#0891b2;background:#ecfeff;border-radius:8px;margin:0 0 16px;padding:10px 14px;font-size:12px;line-height:1.5}.success-message .success-note a{color:#0e7490;font-weight:600;text-decoration:none}.success-message .success-note a:hover{text-decoration:underline}.btn-close-success{color:#fff;cursor:pointer;background:#334155;border:none;border-radius:10px;padding:12px 28px;font-size:14px;font-weight:600}.btn-close-success:hover{background:#475569}.activation-form{background:#fff;max-width:480px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.activation-header{text-align:center;margin-bottom:24px}.activation-logo{height:50px;margin-bottom:16px}.activation-header h1{color:#1f2937;margin:0 0 8px;font-size:24px}.activation-header .helmet-id{color:#6b7280;margin:0;font-size:14px}.activation-header .helmet-id strong{color:#0891b2}.form-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:16px;padding:20px}.form-section h2{color:#1f2937;border-bottom:1px solid #f0f0f0;margin:0 0 16px;padding-bottom:12px;font-size:16px}.form-group{margin-bottom:16px}.form-group:last-child{margin-bottom:0}.form-group label{color:#374151;margin-bottom:6px;font-size:14px;font-weight:500;display:block}.required{color:#dc2626}.optional-tag{color:#9ca3af;font-size:12px;font-weight:400}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:10px;width:100%;padding:12px 14px;font-size:15px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#0891b2;outline:none;box-shadow:0 0 0 3px #0891b21a}.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:#dc2626}.form-group textarea{resize:vertical;min-height:80px}.error-text{color:#dc2626;margin-top:4px;font-size:12px;display:block}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=400px){.form-row{grid-template-columns:1fr}}.agreements-section{margin-top:16px}.agreements-section .checkbox-item{cursor:pointer;background:#f9fafb;border:none;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:10px;padding:12px;transition:background .2s;display:flex}.agreements-section .checkbox-item:hover{background:#f3f4f6}.agreements-section .checkbox-item.error{background:#fef2f2}.agreements-section .checkbox-item.yellow{background:#fef9c3;border:none}.agreements-section .checkbox-item.yellow:hover{background:#fef08a}.agreements-section .checkbox-item.yellow span{color:#854d0e}.agreements-section .checkbox-item.yellow input{accent-color:#eab308}.agreements-section .checkbox-item input{accent-color:#0891b2;flex-shrink:0;width:18px;height:18px;margin-top:2px}.agreements-section .checkbox-item span{color:#374151;font-size:14px;line-height:1.4}.privacy-note{color:#6b7280;background:#ecfeff;border-radius:8px;margin:16px 0 0;padding:12px;font-size:12px;line-height:1.5}.btn-activate{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0891b2 0%,#0e7490 100%);border:none;border-radius:14px;width:100%;margin-top:8px;padding:16px;font-size:17px;font-weight:700;transition:transform .2s,box-shadow .2s}.btn-activate:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0891b24d}.btn-activate:disabled{cursor:not-allowed;background:#9ca3af;transform:none}@media (width<=480px){.activation-form,.form-section{padding:16px}.form-section h2{font-size:15px}}.emergency-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:24px;max-width:420px;margin:16px auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-shadow:0 4px 20px #00000014}@media (width<=480px){.emergency-card{border-radius:20px;margin:12px;padding:16px}}.header{border-bottom:1px solid #f0f0f0;margin-bottom:10px;padding:0 0 10px}.logo-section{justify-content:center;align-items:center;gap:20px;display:flex}.logo{align-items:center;display:flex}.logo-img{width:auto;height:40px}.address{text-align:left;font-size:13px}.address p{color:#333;margin:0}.phone-link{color:#16a34a;font-size:16px;font-weight:700;text-decoration:none}.emergency-banner{color:#fff;text-align:center;background:#dc2626;border-radius:8px;margin-bottom:6px;padding:8px 12px}.emergency-title{justify-content:center;align-items:center;gap:6px;margin-bottom:2px;display:flex}.emergency-icon{font-size:14px}.emergency-banner h1{letter-spacing:.3px;margin:0;font-size:14px;font-weight:700}.helmet-code{opacity:.95;margin:0;font-size:11px}.sos-status{color:#16a34a;text-align:center;background:#dcfce7;border-radius:6px;justify-content:center;align-items:center;gap:10px;margin-bottom:6px;padding:6px 10px;font-size:12px;font-weight:600;display:flex}.sos-icon{font-size:20px}.section-title{color:#6b7280;letter-spacing:.3px;margin:0 0 12px;font-size:13px;font-weight:500}.medical-info{margin-bottom:10px;padding:0}.owner-info label,.info-item label{color:#6b7280;align-items:center;gap:4px;margin-bottom:4px;font-size:12px;font-weight:500;display:flex}.health-warning label{color:#6b7280;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:500;display:flex}.blood-icon{font-size:14px}.owner-name{color:#1f2937;margin:0 0 14px;font-size:20px;font-weight:700}.info-row{gap:20px;margin-bottom:14px;display:flex}.info-item{flex:1}.blood-type{color:#dc2626;margin:0;font-size:28px;font-weight:700}.update-date{color:#1f2937;margin:0;font-size:16px;font-weight:600}.health-warning{border-top:1px solid #e5e7eb;padding-top:12px}.warning-text{color:#dc2626;margin:0;font-size:16px;font-weight:700}.emergency-contacts{margin-bottom:10px}.contact-card{background:#f9fafb;border-radius:10px;margin-bottom:8px;padding:0;overflow:hidden}.contact-link{color:inherit;justify-content:space-between;align-items:center;padding:10px 12px;text-decoration:none;transition:background .2s;display:flex}.contact-link:hover,.contact-link:active{background:#f9fafb}.contact-info{text-align:left}.contact-name{color:#1f2937;margin:0 0 2px;font-size:14px;font-weight:700}.contact-phone{color:#0d9488;font-size:13px;font-weight:600}.call-icon{color:#1f2937;background:#fbbf24;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.action-buttons{flex-direction:column;gap:8px;margin-top:12px;display:flex}.btn-emergency,.btn-service{text-transform:uppercase;cursor:pointer;box-sizing:border-box;border:none;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;padding:12px;font-size:14px;font-weight:700;text-decoration:none;transition:opacity .2s;display:flex}.btn-emergency{color:#fff;background:#334155}.btn-service{color:#0891b2;background:#e0f4ff;border:2px solid #67e8f9}.btn-emergency:hover,.btn-service:hover{opacity:.9}.footer{text-align:center;color:#9ca3af;margin-top:12px;padding:12px;font-size:11px}.footer p{margin:4px 0}.footer strong{color:#1f2937}.notice-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;align-items:flex-start;gap:10px;margin-top:16px;padding:14px 16px;display:flex}.notice-icon{flex-shrink:0;font-size:20px}.notice-box p{color:#1e40af;margin:0;font-size:13px;line-height:1.5}.notice-box strong{color:#1e3a8a}.emergency-card.loading,.emergency-card.error{color:#666;min-height:100vh;box-shadow:none;background:0 0;border:none;justify-content:center;align-items:center;font-size:18px;display:flex}.loading-spinner{border:4px solid #e5e7eb;border-top-color:#0891b2;border-radius:50%;width:44px;height:44px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.homepage{background:#fff;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.home-header{z-index:1000;background:#fff;justify-content:space-between;align-items:center;padding:12px 20px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 2px 10px #0000001a}.header-logo{width:auto;height:40px}.header-phone{color:#dc2626;align-items:center;gap:6px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.header-phone:hover{color:#b91c1c}.logo-container{align-items:center;display:flex}.hero-section{color:#fff;background:linear-gradient(135deg,#1a1a1a 0%,#374151 50%,#1f2937 100%);padding:90px 20px 48px;position:relative;overflow:hidden}.hero-section:before{content:"";pointer-events:none;background:radial-gradient(circle,#fbbf241a 0%,#0000 70%);width:100%;height:100%;position:absolute;top:-50%;right:-50%}.hero-badge{color:#fbbf24;background:#fbbf2426;border:1px solid #fbbf244d;border-radius:50px;margin-bottom:20px;padding:8px 16px;font-size:12px;font-weight:500;animation:.6s ease-out fadeInUp;display:inline-block}.hero-title{margin-bottom:16px;font-size:32px;font-weight:800;line-height:1.2;animation:.6s ease-out .1s both fadeInUp}.hero-title .highlight{color:#fbbf24;font-style:italic;position:relative}.hero-title .highlight:after{content:"";z-index:-1;background:#fbbf244d;border-radius:4px;height:8px;position:absolute;bottom:2px;left:0;right:0}.hero-desc{color:#d1d5db;margin-bottom:32px;font-size:15px;line-height:1.7;animation:.6s ease-out .2s both fadeInUp}.features-grid{grid-template-columns:1fr 1fr;gap:16px;animation:.6s ease-out .3s both fadeInUp;display:grid}.feature-item{text-align:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;align-items:center;gap:10px;padding:16px 12px;transition:all .3s;display:flex}.feature-item:hover{background:#ffffff1a;transform:translateY(-2px)}.feature-icon-wrapper{color:#fff;background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;display:flex;box-shadow:0 4px 15px #fbbf244d}.feature-icon-wrapper svg{width:26px;height:26px}.feature-icon-wrapper.blood{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);box-shadow:0 4px 15px #ef44444d}.feature-icon-wrapper.medical{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 15px #10b9814d}.feature-icon-wrapper.fast{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);box-shadow:0 4px 15px #3b82f64d}.feature-text{color:#e5e7eb;font-size:12px;font-weight:500}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.search-section{background:#fff;padding:40px 20px;position:relative}.section-title{color:#1a1a1a;text-align:center;margin-bottom:8px;font-size:22px;font-weight:700}.section-title .highlight{color:#f59e0b;background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.section-desc{color:#6b7280;justify-content:center;align-items:center;gap:8px;margin-bottom:24px;font-size:13px;display:flex}.section-desc .icon{font-size:16px}.search-form{flex-direction:column;gap:12px;display:flex}.search-input{color:#1a1a1a;background:#f9fafb;border:2px solid #e5e7eb;border-radius:16px;width:100%;padding:18px 20px;font-size:16px;transition:all .3s}.search-input:focus{background:#fff;border-color:#fbbf24;outline:none;box-shadow:0 0 0 4px #fbbf241a}.search-input::placeholder{color:#9ca3af}.search-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1a1a1a 0%,#374151 100%);border:none;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;padding:18px;font-size:16px;font-weight:600;transition:all .3s;display:flex;box-shadow:0 4px 15px #0003}.search-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000040}.search-btn:active{transform:translateY(0)}.search-note{color:#9ca3af;justify-content:center;align-items:center;gap:8px;margin-top:16px;font-size:12px;display:flex}.cta-section{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 50%,#fcd34d 100%);border-radius:24px 24px 0 0;margin-top:-12px;padding:40px 20px;position:relative;overflow:hidden}.cta-section:before{content:"";pointer-events:none;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");position:absolute;inset:0}.cta-title{color:#1a1a1a;text-align:center;margin-bottom:12px;font-size:20px;font-weight:700;position:relative}.cta-title .highlight{color:#d97706}.cta-desc{color:#78350f;text-align:center;margin-bottom:24px;font-size:14px;line-height:1.7;position:relative}.cta-icon{text-align:center;margin-bottom:24px;font-size:56px;animation:2s ease-in-out infinite bellRing;position:relative}@keyframes bellRing{0%,to{transform:rotate(0)scale(1)}10%{transform:rotate(-15deg)scale(1.1)}20%{transform:rotate(15deg)scale(1.1)}30%{transform:rotate(-10deg)scale(1.05)}40%{transform:rotate(10deg)scale(1.05)}50%{transform:rotate(0)scale(1)}}.subscribe-form{flex-direction:column;gap:12px;display:flex;position:relative}.email-input{color:#1a1a1a;background:#fff;border:2px solid #d977064d;border-radius:16px;width:100%;padding:18px 20px;font-size:16px;transition:all .3s}.email-input:focus{border-color:#d97706;outline:none;box-shadow:0 0 0 4px #d9770626}.subscribe-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:none;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;padding:18px;font-size:16px;font-weight:600;transition:all .3s;display:flex;box-shadow:0 4px 15px #f59e0b66}.subscribe-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b80}.subscribe-btn:active{transform:translateY(0)}.disclaimer-section{background:linear-gradient(135deg,#f3f4f6 0%,#e5e7eb 100%);border-top:1px solid #d1d5db;align-items:flex-start;gap:16px;padding:24px 20px;display:flex}.disclaimer-icon{background:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex;box-shadow:0 2px 8px #00000014}.disclaimer-text{color:#6b7280;font-size:12px;line-height:1.7}.disclaimer-text strong{color:#1a1a1a;font-weight:600}.home-footer{color:#fff;background:linear-gradient(135deg,#1a1a1a 0%,#374151 100%);justify-content:space-between;align-items:center;padding:24px 20px;display:flex}.footer-logo{align-items:center;display:flex}.footer-logo img{filter:brightness(1.1);width:auto;height:40px}.footer-contact{text-align:right}.footer-contact p{color:#d1d5db;justify-content:flex-end;align-items:center;gap:6px;margin:6px 0;font-size:12px;display:flex}.footer-contact p:first-child{color:#fbbf24;font-weight:600}.footer-contact span{font-size:14px}@media (width>=768px){.hero-title{font-size:36px}.features-grid{grid-template-columns:repeat(4,1fr)}.search-form{flex-direction:row}.search-input{flex:1}.search-btn{width:auto;padding:16px 32px}.subscribe-form{flex-direction:row}.email-input{flex:1}.subscribe-btn{white-space:nowrap;width:auto;padding:16px 24px}}
