:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --accent-color: #0056b3;
  --text-color: #333;
  --light-text: #666;
  --bg-color: #fff;
  --section-bg: #f8f9fa;
  --gradient-start: #0061f2;
  --gradient-end: #6900f2;
}

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

body {
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

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

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 97, 242, 0.9), rgba(105, 0, 242, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  /* Offset for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAwIDAgTDIwMCAxMDAgTDEwMCAyMDAgTDAgMTAwIFoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 35px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #f8f9fa;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Section Common */
section {
  padding: 100px 0;
}

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

h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--light-text);
  font-size: 1.1rem;
}

/* About Section */
.about {
  background-color: #fff;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  margin-bottom: 60px;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lead-text {
  font-size: 1.2rem;
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
  font-weight: 300;
}

.lead-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  min-width: 180px;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  font-family: 'Arial', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Join Us Section */
.join-section {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.join-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.join-text {
  flex: 1;
}

.join-text h2 {
  color: #fff;
  margin-bottom: 20px;
  text-align: left;
}

.join-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.join-steps {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.join-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.join-steps i {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 5px;
}

.join-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  transform: rotate(-10deg);
}

.btn-light {
  background-color: #fff;
  color: var(--primary-color);
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

/* Resource Cooperation Section */
.cooperation {
  background-color: #fff;
  position: relative;
}

.cooperation::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 97, 242, 0.03), transparent);
  z-index: 0;
}

.cooperation-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cooperation-text {
  flex: 1;
  max-width: 500px;
}

.cooperation-text h2 {
  text-align: left;
  margin-bottom: 25px;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cooperation-text p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 35px;
  line-height: 1.8;
  font-weight: 300;
}

.cooperation-text .btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 97, 242, 0.25);
  padding: 12px 40px;
}

.cooperation-text .btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 97, 242, 0.35);
}

.cooperation-cards {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.coop-card {
  background: #fff;
  padding: 35px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.coop-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.coop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.coop-card:hover::after {
  transform: scaleX(1);
}

.coop-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
}

.coop-card h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .cooperation-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .cooperation-text {
    max-width: 100%;
  }

  .cooperation-text h2 {
    text-align: center;
  }

  .cooperation-cards {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cooperation-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .coop-card {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    text-align: left;
  }

  .coop-card i {
    margin-bottom: 0;
    font-size: 2rem;
  }
}

/* Features Section */
.features {
  background-color: var(--section-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--primary-color);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 97, 242, 0.1), rgba(105, 0, 242, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.icon-wrapper i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--light-text);
  font-size: 0.95rem;
}

/* Services Section */
.services {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  border: 1px solid #eee;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

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

.service-card:hover h3,
.service-card:hover p,
.service-card:hover i {
  color: #fff;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: color 0.3s;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.service-card p {
  color: var(--light-text);
  transition: color 0.3s;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  background-color: var(--section-bg);
  padding-bottom: 100px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 25px;
  min-width: 300px;
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.contact-text h3 {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Footer */
footer {
  background-color: #1a1a2e;
  color: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  opacity: 0.7;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links p {
  margin: 0;
  position: relative;
}

.footer-links p:not(:last-child)::after {
  content: '|';
  margin-left: 20px;
  opacity: 0.3;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 10px 0;
  }

  nav ul {
    margin-top: 15px;
    margin-bottom: 5px;
    gap: 15px;
  }

  nav ul li {
    margin: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 20px;
  }

  .join-content {
    flex-direction: column;
    text-align: center;
  }

  .join-text h2 {
    text-align: center;
  }

  .join-steps {
    justify-content: center;
  }

  .app-mockup {
    font-size: 10rem;
    margin-top: 30px;
  }
}