/* ========================================= */
/*          蚂蚁AI智投 - 科技清新风格         */
/* ========================================= */

:root {
  --primary: #4F46E5;
  --primary-light: #6366F1;
  --primary-dark: #3730A3;
  --accent: #06B6D4;
  --accent-light: #22D3EE;
  --gradient-1: linear-gradient(135deg, #4F46E5, #06B6D4);
  --gradient-2: linear-gradient(135deg, #6366F1, #22D3EE);
  --dark: #0B1120;
  --dark-2: #111827;
  --dark-3: #1F2937;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(79,70,229,0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========================================= */
/*  Navigation                                */
/* ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

  flex-shrink: 0;
}

.nav-logo-img {
  height: 16px;
  width: auto;
  display: block;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.logo-accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}



.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================= */
/*  Hero                                      */
/* ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #ECFEFF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(79,70,229,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4F46E5 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero-badge-icon {
  font-size: 14px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--dark);
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
}

.stat-plus, .stat-times {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  display: block;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(79,70,229,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,0.4);
}

.btn-icon { font-size: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.8);
  color: var(--dark);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: white;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.2),
    inset 0 1px 2px rgba(255,255,255,0.1);
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #0d1117;
  display: flex;
  flex-direction: column;
}

.phone-screenshot {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.3s ease;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.screenshot-nav .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.screenshot-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 8px 0 10px;
  background: #0d1117;
}

.screenshot-nav .dot.active {
  width: 20px;
  border-radius: 3px;
  background: white;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-text {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

.qr-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Hero QR Card */
.hero-qr-card {
  text-align: center;
  width: 110px;
}

.hero-qr-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.hero-qr-text {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}

.cta-qr-img {
  width: 140px;
  height: auto;
  display: block;
}

.cta-qr {
  display: inline-block;
}

/* ========================================= */
/*  Sections Common                           */
/* ========================================= */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 60px;
}

.section-dark .section-desc {
  color: var(--gray-400);
}

/* ========================================= */
/*  Value Cards                               */
/* ========================================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.4s;
  background: white;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,70,229,0.1);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.value-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ========================================= */
/*  Tech Cards                                */
/* ========================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.tech-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(79,70,229,0.2);
  transform: translateY(-4px);
}

.tech-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.tech-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tech-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tech-bar-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 4px;
  transition: width 1s ease;
}

.tech-bar-label {
  font-size: 11px;
  color: var(--gray-500);
}

/* ========================================= */
/*  Features                                  */
/* ========================================= */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
  background: white;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(79,70,229,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================= */
/*  CTA                                       */
/* ========================================= */
.section-cta {
  background: linear-gradient(135deg, #EEF2FF 0%, #ECFEFF 50%, #F0FDF4 100%);
}

.cta-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 48px;
  background: white;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(79,70,229,0.08);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.05), transparent 70%);
  top: -200px;
  right: -200px;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-qr {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.cta-actions {
  text-align: left;
}

.cta-or {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.search-badge svg {
  color: var(--primary);
}

/* ========================================= */
/*  Footer                                    */
/* ========================================= */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col:last-child span {
  white-space: nowrap;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray-600);
}

.icp-info {
  margin-top: 4px;
  color: var(--gray-600);
  font-size: 11px;
}

/* ========================================= */
/*  Chat Widget                               */
/* ========================================= */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--gradient-1);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(79,70,229,0.3);
  transition: all 0.3s;
  color: white;
  border: none;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.chat-toggle-text {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.chat-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 380px;
  height: 560px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.chat-panel.open {
  display: flex;
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #4F46E5, #06B6D4);
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.ch-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-info {
  flex: 1;
}

.ch-name {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.ch-status {
  font-size: 11px;
  opacity: 0.8;
}

.ch-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ch-close:hover {
  background: rgba(255,255,255,0.3);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--gray-50);
}

.msg {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: msgIn 0.3s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-bot {
  align-self: flex-start;
}

.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.msg-content {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.msg-bot .msg-content {
  background: white;
  border: 1px solid var(--gray-100);
  color: var(--dark);
}

.msg-user .msg-content {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-content ul {
  margin: 6px 0 6px 16px;
}

.msg-content li {
  margin-bottom: 2px;
}

.msg-content p {
  margin-bottom: 6px;
}

.msg-content p:last-child {
  margin-bottom: 0;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border-radius: 50%;
  animation: typingBounce 1.4s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.chat-input-area {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--gray-100);
  background: white;
}

.suggestions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.suggestions::-webkit-scrollbar { display: none; }

.suggest-btn {
  padding: 6px 14px;
  font-size: 11px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: white;
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.suggest-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,70,229,0.05);
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
}

/* ========================================= */
/*  Animations (Intersection Observer)        */
/* ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Stat counter - values set in HTML, just fade in */
  font-weight: 800;
  color: var(--dark);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================= */
/*  Responsive                                */
/* ========================================= */
.desktop-only { display: block; }

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 120px;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-mockup { margin-top: 40px; }
  .desktop-only { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    gap: 16px;
  }

  .nav-cta { display: none; }

  .value-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr; }

  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-divider { display: none; }

  .cta-card { padding: 36px 24px; }
  .cta-code-row { flex-direction: column; gap: 24px; }

  .chat-panel {
    width: calc(100vw - 32px);
    height: 480px;
    right: -8px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
}

/* QR Code Overlay for mobile */
.qr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qr-overlay-content {
  background: white;
  border-radius: 20px;
  padding: 32px 24px 24px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: overlayFadeIn 0.3s ease;
}

.qr-overlay-close {
  position: absolute;
  top: 8px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.qr-overlay-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.qr-overlay-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.qr-overlay-img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.qr-overlay-tip {
  font-size: 12px;
  color: var(--gray-400);
}

@keyframes overlayFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
