/*
Theme Name: Shunwo Tech Enterprise
Theme URI: https://shunwoit.com
Author: 德州顺沃网络信息科技有限公司
Author URI: https://shunwoit.com
Description: SEO-first corporate theme tailored for 德州顺沃网络信息科技有限公司 with city landing pages and industry solutions.
Version: 1.0.0
Text Domain: shunwo
*/

:root {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --primary: #F5D90A;
  /* Nano Yellow */
  --primary-hover: #EBCF09;
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --text: #ffffff;
  --text-muted: #888888;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-radius: 24px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Layout */
.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 217, 10, 0.05) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  z-index: 1;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.nano-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nano-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.nano-card h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.5rem;
}

.nano-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.nano-card a {
  color: inherit;
}

.nano-card a:hover {
  color: var(--primary);
}

/* CTA */
.cta-btn {
  background: var(--primary);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.2s;
  z-index: 1;
}

.cta-btn:hover {
  transform: scale(1.05);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 217, 10, 0.4);
}

/* Utilities */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Header Override */
header.section {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

header.section strong {
  color: #fff;
  font-size: 1.5rem;
}

header.section p {
  color: var(--text-muted);
}

nav.section ul {
  /* Assuming standard WP menu structure */
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav.section li a {
  color: var(--text-muted);
  font-weight: 500;
}

nav.section li a:hover {
  color: var(--primary);
}

/* Footer Override */
.footer {
  border-top: 1px solid var(--glass-border);
  background: #000;
  padding-top: 4rem;
}