* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
}

:root {
  --primary-color: #4aa263;
  --secondary-color: #497ca6;
  --accent-color: #f6ad55;
  --text-color: #2d3748;
  --light-bg: #f7fafc;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

body {
  background-color: var(--white);
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.8);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a.active {
  color: var(--primary-color);
  font-weight: 700;
  background-color: rgba(74, 162, 99, 0.1);
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(74, 162, 99, 0.05);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a.active::after {
  width: 80%;
  background-color: var(--primary-color);
}

/* Main Content */
main {
  padding: 0;
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.text-content {
  flex: 1;
  padding-right: 20px;
}

h2 {
  color: var(--primary-color);
}

.text-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--primary-color);
  letter-spacing: -0.05em;
}

.app-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.app-links img {
  height: 50px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
}

.app-links img:hover {
  transform: translateY(-2px);
}

.phone-mockups {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  margin: 0 10px;
  position: relative;
}

.phone img {
  width: 100%;
  border-radius: 36px;
}

/* Features Section */
.kolaImg {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.kolaImg img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.features-section {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* How to Use Section */
.how-to-use-section {
  padding: 80px 0;
}

.how-to-use-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Footer */
.main-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .text-content h1 {
    font-size: 3.5rem;
  }

  .appImg-container {
    flex-direction: column;
    gap: 2rem;
  }

  .appImg-des {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .phone-mockups {
    flex-direction: column;
  }

  .phone {
    margin: 10px 0;
  }

  .text-content h1 {
    font-size: 2.5rem;
  }

  .appImg {
    max-width: 100%;
  }

  .kolaImg {
    flex-direction: column;
    align-items: center;
  }

  .kolaImg img {
    max-width: 80%;
    margin: 0.5rem 0;
  }

  p {
    padding: 0 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .text-content h1 {
    font-size: 36px;
  }

  .nav-links a {
    margin-left: 15px;
  }

  .kolaImg img {
    max-width: 90%;
  }
}

span.bold {
  font-weight: bold;
}

p {
  text-align: center;
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.8;
}

article {
  margin-bottom: 80px;
}

article:last-child {
  margin-bottom: 0;
}

.appImg {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
}

.appImg img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.appImg-des {
  flex: 1;
  padding-left: 2rem;
}

.appImg-des h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.appImg-des p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* Add a container for the flex layout */
.appImg-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin: 60px 0;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
