@charset "UTF-8";
:root {
  --bg-color: #050505; /* 更深的背景色，凸显光影 */
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --accent-color: #ff4a5a; /* 一枝红杏主题红 */
  --accent-hover: #ff2a3d;
  --accent-glow: rgba(255, 74, 90, 0.4);
  --card-bg: transparent; /* 背景完全透明 */
  --card-border: rgba(255, 74, 90, 0.15); /* 稍微带点主题色的边框 */
  --glass-blur: blur(12px);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 动态暗黑背景，带有多重光影投射 */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 74, 90, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 74, 90, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* 闪电影透射效果 (Light Projection / Lightning sweep) */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 74, 90, 0.03) 90deg, transparent 180deg);
  animation: radarSweep 15s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Header & Nav */
header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-color), #ff8a95);
  border-radius: 50%; /* 改为圆形，象征红杏 */
  display: inline-block;
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255, 74, 90, 0.2); }
  100% { box-shadow: 0 0 25px rgba(255, 74, 90, 0.6); }
}

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

.nav-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 74, 90, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 74, 90, 0.6);
  color: #fff;
}

/* 按钮反光特效 */
.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg) translate(-100%, 100%);
  transition: var(--transition);
}

.btn-primary:hover::after {
  transform: rotate(45deg) translate(100%, -100%);
  transition: transform 0.6s;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Hero Section (2-column layout) */
.hero {
  padding: 100px 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 80vh;
}

.hero-text {
  flex: 1;
  animation: fadeInLeft 1s ease-out forwards;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-text h1 .brand-name {
  color: var(--accent-color);
  text-shadow: 0 0 30px rgba(255, 74, 90, 0.5);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Hero Visual (Dynamic Card & Effects) */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out forwards;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

/* 品牌元素：红杏枝条光影 */
.brand-visual-element {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: floatBranch 6s ease-in-out infinite;
}

@keyframes floatBranch {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

/* 动态数据卡片 */
.dynamic-card {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 74, 90, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.dynamic-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dynamic-card .pulse-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 20px var(--accent-color);
}

.dynamic-card .pulse-ring::after {
  content: "";
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  animation: ripple 2s linear infinite;
}

@keyframes ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.dynamic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.dynamic-card p {
  color: #00ffaa;
  font-family: monospace;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* Cards (Transparent with border glow) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(255, 74, 90, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 74, 90, 0.5);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 74, 90, 0.1);
}

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

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-shadow: 0 0 15px var(--accent-glow);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

/* Pricing */
.pricing-card {
  text-align: center;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  transform: scale(1.05);
  border-color: rgba(255, 74, 90, 0.5);
  box-shadow: 0 0 40px rgba(255, 74, 90, 0.15);
  background: linear-gradient(180deg, rgba(255, 74, 90, 0.03) 0%, transparent 100%);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 10px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 25px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 74, 90, 0.3);
  background: rgba(255, 74, 90, 0.02);
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 30px;
  margin-top: 50px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 350px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

.footer-links ul {
  list-style: none;
}

.footer-links h4 {
  margin-bottom: 25px;
  color: #fff;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px; /* 小悬浮动画 */
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Blog Cards */
.blog-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(255, 74, 90, 0.2), rgba(0,0,0,0.8));
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-primary);
}
.blog-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-card .read-more {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
  }
  .hero-text h1 { font-size: 3rem; }
  .hero-text p { margin: 0 auto 40px; }
  .hero-btns { justify-content: center; }
  .brand-visual-element { display: none; } /* 移动端隐藏大光晕节省性能 */
}

@media (max-width: 768px) {
  .nav-links { display: none; } /* 极简起见，移动端隐藏导航或可用汉堡菜单，这里隐藏 */
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-about p { margin: 20px auto 0; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 30px; }
}
