@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #6c5ce7;
  --secondary: #00cec9;
  --dark: #10111a;
  --text: #555866;
  --light: #f7f8fc;
  --white: #ffffff;
  --border: #e7e8ef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: min(1120px, 90%);
  margin: auto;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--dark);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

.logo span,
h1 span,
h2 span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--dark);
  color: white !important;
  padding: 11px 20px;
  border-radius: 7px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(108, 92, 231, .15), transparent 30%),
    linear-gradient(135deg, #fafaff, #fff);
  padding: 100px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero-description {
  max-width: 600px;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: .25s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #5848d2;
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--dark);
  border: 1px solid var(--border);
  background: white;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.stats {
  display: flex;
  gap: 35px;
  margin-top: 45px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 24px;
}

.stats span {
  color: var(--text);
  font-size: 12px;
}

.hero-card {
  background: #171827;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 25px 70px rgba(20, 20, 40, .18);
  transform: rotate(2deg);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 8px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  background: #ff7675;
  border-radius: 50%;
}

.browser-bar span:nth-child(2) {
  background: #fdcb6e;
}

.browser-bar span:nth-child(3) {
  background: #55efc4;
}

.code-window {
  min-height: 320px;
  padding: 35px 25px;
  background: #0f101a;
  border-radius: 10px;
  color: #a29bfe;
  font-family: monospace;
  font-size: 15px;
  line-height: 2.4;
}

.blue {
  color: #74b9ff;
}

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 55px;
}

.section-heading h2,
.about-text h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-heading > p:last-child,
.about-text > p {
  color: var(--text);
}

.services {
  background: var(--light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  padding: 30px 25px;
  border-radius: 12px;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .07);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #f0eeff;
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text);
  font-size: 14px;
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-image {
  min-height: 400px;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background:
    linear-gradient(135deg, rgba(108, 92, 231, .9), rgba(0, 206, 201, .75)),
    #6c5ce7;
  box-shadow: 20px 20px 0 #eeeaff;
}

.about-number {
  font-size: 14px;
  opacity: .7;
  margin-bottom: auto;
}

.about-image h3 {
  font-size: 36px;
  line-height: 1.1;
}

.about-text h2 {
  margin-bottom: 25px;
}

.about-text p {
  margin-bottom: 15px;
}

.check-list {
  list-style: none;
  margin-top: 25px;
  display: grid;
  gap: 10px;
  color: #333;
  font-weight: 600;
}

.check-list li {
  color: var(--primary);
}

.projects {
  background: var(--light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-image {
  height: 220px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
}

.project-image span {
  background: white;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.project-one {
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.project-two {
  background: linear-gradient(135deg, #00cec9, #0984e3);
}

.project-three {
  background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.project-info {
  padding: 22px;
}

.project-info h3 {
  margin-bottom: 5px;
}

.project-info p {
  color: var(--text);
  font-size: 13px;
}

.contact-box {
  background: var(--dark);
  color: white;
  border-radius: 18px;
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.contact-box h2 {
  font-size: 38px;
  margin-bottom: 8px;
}

.contact-box p:last-child {
  color: #b8bac5;
}

.footer {
  background: #0b0c12;
  color: #aaa;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .logo {
  color: white;
}

.footer p {
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 70px 0;
  }

  .section {
    padding: 70px 0;
  }

  h1 {
    font-size: 43px;
  }

  .stats {
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 300px;
  }

  .contact-box {
    padding: 35px 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-box h2 {
    font-size: 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
  }
}