/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #03C75A;
  --green-dark: #02b150;
  --green-light: #e8f7ee;
  --primary: #03C75A;
  --primary-dark: #02b150;
  --secondary: #6C63FF;
  --secondary-dark: #3F37C9;
  --dark: #191f28;
  --text: #333d4b;
  --text-light: #6b7684;
  --text-muted: #8b95a1;
  --bg: #ffffff;
  --bg-page: #f2f4f6;
  --border: #e5e8eb;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--green); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  display: block;
  padding: 7px 14px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after { display: none; }

.nav-links a:hover {
  background: var(--bg-page);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  min-height: auto;
  overflow: hidden;
}

.hero-bg { display: none; }

.hero-content {
  text-align: center;
  padding: 48px 20px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.hero p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 2px 8px rgba(3, 199, 90, 0.25);
}

/* ===== Sections ===== */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* ===== About ===== */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-card {
  background: var(--bg-page);
  padding: 28px 22px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow);
}

.about-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--green);
}

.about-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.about-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

/* ===== Apps ===== */
.apps {
  background: var(--bg-page);
}

.app-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 16px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.app-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow-lg);
}

.app-visual {
  flex-shrink: 0;
  text-align: center;
}

.app-icon-large svg {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.app-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--green);
}

.app-badge-soon { background: var(--secondary); }

.app-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.app-tagline {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}

.coming-soon .app-tagline { color: var(--secondary); }

.app-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 13px;
}

.app-features {
  list-style: none;
  margin-bottom: 18px;
}

.app-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 13px;
}

.app-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
}

.app-download {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Store Button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition);
}

.store-btn:hover {
  background: #000;
  box-shadow: var(--shadow);
}

/* Store Badge (image) */
.store-badge {
  display: inline-block;
  transition: var(--transition);
}

.store-badge:hover {
  opacity: 0.85;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.store-btn small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.7;
}

.store-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

/* Coming Soon */
.coming-soon { position: relative; }

.coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius) var(--radius) 0 0;
}

.coming-soon-notify {
  padding: 12px 16px;
  background: #f3f2ff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
}

.coming-soon-notify p {
  color: var(--text-light);
  font-size: 13px;
}

/* ===== Contact ===== */
.contact { background: #fff; }

.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.contact-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text);
  transition: var(--transition);
}

.contact-item a:hover { color: var(--green); }

/* ===== Footer ===== */
.footer {
  background: #fff;
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
}

.footer-logo span { color: var(--green); }

.footer p {
  color: var(--text-muted);
  font-size: 12px;
}

.footer a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer a:hover { color: var(--green); }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 8px 16px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.active { display: flex; }

  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .app-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .app-features li { text-align: left; }

  .app-download { justify-content: center; }

  .section { padding: 40px 0; }

  .hero-content { padding: 40px 20px 36px; }
  .hero h1 { font-size: 26px; }

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