/* TripPoint Note - Website Styles (Gemini Aurora Style) */
:root {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --text: #1d1d1f;
  --text-secondary: #86868b;
  --accent: #4787F2;
  --accent-hover: #3a7ae8;
  --card-bg: rgba(255,255,255,0.72);
  --card-border: rgba(0,0,0,0.06);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --border: rgba(0,0,0,0.08);
  --nav-bg: rgba(255,255,255,0.78);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;

  /* App 品牌色 */
  --map-green: #A1CF92;
  --map-pink: #F5B6D9;
  --map-blue: #4787F2;
  --map-green-soft: rgba(161,207,146,0.12);
  --map-pink-soft: rgba(245,182,217,0.12);
  --map-blue-soft: rgba(71,135,242,0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --card-bg: rgba(30,30,30,0.72);
    --card-border: rgba(255,255,255,0.06);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
    --border: rgba(255,255,255,0.08);
    --nav-bg: rgba(10,10,10,0.78);
    --map-green-soft: rgba(161,207,146,0.08);
    --map-pink-soft: rgba(245,182,217,0.08);
    --map-blue-soft: rgba(71,135,242,0.08);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ===== Aurora Background ===== */
.aurora {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: auroraFloat 12s ease-in-out infinite alternate;
}

.aurora::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--map-green), transparent 70%);
  top: -200px; left: -100px;
}

.aurora::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--map-pink), transparent 70%);
  top: -100px; right: -150px;
  animation-delay: -4s;
  animation-duration: 14s;
}

.aurora-extra {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--map-blue), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  top: 100px; left: 40%;
  animation: auroraFloat2 16s ease-in-out infinite alternate;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}

/* Mobile aurora - smaller blobs for better performance */
@media (max-width: 768px) {
  .aurora::before {
    width: 400px; height: 400px;
    filter: blur(60px);
  }
  .aurora::after {
    width: 350px; height: 350px;
    filter: blur(60px);
  }
  .aurora-extra {
    width: 300px; height: 300px;
    filter: blur(60px);
  }
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav .nav-inner {
  max-width: 960px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

nav .logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

nav .nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

nav .nav-links a:hover { color: var(--accent); }

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav .nav-links .lang-switch {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 4px 14px;
  font-size: 13px;
  transition: all 0.2s;
}

nav .nav-links .lang-switch:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero .app-icon {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  margin: 0 auto 32px;
  box-shadow: 0 4px 20px rgba(161,207,146,0.3);
  object-fit: cover;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero .tagline {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero .cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(71,135,242,0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(71,135,242,0.35);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 52px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== Scenarios ===== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scenario-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease;
}

.scenario-card:hover { transform: translateY(-3px); }

.scenario-card .scenario-emoji {
  font-size: 32px;
  margin-bottom: 12px;
}

.scenario-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.scenario-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Pro Banner ===== */
.pro-banner {
  background: linear-gradient(135deg, rgba(161,207,146,0.15) 0%, rgba(71,135,242,0.12) 50%, rgba(245,182,217,0.15) 100%);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.pro-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,182,217,0.25), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.pro-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(161,207,146,0.25), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.pro-banner h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.pro-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.pro-tag {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 980px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ===== Privacy Section ===== */
.privacy-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 28px;
}

.privacy-section h3:first-child { margin-top: 0; }

.privacy-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ===== Content Pages ===== */
.page-header {
  padding: 110px 24px 48px;
  text-align: center;
}

.page-header h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
}

.content-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.content-body h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.content-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text);
}

.content-body ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-body li {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
  color: var(--text);
}

.content-body .meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.content-body a {
  color: var(--accent);
  text-decoration: none;
}

.content-body a:hover { text-decoration: underline; }

/* ===== Support Page ===== */
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.support-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.support-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}

.support-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}

