/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #eaeaf0;
  background: #0a0a0f;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0a0a0f;
  border-bottom: 1px solid #2a2a38;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #eaeaf0;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: #ff5e62;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #8a8a96;
  font-size: 0.938rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #eaeaf0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff5e62;
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #eaeaf0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(255, 94, 98, 0.08) 0%,
    transparent 60%
  ),
  radial-gradient(
    ellipse at 70% 80%,
    rgba(0, 198, 183, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid #2a2a38;
  border-radius: 50px;
  font-size: 0.813rem;
  color: #00c6b7;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #eaeaf0;
  letter-spacing: -1px;
}

.hero h1 span {
  color: #ff5e62;
}

.hero p {
  font-size: 1.125rem;
  color: #8a8a96;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: #ff5e62;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: #e84a4f;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: #eaeaf0;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #2a2a38;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline:hover {
  border-color: #ff5e62;
  color: #ff5e62;
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section-light {
  background: #f5f4f1;
  color: #0a0a0f;
}

.section-dark {
  background: #0a0a0f;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid #2a2a38;
  border-radius: 50px;
  font-size: 0.75rem;
  color: #00c6b7;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-light .section-tag {
  border-color: #dedcd8;
  color: #0d9488;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #eaeaf0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-light .section-header h2 {
  color: #0a0a0f;
}

.section-header p {
  color: #8a8a96;
  font-size: 1.063rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-light .section-header p {
  color: #5c5b57;
}

/* ===== ABOUT ===== */
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #eaeaf0;
}

.section-light .about-text h3 {
  color: #0a0a0f;
}

.about-text p {
  color: #8a8a96;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.section-light .about-text p {
  color: #4a4945;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #8a8a96;
  font-size: 0.938rem;
}

.section-light .about-features li {
  color: #4a4945;
}

.about-features li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #00c6b7;
  color: #0a0a0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 3px;
}

.section-light .about-features li::before {
  color: #ffffff;
}

.about-visual {
  position: relative;
}

.about-card {
  background: #15151d;
  border: 1px solid #2a2a38;
  border-radius: 12px;
  padding: 2.5rem;
}

.section-light .about-card {
  background: #ffffff;
  border-color: #dedcd8;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.about-stat {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #2a2a38;
}

.section-light .about-stat {
  border-bottom-color: #e8e6e2;
}

.about-stat:last-child {
  border-bottom: none;
}

.about-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff5e62;
  letter-spacing: -1px;
}

.about-stat .stat-label {
  color: #8a8a96;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.section-light .about-stat .stat-label {
  color: #6b6a65;
}

/* ===== SERVICES ===== */
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #15151d;
  border: 1px solid #2a2a38;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #ff5e62;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: #1c1c26;
  color: #ff5e62;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #eaeaf0;
}

.service-card p {
  color: #8a8a96;
  font-size: 0.938rem;
  line-height: 1.65;
}

/* ===== STATS SECTION ===== */
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.stat-item .counter {
  font-size: 3rem;
  font-weight: 800;
  color: #eaeaf0;
  letter-spacing: -1.5px;
}

.section-light .stat-item .counter {
  color: #0a0a0f;
}

.stat-item .stat-title {
  font-size: 0.938rem;
  color: #8a8a96;
  margin-top: 0.5rem;
}

.section-light .stat-item .stat-title {
  color: #6b6a65;
}

/* ===== CONTACT ===== */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #eaeaf0;
}

.contact-info p {
  color: #8a8a96;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail .ct-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #15151d;
  border: 1px solid #2a2a38;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail .ct-text strong {
  display: block;
  color: #eaeaf0;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.contact-detail .ct-text span {
  color: #8a8a96;
  font-size: 0.938rem;
}

.contact-form-wrapper {
  background: #15151d;
  border: 1px solid #2a2a38;
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #eaeaf0;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #0a0a0f;
  border: 1px solid #2a2a38;
  border-radius: 6px;
  color: #eaeaf0;
  font-size: 0.938rem;
  font-family: inherit;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff5e62;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  color: #00c6b7;
  font-weight: 600;
  font-size: 1.063rem;
}

.form-success.visible {
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0a0f;
  border-top: 1px solid #2a2a38;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #eaeaf0;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #8a8a96;
  font-size: 0.938rem;
  line-height: 1.65;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #eaeaf0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: #8a8a96;
  font-size: 0.938rem;
  transition: color 0.25s;
}

.footer-links ul li a:hover {
  color: #ff5e62;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a38;
  text-align: center;
  color: #5a5a68;
  font-size: 0.813rem;
}

/* ===== SCROLL REVEAL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #15151d;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid #2a2a38;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

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

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

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

  .section {
    padding: 4rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
