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

body {
  font-family: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #ffffff;
}

h3 {
  color: #2c3e50;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px;
  text-align: left;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.logo {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  margin: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #14b8a6;
}

.sign-in-btn {
  padding: 8px 20px;
  background: #14b8a6;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
}

.sign-in-btn:hover {
  background: #0d9488;
}

.tagline {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 30px;
  font-weight: 400;
}

.tagline strong {
  font-weight: 700;
  color: #2d3748;
}

.description {
  font-size: 1rem;
  color: #718096;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  margin-bottom: 50px;
}

.hero-text {
  font-size: 1.1rem;
  color: #718096;
}

.hero-text ul {
  list-style: none;
  padding-left: 0;
}

.hero-text li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.hero-text li strong {
  font-weight: 600;
  color: #2d3748;
}

.hero-image-container {
  float: right;
  width: 55%;
  margin-left: 30px;
  margin-top: 0;
  margin-bottom: 40px;
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 8px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
  position: relative;
}

.hero-image.with-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-image-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hero-image-stacked-item {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.hero-image-stacked-item.with-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-image.insert-smaller {
  width: 50%;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
  clear: both;
}

.feature {
  padding: 30px;
  background: #f7fafc;
  border-radius: 8px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.9rem;
  color: #718096;
}

.cta-section {
  margin: 60px 0;
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #24292f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s;
  margin-top: 20px;
}

.github-btn:hover {
  background: #1c2128;
  color: white;
}

.github-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.github-repo-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.github-btn-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #14b8a6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.github-btn-small:hover {
  background: #0d9488;
  color: white;
}

.github-icon-small {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Pricing Page Styles */
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.pricing-header p {
  font-size: 1.1rem;
  color: #718096;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.1);
}

.pricing-card.featured {
  border-color: #14b8a6;
  position: relative;
}

.pricing-card.featured::before {
  content: "BETA";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #14b8a6;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card.coming-soon {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.pricing-card.coming-soon::before {
  content: "COMING SOON";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #718096;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-cta.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #14b8a6;
  margin-bottom: 5px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #718096;
}

.plan-description {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features li {
  padding: 10px 0;
  color: #4a5568;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: "✓";
  color: #14b8a6;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.plan-features li.unavailable {
  color: #a0aec0;
}

.plan-features li.unavailable::before {
  content: "✗";
  color: #cbd5e0;
}

.plan-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: #14b8a6;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.plan-cta:hover {
  background: #0d9488;
}

.plan-cta.secondary {
  background: #f7fafc;
  color: #14b8a6;
  border: 2px solid #14b8a6;
}

.plan-cta.secondary:hover {
  background: #e6fffa;
}

.terms-section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

.terms-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.terms-section p {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

@media (max-width: 900px) {
  .hero-image-container {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Common link styles */
a.link {
  color: #14b8a6;
  text-decoration: none;
}

/* Footer styles */
footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

footer .terms-link {
  font-size: 90%;
  color: #2c3e50;
  margin-bottom: 15px;
}

footer .terms-link a {
  color: #14b8a6;
  text-decoration: none;
  font-weight: 600;
}

footer .company-info {
  font-size: 70%;
  color: #2c3e50;
}

footer .company-info a {
  color: #14b8a6;
  text-decoration: none;
}

footer .trademark-info {
  font-size: 70%;
  color: #2c3e50;
}

/* Section spacing */
.section-spacing {
  margin-bottom: 50px;
}

/* Code block styling */
.code-block {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  margin: 20px auto;
  width: 95%;
}

.code-block .yaml-key {
  color: #9cdcfe;
}

.code-block .yaml-value {
  color: #ce9178;
}

/* Luau syntax highlighting */
.code-block .lua-keyword {
  color: #c586c0;
}

.code-block .lua-function {
  color: #dcdcaa;
}

.code-block .lua-string {
  color: #ce9178;
}

.code-block .lua-number {
  color: #b5cea8;
}

.code-block .lua-comment {
  color: #6a9955;
}

.code-block .lua-operator {
  color: #d4d4d4;
}

.code-block .lua-type {
  color: #4ec9b0;
}

/* Step numbering */
.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #14b8a6;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
  margin-right: 10px;
  font-size: 1rem;
}

/* Screenshot image styling */
.screenshot {
  margin-top: 1em;
  width: 80%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Content box styling */
.content-box {
  margin: 40px 0;
  padding: 20px;
  background: #f7fafc;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #4a5568;
}

/* Centered content */
.centered-content {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Why I built this section */
.why-section {
  margin-top: 80px;
  padding: 30px;
  background: #f7fafc;
  border-radius: 8px;
}

.why-section h3 {
  margin-bottom: 20px;
}

.why-section p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.why-section p:last-of-type {
  margin-bottom: 15px;
}

@media (max-width: 700px) {
  .logo {
    font-size: 1.75rem;
  }

  .header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    text-align: left;
  }

  .github-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .nav {
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .sign-in-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .pricing-header h2 {
    font-size: 2rem;
  }
}
