:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg-white: #fff;
  --bg-gray: #f9fafb;
  --bg-dark: #111827;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --section-padding: 100px 0;
  --container-width: 1200px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition-fast: .2s ease;
  --transition-normal: .3s ease;
  --transition-slow: .5s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: 'Noto Sans SC', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem
}

h1 {
  font-size: 3.5rem
}

h2 {
  font-size: 2.5rem
}

h3 {
  font-size: 1.875rem
}

h4 {
  font-size: 1.5rem
}

h5 {
  font-size: 1.25rem
}

h6 {
  font-size: 1rem
}

p {
  margin-bottom: 1rem;
  color: var(--text-light)
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-normal)
}

a:hover {
  color: var(--secondary-color)
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem
}

.section {
  padding: var(--section-padding);
  position: relative
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal)
}

.navbar.scrolled {
  box-shadow: var(--shadow-md)
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark)
}

.nav-brand i {
  color: var(--primary-color);
  font-size: 2rem
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  position: relative
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal)
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color)
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-normal)
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .3);
  z-index: 1
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://img.aerr.cn/img/4k/dlam.jpg');
  background-size: cover;
  background-position: center;
  animation: ken-burns 20s infinite alternate
}

@keyframes ken-burns {
  0% {
    transform: scale(1)
  }

  100% {
    transform: scale(1.1)
  }
}

.hero .container {
  position: relative;
  z-index: 2
}

.hero-content {
  text-align: center;
  color: #fff;
  animation: fadeInUp 1s ease
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  padding: .5rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1
}

.gradient-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem
}

.typing-text {
  font-weight: 500
}

.cursor {
  animation: blink 1s infinite
}

@keyframes blink {

  0%,
  50% {
    opacity: 1
  }

  51%,
  100% {
    opacity: 0
  }
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: .95
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem
}

.btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition-normal);
  border: 2px solid transparent
}

.btn-primary {
  background: #fff;
  color: var(--primary-color);
  box-shadow: var(--shadow-lg)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl)
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-color)
}

.hero-scroll {
  animation: bounce 2s infinite
}

.hero-scroll a {
  color: #fff;
  font-size: 2rem;
  opacity: .7
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0)
  }

  40% {
    transform: translateY(-10px)
  }

  60% {
    transform: translateY(-5px)
  }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1
}

.section-header {
  text-align: center;
  margin-bottom: 4rem
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .875rem;
  display: block;
  margin-bottom: .5rem
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 1.5rem auto;
  border-radius: 2px
}

.section-description {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto
}

.about {
  background: var(--bg-white)
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center
}

.about-image {
  position: relative
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl)
}

.image-wrapper img {
  width: 100%;
  display: block;
  transition: var(--transition-slow)
}

.image-wrapper:hover img {
  transform: scale(1.05)
}

.image-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-xl);
  pointer-events: none
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem
}

.about-badge i {
  font-size: 2rem;
  color: var(--primary-color)
}

.about-badge strong {
  display: block;
  font-size: 1.1rem
}

.about-badge span {
  font-size: .875rem;
  color: var(--text-light)
}

.about-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem
}

.quote {
  background: var(--bg-gray);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  position: relative
}

.quote i {
  color: var(--primary-color);
  font-size: 1.5rem;
  opacity: .3
}

.quote .fa-quote-left {
  position: absolute;
  top: 1rem;
  left: 1rem
}

.quote .fa-quote-right {
  position: absolute;
  bottom: 1rem;
  right: 1rem
}

.quote p {
  font-style: italic;
  color: var(--text-dark);
  margin: 0;
  padding: 0 1.5rem
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem
}

.detail-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: .25rem
}

.detail-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: .25rem
}

.detail-item span {
  color: var(--text-light);
  font-size: .9rem
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8
}

.services {
  background: var(--bg-gray)
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem
}

.service-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md)
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl)
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal)
}

.service-card:hover .service-overlay {
  opacity: .1
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  transition: var(--transition-normal)
}

