/* Index Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  color: white;
}

.hero-title {
  color: white;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.mobile-br {
  display: none;
}

@media (max-width: 1200px) {
  .mobile-br {
    display: block;
  }
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-hero {
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.btn-hero:hover .btn-icon svg {
  transform: translateX(3px);
}

.hero-visual {
  flex: 0 0 400px;
  position: relative;
  height: 400px;
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background: var(--bg-light);
}

.solutions-header {
  text-align: center;
  margin-bottom: 60px;
}

.solutions-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.solutions-subtitle {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
}

.solutions-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  row-gap: 40px;
}

/* 첫 번째 줄: 3개 카드 */
.solutions-grid a:nth-child(1),
.solutions-grid a:nth-child(2),
.solutions-grid a:nth-child(3) {
  grid-column: span 2;
}

/* 두 번째 줄: 2개 카드 중앙정렬 */
.solutions-grid a:nth-child(4) {
  grid-column: 2 / span 2;
}

.solutions-grid a:nth-child(5) {
  grid-column: 4 / span 2;
}

/* 세 번째 줄: 2개 카드 중앙정렬 */
.solutions-grid a:nth-child(6) {
  grid-column: 2 / span 2;
}

.solutions-grid a:nth-child(7) {
  grid-column: 4 / span 2;
}

.solution-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
  cursor: pointer;
  width: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.solution-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.solution-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
  color: white;
    font-size: 36px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid a:nth-child(1),
  .solutions-grid a:nth-child(2),
  .solutions-grid a:nth-child(3),
  .solutions-grid a:nth-child(4),
  .solutions-grid a:nth-child(5),
  .solutions-grid a:nth-child(6),
  .solutions-grid a:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 50px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
  color: white;
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solutions-grid a:nth-child(1),
  .solutions-grid a:nth-child(2),
  .solutions-grid a:nth-child(3),
  .solutions-grid a:nth-child(4),
  .solutions-grid a:nth-child(5),
  .solutions-grid a:nth-child(6),
  .solutions-grid a:nth-child(7) {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 20px 40px;
  }

  .hero-title {
  color: white;
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* SVG Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.ballot-paper-svg {
  animation: float 3s ease-in-out infinite;
}

/* Skip Navigation Link */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