.support-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.support-card a:hover { text-decoration: underline; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* Navigation - Mobile */
  nav .nav-inner {
    padding: 0 16px;
  }
  nav .logo {
    font-size: 15px;
  }

  /* Show hamburger button */
  .nav-toggle {
    display: flex;
  }

  /* Hide nav links by default, show as dropdown */
  nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    gap: 0;
    display: none;
  }

  nav .nav-links.active {
    display: flex;
    padding: 16px;
  }

  nav .nav-links li {
    width: 100%;
  }

  nav .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
  }

  nav .nav-links .lang-switch {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    font-size: 12px;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero .subtitle {
    font-size: 18px;
  }
  .hero .tagline {
    font-size: 16px;
  }
  .hero .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }
  .cta-group {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Sections */
  .section {
    padding: 60px 20px;
  }
  .section-title {
    font-size: 26px;
  }
  .section-subtitle {
    font-size: 15px;
  }

  /* Grids */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .scenario-card {
    padding: 24px 12px;
  }

  /* Pro Banner */
  .pro-banner {
    padding: 40px 24px;
  }
  .pro-banner h2 {
    font-size: 22px;
  }
  .pro-banner p {
    font-size: 15px;
  }
  .pro-features {
    gap: 8px;
  }
  .pro-tag {
    padding: 5px 14px;
    font-size: 13px;
  }

  /* Privacy Section */
  .privacy-section {
    padding: 32px 24px;
  }

  /* Content Pages */
  .page-header {
    padding: 90px 20px 40px;
  }
  .page-header h1 {
    font-size: 28px;
  }
  .page-header p {
    font-size: 15px;
  }
  .content-body {
    padding: 0 20px 60px;
  }
  .content-body h2 {
    font-size: 20px;
  }
  .content-body h3 {
    font-size: 17px;
  }
  .content-body p,
  .content-body li {
    font-size: 15px;
  }

  /* Support */
  .support-cards {
    grid-template-columns: 1fr;
  }
  .support-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  /* Navigation */
  nav {
    height: 48px;
  }
  nav .logo {
    font-size: 15px;
    gap: 8px;
  }
  nav .logo-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }
  nav .nav-links {
    gap: 8px;
  }
  nav .nav-links a {
    font-size: 12px;
  }
  nav .nav-links .lang-switch {
    padding: 2px 8px;
    font-size: 11px;
  }

  /* Hero */
  .hero {
    padding: 90px 16px 50px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero .subtitle {
    font-size: 16px;
  }
  .hero .tagline {
    font-size: 15px;
    margin-bottom: 32px;
  }
  .hero .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    margin-bottom: 24px;
  }

  /* Sections */
  .section {
    padding: 48px 16px;
  }
  .section-title {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .section-subtitle {
    font-size: 14px;
    margin-bottom: 36px;
  }

  /* Feature Cards */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 20px 16px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .feature-card h3 {
    font-size: 16px;
  }
  .feature-card p {
    font-size: 13px;
  }

  /* Scenarios */
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .scenario-card {
    padding: 20px 16px;
  }
  .scenario-card h4 {
    font-size: 15px;
  }
  .scenario-card p {
    font-size: 13px;
  }

  /* Pro Banner */
  .pro-banner {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .pro-banner h2 {
    font-size: 20px;
  }
  .pro-banner p {
    font-size: 14px;
  }
  .pro-tag {
    padding: 4px 12px;
    font-size: 12px;
  }

  /* Privacy Section */
  .privacy-section {
    padding: 28px 20px;
  }
  .privacy-section h3 {
    font-size: 16px;
  }
  .privacy-section p {
    font-size: 14px;
  }

  /* Content Pages */
  .page-header {
    padding: 80px 16px 32px;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .content-body {
    padding: 0 16px 48px;
  }
  .content-body h2 {
    font-size: 18px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .content-body h3 {
    font-size: 16px;
  }
  .content-body p,
  .content-body li {
    font-size: 14px;
    line-height: 1.65;
  }

  /* Support */
  .support-card {
    padding: 20px 16px;
  }
  .support-card h3 {
    font-size: 15px;
  }
  .support-card p {
    font-size: 13px;
  }

  /* FAQ */
  .faq-item {
    padding: 18px 0;
  }
  .faq-item h3 {
    font-size: 15px;
  }
  .faq-item p {
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 28px 16px;
  }
  .footer-links {
    gap: 16px;
  }
  .footer-links a {
    font-size: 13px;
  }
  .footer-copy {
    font-size: 12px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 14px 28px;
  }
  nav .nav-links a {
    padding: 8px 4px;
  }
  .feature-card,
  .scenario-card,
  .support-card {
    min-height: 44px;
  }
}
