/* Index Page Specific Styles */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 204, 51, 0.03) 0%, rgba(0, 204, 51, 0.08) 40%, transparent 100%);
  z-index: -1;
}

.hero-content {
  width: 1200px;
  max-width: 100%;
  z-index: 2;
  padding: 6rem 2rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  padding-left: 20px;
}

.hero-title-logo {
  height: 200px;
  width: 220px;
  object-fit: contain;
}

.hero-title-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding-left:20px;
}

.hero-title-line1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.1;
  text-align: left;
  font-family: 'Fira Code', monospace;
  letter-spacing: -0.02em;
}

.hero-title-line2 {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 153, 34, 0.2);
  line-height: 1.1;
  transition: opacity 0.3s ease;
  min-height: 4rem;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: 'Fira Code', monospace;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 3.5rem;
  line-height: 1.8;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
}

.hero-social-icon:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 204, 51, 0.3);
}

/* Slide Cards Section */
.slide-section {
  padding: 8rem 0;
  position: relative;
}

.slide-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 6rem;
}

.slide-header {
  text-align: center;
  margin-bottom: 3rem;
}

.slide-header h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.slide-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

.slide-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(0, 153, 34, 0.12);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.slide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  border: 2px solid var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 153, 34, 0.15);
}

.slide-card:hover::before {
  opacity: 1;
}

.slide-card-image {
  flex: 1;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(0, 153, 34, 0.06) 0%, rgba(0, 204, 51, 0.04) 100%);
  border: 1px solid rgba(0, 153, 34, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 3rem;
  transition: all 0.3s ease;
}

.slide-card:hover .slide-card-image {
  background: linear-gradient(135deg, rgba(0, 153, 34, 0.1) 0%, rgba(0, 204, 51, 0.06) 100%);
  transform: scale(1.05);
}

.slide-card-content {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-card-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.slide-card-title-desktop {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.slide-card-title-mobile {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.slide-card-description {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 400;
}

.slide-card-description-desktop {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 400;
}

.slide-card-description-mobile {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 400;
}

.slide-card-button {
  align-self: flex-start;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 400;
}

.slide-controls {
  position: absolute;
  top: 56%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0;
}

.slide-button {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 153, 34, 0.2);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-button:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 153, 34, 0.3);
}

.slide-dots {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 153, 34, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slide-dot:hover {
  background: rgba(0, 153, 34, 0.4);
  transform: scale(1.2);
}

.slide-dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 153, 34, 0.4);
}

/* Stats Section */
.stats-section {
  padding: 8rem 0;
  position: relative;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  padding: 0 2rem;
}

.stats-title {
  flex: 0 0 200px;
  font-size: 2.5rem;
  color: var(--primary-color);
  line-height: 1.2;
  position: sticky;
  top: 100px;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
}

.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 153, 34, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(0, 153, 34, 0.15);
}

.stat-card-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 400;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

.stat-card-description {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 500;
}

.stat-card-value {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.stat-card-note {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.4);
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 600;
}

/* Grid Features Section */
.grid-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(ellipse at bottom, rgba(0, 153, 34, 0.02) 0%, transparent 50%);
}

.grid-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.grid-header h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-full {
  grid-column: 1 / -1;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.grid-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 204, 51, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-full:hover::before {
  opacity: 1;
}

.grid-full:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 204, 51, 0.2);
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 153, 34, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 204, 51, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-card:hover::before {
  opacity: 1;
}

.grid-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 204, 51, 0.15);
}

.grid-card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 300;
}

.grid-card-content {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-weight: 400;
}

.grid-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.grid-card-link:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Decorative Elements */
.abstract-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}

.abstract-1 {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 204, 51, 0.2) 0%, transparent 70%);
  filter: blur(60px);
}

.abstract-2 {
  top: 50%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
  filter: blur(80px);
}

.abstract-3 {
  bottom: 10%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 204, 51, 0.2) 0%, transparent 70%);
  filter: blur(70px);
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    width: 700px;
  }
  
  .hero-title {
    grid-template-columns: 170px 1fr;
    gap: 2rem;
    width: 700px;
  }
  
  .hero-title-logo {
    height: 150px;
    width: 170px;
  }
  
  .hero-title-line1,
  .hero-title-line2 {
    font-size: 3rem;
  }
  
  .hero-title-line2 {
    min-height: 3rem;
  }
  
  .slide-container {
    padding: 0 50px;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stats-title {
    position: static;
    margin-bottom: 2rem;
  }
  
  .grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    padding: calc(3rem + 80px) 1rem 3rem;
    width: 100%;
  }
  
  .hero-title {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .hero-title-logo {
    height: 120px;
    width: 150px;
    margin: 0 auto;
  }
  
  .hero-title-text {
    text-align: center;
    width: 100%;
    overflow: visible;
  }
  
  .hero-title-line1,
  .hero-title-line2 {
    font-size: 2.5rem;
    text-align: center;
    white-space: normal;
  }
  
  .hero-title-line2 {
    min-height: 2.5rem;
    overflow: visible;
  }
  
  .slide-container {
    padding: 0 40px;
  }
  
  .slide-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .slide-card {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-social {
    gap: 1rem;
  }
  
  .hero-social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .slide-card {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .slide-card-image {
    width: 100%;
    height: 150px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-row {
    grid-template-columns: 1fr;
  }
  
  .grid-full {
    padding: 2rem;
  }
  
  .grid-card {
    padding: 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    gap: 1rem;
    width: 100%;
  }
  
  .hero-title-logo {
    height: 100px;
    width: 120px;
    margin: 0 auto;
  }
  
  .hero-title-line1,
  .hero-title-line2 {
    font-size: 2rem;
  }
  
  .hero-title-line2 {
    min-height: 2rem;
  }
  
  .slide-container {
    padding: 0 35px;
  }
  
  .slide-button {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .slide-card {
    padding: 1.2rem;
    gap: 1.2rem;
    flex-direction: column;
  }
  
  .slide-card-image {
    height: 80px;
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .slide-header h2,
  .stats-title,
  .grid-header h2 {
    font-size: 2rem;
  }
  
  .stat-card-value {
    font-size: 2rem;
  }
}