.service-card:hover .service-icon {
  transform: rotateY(360deg)
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem
}

.service-card p {
  color: var(--text-light)
}

.projects {
  background: #fff
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem
}

.project-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 2px solid transparent
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color)
}

.project-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: var(--transition-normal)
}

.project-card:hover .project-icon {
  transform: scale(1.1) rotate(5deg)
}

.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--text-dark)
}

.project-card p {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 0
}

.project-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: var(--primary-color);
  opacity: 0;
  transition: var(--transition-normal)
}

.project-card:hover .project-arrow {
  opacity: 1
}

.timeline-section {
  background: var(--bg-gray)
}

.timeline {
  position: relative;
  padding: 2rem 0
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%)
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2
}

.timeline-item:nth-child(even) .timeline-marker {
  right: auto;
  left: calc(50% - 14px)
}

.timeline-marker {
  position: absolute;
  right: calc(50% - 14px);
  top: 0;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .1)
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal)
}

.timeline-content:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px)
}

.timeline-date {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: 1rem
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem
}

.timeline-content p {
  line-height: 1.8
}

.contact {
  background: #fff
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  transition: var(--transition-normal)
}

.contact-method:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateX(10px)
}

.contact-method i {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary-color);
  border-radius: 50%
}

.contact-card {
  background: var(--bg-gray);
  padding: 2rem;
  border-radius: var(--radius-lg)
}

.ip-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  text-align: center
}

.ip-card h4 {
  margin-bottom: 1rem
}

.ip-image {
  width: 100%;
  border-radius: var(--radius-sm)
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm)
}

.social-link:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md)
}

.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 3rem 0 1rem;
  position: relative
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem
}

.footer-info h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.footer-info p {
  color: rgba(255, 255, 255, .7);
  line-height: 1.8
}

.footer-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px)
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color)
}

.stat-item strong {
  display: block;
  font-size: 1.1rem
}

.stat-item span {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6)
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6)
}

.footer-bottom a {
  color: var(--primary-color);
  margin-left: 1rem
}

#tp-weather-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 998
}

.back-to-top.show {
  opacity: 1;
  visibility: visible
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl)
}

@media (max-width:820px) {

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .timeline::before {
    left: 9px
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 30px
  }

  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1
  }

  .timeline-marker {
    left: -5px !important;
    right: auto !important
  }
}

@media (max-width:550px) {
  html {
    font-size: 14px
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: var(--transition-normal)
  }

  .nav-menu.active {
    left: 0
  }

  .nav-toggle {
    display: flex
  }

  .hero-title {
    font-size: 2.5rem
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .about-details {
    grid-template-columns: 1fr
  }

  .footer-content {
    grid-template-columns: 1fr
  }
}

@media (max-width:330px) {
  .projects-grid {
    grid-template-columns: 1fr
  }

  .hero-title {
    font-size: 2rem
  }

  .section-title {
    font-size: 2rem
  }
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform
}

[data-aos].aos-animate {
  opacity: 1
}

[data-aos="fade-up"] {
  transform: translateY(30px)
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0)
}

[data-aos="fade-right"] {
  transform: translateX(-30px)
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0)
}

[data-aos="fade-left"] {
  transform: translateX(30px)
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0)
}

[data-aos="zoom-in"] {
  transform: scale(.9)
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1)
}

.text-center {
  text-align: center
}

.text-left {
  text-align: left
}

.text-right {
  text-align: right
}

.mt-1 {
  margin-top: .5rem
}

.mt-2 {
  margin-top: 1rem
}

.mt-3 {
  margin-top: 1.5rem
}

.mt-4 {
  margin-top: 2rem
}

.mb-1 {
  margin-bottom: .5rem
}

.mb-2 {
  margin-bottom: 1rem
}

.mb-3 {
  margin-bottom: 1.5rem
}

.mb-4 {
  margin-bottom: 2rem
}
