/* ===== CSS Variables ===== */
:root {
  --primary: #343a40;
  --accent: #ED771E;
  --accent-light: #F59347;
  --bg: #f8f9fa;
  --text: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border: #e9ecef;
  
  --deepseek: #4a90d9;
  --doubao: #ED771E;
  --chatgpt: #10a37f;
  --kimi: #8b5cf6;
  --yuanbao: #00a1d6;
  --yiyan: #2932e1;
  --qwen: #ff6a00;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 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.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Noise Overlay ===== */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== Grid Pattern ===== */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ===== Buttons ===== */
.btn-get-solution {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(237, 119, 30, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-get-solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-get-solution:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(237, 119, 30, 0.4);
}

.btn-get-solution:hover::before {
  left: 100%;
}

.btn-get-solution:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(237, 119, 30, 0.3);
}

.btn-get-solution svg {
  transition: transform 0.3s ease;
}

.btn-get-solution:hover svg {
  transform: translateX(4px);
}


.load-more-container {
    text-align: center;
    margin: 60px 0 100px;
    display: flex;
    justify-content: center;
}
.btn-load-more {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.05); /* 极简半透明 */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
    padding: 14px 60px; /* 宽度向两边伸�?*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-load-more svg {
    transition: transform 0.4s ease;
}

.btn-load-more:hover svg {
    transform: translateY(3px); /* 箭头向下微动 */
}

/* 按钮内部的流光动�?*/
.btn-load-more::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.btn-load-more:hover::after {
    left: 120%;
    transition: all 0.6s ease;
}

/* 适配移动�?*/
@media (max-width: 768px) {
    .btn-load-more {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Text Gradient ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(237, 119, 30, 0.1);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

/* 滚动后的效果：毛玻璃科技�?*/
.navbar.scrolled {
  /* padding: 1.5rem 0; */
  background: rgba(248, 249, 250, 0.8); /* 适配您的 --bg 变量 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 链接微动�?*/
.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--text);
  margin: 0 1.25rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #ed914b);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after, 
.nav-link.active::after {
  width: 20px;
}
.btn-contact {
  padding: 0.6rem 1.25rem;
  background: var(--text);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--text);
}

.btn-contact:hover {
  background: transparent;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式调�?*/
@media (max-width: 1024px) {
  .nav-links { display: none; } /* 移动端隐�?*/
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  /* color: var(--text); */
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 9999px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.125rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 0.25rem;
  background: var(--accent);
  border-radius: 50%;
}

.nav-cta {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.mobile-menu-content {
  position: absolute;
  top: 6rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(-1rem);
  opacity: 0;
  transition: var(--transition-bounce);
}

.mobile-menu.active .mobile-menu-content {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: var(--bg);
  color: var(--text);
}

.mobile-cta {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--bg) 50%, #FFF4ED 100%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 18rem;
  height: 18rem;
  background: rgba(237, 119, 30, 0.05);
  top: 5rem;
  left: 2.5rem;
}

.shape-2 {
  width: 24rem;
  height: 24rem;
  background: rgba(237, 119, 30, 0.1);
  bottom: 5rem;
  right: 2.5rem;
  animation-delay: -3s;
}

.shape-3 {
  width: 50rem;
  height: 50rem;
  background: radial-gradient(circle, rgba(237, 119, 30, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(237, 119, 30, 0.1);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-subtitle .highlight {
  color: var(--text);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .trust-indicators {
    justify-content: flex-start;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: -1rem;
  right: -1rem;
}

.card-2 {
  bottom: -1rem;
  left: -1rem;
  animation-delay: -1.5s;
}

.floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
}

.floating-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  font-size: 1.25rem;
}

.floating-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.floating-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(237, 119, 30, 0.2) 0%, rgba(245, 147, 71, 0.2) 100%);
  border-radius: 2rem;
  filter: blur(20px);
  z-index: -1;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ===== Stats Section ===== */
.stats {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--bg), var(--white));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stats-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.5rem;
  transform: translateY(-50%);
  display: none;
}

@media (min-width: 1024px) {
  .stats-line {
    display: block;
  }
}

.stats-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2s ease;
}

.stats-path.visible {
  stroke-dashoffset: 0;
}

