﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #222;
  line-height: 1.8;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* header */

.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 44px;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: #0d6efd;
}

/* hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(135deg, #f6f7fb 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.18), transparent 70%);
  top: -160px;
  right: -120px;
}
.hero h1 {
  line-height: 1.2;
}

.line1,
.line2 {
  display: inline-block;
  white-space: nowrap;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.label {
  color: #0d6efd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.15;
  margin-bottom: 28px;
}

.lead {
  max-width: 680px;
  font-size: 18px;
  color: #555;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #0d6efd, #00aaff);
  color: #fff;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.2s;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* common */

.about,
.section,
.contact {
  padding: 80px 0;
}

h2 {
  font-size: 32px;
  margin-bottom: 28px;
}

.about p {
  max-width: 760px;
  color: #555;
}

.gray {
  background: #f7f7f7;
}

/* service */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.card p {
  color: #555;
}

/* features */

.features {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 700px;
}

.features li {
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 5px solid #0d6efd;
}

/* works */

.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.browser {
  background: #ddd;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.25s;
}

.work:hover .browser {
  transform: translateY(-6px);
}

.browser-bar {
  height: 32px;
  background: #eee;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-bar span:nth-child(1) {
  background: #ff5f57;
}

.browser-bar span:nth-child(2) {
  background: #ffbd2e;
}

.browser-bar span:nth-child(3) {
  background: #28c840;
}

.browser img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.work-text h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.work-text p {
  font-size: 14px;
  color: #555;
}

.tag {
  display: inline-block;
  font-size: 12px;
  background: #eef4ff;
  color: #0d6efd;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  font-weight: 700;
}

/* price */

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #eee;
  position: relative;
}

.price-card h3 {
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 16px;
}

.price-card li {
  margin-bottom: 6px;
}

.price-card li::before {
  content: "\2713 ";
  color: #0d6efd;
  font-weight: 700;
}

.desc {
  font-size: 13px;
  color: #666;
}

.popular {
  border: 2px solid #0d6efd;
}

.badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

.note {
  color: #666;
  font-size: 14px;
  margin-top: 18px;
}

/* contact */

.contact {
  text-align: center;
  background: #111;
  color: #fff;
}

.contact p {
  margin-bottom: 28px;
  color: #ddd;
}

.contact .btn {
  background: #fff;
  color: #111;
}

/* footer */

.footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #777;
}
.popup-img {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  background: none;
  border: none;
  font-size: 44px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

/* responsive */

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    gap: 14px;
  }

  .logo img {
    height: 36px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
  }

  .hero {
    padding: 80px 0;
  }

  .cards,
  .works,
  .price-cards {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px;
  }

  .browser img {
    height: 210px;
  }

.browser {
  position: relative;
}

.popup-img {
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    gap: 14px;
  }

  .logo img {
    height: 36px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
  }

  .hero {
    padding: 80px 0;
  }
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
}
  .cards,
  .works,
  .price-cards {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px;
  }

  .browser img {
    height: 210px;
  }
}

/* popup */
.popup-img {
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 2;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  background: none;
  border: none;
  font-size: 44px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
}