:root {
  /* iOS前端匹配的颜色系统 */
  --bg: #FFFFFF;
  --card-bg: #F7F8FA;
  --surface: #ffffff;
  --primary: #FF6F61;
  --primary-pressed: #D95E52;
  --primary-gradient: linear-gradient(135deg, #FF6F61 0%, #518CFF 100%);
  --brand-gradient-start: #FF6F61;
  --brand-gradient-end: #518CFF;
  --accent: #2C2C2C;
  --text: #222222;
  --text-secondary: #6B6B6B;
  --text-tertiary: #B5B5B5;
  --border: #E9E9E9;
  --success: #34C759;
  --warning: #FF9500;
  --error: #FF3B30;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-hero: 0 40px 100px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 16px 40px rgba(255, 111, 97, 0.25);
  --max-width: 1160px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.hero {
  position: relative;
  min-height: 90vh;
  padding: 32px clamp(20px, 5vw, 72px) 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92) 18%, transparent 60%),
    radial-gradient(circle at 18% 20%, rgba(255, 111, 97, 0.16), transparent 58%),
    radial-gradient(circle at 90% 10%, rgba(81, 140, 255, 0.12), transparent 58%);
  z-index: 0;
}

.navbar {
  position: sticky;
  top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  width: 100%;
  max-width: min(var(--max-width) + 120px, 1240px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(43, 43, 43, 0.08);
  backdrop-filter: blur(24px);
  z-index: 5;
}

.brand,
.brand-small {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-floating);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-small .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-text-cn,
.brand-text-en {
  display: inline;
}

html[lang="en"] .brand-text-cn {
  display: none;
}

html[lang="zh-CN"] .brand-text-en {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13px;
  font-weight: 500;
}

.lang-toggle:hover {
  background: rgba(255, 111, 97, 0.08);
  border-color: rgba(255, 111, 97, 0.3);
}

.lang-toggle .lang-zh,
.lang-toggle .lang-en {
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.lang-toggle .lang-zh.active,
.lang-toggle .lang-en.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  justify-content: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 111, 97, 0.08);
  color: var(--text);
}

.primary-link {
  color: var(--surface);
  background: var(--primary-gradient);
  box-shadow: var(--shadow-floating);
}

.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-small.primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-floating);
}

.btn-small.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(255, 111, 97, 0.35);
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.hero-content {
  margin-top: clamp(56px, 9vw, 128px);
  display: grid;
  gap: clamp(48px, 6vw, 108px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  position: relative;
  z-index: 1;
  max-width: min(var(--max-width) + 120px, 1240px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.08);
  border: 1px solid rgba(255, 111, 97, 0.2);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(42px, 6vw, 66px);
  margin: 0 0 20px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-title-line {
  display: block;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.btn {
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn.primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-floating);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 111, 97, 0.4);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  background: #ffffff;
  border-color: var(--text-secondary);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-badges span {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(208, 208, 208, 0.8);
  box-shadow: 0 10px 22px rgba(43, 43, 43, 0.05);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mock {
  width: clamp(280px, 32vw, 360px);
  background: linear-gradient(140deg, #f7f7f7 0%, #e3e3e3 100%);
  border-radius: 42px;
  padding: 6px;
  border: 1px solid #dcdcdc;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16),
    0 4px 10px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  position: relative;
}

.phone-status {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 114px;
  height: 24px;
  background: #0d0d0d;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #050505 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.speaker {
  width: 60px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-screen {
  background: var(--card-bg);
  border-radius: 32px;
  padding: 0;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  min-height: 600px;
  margin-top: 10px;
}

/* 状态栏 */
.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.status-time {
  font-weight: 600;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.status-signal {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text);
}

.status-5g {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.status-battery {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

/* 导航栏 */
.app-nav-bar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-tabs {
  display: flex;
  gap: 24px;
}

.nav-tab {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 0;
  position: relative;
  cursor: pointer;
  transition: color var(--transition);
}

.nav-tab.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* 应用卡片 */
.app-card {
  background: var(--surface);
  margin: 20px;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.03),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

.app-card-header {
  margin-bottom: 20px;
}

.app-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.app-card-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.app-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.badge-owned {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--success);
  background: rgba(52, 199, 89, 0.1);
  padding: 4px 8px;
  border-radius: 100px;
}

.badge-owned svg {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

/* 单品网格 */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.app-item-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-item-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

/* 单品图片背景色（作为图片加载前的占位和fallback） */
.item-image-top {
  background-color: #f2f2f7;
}

.item-image-bottom {
  background-color: #f2f2f7;
}

.item-image-shoes {
  background-color: #f2f2f7;
}

/* 图片加载时的渐变遮罩，增强视觉效果 */
.item-image-top::after,
.item-image-bottom::after,
.item-image-shoes::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px;
}

.item-check-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.app-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 0 2px;
}

.item-category {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

.item-category svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.item-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* 信息行 */
.app-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 16px;
  border: none;
}

.app-info-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.app-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.app-info-text .label {
  font-size: 11px;
  color: var(--text-secondary);
}

.app-info-text .value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* 提示框 */
.app-tips {
  margin: 0 20px 24px;
  padding: 16px;
  background: rgba(255, 111, 97, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 111, 97, 0.1);
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0;
  box-shadow: 0 2px 4px rgba(255, 111, 97, 0.3);
}

.legal-links {
  text-align: center;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.legal-links a:hover {
  color: var(--text);
}

.phone-bottom {
  margin-top: 18px;
  width: 116px;
  height: 5px;
  border-radius: 999px;
  background: rgba(43, 43, 43, 0.1);
  margin-left: auto;
  margin-right: auto;
}

.screen-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.08);
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 111, 97, 0.18);
}

.screen-card {
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(208, 208, 208, 0.9);
  margin-bottom: 16px;
  box-shadow: 0 18px 36px rgba(43, 43, 43, 0.07);
}

.screen-card.alt {
  background: rgba(255, 111, 97, 0.06);
  border-color: rgba(255, 111, 97, 0.15);
}

.screen-card h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--text);
}

.screen-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.screen-card li::before {
  content: "•";
  margin-right: 8px;
  color: rgba(255, 111, 97, 0.5);
}

.screen-tip {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.section {
  padding: clamp(90px, 10vw, 120px) clamp(20px, 5vw, 72px);
  position: relative;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(43, 43, 43, 0.12);
}

.feature-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--text);
}

