:root {
  --bg: #fafcff;
  --bg-soft: #eaf4fb;
  --bg-mint: #e6f6f1;
  --bg-lavender: #f0edfb;
  --white: #ffffff;
  --primary: #4c7ea8;
  --primary-dark: #365f80;
  --primary-soft: #dceefb;
  --accent-mint: #7fb8a4;
  --accent-lavender: #a79bd6;
  --text: #33404d;
  --text-light: #647184;
  --border: #dfe9f3;
  --shadow: 0 10px 30px -12px rgba(76, 126, 168, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { font-weight: 700; line-height: 1.35; margin: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-right: auto;
}

.brand-mark {
  display: inline-flex;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.nav a:hover { color: var(--primary-dark); }

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.nav-mobile.open { display: flex; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: var(--white);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--primary); }

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(circle at 15% 20%, var(--bg-lavender), transparent 45%),
    radial-gradient(circle at 85% 0%, var(--bg-mint), transparent 40%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 70%);
  padding: 88px 0 72px;
}

.hero-inner { max-width: 760px; }

.eyebrow {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero .highlight { color: var(--primary); }

.hero-desc {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.hero-badges li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 620px;
  margin: 14px auto 0;
}

/* ---------- About cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-blue { background: var(--bg-soft); color: var(--primary); }
.icon-mint { background: var(--bg-mint); color: var(--accent-mint); }
.icon-lavender { background: var(--bg-lavender); color: var(--accent-lavender); }

.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--text-light); font-size: 0.92rem; }

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.product-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.tag-blue { background: var(--bg-soft); color: var(--primary-dark); }
.tag-mint { background: var(--bg-mint); color: #2f6f5b; }
.tag-lavender { background: var(--bg-lavender); color: #5d4fa3; }

.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-card > p { color: var(--text-light); margin: 0 0 18px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
}

.product-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 36px auto 0;
  max-width: 700px;
}

/* ---------- Notice section ---------- */

.section-notice { background: var(--bg-lavender); }

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.notice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.notice-card h3 {
  font-size: 0.98rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.notice-card-highlight {
  grid-column: 1 / -1;
  background: var(--bg-soft);
  border: 1.5px solid var(--primary);
}

.notice-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

.notice-disclaimer {
  margin-top: 36px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.notice-disclaimer p { margin: 0 0 8px; }
.notice-disclaimer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-wrap .section-title,
.contact-wrap .section-sub { text-align: left; margin-left: 0; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}

.contact-list a { color: var(--primary-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.privacy-note {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 14px 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary-dark);
  color: #dfe9f3;
  padding: 48px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-inner p { margin: 4px 0; opacity: 0.85; }

.footer-links {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer-links a { opacity: 0.9; }
.footer-links a:hover { text-decoration: underline; }

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.65;
  margin: 36px 0 0;
  padding: 0 24px;
}

/* ---------- Floating action button ---------- */

.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(51, 96, 128, 0.55);
  z-index: 40;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
