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

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --accent: #34d399;
  --dark: #0f172a;
  --dark-gray: #1e293b;
  --gray: #64748b;
  --light-gray: #cbd5e1;
  --lighter: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-item {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-btn {
  padding: 0.625rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.92) 0%, rgba(4, 120, 87, 0.85) 100%);
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-heading {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-cta {
  padding: 1rem 2.5rem;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  display: inline-block;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-secondary {
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  display: inline-block;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.stats {
  background: var(--dark);
  padding: 5rem 0;
}

.stats-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

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

.stats-num {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stats-label {
  font-size: 1rem;
  color: var(--light-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stats-trend {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

.about {
  padding: 8rem 0;
  background: var(--lighter);
}

.about-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--dark);
}

.about-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.section-text {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 50px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9375rem;
  box-shadow: var(--shadow);
}

.about-chip svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.services {
  padding: 8rem 0;
  background: white;
}

.services-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 1rem;
}

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

.service-box {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--lighter);
  transition: all 0.3s;
  position: relative;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 900;
  color: var(--lighter);
  line-height: 1;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
}

.features {
  padding: 8rem 0;
  background: var(--dark);
  color: white;
}

.features-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-header .section-heading {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  background: var(--dark-gray);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(5, 150, 105, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.feature-item h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.7;
}

.contact {
  padding: 8rem 0;
  background: var(--lighter);
}

.contact-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-detail {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-detail svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-detail-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9375rem;
}

.form-field input,
.form-field textarea {
  padding: 1rem 1.25rem;
  border: 2px solid var(--lighter);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  transition: all 0.3s;
  background: var(--lighter);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer {
  background: var(--dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.footer-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-domain {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.footer-intro {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 500px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin: 0.5rem 0;
}

.footer-legal {
  font-size: 0.875rem;
  opacity: 0.7;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 1200px) {
  .hero-heading {
    font-size: 3rem;
  }

  .section-heading {
    font-size: 2.5rem;
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

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

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-item,
  .nav-btn {
    padding: 1rem;
    border-bottom: 1px solid var(--lighter);
    text-align: center;
  }

  .nav-item:last-of-type {
    border-bottom: none;
  }

  .nav-btn {
    margin-top: 1rem;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cta,
  .hero-secondary {
    text-align: center;
  }

  .about-wrapper,
  .contact-wrapper,
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-wrapper {
    padding: 0 1rem;
  }

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

  .hero-text {
    font-size: 1rem;
  }

  .stats-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .stats-num {
    font-size: 2.5rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .about-wrapper,
  .services-wrapper,
  .features-wrapper,
  .contact-wrapper,
  .footer-wrapper {
    padding: 0 1rem;
  }

  .service-box,
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .footer-bottom {
    padding: 2rem 1rem 0;
  }
}
