@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

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

:root {
  --background: #0a0e17;
  --foreground: #ffffff;
  --primary: #3b82f6;
  --secondary: #6366f1;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --card: #111827;
  --card-hover: #1e293b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: white;
  padding: 12px 32px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 12px 32px;
  border-radius: 9999px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feature-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.card-glow {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

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

.nav-links a {
  color: #9ca3af;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.hero {
  position: relative;
  padding: 128px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  width: 384px;
  height: 384px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 384px;
  height: 384px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 72px;
  }
}

.hero p {
  font-size: 20px;
  color: #9ca3af;
  max-width: 672px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.demo-window {
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.demo-header {
  background: linear-gradient(135deg, #111827, #1e293b);
  padding: 16px;
}

.demo-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #eab308; }
.demo-dots span:nth-child(3) { background: #22c55e; }

.demo-content {
  background: var(--background);
  padding: 24px;
  border-radius: 8px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.demo-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.demo-card-icon {
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-card-status {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: #22c55e;
}

.demo-card-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.stats {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 48px;
  }
}

.stat-label {
  color: #9ca3af;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 48px;
  }
}

.section-header p {
  color: #9ca3af;
  font-size: 18px;
  max-width: 672px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 24px;
}

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #60a5fa;
}

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

.feature-card p {
  color: #9ca3af;
}

.cases-grid {
  display: grid;
  gap: 24px;
}

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

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

.case-card {
  background: linear-gradient(135deg, #111827, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.case-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-card p {
  color: #9ca3af;
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}

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

.pricing-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.pricing-card.popular {
  border-color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}

.pricing-price .amount {
  font-size: 36px;
  font-weight: 700;
}

.pricing-price .period {
  color: #9ca3af;
}

.pricing-profiles {
  color: #60a5fa;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
  margin-bottom: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: bold;
}

.download-section {
  background: linear-gradient(to top, rgba(59, 130, 246, 0.1), transparent);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

@media (min-width: 640px) {
  .download-buttons {
    flex-direction: row;
  }
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 32px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.download-btn-icon {
  color: #60a5fa;
}

.download-btn-text small {
  display: block;
  color: #9ca3af;
  font-size: 14px;
}

.download-btn-text span {
  font-size: 18px;
  font-weight: 600;
}

footer {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 16px;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #9ca3af;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: white;
}

.articles-header {
  text-align: center;
  padding-top: 128px;
  margin-bottom: 64px;
}

.articles-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .articles-header h1 {
    font-size: 48px;
  }
}

.articles-header p {
  color: #9ca3af;
  font-size: 18px;
  max-width: 672px;
  margin: 0 auto;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.category-tag {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}

.category-tag.active {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.category-tag:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}

.category-tag:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
}

.articles-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 80px;
}

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

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

.article-card {
  background: linear-gradient(135deg, #111827, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  display: block;
}

.article-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.article-card:hover h2 {
  color: #60a5fa;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  font-size: 14px;
  margin-bottom: 12px;
}

.article-card h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.article-card .description {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

.article-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #60a5fa;
  font-size: 14px;
  transition: gap 0.2s;
}

.article-card:hover .article-link {
  gap: 8px;
}

.article-detail {
  max-width: 896px;
  margin: 0 auto;
  padding: 128px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover {
  color: white;
}

.article-header {
  margin-bottom: 40px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
}

.article-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 36px;
  }
}

.article-header > p {
  color: #9ca3af;
  font-size: 18px;
}

.article-content {
  line-height: 1.8;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.article-content p {
  color: #d1d5db;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  color: #d1d5db;
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: white;
}

.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.share-section p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.share-btn:hover {
  color: #93c5fd;
}

.related-articles {
  margin-top: 64px;
}

.related-articles h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  gap: 24px;
}

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

.related-card {
  background: linear-gradient(135deg, #111827, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  display: block;
}

.related-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.related-card:hover h3 {
  color: #60a5fa;
}

.related-card h3 {
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card p {
  color: #9ca3af;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