/* ===== Solution Section ===== */
.solution {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.solution-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, #FFF4ED, transparent);
}

.solution-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-desc .brand {
  color: var(--accent);
  font-weight: 500;
}

.section-desc .platform {
  font-weight: 500;
}

.platform.deepseek { color: var(--deepseek); }
.platform.doubao { color: var(--doubao); }
.platform.kimi { color: var(--kimi); }
.platform.yuanbao { color: var(--yuanbao); }
.platform.yiyan { color: var(--yiyan); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  transition: var(--transition);
}

.step-item:hover {
  background: #FFF4ED;
}

.step-time {
  flex-shrink: 0;
  width: 4rem;
  height: 2.5rem;
  background: rgba(237, 119, 30, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.step-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phases-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.phase-card {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
}

.phase-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phase-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Solution Image */
.solution-image-wrapper {
  position: relative;
}

.solution-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.solution-image img {
  width: 100%;
  height: auto;
}

.solution-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.stats-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.stats-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.stats-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.stats-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.solution-glow {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: rgba(237, 119, 30, 0.1);
  border-radius: 50%;
  filter: blur(20px);
}

/* ===== Process Section ===== */
.process {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid #fde6e6;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border-top: 4px solid var(--card-color);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.process-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--card-color);
  opacity: 0.2;
}

.process-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.process-list li span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.process-highlight {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.process-pulse {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: none;
}

@media (min-width: 1024px) {
  .process-pulse {
    display: block;
  }
  
  .process-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 2s ease-out infinite;
  }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== Platforms Section ===== */
.platforms {
  position: relative;
  padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
}

.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.platforms:hover .spotlight {
  opacity: 1;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .platforms-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.platform-card {
  position: relative;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: 1px solid #ebebeb;
}

.platform-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.platform-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.platform-card:hover::after {
  opacity: 0.3;
  filter: blur(20px);
  background: var(--card-color);
}

.platform-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
}

.platform-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.platform-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.platform-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.platforms-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Cases Section ===== */
.cases {
  padding: 6rem 0;
  background: var(--bg);
}

.stats-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .stats-overview {
    grid-template-columns: repeat(4, 1fr);
  }
}

.overview-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  text-align: center;
}

.overview-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.overview-value {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.overview-value span {
  color: var(--accent);
}

.overview-value strong {
  color: var(--text);
}

.cases-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
}

.case-tags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.case-tags span {
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 0.25rem;
  font-size: 0.625rem;
  color: var(--white);
}

.case-content {
  padding: 1.25rem;
}

.case-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.case-card:hover .case-title {
  color: var(--accent);
}

.case-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.metric {
  text-align: center;
}

.metric svg {
  margin: 0 auto 0.25rem;
}

.metric-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.metric-label {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.case-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.tag {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--white);
}

.tag.deepseek { background: var(--deepseek); }
.tag.doubao { background: var(--doubao); }
.tag.yuanbao { background: var(--yuanbao); }
.tag.yiyan { background: var(--yiyan); }

/* ===== WhatIsGEO Section ===== */
.whatisgeo {
  position: relative;
  padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
}

.whatisgeo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #FFF4ED, transparent);
}

.whatisgeo-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .whatisgeo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.whatisgeo-desc {
  margin: 1.5rem 0;
}

.whatisgeo-desc p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.highlight-box {
  padding: 1rem;
  background: #FFF4ED;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1rem;
}

.highlight-box p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.dark-box {
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #495057 100%);
  border-radius: var(--radius);
}

.dark-box p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--white);
}

.dark-box .accent {
  color: var(--accent);
  font-weight: 600;
}

.features-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background: var(--bg);
  border-radius: 5px;
  transition: var(--transition);
  border: 1px solid #fcebeb;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* WhatIsGEO Image */
.whatisgeo-image-wrapper {
  position: relative;
}

