:root{--upbit-blue:#093687;--upbit-light-blue:#3b68b5;--upbit-grey:#f5f6fa;--upbit-dark-grey:#616878;--upbit-white:#ffffff;--success-green:#28a745;--error-red:#dc3545;--warning-yellow:#ffc107}

/* Replace universal selector with specific elements for better performance */
html, body, div, span, h1, h2, h3, h4, p, a, img, ul, li, form, label, input, button, select, textarea {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue',Arial,sans-serif;
}

body{color:#333;line-height:1.6}

/* Fix padding/width box model issues */
.container{
  max-width:1160px; /* Adjusted to account for padding */
  margin:0 auto;
  padding:0 20px;
  box-sizing: content-box;
}

/* Add fallback colors to all CSS var uses */
.btn{
  display:inline-block;
  background-color:#093687;
  background-color:var(--upbit-blue);
  color:#ffffff;
  color:var(--upbit-white);
  padding:12px 30px;
  border-radius:4px;
  text-decoration:none;
  font-weight:600;
  transition:background-color .3s;
  border:none;
  cursor:pointer;
}

.btn:hover{
  background-color:#3b68b5;
  background-color:var(--upbit-light-blue);
}

.btn:disabled{
  background-color:#616878;
  background-color:var(--upbit-dark-grey);
  cursor:not-allowed;
}

.btn-secondary{background-color:var(--upbit-white);color:var(--upbit-blue);border:2px solid var(--upbit-blue)}.btn-secondary:hover{background-color:var(--upbit-grey);color:var(--upbit-blue)}h1,h2,h3,h4{color:var(--upbit-blue);margin-bottom:20px}section{padding:80px 0}header{background-color:var(--upbit-white);box-shadow:0 2px 8px rgba(0,0,0,.1);position:fixed;width:100%;z-index:1000;height:80px}.header-container{display:flex;justify-content:space-between;align-items:center;height:100%}.logo{height:auto;width:175px}nav ul{display:flex;list-style:none}nav ul li{margin-left:30px}nav ul li a{text-decoration:none;color:var(--upbit-dark-grey);font-weight:500;transition:color .3s}nav ul li a:hover{color:var(--upbit-blue)}.language-selector{display:flex;align-items:center;margin-left:20px}.language-selector select{border:1px solid var(--upbit-grey);padding:5px;border-radius:4px}.hero{background:linear-gradient(135deg,#093687 0%,#3b68b5 100%);color:var(--upbit-white);padding:150px 0 100px;text-align:center}.hero h1{font-size:3rem;margin-bottom:20px;color:var(--upbit-white)}.hero p{font-size:1.2rem;max-width:800px;margin:0 auto 40px}.hero-buttons{display:flex;justify-content:center;gap:20px}.benefits{background-color:var(--upbit-white);text-align:center}.benefits h2{font-size:2.5rem;margin-bottom:50px}.benefits-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px}.benefit-card{background-color:var(--upbit-grey);border-radius:8px;padding:30px;transition:transform .3s,box-shadow .3s}.benefit-card:hover{transform:translateY(-10px);box-shadow:0 10px 20px rgba(0,0,0,.1)}.benefit-icon{font-size:3rem;margin-bottom:20px;color:var(--upbit-blue)}.benefit-card h3{font-size:1.5rem;margin-bottom:15px}.process{background-color:var(--upbit-grey);text-align:center}.process h2{font-size:2.5rem;margin-bottom:50px}.process-steps{display:flex;justify-content:space-between;max-width:1000px;margin:0 auto;position:relative}.process-steps::before{content:'';position:absolute;top:50px;left:0;width:100%;height:4px;background-color:var(--upbit-blue);z-index:1}.step{position:relative;z-index:2;width:20%}.step-number{width:50px;height:50px;background-color:var(--upbit-blue);color:var(--upbit-white);border-radius:50%;display:flex;justify-content:center;align-items:center;margin:0 auto 20px;font-weight:700;font-size:1.2rem}.step-title{font-weight:700;margin-bottom:10px}.requirements{background-color:var(--upbit-white)}.requirements h2{font-size:2.5rem;text-align:center;margin-bottom:50px}.requirements-tabs{display:flex;justify-content:center;margin-bottom:30px}.tab-button{padding:10px 20px;margin:0 10px;background-color:var(--upbit-grey);border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .3s}.tab-button.active{background-color:var(--upbit-blue);color:var(--upbit-white)}.tab-content{max-width:800px;margin:0 auto;padding:30px;border-radius:8px;box-shadow:0 5px 15px rgba(0,0,0,.1)}.tab-panel{display:none}.tab-panel.active{display:block}.requirement-item{display:flex;align-items:flex-start;margin-bottom:15px}.requirement-icon{color:var(--upbit-blue);margin-right:15px;font-size:1.2rem}.form-section{background-color:var(--upbit-grey);padding:80px 0}.form-section h2{font-size:2.5rem;text-align:center;margin-bottom:50px}.form-container{max-width:800px;margin:0 auto;background-color:var(--upbit-white);border-radius:8px;padding:40px;box-shadow:0 5px 15px rgba(0,0,0,.1)}.form-group{margin-bottom:25px;position:relative}.form-group label{display:block;margin-bottom:8px;font-weight:500}.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color .3s,box-shadow .3s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--upbit-blue);box-shadow:0 0 0 2px rgba(9,54,135,.2)}.form-group input.error,.form-group textarea.error,.form-group select.error{border-color:var(--error-red)}.form-group input.success,.form-group textarea.success,.form-group select.success{border-color:var(--success-green)}.form-group .error-message{color:var(--error-red);font-size:.85rem;margin-top:5px;display:none}.form-group .error-message.show{display:block}.form-group .help-text{color:var(--upbit-dark-grey);font-size:.85rem;margin-top:5px}.form-group textarea{height:150px;resize:vertical}.form-group .validation-icon{position:absolute;right:10px;top:43px;font-size:1.2rem;display:none}.form-group .success-icon{color:var(--success-green)}.form-group .error-icon{color:var(--error-red)}.form-section .btn{margin-top:20px;padding:15px 40px;font-size:1.1rem;display:block;width:100%}.form-progress{height:6px;width:100%;background-color:var(--upbit-grey);margin-bottom:30px;border-radius:3px;overflow:hidden}.form-progress-bar{height:100%;width:0;background-color:var(--upbit-blue);transition:width .3s ease}.form-section-title{border-bottom:1px solid var(--upbit-grey);padding-bottom:15px;margin-bottom:30px;font-size:1.5rem}.file-upload{position:relative;overflow:hidden;margin-top:10px}.file-upload .file-select{display:block;border:2px solid var(--upbit-grey);color:var(--upbit-dark-grey);cursor:pointer;height:50px;line-height:46px;text-align:left;background:var(--upbit-white);overflow:hidden;position:relative;padding-left:15px;border-radius:4px}.file-upload .file-select .file-select-button{background:var(--upbit-grey);padding:0 20px;display:inline-block;height:46px;line-height:46px;color:var(--upbit-dark-grey);margin-right:15px}.file-upload .file-select-name{display:inline-block;color:var(--upbit-dark-grey)}.file-upload.active .file-select{border-color:var(--upbit-blue);color:var(--upbit-dark-grey)}.file-upload.active .file-select .file-select-button{background:var(--upbit-blue);color:var(--upbit-white)}.file-upload input[type=file]{position:absolute;left:0;top:0;opacity:0;width:100%;height:100%;cursor:pointer;box-sizing:border-box}.form-captcha{margin:30px 0;display:flex;justify-content:center}.form-terms{margin:20px 0}.form-terms label{display:flex;align-items:center;cursor:pointer}.form-terms input[type="checkbox"]{margin-right:10px;width:auto}.response-message{padding:20px;border-radius:6px;margin-bottom:30px;display:none}.success-message{background-color:rgba(40,167,69,.1);border:1px solid var(--success-green);color:var(--success-green)}.error-message{background-color:rgba(220,53,69,.1);border:1px solid var(--error-red);color:var(--error-red)}.warning-message{background-color:rgba(255,193,7,.1);border:1px solid var(--warning-yellow);color:#856404}.loading-indicator{display:none;text-align:center;padding:30px 0}.spinner{width:40px;height:40px;margin:0 auto 20px;border:4px solid rgba(9,54,135,.2);border-top:4px solid var(--upbit-blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}footer{background-color:var(--upbit-blue);color:var(--upbit-white);padding:60px 0 30px}.footer-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px}.footer-section h3{color:var(--upbit-white);margin-bottom:20px;font-size:1.2rem}.footer-section ul{list-style:none}.footer-section ul li{margin-bottom:10px}.footer-section ul li a{color:#ccc;text-decoration:none;transition:color .3s}.footer-section ul li a:hover{color:var(--upbit-white)}.copyright{text-align:center;padding-top:50px;color:#ccc;font-size:.9rem}.tooltip{position:relative;display:inline-block;margin-left:5px;cursor:help}.tooltip-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;background-color:var(--upbit-dark-grey);color:var(--upbit-white);border-radius:50%;font-size:10px;font-weight:700}.tooltip-text{visibility:hidden;width:250px;background-color:var(--upbit-dark-grey);color:var(--upbit-white);text-align:center;border-radius:6px;padding:10px;position:absolute;z-index:1;bottom:125%;left:50%;transform:translateX(-50%);opacity:0;transition:opacity .3s;font-size:.85rem;font-weight:400}.tooltip-text::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--upbit-dark-grey) transparent transparent transparent}.tooltip:hover .tooltip-text{visibility:visible;opacity:1}@media (max-width:768px){.header-container{flex-direction:column;padding:15px}nav ul{flex-direction:column;margin-top:20px}nav ul li{margin:10px 0}.hero h1{font-size:2rem}.process-steps{flex-direction:column;align-items:center}.process-steps::before{display:none}.step{width:100%;margin-bottom:40px}.step-number{margin-bottom:10px}.benefits-container{grid-template-columns:1fr}.requirements-tabs{flex-wrap:wrap}.tab-button{margin:5px}.form-container{padding:20px}.hero-buttons{flex-direction:column}}

/* Custom mobile fixes */
img, svg {
  max-width: 100%;
  height: auto;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
}
.hero + section {
  /* offset sections below the fixed hero/header */
  padding-top: 80px;
}

/* Fix border/width combo issues */
.file-upload input[type=file] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%; 
  height: 100%;
  cursor: pointer;
  box-sizing: border-box;
}

/* Fix tooltip border color declaration */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #616878 transparent transparent transparent;
  border-color: var(--upbit-dark-grey) transparent transparent transparent;
}

/* Override error border for launch date and contract address fields to show success-green */
#launch-date.error, #contract-address.error {
    border-color: var(--success-green) !important;
} 