/* CSS Variables & Reset */
:root {
  --primary-color: #1E3A8A;
  --primary-hover: #1D4ED8;
  --secondary-color: #0EA5E9;
  --accent-color: #14B8A6;
  --bg-color: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-dark: #0F172A;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: rgba(226, 232, 240, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --shadow-glow: 0 0 20px rgba(30, 58, 138, 0.15);
  
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Global Background Textures */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(rgba(30, 58, 138, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h1 { font-size: 56px; margin-bottom: 24px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 40px; margin-bottom: 16px; }
h3 { font-size: 24px; margin-bottom: 16px; }
h4 { font-size: 18px; margin-bottom: 8px; }

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

ul { list-style: none; }

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

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
}

.bg-subtle { 
  background-color: var(--bg-subtle); 
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 14px; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Gradients & Decorators */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.bg-shape-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: var(--secondary-color);
}

.bg-shape-2 {
  top: 20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--primary-color);
  opacity: 0.2;
}

/* Glassmorphism */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.6), transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: #FFFFFF;
  transform: translateY(-4px);
}

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

.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.glass-header.scroll-down {
  transform: translateY(-100%);
}

.glass-header.scroll-up {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-size: 15px;
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: #fff;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--primary-hover);
  color: #fff;
}

.glow-effect {
  box-shadow: 0 8px 24px -8px var(--primary-color);
}

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

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header Nav */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: block;
  height: 60px;
  width: 310px;
  background: url("/logo/logo.png") left center / contain no-repeat;
  overflow: hidden;
  text-indent: 200%;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Grid System */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1.1; }

.hero-title-small {
  font-size: 0.78em;
}

.hero-title-emphasis {
  white-space: nowrap;
  display: inline-block;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(30, 58, 138, 0.05);
  color: var(--primary-color);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border-radius: 100px;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tag-logo {
  flex-shrink: 0;
}

.tag-logo text {
  font-family: var(--font-sans);
}

.tag.outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

/* Hero Visual */
.hero-visual {
  flex: 0.9;
  display: flex;
  justify-content: flex-end;
}

.visual-card {
  padding: 40px;
  width: 100%;
  max-width: 480px;
}

.visual-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.visual-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.visual-card-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.step .icon {
  font-size: 20px;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 16px;
  line-height: 1.2;
}

.step-desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
}

.step.is-active .step-desc,
.step.active-step .step-desc {
  color: rgba(30, 58, 138, 0.75);
}

.step.active-step,
.step.is-active {
  background: linear-gradient(to right, rgba(30, 58, 138, 0.05), transparent);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(8px);
  transition: all 0.3s;
}

.step-line {
  height: 24px;
  width: 2px;
  background: var(--border-color);
  margin-left: 36px;
}

.step-line.is-active {
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.65), rgba(14, 165, 233, 0.35));
}

/* Pain Points */
.pain-points .section-header h2 {
  white-space: nowrap;
  font-size: 36px;
}

