/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.35_@opentelemetry+api@1.9.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/.pnpm/next@14.2.35_@opentelemetry+api@1.9.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ink: #10182b;
  --ink-soft: #46506a;
  --paper: #f5f7fb;
  --card: #ffffff;
  --line: #e3e8f2;
  --accent: #2f6bff;
  --accent-dark: #1e4fd6;
  --hero-bg: #0b1220;
  --hero-fg: #eef2fb;
  --hero-muted: #9aa8c7;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Hero (dark) ===== */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(47, 107, 255, 0.35), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(47, 107, 255, 0.18), transparent 55%),
    var(--hero-bg);
  color: var(--hero-fg);
  padding: 0 0 88px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--hero-muted);
}

.nav-login {
  font-size: 0.9rem;
  padding: 8px 18px;
  border: 1px solid rgba(238, 242, 251, 0.35);
  border-radius: 999px;
  color: var(--hero-fg);
  transition: border-color 0.2s, background 0.2s;
}

.nav-login:hover {
  border-color: var(--hero-fg);
  background: rgba(255, 255, 255, 0.06);
}

.hero-inner {
  padding-top: 72px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #bcd0ff;
  background: rgba(47, 107, 255, 0.16);
  border: 1px solid rgba(47, 107, 255, 0.45);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-tagline {
  margin-top: 18px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--hero-muted);
  max-width: 560px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border: 1px solid rgba(238, 242, 251, 0.3);
  color: var(--hero-fg);
}

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

/* 淺色區塊用的次要按鈕 */
.btn-light {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card);
}

.btn-light:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ===== Sections (light) ===== */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.section-head p {
  margin-top: 10px;
  color: var(--ink-soft);
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature:hover {
  box-shadow: 0 10px 28px rgba(16, 24, 43, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 10px;
  background: rgba(47, 107, 255, 0.1);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Get started */
.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.start-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.start-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.start-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1 1;
}

.start-card .btn {
  align-self: flex-start;
}

.start-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--accent-dark);
  white-space: nowrap;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-tag {
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 22px;
  gap: 22px;
  max-width: 860px;
}

.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.plan:hover {
  box-shadow: 0 12px 32px rgba(16, 24, 43, 0.08);
  transform: translateY(-2px);
}

.plan-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 14px 40px rgba(47, 107, 255, 0.14);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35);
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.plan-name small {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 4px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.plan-featured .plan-price .amount {
  color: var(--accent-dark);
}

.plan-price .unit {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.plan-original {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.75;
}

.plan-save {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(47, 107, 255, 0.1);
  border-radius: 999px;
  padding: 3px 12px;
  align-self: flex-start;
}

.plan-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  flex: 1 1;
}

.plan-list li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}

.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: rgba(47, 107, 255, 0.12);
  border-radius: 50%;
  margin-top: 4px;
}

.plan .btn {
  text-align: center;
}

.pricing-footnote {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ===== Footer ===== */
.footer {
  background: var(--hero-bg);
  color: var(--hero-muted);
  padding: 34px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer .brand {
  color: var(--hero-fg);
  font-size: 1rem;
}

@media (max-width: 560px) {
  .hero-inner {
    padding-top: 48px;
  }

  .section {
    padding: 56px 0;
  }
}

