body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
: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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}/* ================================
   HEADER BASE
================================ */
header {
    background-color: var(--upbit-white, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

/* ================================
   HEADER CONTAINER
================================ */
.header-container {
    display: flex;
    justify-content: center; /* center everything */
    align-items: center;
    gap: 40px;
    height: 80px;
        position: relative;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    width: 175px;
    height: auto;
}

/* ================================
   NAVIGATION (DESKTOP)
================================ */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--upbit-dark-grey, #333);
    font-weight: 500;
    transition: color .3s ease;
}

nav ul li a:hover {
    color: #093687;
}

/* ================================
   LANGUAGE SELECTOR
================================ */
.language-selector select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

/* ================================
   MOBILE NAV TOGGLE
================================ */
.nav-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #093687;
    position: absolute;
    right: 20px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {

    /* Show hamburger */
    .nav-toggle {
        display: block;
    }

    /* Stack header items */
    .header-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    /* Hide desktop nav */
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }

    /* Mobile nav active */
    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 18px;
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 10px 0;
    }

    .language-selector {
        margin-top: 10px;
    }
}





.hero {
  background: linear-gradient(135deg, #093687 0%, #3b68b5 100%);
  color: #ffffff;
  text-align: center;
  padding: 150px 0 100px;
;
} 

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color .3s, color .3s;
  cursor: pointer;
}

/* Primary button */
.primary-btn {
  background-color: #093687;
  color: #ffffff;
}

/* Secondary button */
.secondary-btn {
  background-color: #ffffff;
  color: #093687;
}

/* Hover effects */
.primary-btn:hover {
  background-color: #072b6a;
}

.secondary-btn:hover {
  background-color: #e6e6e6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}





/* ================================
   SECTION + CONTAINER
================================ */
.form-section {
  background: var(--upbit-grey, #f5f5f5);
  padding: 80px 0;
}

.form-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #093687;
}

.container {
  width: min(90%);
  margin: 0 auto;
}

/* ================================
   FORM WRAPPER
================================ */
.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);
}

/* ================================
   PROGRESS BAR
================================ */
.form-progress {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 6px;
  margin-bottom: 30px;
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  background: #093687;
  transition: width 0.3s ease;
}

/* ================================
   SECTION TITLES
================================ */
.form-section-title {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  font-weight: 600;
  color: #093687;
}

/* ================================
   FORM GROUPS
================================ */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================================
   INPUTS / SELECTS / TEXTAREAS
================================ */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #093687;
  outline: none;
}
/* ================================
   TOOLTIP SYSTEM (UPWARD)
================================ */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: var(--upbit-dark-grey, #333);
  color: var(--upbit-white, #fff);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* Tooltip box ABOVE the icon */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%; /* moves tooltip above the icon */
  left: 50%;
  transform: translateX(-50%);
  background: #093687;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  width: 220px;
  transition: opacity 0.2s ease;
  z-index: 10;
  text-align: left;
}

/* Tooltip arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* arrow points downward */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #093687 transparent transparent transparent;
}

/* Show on hover */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ================================
   VALIDATION ICONS + ERRORS
================================ */
.validation-icon {
  position: absolute;
  right: 12px;
  top: 42px;
  font-size: 1.2rem;
  display: none;
}

.success-icon {
  color: #28a745;
}

.error-message {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 6px;
  display: none;
}

/* ================================
   RESPONSE MESSAGES
================================ */
.response-message {
  display: none;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.success-message {
    background: #eaf7ee;              /* soft green */
    border: 1px solid #3cb371;        /* green border */
    border-left: 6px solid #2e8b57;   /* accent stripe */
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 30px;

    color: #0f5132;
    font-size: 16px;
    line-height: 1.7;
}

.error-message {
  background: #fdecea;
  border-left: 4px solid #d9534f;
}

.warning-message {
  background: #fff8e5;
  border-left: 4px solid #f0ad4e;
}

/* ================================
   LOADING INDICATOR
================================ */
.loading-indicator {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #ccc;
  border-top-color: #093687;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================
   SUBMIT BUTTON
================================ */
.submit-btn {
  margin-top: 30px;
  width: 100%;
  padding: 16px;
  background: #093687;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: #072a63;
}







/* ================================
   BENEFITS SECTION
================================ */
.benefits {
    padding: 80px 0;
    background: #ffffff;
}

.benefits h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color: #093687;
    font-weight: 700;
}

/* ================================
   GRID LAYOUT
================================ */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ================================
   BENEFIT CARD
================================ */
.benefit-card {
    background-color: #f5f6fa;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #e6e8ef;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ================================
   ICON
================================ */
.benefit-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* ================================
   TITLE & TEXT
================================ */
.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #093687;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}



/* ================================
   PROCESS SECTION
================================ */
.process {
    padding: 80px 0;
    background: #f5f6fa;
}

.process h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: #093687;
    font-weight: 700;
}

/* ================================
   STEPS WRAPPER
================================ */
.process-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-top: 40px;
}

/* Horizontal line behind steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 65px; /* aligns with center of circles */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--upbit-blue, #093687);
    z-index: 1;
    opacity: 0.2;
}

/* ================================
   INDIVIDUAL STEP
================================ */
.step {
    position: relative;
    z-index: 2;
    width: 20%;
    text-align: center;
}

/* Step number circle */
.step-number {
    width: 55px;
    height: 55px;
    background-color: var(--upbit-blue, #093687);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Step title */
.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #093687;
}

/* Step description */
.step p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 220px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        width: 100%;
    }

    .step-number {
        margin-bottom: 15px;
    }
}





/* ================================
   REQUIREMENTS SECTION
================================ */
.requirements {
    padding: 80px 0;
    background: #ffffff;
}

.requirements h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 50px;
    color: #093687;
    font-weight: 700;
}

/* ================================
   TABS BUTTONS
================================ */
.requirements-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.tab-button {
    padding: 12px 24px;
    background-color: #e6e8ef;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #093687;
    transition: all .25s ease;
    font-size: 1rem;
}

.tab-button:hover {
    background-color: #d4d7e0;
}

.tab-button.active {
    background-color: #093687;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ================================
   TAB CONTENT WRAPPER
================================ */
.tab-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 35px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

/* Hide inactive panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ================================
   REQUIREMENT ITEMS
================================ */
.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #e6e8ef;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-icon {
    color: #093687;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 3px;
}

/* Titles inside items */
.requirement-item h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #093687;
    font-weight: 600;
}

/* Description text */
.requirement-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .requirements-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .tab-content {
        padding: 25px;
    }

    .requirement-item {
        flex-direction: row;
        align-items: flex-start;
    }
}


/* ================================
   FOOTER WRAPPER
================================ */
footer {
    background-color: var(--upbit-blue, #093687);
    color: var(--upbit-white, #fff);
    padding: 70px 0 35px;
    margin-top: 80px;
    font-family: inherit;
}

/* ================================
   GRID LAYOUT
================================ */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
}

/* ================================
   FOOTER SECTIONS
================================ */
.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

/* ================================
   LINKS
================================ */
.footer-section ul li a {
    color: #d6d9e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .25s ease, padding-left .25s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* ================================
   COPYRIGHT AREA
================================ */
footer .copyright {
    text-align: center;
    padding-top: 50px;
    color: #d6d9e0;
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 40px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        gap: 35px;
    }

    .footer-section h3 {
        font-size: 1.15rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }
}