.whatisgeo-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.whatisgeo-image img {
  width: 100%;
  height: auto;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.floating-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bottom-stats {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat:nth-child(3) .stat-num { color: var(--deepseek); }
.stat:nth-child(5) .stat-num { color: #10b981; }

.stat-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

.image-glow {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(237, 119, 30, 0.1);
  border-radius: 50%;
  filter: blur(20px);
}

/* ===== Knowledge Section ===== */
.knowledge {
  padding: 6rem 0;
  background: var(--bg);
}

.knowledge-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.knowledge-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.knowledge-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.knowledge-item.active {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.knowledge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
}

.knowledge-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(237, 119, 30, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.knowledge-title {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.knowledge-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-bounce);
}

.knowledge-item.active .knowledge-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.knowledge-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.knowledge-item.active .knowledge-content {
  max-height: 800px;
}

.knowledge-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.knowledge-body p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.knowledge-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text);
}

.knowledge-body ul,
.knowledge-body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.knowledge-body ul {
  list-style: disc;
}

.knowledge-body ol {
  list-style: decimal;
}

.knowledge-body li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.knowledge-body li strong {
  color: var(--text);
}

.knowledge-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.knowledge-body th,
.knowledge-body td {
  padding: 0.5rem;
  border: 1px solid var(--border);
  text-align: left;
}

.knowledge-body th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.knowledge-body td {
  color: var(--text-muted);
}

/* ===== FAQ Section ===== */
.faq {
  padding: 6rem 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-left .section-desc {
  margin-left: 0;
}

.contact-cta {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #495057 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
}

button#copyPhoneBtn {
  color: #fff;
}

.cta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cta-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-weight: 600;
}

.cta-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  background: #FFF4ED;
}

.faq-item.active {
  background: #FFF4ED;
  box-shadow: var(--shadow);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  text-align: left;
}

