:root {
  --font-main: 'Outfit', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;

  /* Colors - Premium Light Theme */
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent-primary: #6366f1;
  /* Indigo */
  --accent-secondary: #d946ef;
  /* Fuchsia */
  --accent-tertiary: #06b6d4;
  /* Cyan */
  --accent-glow: rgba(99, 102, 241, 0.15);

  --gradient-main: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --gradient-text: linear-gradient(to right, #6366f1, #d946ef, #06b6d4);

  /* Spacing */
  --container-width: 1280px;
  --header-height: 90px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main), var(--font-kr);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.section-padding {
  padding: 140px 0;
}

.block {
  display: block;
}

.gradient-text {
  background: linear-gradient(to right, #6366f1, #d946ef, #06b6d4, #6366f1);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 5s linear infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 10px 30px -10px var(--accent-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px var(--accent-primary), 0 0 20px var(--accent-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
  margin-left: 20px;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  z-index: 1001;
}

.logo .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-list {
  display: flex;
  gap: 50px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 6px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #ffffff 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(99, 102, 241, 0.4);
  animation-delay: 0s;
}

.blob-2 {
  top: 20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: rgba(217, 70, 239, 0.4);
  animation-delay: -5s;
}

.blob-3 {
  bottom: -10%;
  left: 20%;
  width: 45vw;
  height: 45vw;
  background: rgba(6, 182, 212, 0.4);
  animation-delay: -10s;
}

.blob-4 {
  top: 40%;
  left: 40%;
  width: 30vw;
  height: 30vw;
  background: rgba(99, 102, 241, 0.3);
  animation-delay: -15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(30px, 50px) rotate(10deg) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 50px;
  font-weight: 400;
  line-height: 1.6;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-secondary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 4px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* Services Section */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  padding: 50px 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(217, 70, 239, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
  opacity: 1;
  background: var(--gradient-main);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.service-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.25));
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg) translateY(-5px);
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}



/* Process Section */
.process {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 60px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 30px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-primary);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.1);
  position: relative;
  z-index: 1;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  background: var(--gradient-main);
  -webkit-text-stroke: 0;
  color: white;
  box-shadow: 0 20px 40px -10px var(--accent-primary);
  border-color: transparent;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.step-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 10px;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 30px;
  z-index: -1;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 30px;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.about-image:hover {
  transform: scale(1.02);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.feature-icon {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
  background: var(--bg-card);
  padding: 60px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(20px);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px 25px;
  font-size: 1.1rem;
  text-align: left;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--accent-primary);
  font-size: 1.2rem;
}



/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #f8fafc;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
}



.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .process-steps::before {
    display: none;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features-list {
    justify-content: center;
  }

  .feature-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .contact-wrapper {
    padding: 40px;
  }

  .contact-item {
    display: flex;
    margin: 0 0 20px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    padding: 100px 40px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 1000;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}