/* ========================================
   Reset
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    Arial,
    sans-serif;
  color: #17213b;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}


/* ========================================
   Header
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #edf0f7;
  backdrop-filter: blur(20px);
}

.header-inner {
  width: min(1400px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}


/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 900;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #6157ff, #4569ff);
  box-shadow:
    0 8px 20px rgba(82, 82, 255, 0.25);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
}

.brand-text span {
  color: #69728b;
  font-size: 12px;
}


/* Navigation */

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 30px;
}

.main-nav a {
  position: relative;
  color: #303950;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #5755ff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -29px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5755ff;
  transform: translateX(-50%);
}


/* Header Actions */

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  width: 185px;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 18px;
  border: 1px solid #e5e8f0;
  border-radius: 22px;
  background: white;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  color: #17213b;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #a1a7b7;
}

.search-box button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #26314c;
  stroke-width: 2;
}

.login-button {
  height: 42px;
  padding: 0 22px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #6157ff, #4569ff);
  box-shadow:
    0 8px 20px rgba(83, 83, 255, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.mobile-menu-button span {
  width: 22px;
  height: 2px;
  background: #17213b;
}

/* ========================================
   Hero
======================================== */

.hero {
  position: relative;
  width: min(1400px, calc(100% - 64px));
  min-height: 485px;
  margin: 28px auto 0;
  padding: 70px 48px 36px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 75% 45%, rgba(147, 112, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #fbfbff 0%, #f6f6ff 100%);
  border: 1px solid #f0f0fa;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 320px;
}

.hero-text {
  width: 52%;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #5555ff;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.25;
  letter-spacing: -2.5px;
  font-weight: 850;
}

.hero h1 span {
  color: #6257ff;
}

.hero-text p {
  max-width: 560px;
  margin-top: 22px;
  color: #667089;
  font-size: 15px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  min-width: 130px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.primary-button {
  color: white;
  background:
    linear-gradient(135deg, #6157ff, #4569ff);
  box-shadow:
    0 10px 25px rgba(85, 83, 255, 0.25);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(85, 83, 255, 0.32);
}

.secondary-button {
  color: #26314c;
  background: white;
  border: 1px solid #e1e5ef;
}

.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(25, 35, 60, 0.08);
}


/* Hero Visual */

.hero-visual {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 48%;
  height: 400px;
  transform: translateY(-50%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125, 99, 255, 0.22), transparent 65%);
  transform: translate(-50%, -50%);
}

.hero-main-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 90px;
  font-weight: 900;
  border-radius: 38px;
  background:
    linear-gradient(135deg, #8068ff, #496dff);
  box-shadow:
    0 30px 60px rgba(90, 75, 255, 0.32);
  transform:
    translate(-50%, -50%) rotate(-3deg);
}

.hero-main-icon span {
  text-shadow:
    0 5px 12px rgba(0, 0, 0, 0.12);
}

.floating-icon {
  position: absolute;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 18px;
  background: white;
  box-shadow:
    0 15px 35px rgba(40, 45, 100, 0.12);
}

.icon-pet {
  top: 10%;
  left: 28%;
  background: #8567ff;
  color: white;
}

.icon-note {
  top: 30%;
  left: 10%;
  background: #5682ff;
  color: white;
}

.icon-calendar {
  top: 12%;
  right: 15%;
  background: #4bcf84;
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.icon-office {
  right: 5%;
  top: 52%;
  background: #ffad4d;
  color: white;
}

.icon-cloud {
  bottom: 10%;
  right: 24%;
  background: #5682ff;
  color: white;
}


/* Hero Features */

.hero-features {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0;
  width: 510px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #eeeeF8;
  border-radius: 14px;
  background:
    rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.hero-feature {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 14px;
  border-right: 1px solid #eceef5;
}

.hero-feature:last-child {
  border-right: none;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6157ff;
  border-radius: 50%;
  background: #f1efff;
  font-size: 14px;
}

.hero-feature strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.hero-feature span {
  display: block;
  color: #8a91a4;
  font-size: 10px;
  line-height: 1.5;
}

/* ========================================
   Section
======================================== */

.section {
  width: min(1400px, calc(100% - 64px));
  margin: 70px auto 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 22px;
  letter-spacing: -0.8px;
}

.section-header a {
  color: #5b58ff;
  font-size: 13px;
  font-weight: 600;
}

.section-header a span {
  margin-left: 5px;
}


/* ========================================
   App Cards
======================================== */

.app-grid {
  display: grid;
  grid-template-columns:
    repeat(6, 1fr);
  gap: 14px;
}

.app-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e9ecf3;
  border-radius: 15px;
  background: white;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 35px rgba(30, 40, 80, 0.09);
}

.app-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  color: white;
  font-size: 28px;
  border-radius: 17px;
  box-shadow:
    0 10px 20px rgba(30, 40, 80, 0.12);
}

.icon-purple {
  background:
    linear-gradient(135deg, #9c79ff, #6853e8);
}

.icon-blue {
  background:
    linear-gradient(135deg, #6d9cff, #3973e8);
}

.icon-green {
  background:
    linear-gradient(135deg, #53d998, #27b977);
}

.icon-orange {
  background:
    linear-gradient(135deg, #ffc069, #ff9637);
}

.icon-gray {
  background:
    linear-gradient(135deg, #c9ced8, #737b8b);
}

.icon-cloud-blue {
  background:
    linear-gradient(135deg, #71a4ff, #4678e8);
}

.app-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.app-card p {
  min-height: 58px;
  color: #778096;
  font-size: 12px;
  line-height: 1.65;
}

.status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  margin-top: 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}

.status.planned {
  color: #20a16b;
  background: #ebfaf3;
}

.status.future {
  color: #68718a;
  background: #f2f4f7;
}

.app-card>a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-top: auto;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}


/* ========================================
   Categories
======================================== */

.category-grid {
  display: grid;
  grid-template-columns:
    repeat(5, 1fr);
  gap: 14px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 25px rgba(30, 40, 80, 0.07);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  font-size: 20px;
}

.category-icon.purple {
  color: #765eff;
  background: #f1edff;
}

.category-icon.green {
  color: #30b878;
  background: #eaf9f1;
}

.category-icon.orange {
  color: #f39839;
  background: #fff3e5;
}

.category-icon.blue {
  color: #4f82ef;
  background: #edf3ff;
}

.category-icon.violet {
  color: #805eff;
  background: #f1edff;
}

.category-card strong {
  display: block;
  font-size: 13px;
}

.category-card span {
  color: #9299a9;
  font-size: 11px;
}

/* ========================================
   Updates
======================================== */

.updates-list {
  overflow: hidden;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  background: white;
}

.update-item {
  min-height: 85px;
  display: grid;
  grid-template-columns:
    1.3fr 0.7fr 1fr 2fr 100px;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid #edf0f4;
}

.update-item:last-child {
  border-bottom: none;
}

.update-app {
  display: flex;
  align-items: center;
  gap: 12px;
}

.small-app-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 11px;
  font-size: 18px;
}

.small-app-icon.purple {
  background: #7d64ef;
}

.small-app-icon.blue {
  background: #4c80ef;
}

.small-app-icon.green {
  background: #3fc887;
}

.update-app strong {
  display: block;
  font-size: 13px;
}

.update-app span {
  color: #9198a8;
  font-size: 10px;
}

.update-date strong {
  display: block;
  font-size: 11px;
}

.update-date span {
  color: #9198a8;
  font-size: 10px;
}

.update-item p {
  color: #6e778c;
  font-size: 11px;
}

.update-item>a {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}


/* ========================================
   CTA
======================================== */

.cta-section {
  width: min(1400px, calc(100% - 64px));
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 50px auto 0;
  padding: 22px 34px;
  border: 1px solid #eeecff;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #faf9ff, #f5f4ff);
}

.cta-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #8672ff, #5e5aff);
  font-size: 22px;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-size: 16px;
  margin-bottom: 3px;
}

.cta-content p {
  color: #7f8798;
  font-size: 12px;
}


/* ========================================
   Footer
======================================== */

.site-footer {
  margin-top: 70px;
  padding: 60px 0 45px;
  background: #fafbfe;
  border-top: 1px solid #edf0f5;
}

.footer-inner {
  width: min(1400px, calc(100% - 64px));
  display: grid;
  grid-template-columns:
    2.2fr 1fr 1.2fr 1fr 1.3fr;
  gap: 50px;
  margin: 0 auto;
}

.footer-brand {
  position: relative;
}

.footer-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 9px;
  background:
    linear-gradient(135deg, #6157ff, #4569ff);
  font-weight: 800;
}

.footer-brand>div:nth-child(2) {
  position: absolute;
  left: 48px;
  top: 0;
}

.footer-brand strong {
  display: block;
  font-size: 17px;
}

.footer-brand span {
  color: #8790a2;
  font-size: 10px;
}

.footer-brand p {
  max-width: 240px;
  margin-top: 20px;
  color: #858d9e;
  font-size: 11px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #697286;
  background: #f0f2f6;
  font-size: 11px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: #27314a;
  font-size: 13px;
}

.footer-column a {
  color: #788195;
  font-size: 11px;
}

.footer-column select {
  width: 150px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e1e5ed;
  border-radius: 8px;
  color: #626b7f;
  background: white;
  outline: none;
  font-size: 11px;
}

.copyright {
  margin-top: 30px;
  color: #9ca3b1;
  font-size: 10px;
}

/* ========================================
   Responsive
======================================== */

@media (max-width:1200px) {

  .main-nav {
    gap: 20px;
    margin-left: 10px;
  }

  .app-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .update-item {
    grid-template-columns:
      1.2fr 0.7fr 1fr 1.8fr 90px;
  }

}


@media (max-width:900px) {

  .header-inner {
    width: min(100% - 32px, 700px);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
    margin-left: auto;
  }

  .hero {
    width: calc(100% - 32px);
    padding: 50px 30px;
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-text {
    width: 100%;
  }

  .hero-visual {
    opacity: 0.25;
    right: -10%;
    width: 70%;
  }

  .hero-features {
    width: 100%;
    max-width: 600px;
  }

  .section,
  .cta-section {
    width: calc(100% - 32px);
  }

  .app-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .update-item {
    grid-template-columns:
      1fr auto 1fr;
  }

  .update-item p {
    display: none;
  }

  .footer-inner {
    width: calc(100% - 32px);
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width:600px) {

  .site-header {
    height: 64px;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    margin-top: 16px;
    padding: 40px 22px;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .hero-features {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .hero-feature {
    border-right: none;
    border-bottom: 1px solid #eceef5;
    padding: 10px 5px;
  }

  .hero-feature:last-child {
    border-bottom: none;
  }

  .section {
    margin-top: 50px;
  }

  .section-header h2 {
    font-size: 19px;
  }

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

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

  .update-item {
    grid-template-columns:
      1fr auto;
    gap: 10px;
  }

  .update-date {
    display: none;
  }

  .update-item>a {
    grid-column: 1 / -1;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .cta-section .primary-button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}