@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --bg-dark: #0b1221;
  --bg-tint: #111a2f;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-cyan: #06b6d4;
  --glass-bg: rgba(22, 32, 50, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gradient-glow: radial-gradient(circle at center, rgba(16, 185, 129, 0.15), transparent 60%);
  --nav-height: 72px;
}

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

body {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-secondary { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-20 { margin-top: 3rem; }
.pl-4 { padding-left: 2rem; }
.pr-4 { padding-right: 2rem; }

/* Layout & Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 6rem 0; position: relative; }
.section.tint { background-color: var(--bg-tint); }

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0; width: 100%; height: var(--nav-height);
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 18, 33, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand {
  font-size: 1.25rem; font-weight: 700; color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.logo-img { height: 48px; width: 48px; border-radius: 6px; margin-right: 8px; vertical-align: middle; mix-blend-mode: screen; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  color: var(--text-main); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: color 0.2s;
}
.site-nav a:hover { color: var(--accent); }
.mobile-menu-toggle {
  display: none; background: none; border: none; color: #fff;
  width: 32px; height: 32px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.btn.primary {
  background-color: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn.primary:hover {
  background-color: var(--accent-hover); border-color: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.btn.ghost {
  background-color: transparent; color: #fff; border: 1px solid var(--glass-border);
}
.btn.ghost:hover { background-color: rgba(255,255,255,0.05); }
.btn.large { padding: 0.8rem 2rem; font-size: 1.1rem; }

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative;
}
.hero::before {
  content: ''; position: absolute;
  top: 10%; right: 10%; width: 600px; height: 600px;
  background: var(--gradient-glow);
  filter: blur(80px); z-index: -1; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.hero-grid.align-center { align-items: center; }
.kicker {
  color: var(--accent); font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 1rem; text-transform: uppercase; font-size: 0.9rem;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.2; margin-bottom: 1.5rem;
}
.hero-text .lead {
  font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem;
}
.cta-row { display: flex; gap: 1rem; }
.hero-image {
  border-radius: 16px; overflow: hidden; padding: 0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.circular-image {
  border-radius: 50%; aspect-ratio: 1/1; max-width: 400px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* Features Grid & Cards */
.section-head { max-width: 700px; margin: 0 auto 4rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--text-muted); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.card-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1.5rem; }

/* Badges & Links */
.badge {
  display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
  background-color: rgba(16, 185, 129, 0.15); color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge.plan { background-color: rgba(245, 158, 11, 0.15); color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
.badge.ai { background-color: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.3); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; color: var(--accent); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: all 0.2s;
}
.card-link:hover { color: #fff; gap: 0.8rem; }

/* AI List */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .check { color: var(--accent); font-size: 1.2rem; margin-top: 0.2rem; }
.feature-list strong { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 0.3rem; }

/* Comparison Table */
.comparison-table { padding: 0; display: flex; flex-direction: column; }
.comparison-table .tr {
  display: grid; grid-template-columns: 1fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--glass-border);
}
.comparison-table .tr:last-child { border-bottom: none; }
.comparison-table .th { background: rgba(255,255,255,0.03); font-weight: 600; }
.comparison-table .td { padding: 1.5rem; }
.comparison-table .highlight { color: var(--text-main); }
.comparison-table .highlight strong { color: var(--accent); }
.comparison-table .dim { color: var(--text-muted); }

/* Pricing / CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--bg-tint), #052e16);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0;
}
.cta-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center; }
.big-zero { font-size: 8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.zero-percent p { font-size: 1.5rem; font-weight: 600; margin-top: 1rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border); padding: 4rem 0 2rem; background: #060a13;
}
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-links h3 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Scroll Animations */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .cta-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-grid .pl-4, .hero-grid .pr-4 { padding: 0; }
  .feature-list li { text-align: left; }
  .cta-row { justify-content: center; }
  .comparison-table .tr { display: flex; flex-direction: column; }
  .comparison-table .td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 768px) {
  .site-nav, .site-header .btn { display: none; }
  .mobile-menu-toggle { display: block; }
  .cols-3, .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-top: 8rem; }
  .section { padding: 4rem 0; }
}
