/* 
 * Global Styles for Tech Service Website
 * Framework: Pico.css + Custom Modern Tech Theme
 * Design Tokens: Dark Mode, Tech Blue, Cyan Accent
 */

:root {
  --pico-background-color: #0A0A0F;
  --pico-color: #E6E6F0;
  --pico-card-background-color: #1E1E2A;
  --pico-primary: #2A6DFF;
  --pico-primary-hover: #14F0D4;
  --pico-primary-background: #1E1E2A;
  --pico-primary-border: #2A6DFF;
  --pico-font-family: "Inter", "Helvetica Neue", "PingFang SC", system-ui, sans-serif;
  --pico-border-radius: 8px;
  --pico-transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
body {
  background-color: var(--pico-background-color);
  color: var(--pico-color);
  font-family: var(--pico-font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--pico-primary-hover);
}

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

.section {
  padding: 5rem 0;
}

/* Navigation */
nav {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: #A0A0B0;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--pico-border-radius);
  transition: all var(--pico-transition);
}

nav a:hover, nav a.active {
  color: var(--pico-primary-hover);
  background: rgba(42, 109, 255, 0.1);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.9)), url('https://hpi-hub.tos-cn-beijing.volces.com/static/physics/abstract-7857372_1280.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #E6E6F0 0%, #2A6DFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #A0A0B0;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all var(--pico-transition);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--pico-primary-hover);
  color: #0A0A0F;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(20, 240, 212, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #E6E6F0;
}

.btn-outline:hover {
  border-color: var(--pico-primary-hover);
  color: var(--pico-primary-hover);
  transform: translateY(-3px);
  background: rgba(20, 240, 212, 0.05);
}

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

.card {
  background: var(--pico-card-background-color);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--pico-transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pico-primary), var(--pico-primary-hover));
  opacity: 0;
  transition: opacity var(--pico-transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(42, 109, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--pico-primary);
  display: inline-block;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #E6E6F0;
}

.card p {
  color: #A0A0B0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* About Page Specifics */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: rgba(30, 30, 42, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(42, 109, 255, 0.2);
  margin-bottom: 1rem;
  display: block;
}

.step h4 {
  color: var(--pico-primary-hover);
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #505060;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.opacity-low { opacity: 0.8; }