:root {
  --brand: #70c3fc;
  --brand-dark: #4fa8e8;
  --brand-soft: #e9f5fe;
  --text: #191f28;
  --text-sub: #4e5968;
  --text-light: #8b95a1;
  --line: #e5e8eb;
  --bg-gray: #fafbfc;
  --bg-gray-2: #f4f6f8;
  --footer: #1f2937;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --max-w: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  font-weight: 900;
  font-size: 26px;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  opacity: 0.85;
}
.menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.menu a:hover {
  color: var(--text);
}
.menu a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 700;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-right .login {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
}
.nav-right .login:hover {
  color: var(--text);
}
.btn-signup {
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-signup:hover {
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--text);
}

/* ============== PAGE BASE ============== */
.page {
  display: none;
}
.page.active {
  display: block;
}
.section {
  padding: 140px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-tight {
  padding: 80px 32px;
}
.section-bg {
  background: var(--bg-gray);
}
.section-bg-2 {
  background: var(--bg-gray-2);
}
.bg-wrap {
  width: 100%;
}

/* ============== HERO (HOME) ============== */
.hero {
  text-align: center;
  padding: 160px 32px 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 32px;
}
.hero .sub {
  font-size: 20px;
  color: var(--text-sub);
  margin-bottom: 48px;
  font-weight: 500;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(112, 195, 252, 0.35);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(112, 195, 252, 0.45);
}

/* dashboard mockup */
.dash {
  margin: 88px auto 0;
  max-width: 880px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--line);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.dash-title {
  font-size: 18px;
  font-weight: 800;
}
.dash-pill {
  font-size: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.dash-stat {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dash-stat .label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.dash-stat .val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dash-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.dash-bars {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  gap: 8px;
}
.dash-bar {
  flex: 1;
  background: var(--brand);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}
.dash-donut {
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0 65%, var(--brand-soft) 65% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.donut::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--bg-gray);
  border-radius: 50%;
}
.donut-label {
  position: relative;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

/* ============== FEATURE ============== */
.feature {
  padding: 160px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.feature h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.feature p {
  font-size: 18px;
  color: var(--text-sub);
  font-weight: 500;
}

.placeholder-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.placeholder {
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.placeholder.alt {
  background: var(--bg-gray-2);
}

/* ============== PRICING ============== */
.pricing-title {
  text-align: center;
  padding: 120px 32px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing-title h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.pricing-title p {
  font-size: 18px;
  color: var(--text-sub);
}
.toggle {
  display: inline-flex;
  background: var(--bg-gray);
  border-radius: 999px;
  padding: 4px;
  margin-top: 24px;
}
.toggle button {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}
.toggle button.on {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 120px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.plan-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.plan-name {
  font-size: 22px;
  font-weight: 900;
}
.plan-price {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.plan-price .period {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}
.plan-desc {
  font-size: 13px;
  color: var(--text-light);
}
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan li {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.plan li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
}
.plan .btn {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}
.plan .btn:hover {
  background: var(--brand-soft);
}
.plan .btn.filled {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.plan .btn.filled:hover {
  background: var(--brand-dark);
}

/* ============== CTA CARD ============== */
.cta-section {
  padding: 120px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cta-card {
  background: var(--brand);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(112, 195, 252, 0.4);
}
.cta-card h3 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cta-card p {
  font-size: 16px;
  opacity: 0.92;
}
.cta-card .btn-out {
  margin-top: 8px;
  background: #fff;
  color: var(--brand);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.15s;
}
.cta-card .btn-out:hover {
  transform: translateY(-2px);
}

/* ============== FOOTER ============== */
.footer {
  background: var(--footer);
  color: #fff;
  padding: 64px 32px 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand .logo {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}
.footer-brand .tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}
.footer-info div + div {
  margin-top: 2px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============== ABOUT PAGE ============== */
.page-header {
  text-align: center;
  padding: 140px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
  background: var(--brand-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 18px;
  color: var(--text-sub);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px;
}
.about-section h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 12px 0 18px;
}
.about-section .small-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
}
.about-section p {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding: 0 32px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.guide-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 18px;
}
.guide-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
}

.company-minimal {
  text-align: center;
  padding: 120px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.company-minimal .label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}
.company-minimal .line {
  font-size: 15px;
  color: var(--text);
  margin: 8px 0;
  font-weight: 600;
}

/* ============== NOTICE ============== */
.search-bar {
  max-width: 560px;
  margin: 0 auto 48px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.search-bar input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.search-bar::before {
  content: "🔍";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}
.tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-gray);
  transition: all 0.2s;
}
.tab.on {
  background: var(--brand);
  color: #fff;
}
.tab:hover:not(.on) {
  background: var(--bg-gray-2);
}

.notice-list {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 32px;
}
.notice-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  cursor: pointer;
}
.notice-row:hover {
  background: var(--bg-gray);
}
.notice-cat {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  min-width: 78px;
  text-align: center;
}
.notice-cat.maint {
  background: #fff1e0;
  color: #e67e00;
}
.notice-cat.event {
  background: #ffe5ef;
  color: #e0407a;
}
.notice-cat.etc {
  background: #eef1f5;
  color: var(--text-sub);
}
.notice-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.notice-date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 60px 32px;
  align-items: center;
}
.pager button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
}
.pager button.on {
  background: var(--brand);
  color: #fff;
}
.pager button:hover:not(.on) {
  background: var(--bg-gray);
}

/* ============== SUPPORT ============== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding: 0 32px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}
.cat-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-card h3 {
  font-size: 18px;
  font-weight: 800;
}
.contact-card .info {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.contact-card .btn {
  margin-top: 4px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.contact-card .btn:hover {
  background: var(--brand-dark);
}

.inquiry-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}
.inquiry-form h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 28px;
  text-align: center;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field .hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--brand-dark);
}

/* ============== FAQ ============== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.faq-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.faq-row.open {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.faq-q .q-mark {
  color: var(--brand);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.faq-q .q-text {
  flex: 1;
}
.faq-q .q-icon {
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-row.open .q-icon {
  transform: rotate(45deg);
  color: var(--brand);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-row.open .faq-a {
  max-height: 300px;
}
.faq-a-inner {
  padding: 0 24px 24px 56px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.help-card {
  max-width: 560px;
  margin: 80px auto 0;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.help-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.help-card p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.help-card .btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.help-card .btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.help-card .btn.outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-sub);
}
.help-card .btn.outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.help-card .btn.filled {
  background: var(--brand);
  color: #fff;
}
.help-card .btn.filled:hover {
  background: var(--brand-dark);
}

/* ============== COMPARE TABLE ============== */
.compare {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 120px;
}
.compare h3 {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}
.compare-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child {
  border-bottom: none;
}
.compare-row.head {
  background: var(--bg-gray);
  font-weight: 800;
  font-size: 14px;
}
.compare-row.head .col {
  text-align: center;
}
.compare-row .col {
  font-size: 14px;
  color: var(--text-sub);
  text-align: center;
}
.compare-row .col.feat {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}
.compare-row .y {
  color: var(--brand);
  font-weight: 900;
  font-size: 18px;
}
.compare-row .n {
  color: var(--text-light);
}

/* ============== AUTH (LOGIN / SIGNUP) ============== */
.auth-wrap {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
}
.auth-tab {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.auth-tab a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.auth-tab a.on {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.auth-card .field {
  margin-bottom: 16px;
}
.auth-card .field input {
  padding: 12px 14px;
  font-size: 14px;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 18px;
}
.auth-row .link {
  color: var(--text-light);
}
.auth-row .link:hover {
  color: var(--brand);
}
.auth-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.auth-card .btn-submit {
  padding: 14px;
  font-size: 14px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 12px;
  color: var(--text-light);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.social button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.social button:hover {
  background: var(--bg-gray);
  border-color: var(--text-light);
}
.auth-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 8px;
}
.auth-bottom a {
  color: var(--brand);
  font-weight: 700;
  margin-left: 6px;
}
.terms {
  margin: 8px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms label {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.terms label .req {
  color: var(--brand);
  font-weight: 700;
}

/* ============== MODAL ============== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal-backdrop.show {
  display: flex;
  opacity: 1;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal.wide {
  max-width: 560px;
}
.modal-backdrop.show .modal {
  transform: translateY(0) scale(1);
}
.modal-head {
  padding: 28px 32px 20px;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1;
}
.modal-head h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-right: 36px;
  line-height: 1.3;
}
.modal-head p {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-gray);
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.modal-close:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.modal-body {
  padding: 0 32px 28px;
}
.modal-foot {
  padding: 20px 32px 28px;
  display: flex;
  gap: 10px;
}
.modal-foot .btn-cancel {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  background: var(--bg-gray);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.modal-foot .btn-cancel:hover {
  background: var(--bg-gray-2);
}
.modal-foot .btn-primary-sm {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s;
}
.modal-foot .btn-primary-sm:hover {
  background: var(--brand-dark);
}
.modal-foot .btn-primary-sm.full {
  flex: 1;
}
.modal-foot.single .btn-primary-sm {
  flex: 1;
}
.modal .field {
  margin-bottom: 14px;
}
.modal .field input,
.modal .field select,
.modal .field textarea {
  padding: 12px 14px;
  font-size: 14px;
}
.modal .field textarea {
  min-height: 90px;
}
.modal .field label {
  font-size: 12px;
  margin-bottom: 6px;
}
.modal .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.modal .row-2 .field {
  margin-bottom: 0;
}

/* contact display modal */
.contact-display {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}
.contact-display .big-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.contact-display .big-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.contact-display .sub-text {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}
.copy-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 14px;
  transition: all 0.15s;
}
.copy-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.copy-btn.copied {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* terms modal */
.terms-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.terms-tabs button {
  flex: 1;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.terms-tabs button.on {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.terms-content {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  max-height: 380px;
  overflow-y: auto;
  padding: 0 4px 12px 0;
}
.terms-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 8px;
}
.terms-content h4:first-child {
  margin-top: 0;
}
.terms-content p {
  margin-bottom: 10px;
}
.terms-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.terms-content li {
  margin-bottom: 4px;
}
.terms-pane {
  display: none;
}
.terms-pane.on {
  display: block;
}

.terms label .view-link {
  margin-left: auto;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  padding: 2px 6px;
}
.terms label .view-link:hover {
  text-decoration: underline;
}
.terms label {
  justify-content: space-between;
}
.terms label > span:first-of-type {
  flex: 1;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .modal {
    max-width: 100%;
    border-radius: var(--radius);
  }
  .modal-head,
  .modal-body,
  .modal-foot {
    padding-left: 22px;
    padding-right: 22px;
  }
  .modal .row-2 {
    grid-template-columns: 1fr;
  }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .menu.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-right .login {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .sub {
    font-size: 16px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 32px;
  }
  .feature h2 {
    font-size: 32px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    padding: 14px 16px;
    font-size: 13px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 32px;
  }
  .guide-grid,
  .cat-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 32px;
    gap: 16px;
  }
  .page-header h1 {
    font-size: 38px;
  }
  .dash {
    padding: 20px;
  }
  .dash-grid,
  .dash-charts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .nav-inner {
    padding: 14px 20px;
  }
  .hero {
    padding: 100px 24px 80px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 80px 24px;
  }
  .pricing-grid,
  .guide-grid,
  .cat-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .feature {
    padding: 80px 24px;
  }
  .feature h2 {
    font-size: 26px;
  }
  .pricing-title h2,
  .page-header h1 {
    font-size: 30px;
  }
  .cta-card {
    padding: 48px 24px;
  }
  .cta-card h3 {
    font-size: 24px;
  }
  .compare-row {
    grid-template-columns: 1.2fr 1fr 1fr;
    font-size: 12px;
  }
  .compare-row .col:nth-child(5),
  .compare-row .col:nth-child(6) {
    display: none;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .about-section h2 {
    font-size: 28px;
  }
}
