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

:root {
  --bg: #FCFCFD;
  --bg-alt: #F3F4F7;
  --bg-dark: #101114;
  --bg-dark-2: #181B20;
  --text: #181B22;
  --text-light: #F9FAFC;
  --text-muted: #6E737F;
  --accent: #F26B3A;
  --accent-hover: #D9592A;
  --accent-2: #A855F7;
  --accent-3: #A3E635;
  --surface: #F3F4F7;
  --border: #E2E5EB;
  --border-dark: #2E3139;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(16, 17, 20, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: #C0C4CC;
  font-weight: 500;
  font-size: 0.925rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-light);
  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-section {
  padding: 160px 0 120px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(162, 83, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 107, 58, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  max-width: 700px;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-section h1 span { color: var(--accent); }
.hero-section .hero-subtitle {
  font-size: 1.2rem;
  color: #A0A5B0;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--text-light); color: var(--text-light); }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
}
.hero-stat h3 {
  font-size: 2rem;
  color: var(--text-light);
  font-weight: 800;
}
.hero-stat p { color: #8A8F9C; font-size: 0.9rem; font-weight: 500; }

/* ===== ABOUT ===== */
.about-section {
  padding: 100px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-radius: 16px;
  padding: 60px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.about-image h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.about-image p {
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text);
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 0;
  background: var(--bg-alt);
}
.services-section .section-label { display: block; text-align: center; }
.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.services-section .section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card:nth-child(1) .service-icon { background: rgba(242,107,58,0.12); color: var(--accent); }
.service-card:nth-child(2) .service-icon { background: rgba(168,85,247,0.12); color: var(--accent-2); }
.service-card:nth-child(3) .service-icon { background: rgba(163,230,53,0.15); color: #78B820; }
.service-card:nth-child(4) .service-icon { background: rgba(242,107,58,0.12); color: var(--accent); }
.service-card:nth-child(5) .service-icon { background: rgba(168,85,247,0.12); color: var(--accent-2); }
.service-card:nth-child(6) .service-icon { background: rgba(163,230,53,0.15); color: #78B820; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ===== PROCESS ===== */
.process-section {
  padding: 100px 0;
  background: var(--bg-dark);
}
.process-section .section-label { display: block; text-align: center; color: var(--accent-2); }
.process-section h2 {
  text-align: center;
  color: var(--text-light);
  font-size: 2.2rem;
  margin-bottom: 56px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h3 { color: var(--text-light); font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: #9095A0; font-size: 0.9rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg);
}
.testimonials-section .section-label { display: block; text-align: center; }
.testimonials-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 48px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
}
.testimonial-card p {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-author { font-weight: 700; color: var(--text); font-style: normal; }

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-dark-2);
}
.contact-section .section-label { display: block; text-align: center; color: var(--accent); }
.contact-section h2 {
  text-align: center;
  color: var(--text-light);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.contact-section .section-desc {
  text-align: center;
  color: #9095A0;
  max-width: 550px;
  margin: 0 auto 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.contact-info p { color: #A0A5B0; margin-bottom: 8px; font-size: 0.95rem; }
.contact-info a { color: var(--accent-2); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--accent-hover); }
.form-status { font-size: 0.9rem; margin-top: 4px; }
.form-status.success { color: var(--accent-3); }
.form-status.error { color: #EF4444; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  padding: 48px 0 36px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand h3 { color: var(--text-light); font-size: 1.2rem; margin-bottom: 8px; }
.footer-brand p { color: #8A8F9C; font-size: 0.9rem; line-height: 1.6; }
.footer-links h4 { color: var(--text-light); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8A8F9C; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #6E737F; font-size: 0.85rem; }

/* ===== 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); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-section h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-section { padding: 130px 0 80px; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
