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

:root {
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-bg: #FAF6EE;
  --dark: #2C2C2C;
  --text: #444;
  --text-light: #888;
  --white: #fff;
  --border: #E8E0D0;
  --bg: #FDFBF7;
  --radius: 16px;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 64px 24px 48px;
  background: linear-gradient(160deg, #fff 60%, var(--gold-bg) 100%);
  border-bottom: 1px solid var(--border);
}

.brand-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 5px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Tools Grid ===== */
main.container {
  flex: 1;
  padding-top: 48px;
  padding-bottom: 64px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===== Tool Card ===== */
.tool-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tool-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 8px 32px rgba(184, 134, 11, 0.15);
  transform: translateY(-3px);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gold-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-body {
  flex: 1;
  min-width: 0;
}

.tool-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  background: var(--gold-bg);
  border-radius: 10px;
  padding: 2px 10px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tool-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.tool-arrow {
  font-size: 18px;
  color: var(--border);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tool-card:hover .tool-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
}

.ig-link {
  display: inline-flex;
  align-items: center;
  vertical-align: -3px;
  margin-left: 8px;
  color: var(--text-light);
  transition: color 0.2s;
}

.ig-link:hover {
  color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  h1 {
    font-size: 30px;
  }

  .hero {
    padding: 48px 24px 36px;
  }

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

  .tool-card {
    padding: 22px 20px;
  }

  .tool-icon {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .tool-name {
    font-size: 16px;
  }
}
