/* Root Variables */
:root {
  --color-orange: #e17100;
  --color-blue: #2076ff;
  --color-dark: #0f1729;
  --color-gray: #6d6d6d;
  --color-light-gray: #e7e7e7;
  --color-bg-light: #f9fafb;
  --color-bg-orange: rgba(254, 154, 0, 0.05);
  --color-white: #ffffff;
  --max-width: 1440px;
  --shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Pretendard-Regular', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container-custom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar-section {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--color-light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.logo-img {
  height: 24px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: 'Pretendard-SemiBold', sans-serif;
  font-size: 16px;
  color: var(--color-gray);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-dark);
}

.navbar-nav .nav-link.active {
  color: var(--color-blue);
}

.user-icon {
  width: 48px;
  height: 48px;
  margin-left: 0.5rem;
}

/* Hero Section */
.hero-section {
  background-color: var(--color-bg-orange);
  padding: 6rem 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(173, 70, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
}

.badge-icon {
  width: 24px;
  height: 24px;
}

.badge-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-orange);
}

.hero-title {
  font-family: 'Pretendard-ExtraBold', sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.text-orange {
  color: var(--color-orange);
}

.hero-subtitle {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

/* Steps Section */
.steps-section {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.step-row {
  position: relative;
}

.step-icon-wrapper {
  position: relative;
  display: inline-block;
}

.step-icon {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}

.step-number {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--color-orange);
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard-Medium', sans-serif;
  font-size: 10px;
  color: var(--color-white);
  font-weight: 500;
}

.step-line {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--color-orange), rgba(225, 113, 0, 0.3));
}

.step-row:last-child .step-line {
  display: none;
}

.step-card {
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.15);
}

.step-title {
  font-family: 'Pretendard-SemiBold', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.step-description {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.2);
  line-height: 1.5;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background-color: var(--color-orange);
  padding: 5rem 0;
  color: var(--color-white);
}

.cta-title {
  font-family: 'Pretendard-Bold', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.btn-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 1rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
}

.btn-primary.btn-cta {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-white);
  color: var(--color-orange);
}

.btn-primary.btn-cta:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-light.btn-cta {
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  background-color: transparent;
}

.btn-outline-light.btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 24px;
  height: 24px;
}

/* Footer */
.footer-section {
  background-color: var(--color-bg-light);
  padding: 4rem 0 2rem;
}

.footer-logo {
  height: 24px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  font-family: 'Pretendard-Medium', sans-serif;
  font-size: 16px;
  color: rgba(1, 22, 48, 1);
  line-height: 1.6;
  max-width: 350px;
}

.footer-heading {
  font-family: 'Pretendard-SemiBold', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: 16px;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-blue);
}

.footer-divider {
  border-color: var(--color-light-gray);
  margin: 2rem 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: 12px;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-blue);
}

.footer-copyright {
  font-family: 'Pretendard-Medium', sans-serif;
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 4rem 0;
  }

  .steps-section {
    padding: 3rem 0;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .step-line {
    height: 60px;
  }

  .step-card {
    padding: 1.25rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0;
  }

  .steps-section {
    padding: 2rem 0;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-number {
    width: 14px;
    height: 14px;
    font-size: 9px;
    bottom: -6px;
  }

  .step-line {
    top: 40px;
    height: 50px;
  }

  .step-card {
    padding: 1rem 1.25rem;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 14px;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .btn-cta {
    width: 100%;
    min-width: auto;
  }

  .footer-section {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .container-custom {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .hero-section {
    padding: 2.5rem 0;
  }

  .badge-pill {
    font-size: 12px;
    padding: 4px 12px;
  }

  .badge-icon {
    width: 20px;
    height: 20px;
  }
}

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

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
