:root {
  --bg: #0a0f1e;
  --bg-soft: #0e1526;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --accent2: #6366f1;
  --gradient: linear-gradient(135deg, #22d3ee, #6366f1);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Background effects */
.bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(700px 500px at 85% 25%, rgba(99, 102, 241, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -2;
}
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(10, 15, 30, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--gradient);
  color: #06080f;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { box-shadow: none; border-color: rgba(255, 255, 255, 0.25); }

/* Hero */
.hero { padding: 110px 24px 90px; text-align: center; }
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 560px;
  margin: 24px auto 36px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 70px 24px; }
.section-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 44px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.4); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.card ul { list-style: none; }
.card li {
  color: var(--muted);
  font-size: 14px;
  padding: 5px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.card li::before { content: "—"; color: var(--accent); margin-right: 10px; }

/* Contact form */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13.5px; color: var(--muted); letter-spacing: 1px; }
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.5);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(148, 163, 184, 0.5); }
.form-card .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.form-note { color: var(--muted); font-size: 12.5px; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 60px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 24px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-mail { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-mail:hover { color: var(--accent); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .stats { gap: 32px; }
}