.bullet-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.card-icon.error { background: #FEE2E2; color: #EF4444; }
.card-icon.warning { background: #FEF3C7; color: #F59E0B; }

/* What is GEO */
.feature-card {
  padding: 48px;
  text-align: center;
}

.definition-text {
  font-size: 20px;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-box {
  padding: 40px;
}

.box-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Services */
.service-card {
  padding: 40px;
}

.card-icon-lg {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(14, 165, 233, 0.1));
  color: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card ul {
  margin-top: 24px;
}

.service-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.service-card ul li::before {
  content: '→';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  position: relative;
  z-index: 2;
  background: var(--glass-bg);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Sample Report */
.report-wrapper {
  display: flex;
  gap: 80px;
  align-items: center;
}

.report-features { flex: 1; }

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
}

.feature-list svg {
  width: 24px; height: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.report-mockup { flex: 1.2; }

.mac-window {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.mac-header {
  background: #F1F5F9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.mac-title {
  margin-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.mac-body {
  padding: 32px;
  background: #FAFAFA;
}

.mockup-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-row:last-child {
  border: none; margin: 0; padding: 0;
}

.mockup-row .label {
  font-size: 14px;
  color: var(--text-muted);
}

.mockup-row .value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}
.text-error { color: #EF4444 !important; }
.text-success { color: #10B981 !important; }

/* Why Us */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.comp-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.comp-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.comp-card h4 { font-size: 20px; }

/* FAQ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s;
}
.accordion-item:hover {
  border-color: var(--primary-color);
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 24px 32px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header::after {
  content: '+';
  font-size: 24px;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.accordion-item.active .accordion-header::after {
  content: '−';
  color: var(--primary-color);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.active .accordion-content {
  max-height: 300px;
}
.accordion-content p {
  padding: 0 32px 32px;
  color: var(--text-muted);
}

/* Contact */
.contact-wrap {
  display: flex;
  gap: 60px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.contact-info {
  flex: 1;
  padding: 60px;
  background: var(--bg-subtle);
}
.contact-form-wrap {
  flex: 1.2;
  padding: 60px 60px 60px 0;
}
.form-group {
  margin-bottom: 24px;
}
.form-row {
  display: flex;
  gap: 16px;
}
.form-row .form-group {
  flex: 1;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.form-success {
  text-align: center;
  padding: 60px 0;
}
.form-success.hidden { display: none; }
.success-icon {
  width: 64px; height: 64px;
  background: #10B981; color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
}

/* Footer */
#footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 80px 0 32px;
}
.footer-content {
  border-bottom: 1px solid #1E293B;
  padding-bottom: 48px;
  margin-bottom: 32px;
  text-align: center;
}
.footer-brand {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.footer-desc {
  max-width: 600px;
  margin: 0 auto;
}
.footer-bottom {
  text-align: center;
  font-size: 14px;
}

/* Animations */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}
.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

/* Floating Contact Widget & QR */
.floating-contact {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.qr-popup {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 200px;
  padding: 16px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.floating-contact:hover .qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.qr-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  background: white;
}

.qr-popup p {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.contact-fab {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all 0.3s ease;
}

.contact-fab:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(30, 58, 138, 0.3);
}

.contact-qr {
  padding-top: 32px;
  border-top: 1px dashed var(--border-color);
  width: 100%;
}

.inline-qr {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: white;
}


/* Demo Comparison Section */
.comparison-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.chat-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: 16px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.badge-status.before { background: #FEE2E2; color: #EF4444; }
.badge-status.after { background: #D1FAE5; color: #0EA5E9; }
.chat-title { font-size: 14px; color: var(--text-muted); font-weight: 600; }

.chat-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
}
.chat-msg {
  display: flex;
  gap: 16px;
  width: 100%;
}
.chat-msg.user {
  flex-direction: row-reverse;
}
.msg-bubble {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 16px;
  max-width: 85%;
}
.chat-msg.user .msg-bubble {
  background: var(--primary-color);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.ai .msg-bubble {
  background: #F8FAFC;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
  width: 100%;
}
.ai-avatar {
  font-size: 24px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.citation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 500;
}
.chat-analysis {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
}
.chat-analysis.error { color: #EF4444; }
.chat-analysis.success { color: #10B981; }

/* Typing Indicator & Animation */
.typing-indicator {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  border-top-left-radius: 4px;
  width: fit-content;
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #CBD5E1;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.ai-msg-content { display: none; }
.msg-chunk {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}
.msg-chunk.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 40px; }
  .pain-points .section-header h2 { white-space: normal; }
  .hero-content, .report-wrapper, .contact-wrap {
    flex-direction: column;
  }
  .hero { padding-top: 120px; text-align: center; }
  .hero-actions { justify-content: center; }
  .platform-tags { justify-content: center; }
  .split-content, .three-cols, .comparison-grid, .comparison-demo-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .contact-info { padding: 40px; }
  .contact-form-wrap { padding: 40px; }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .section { padding: 80px 0; }
  .mobile-menu-btn { display: flex; }
  .logo { width: 230px; height: 44px; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.show { display: flex; }
  .cta-header { display: none; }
  .hero-actions { flex-direction: column; }
  .form-row { flex-direction: column; }
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  opacity: 0.7;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  z-index: 1000;
  padding: 8px 0;
  flex-direction: column;
  border: 1px solid var(--glass-border);
}
.dropdown:hover .dropdown-menu {
  display: flex;
}
.dropdown-menu a {
  padding: 12px 20px;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  white-space: nowrap;
  font-size: 14px;
  transition: all 0.3s ease;
}
.dropdown-menu a:hover, .dropdown-menu a.active {
  background-color: rgba(37, 99, 235, 0.05);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    background: transparent;
    min-width: auto;
  }
  .dropdown.active .dropdown-menu {
    display: flex;
  }
  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }
}


/* News List Styles */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.news-item {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-color);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.news-source-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.news-source-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 15px;
}

.news-date {
  font-size: 13px;
  color: #94a3b8;
}

.news-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-item:hover .news-title {
  color: var(--primary-color);
}

.news-summary {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.news-read-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.news-item:hover .news-read-more {
  gap: 8px;
}

@media (min-width: 768px) {
  .news-item {
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    margin-bottom: 0;
    border-right: 1px solid var(--border-color);
    padding-right: 32px;
    justify-content: flex-start;
  }
  
  .news-source-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .news-source-name {
    text-align: center;
    margin-bottom: 4px;
  }

  .news-date {
    text-align: center;
  }
  
  .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