.faq-header span {
  font-weight: 500;
  color: var(--text);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-content {
  max-height: 300px;
}

.faq-content p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  padding: 4rem 0 0;
  background: var(--text);
  color: var(--white);
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.contact-item:hover {
  color: var(--white);
}

.footer-links h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

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

.footer-links a::after {
  content: '';
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-links a:hover::after {
  content: '↗';
  opacity: 1;
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.05;
}

.footer-glow-1 {
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: var(--accent);
}

.footer-glow-2 {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: var(--deepseek);
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 639px) {
  .section-title {
    font-size: 1.875rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .stats-card,
  .floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    animation: none;
  }
  
  .bottom-stats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Tool Page Styles ===== */

/* Page Header */
.page-header-section {
  position: relative;
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, var(--bg) 0%, #FFF4ED 100%);
  overflow: hidden;
}

.page-header-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(237, 119, 30, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Tool Container */
.tool-container {
  max-width: 65%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.tool-card {
  background: var(--white);
  border-radius: 5px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.tool-section {
  margin-bottom: 2rem;
}

.tool-section:last-child {
  margin-bottom: 0;
}

.tool-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.tool-section-title .step-number {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Form Elements */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(237, 119, 30, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 200px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

/* Platform Grid */
.platform-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .platform-select-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .platform-select-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.platform-select-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.platform-select-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.platform-select-item.active {
  border-color: var(--accent);
  background: rgba(237, 119, 30, 0.05);
}

.platform-select-item img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.platform-select-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

/* Tags Input */
.tags-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  min-height: 3.5rem;
  cursor: text;
  transition: var(--transition);
}

.tags-input-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(237, 119, 30, 0.1);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(237, 119, 30, 0.1);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-pill .remove {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.tag-pill .remove:hover {
  opacity: 1;
}

.tag-input {
  flex: 1;
  min-width: 100px;
  border: none;
  outline: none;
  padding: 0.375rem;
  font-size: 1rem;
  background: transparent;
}

/* Preset Buttons */
.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.preset-btn {
  padding: 0.375rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover {
  background: rgba(237, 119, 30, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #E86310;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(237, 119, 30, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

ul.feature-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

@media (min-width: 640px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalSlide 0.3s ease;
}

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

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #10b981;
  font-size: 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.modal-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
}

.modal-row-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-row-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.modal-row-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.modal-footer {
  display: flex;
  gap: 1rem;
}

.modal-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn-secondary {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.modal-btn-secondary:hover {
  background: var(--border);
}

.modal-btn-primary {
  background: var(--accent);
  border: none;
  color: var(--white);
}

.modal-btn-primary:hover {
  background: #E86310;
}

/* Loading */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 3000;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Report Card */
.report-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.report-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.report-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-actions {
  display: flex;
  gap: 0.5rem;
}

.report-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.report-btn-outline {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.report-btn-outline:hover {
  background: var(--bg);
}

.report-btn-primary {
  background: #10b981;
  border: none;
  color: var(--white);
}

.report-btn-primary:hover {
  background: #059669;
}

/* Score Summary */
.score-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.score-item {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
}

.score-item.positive {
  background: rgba(16, 185, 129, 0.1);
}

.score-item.negative {
  background: rgba(239, 68, 68, 0.1);
}

.score-item.total {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.score-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.score-value {
  font-size: 2rem;
  font-weight: 700;
}

.score-item.positive .score-value {
  color: #10b981;
}

.score-item.negative .score-value {
  color: #ef4444;
}

.score-item.total .score-value {
  background: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table th,
.data-table td {
  padding: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.data-table tr:hover {
  background: rgba(248, 250, 252, 0.5);
}

.data-table .rank {
  font-weight: 700;
  width: 50px;
}

.data-table .score {
  font-weight: 700;
  width: 80px;
}

.data-table .score.high {
  color: #10b981;
}

.data-table .score.medium {
  color: #f59e0b;
}

.data-table .score.low {
  color: #ef4444;
}

/* Tab Switcher */
.tab-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem;
  background: var(--bg);
  border-radius: var(--radius);
}

.tab-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--white);
  color: var(--accent);
  border: 1px solid;
}

/* Region Picker */
.region-picker-container {
  position: relative;
}

.region-input {
  cursor: pointer;
  background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 12px center;
  background-size: 12px;
}

.region-picker-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 520px;
  max-height: 360px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.region-search {
  position: relative;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.region-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.625rem center;
}

.region-columns {
  display: flex;
  height: 260px;
  overflow: hidden;
}

.column {
  flex: 0;
  overflow-y: auto;
  border-right: 1px solid #e2e8f0;
  padding: 8px 0;
  display: none;
  transition: flex 0.25s ease;
}

.column.active {
  display: block;
  flex: 1;
}

#provinceColumn {
  display: block !important;
  flex: 1.1;
}

.region-item {
  padding: 8px 16px;
  cursor: pointer;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.region-item:hover,
.region-item.selected {
  background: #d1fae5;
  color: #10b981;
}

.region-item::after {
  content: '>';
  color: #94a3b8;
  font-size: 12px;
  opacity: 0.6;
}

.region-item.selected::after {
  content: '✓';
  color: #10b981;
  opacity: 1;
}

.region-hint {
  padding: 12px;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.column:last-child {
  border-right: none;
}

.region-item {
  padding: 0.625rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.region-item:hover {
  background: var(--bg);
}

.region-item.selected {
  background: rgba(237, 119, 30, 0.1);
  color: var(--accent);
}

.region-item::after {
  content: '>';
  font-size: 0.7rem;
  color: var(--text-muted);
}

.region-item.selected::after {
  content: '✓';
  color: var(--accent);
}

.region-hint {
  padding: 0.625rem 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Keyword Expansion Specific */
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.category-btn.active {
  background: var(--accent);
  border-color: transparent;
  color: var(--white);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .input-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-item {
  display: flex;
  flex-direction: column;
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.input-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.input-title .required {
  color: var(--accent);
}

.preset-load-btn {
  padding: 0.25rem 0.625rem;
  background: rgba(237, 119, 30, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--accent);
  cursor: pointer;
  transition: var(--transition);
}

.preset-load-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.level-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.level-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.level-checkbox-item:hover {
  border-color: var(--accent);
}

.level-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.level-checkbox-item label {
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
}

.level-checkbox-item:has(input:checked) {
  background: rgba(237, 119, 30, 0.1);
  border-color: var(--accent);
}

.level-checkbox-item:has(input:checked) label {
  color: var(--accent);
  font-weight: 500;
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.action-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.action-btn-outline {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.action-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.action-btn-primary {
  background: var(--accent);
  border: none;
  color: var(--white);
}

.action-btn-primary:hover {
  background: #E86310;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo Dot */
.logo-dot {
  color: var(--accent);
}


/* ===== GEO News Page Styles ===== */

/* News Category Buttons */
.news-category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg);
  color: var(--text-muted);
  border: 2px solid transparent;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
}

.news-category-btn:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

.news-category-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(237, 119, 30, 0.3);
}

/* News Grid Layout */
.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Featured News (spans full width on desktop) */
.news-featured {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
  gap: 0;
}

@media (min-width: 1024px) {
  .news-featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.5fr;
  }
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .news-image {
    aspect-ratio: auto;
  }
}

.news-image img {
  transition: transform 0.6s ease;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}

.news-featured:hover .news-image img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.news-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-date::before {
  content: '📅';
  font-size: 0.875rem;
}

.news-views {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
  font-weight: 500;
}

.news-read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-read-time::before {
  content: '⏱️';
  font-size: 0.875rem;
}

.news-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.3s;
}

.news-featured:hover .news-title {
  color: var(--accent);
}

.news-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* News Cards */
.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.news-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.news-card-image img {
  transition: transform 0.6s ease;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.news-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card-title {
  color: var(--accent);
}

.news-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Newsletter Input Focus */
input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(237, 119, 30, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-title {
    font-size: 1.5rem;
  }
  
  .news-content {
    padding: 1.5rem;
  }
  
  .news-card-content {
    padding: 1.25rem;
  }
}

/* Animation for news items */
.news-featured,
.news-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.news-featured {
  animation-delay: 0.1s;
}

.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }
.news-card:nth-child(7) { animation-delay: 0.7s; }
.news-card:nth-child(8) { animation-delay: 0.8s; }

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


/* ===== Additional News Page Enhancements ===== */

/* Category button hover glow effect */
.news-category-btn.active::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

/* News card hover glow */
.news-card::before,
.news-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(237, 119, 30, 0.1), rgba(245, 147, 71, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  filter: blur(10px);
}

.news-card:hover::before,
.news-featured:hover::before {
  opacity: 1;
}

/* Badge pulse animation */
.news-badge {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(237, 119, 30, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(237, 119, 30, 0);
  }
}

/* Tag hover effect */
.tag {
  transition: var(--transition);
  cursor: pointer;
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Newsletter input animation */
input[type="email"] {
  transition: var(--transition);
}

input[type="email"]:hover {
  border-color: var(--text-muted);
}

/* Load more button hover effect */
.btn-primary:hover svg {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Smooth scroll behavior for news grid */
.news-grid {
  scroll-behavior: smooth;
}

/* Reading progress indicator (optional enhancement) */
.news-card-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s ease;
}

.news-card:hover .news-card-content::after {
  width: 100%;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .news-category-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .news-badge {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }
  
  .news-meta {
    font-size: 0.8125rem;
  }
}

/* Print styles for news articles */
@media print {
  .navbar,
  .news-category-btn,
  .btn-primary,
  .btn-accent,
  .news-badge {
    display: none;
  }
  
  .news-card,
  .news-featured {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===== About Page Styles ===== */

/* About Hero */
.about-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image .image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mission-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.mission-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-box .stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-box .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Values Section */
.bg-light {
    background-color: #f8f9fa; /* Ensure contrast */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(237, 119, 30, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Box */
.contact-section {
    padding: 100px 0;
}

.contact-box {
    background: var(--primary);
    border-radius: 2rem;
    padding: 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-box .section-title {
    color: var(--white);
}

.contact-box .section-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 1.5rem auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.method-icon {
    color: var(--accent);
}

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

.contact-decoration .c1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.contact-decoration .c2 {
    width: 200px;
    height: 200px;
    background: var(--deepseek);
    bottom: -50px;
    left: -50px;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-image {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        padding: 2.5rem 1.5rem;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}


/* ===== Form Modal ===== */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-modal.active {
  opacity: 1;
  visibility: visible;
}

.form-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.form-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 100vh;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 1;
}

.form-modal.active .form-modal-content {
  transform: scale(1);
}

.form-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
}

.form-modal-close:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(90deg);
}

.form-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.solution-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(237, 119, 30, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions button {
  flex: 1;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 640px) {
  .form-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .form-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .solution-form {
    padding: 1.5rem;
  }
}




