/* ========== 全局重置 ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --primary-dark: #0D47A1;
  --secondary: #FF6F00;
  --secondary-light: #FF8F00;
  --accent: #00ACC1;
  --text: #1a202c;
  --text-muted: #718096;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 顶部公告栏 ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 7px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar i {
  margin-right: 5px;
}

.top-bar-right {
  margin-left: auto;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #fff;
}

/* ========== 导航栏 ========== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 2px;
}

.logo-text em {
  color: var(--secondary);
  font-style: normal;
}

.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-top: -4px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary);
  background: rgba(21,101,192,0.06);
}

.nav-item.active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  padding: 8px 18px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--primary);
  color: white;
}

.btn-register {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(255,111,0,0.3);
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,111,0,0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 6px;
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1E88E5 70%, #00ACC1 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.hero-bg-anim::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  top: -100px;
  right: -100px;
  animation: rotateSlow 20s linear infinite;
}

.hero-bg-anim::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  bottom: -50px;
  left: 10%;
  animation: rotateSlow 30s linear infinite reverse;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #FFD54F;
  display: block;
}

.hero-text > p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(255,111,0,0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,111,0,0.45);
}

.btn-outline {
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
  color: white;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #FFD54F;
}

.stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* ===== Hero Form Box ===== */
.hero-form-box {
  background: white;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}

.form-tabs {
  display: flex;
  background: #f1f5fb;
}

.tab-btn {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  background: white;
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group.half { margin-bottom: 0; }

.btn-form {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-form:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}

.btn-form:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.form-tip {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.form-tip a {
  color: var(--primary);
  font-weight: 600;
}

.price-result, .track-result {
  margin-top: 14px;
  padding: 12px;
  background: #f0f7ff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  border: 1px solid #bee3f8;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== 特色优势 ========== */
.features-bar {
  background: white;
  padding: 28px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item i {
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.feature-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== 服务区域 ========== */
.services {
  padding: 80px 0;
  background: var(--bg);
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title.left {
  text-align: left;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-title.left h2::after {
  margin: 10px 0 0;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21,101,192,0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-icon i {
  font-size: 24px;
  color: white;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ========== 包裹追踪 ========== */
.track-section {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  padding: 80px 0;
  color: white;
}

.track-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.track-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.track-text > p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.track-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.track-features li i {
  color: #69F0AE;
  font-size: 16px;
}

.track-form-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 32px;
}

.track-form-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 17TRACK Logo + 说明行 */
.track-powered-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.track-powered-row .track-logo-sm {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.track-powered-row span {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
}

.track-form-box textarea {
  width: 100%;
  padding: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  transition: var(--transition);
}

.track-form-box textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.track-form-box textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}

.btn-track {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255,111,0,0.35);
}

.btn-track:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,111,0,0.45);
}

#bigTrackResult {
  margin-top: 16px;
  color: white;
  font-size: 13px;
}

/* ========== 运费查询 ========== */
.price-section {
  padding: 80px 0;
  background: var(--bg);
}

.price-calculator {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.price-form {
  margin-bottom: 28px;
}

.form-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 20px;
  margin-bottom: 20px;
}

.vol-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vol-inputs input {
  width: 0;
  flex: 1;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  transition: var(--transition);
}

.vol-inputs input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

.vol-inputs span {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.btn-calc {
  padding: 13px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21,101,192,0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-calc:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(21,101,192,0.4);
}

.price-result-table {
  overflow-x: auto;
}

.price-result-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.price-result-table th {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.price-result-table th:first-child { border-radius: 8px 0 0 0; }
.price-result-table th:last-child { border-radius: 0 8px 0 0; }

.price-result-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.price-result-table tr:hover td {
  background: #f0f7ff;
}

.price-result-table tr:last-child td {
  border-bottom: none;
}

.price-tag {
  color: var(--secondary);
  font-weight: 700;
  font-size: 16px;
}

/* ========== 合作平台 ========== */
.partners {
  background: white;
  padding: 60px 0;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.partner-item {
  height: 70px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  cursor: pointer;
}

.partner-item:hover {
  background: white;
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(21,101,192,0.12);
  transform: translateY(-2px);
}

.partner-item span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: var(--transition);
}

.partner-item:hover span {
  color: var(--primary);
}

/* ========== 关于我们 ========== */
.about {
  padding: 80px 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.num-item {
  text-align: center;
  padding: 20px 10px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.num-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.num-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.about-img-placeholder {
  background: linear-gradient(135deg, #1565C0, #00ACC1);
  border-radius: 24px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.about-img-placeholder i {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.about-img-placeholder p {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.9;
}

/* ========== 登录区域 ========== */
.login-section {
  background: white;
  padding: 80px 0;
}

.login-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.login-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.login-text > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.login-text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-text li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.login-text li i {
  color: var(--primary);
  font-size: 16px;
}

.login-form-inner {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}

.login-form-inner h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-muted);
}

.forgot-pwd {
  color: var(--primary);
  font-weight: 500;
}

.btn-login-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(21,101,192,0.4);
}

.login-tip {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.login-tip a {
  color: var(--primary);
  font-weight: 600;
}

/* ========== 联系我们 ========== */
.contact {
  padding: 80px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form-box {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-row2 input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
}

.form-row2 input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(21,101,192,0.4);
}

/* ========== 页脚 ========== */
.footer {
  background: #0D1B2A;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer-logo i {
  color: var(--accent);
}

.footer-brand p {
  font-size: 13px;
  margin-bottom: 6px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

/* ========== 返回顶部 ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,101,192,0.35);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.45);
}

/* ========== Toast 通知 ========== */
.toast {
  position: fixed;
  bottom: 80px;
  right: 30px;
  padding: 14px 24px;
  background: #323232;
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: linear-gradient(135deg, #388E3C, #43A047);
}

.toast.error {
  background: linear-gradient(135deg, #C62828, #E53935);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 { font-size: 38px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-form-box { max-width: 480px; margin: 0 auto; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-logos { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row3 { grid-template-columns: 1fr 1fr; }
  .about-numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar .container { gap: 12px; font-size: 12px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
    gap: 4px;
  }

  .hero { padding: 80px 0 40px; min-height: auto; }
  .hero-text h1 { font-size: 30px; }
  .track-inner, .about-inner, .login-inner, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .partners-logos { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row3 { grid-template-columns: 1fr; }
  .price-calculator { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 26px; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .about-numbers { grid-template-columns: repeat(2, 1fr); }
  .contact-form-box { padding: 24px; }
}
