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

:root {
  color-scheme: dark;
  --bg: #050509;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --line: rgba(148, 163, 184, 0.24);
  --blue: #38bdf8;
  --violet: #a855f7;
  --orange: #f97316;
  --green: #34d399;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1f2933 0, #050509 38%, #02030a 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #93c5fd;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wide-container {
  max-width: 1900px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.98);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.logo-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.logo-group:hover {
  color: #fff;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo-text {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.86rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.12) 0, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0, transparent 50%);
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 950px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 64, 175, 0.65));
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #facc15, var(--orange) 58%, transparent 100%);
  box-shadow: 0 0 16px rgba(248, 250, 252, 0.9);
}

.gradient-text {
  background: linear-gradient(120deg, #e5e7eb, #a5b4fc, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 1.5rem 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.button-primary {
  color: #0b1120;
  background: radial-gradient(circle at 20% 0%, var(--orange) 0, var(--violet) 30%, #1d4ed8 80%);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.55);
}

.button-primary:hover {
  color: #0b1120;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 52px rgba(59, 130, 246, 0.75);
}

.button-ghost {
  border-color: rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.2));
}

.button-ghost:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.85));
}

.hero-image {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
  animation: float-panel 6s ease-in-out infinite;
}

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

.hero-image img {
  width: 100%;
  border-radius: 1.5rem;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 2vw + 1rem, 2.35rem);
  font-weight: 600;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item:hover span {
  opacity: 1;
}

.features {
  overflow: hidden;
  padding: 6rem 0;
}

.features-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("https://oss.digitfold.com/img/2025/12/20251208152151777.jpg");
  background-size: cover;
  background-position: center 60%;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 9rem);
  max-width: 1200px;
  margin: 0 auto -3rem;
}

.feature-item {
  min-width: 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

.feature-item img {
  width: auto;
  height: 70px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.feature-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.55;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4rem;
}

.industry-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--panel-strong);
}

.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(15, 23, 42, 0.1));
}

.industry-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
}

.industry-overlay > span {
  align-self: flex-end;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.industry-overlay h3 {
  margin: 0 0 0.25rem;
  font-size: 1.65rem;
  font-weight: 600;
}

.industry-overlay p {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.industry-card:hover img {
  transform: scale(1.04);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 4rem;
  background: var(--panel-strong);
}

.workflow-left {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.25rem 6vw;
}

.workflow-copy {
  width: 100%;
  max-width: 640px;
}

.workflow-copy h2 {
  margin: 0 0 2.25rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(75, 85, 99, 0.9);
  padding-bottom: 0.4rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  flex: 0 0 auto;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding-bottom 0.25s ease;
}

.faq-answer p {
  margin: 0 0 0.75rem;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 0.75rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(31, 41, 55, 0.95);
}

.workflow-copy .button {
  margin-top: 2.5rem;
}

.workflow-right {
  min-height: 440px;
}

.workflow-right img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.tutorial-grid,
.testimonials-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.tutorial-card,
.testimonial-card,
.pricing-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 64, 175, 0.28));
}

.tutorial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.tutorial-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tutorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tutorial-card:hover .tutorial-media img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  transform: translate(-50%, -50%);
}

.tutorial-card h3,
.tutorial-card p {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.tutorial-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.tutorial-card p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: #d1d5db;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, var(--violet));
  font-size: 1.2rem;
  font-weight: 600;
}

.testimonial-author strong,
.testimonial-author small {
  display: block;
}

.testimonial-author small {
  margin-top: 0.25rem;
  color: var(--muted);
}

.pricing-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.pricing-card h3 {
  display: inline-flex;
  justify-content: center;
  margin: 0 0 1.25rem;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  font-size: 1.05rem;
}

.pricing-card:nth-child(1) h3 {
  border-color: rgba(45, 212, 191, 0.9);
  color: #a5f3fc;
}

.pricing-card:nth-child(2) h3 {
  border-color: rgba(59, 130, 246, 0.9);
  color: #bfdbfe;
}

.pricing-card:nth-child(3) h3 {
  border-color: rgba(249, 115, 22, 0.9);
  color: #fed7aa;
}

.pricing-amount {
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.pricing-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #d1d5db;
  font-size: 0.95rem;
}

.pricing-card li:last-child {
  border-bottom: 0;
}

.pricing-card .button {
  width: 100%;
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at bottom right, rgba(17, 24, 39, 0.6), transparent 60%);
  color: #6b7280;
  font-size: 0.8rem;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: var(--panel-strong);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-content h3 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}

.modal-content img {
  width: 100%;
  border-radius: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .features-grid,
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

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

  .workflow-right,
  .workflow-right img {
    min-height: 0;
  }

  .workflow-right {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 82px;
    padding: 0.7rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .logo-image {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 0.85rem;
  }

  .hero {
    min-height: 70vh;
    padding: 2.5rem 0 4rem;
  }

  .hero-actions .button {
    width: min(300px, 100%);
  }

  .section {
    padding: 3.5rem 0;
  }

  .gallery-grid,
  .tutorial-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .workflow-left {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 1.25rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .features-grid,
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item img {
    height: 55px;
  }

  .gallery-grid {
    gap: 1.25rem;
  }

  .industry-card {
    border-radius: 1rem;
  }
}