.feature-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.6;
}

.workflow {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), var(--bg));
}

.workflow-steps {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 111, 97, 0.08);
  border: 1px solid rgba(255, 111, 97, 0.15);
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--primary);
}

.step h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.highlights {
  background: linear-gradient(140deg, rgba(43, 43, 43, 0.08), rgba(255, 111, 97, 0.06));
}

.highlight-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-grid article {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.highlight-grid h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
}

.highlight-grid p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.quote {
  padding-top: 0;
}

.quote-card {
  max-width: 760px;
  margin: -40px auto 0;
  text-align: center;
  padding: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(208, 208, 208, 0.9);
  box-shadow: 0 32px 80px rgba(43, 43, 43, 0.1);
}

.quote-card p {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--text);
}

.quote-card span {
  color: var(--text-secondary);
  font-size: 16px;
}

.scenarios {
  background: rgba(255, 255, 255, 0.9);
}

.scenario-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.scenario-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.scenario-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--text);
}

.scenario-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.faq {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.9));
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(208, 208, 208, 0.9);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  transition: border var(--transition), box-shadow var(--transition);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

details[open] {
  border-color: rgba(255, 111, 97, 0.3);
  box-shadow: 0 20px 50px rgba(255, 111, 97, 0.12);
}

details p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.cta {
  padding-bottom: clamp(90px, 9vw, 120px);
  background: linear-gradient(140deg, rgba(255, 111, 97, 0.08), rgba(81, 140, 255, 0.08));
}

.cta-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 68px);
  border-radius: var(--radius-lg);
  border: none;
  background: var(--surface);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.cta-card h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 44px);
  color: var(--text);
}

.cta-card p {
  margin: 0 0 32px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  color: var(--text-secondary);
}

input,
textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 15px;
  transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border: 1px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.1);
}

.cta-note {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========== Legal Pages ========== */
.legal-page {
  background: var(--bg);
}

.legal-hero {
  min-height: 60vh;
  padding-bottom: clamp(72px, 8vw, 120px);
}

.legal-hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-top: 36px;
}

.legal-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 111, 97, 0.32);
  background: rgba(255, 111, 97, 0.08);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-size: 12px;
}

.legal-lead {
  margin: 12px 0 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-meta {
  margin: 16px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.legal-highlight-card {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.12), rgba(81, 140, 255, 0.1));
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 111, 97, 0.18);
  box-shadow: var(--shadow-card);
}

.legal-highlight-card h3 {
  margin: 0 0 14px;
  color: var(--text);
}

.legal-highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-highlight-list li {
  position: relative;
  padding-left: 18px;
}

.legal-highlight-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.legal-section {
  background: radial-gradient(circle at 12% 10%, rgba(255, 111, 97, 0.08), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(81, 140, 255, 0.08), transparent 32%),
    var(--bg);
}

.legal-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.legal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.legal-card h3 {
  margin: 0 0 14px;
  color: var(--text);
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: grid;
  gap: 10px;
}

.legal-card.callout {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.08), rgba(81, 140, 255, 0.08));
  border-color: rgba(255, 111, 97, 0.2);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.footer {
  padding: 56px clamp(20px, 5vw, 72px) 32px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(234, 234, 234, 0.9);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-grid p,
.footer-grid ul {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li+li {
  margin-top: 10px;
}

.footer-meta {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 111, 97, 0.3);
  color: var(--primary);
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 22px 44px rgba(43, 43, 43, 0.12);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 1000;
  font-size: 14px;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 960px) {
  .hero {
    padding-bottom: 100px;
  }

  .legal-hero {
    padding-bottom: 88px;
  }

  .legal-hero-content {
    margin-top: 28px;
    gap: 24px;
  }

  .legal-highlight-card,
  .legal-card {
    padding: 22px;
  }

  .navbar {
    position: relative;
    top: 0;
    grid-template-columns: auto auto;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: flex;
    z-index: 6;
  }

  .lang-toggle {
    order: -1;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    right: clamp(18px, 5vw, 52px);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 220px;
    transform: translateY(-24px);
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-card);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    justify-content: flex-start;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 80px;
  }

  .hero-content {
    margin-top: 48px;
  }

  .hero-text h1 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .phone-mock {
    width: clamp(240px, 70vw, 300px);
  }

  .app-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .app-item-image {
    aspect-ratio: 3/4;
  }

  .app-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 22px 18px 70px;
  }

  .section {
    padding: 72px 18px;
  }

  .feature-card,
  .step,
  .scenario-card,
  details {
    padding: 24px;
  }

  .cta-card {
    padding: 36px 24px;
  }

  .phone-mock {
    width: clamp(220px, 75vw, 280px);
    padding: 6px;
  }

  .phone-screen {
    min-height: 500px;
  }

  .app-card {
    margin: 12px;
    padding: 12px;
  }

  .app-grid {
    gap: 4px;
  }

  .app-item-info {
    font-size: 10px;
  }

  .tip-item {
    font-size: 11px;
  }
}
