/* =========================
   1. RESET / BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* =========================
   2. BACKGROUND
========================= */

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: transform 0.3s linear;
}

/* =========================
   5. HERO
========================= */

.hero {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero h1 {
  max-width: 950px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

/* =========================
   6. BUTTONS
========================= */

.cta-button {
  width: fit-content;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =========================
   7. SERVICES
========================= */

.services-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  max-width: 750px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================
   INDUSTRIES
========================= */

.industries-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.industries-list span {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* =========================
   DEMO SECTION
========================= */

.demo-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;

  padding: 2rem;
  border-radius: 32px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-label {
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.demo-content h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.demo-content p {
  max-width: 520px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.demo-link {
  display: inline-flex;
  width: fit-content;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.demo-preview {
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-bar {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: #171717;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.preview-content {
  min-height: 320px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-content h4 {
  max-width: 420px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.preview-content p {
  max-width: 420px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.preview-content button {
  width: fit-content;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: white;
  color: black;
  font-weight: 700;
}

@media (max-width: 850px) {
  .demo-card {
    grid-template-columns: 1fr;
  }
}

/* =========================
   9. TABLET
========================= */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   10. MOBILE
========================= */

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1.5rem 5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: -0.06em;
  }

  .hero-text {
    font-size: 1rem;
  }

  .footer {
    padding: 1.25rem;
    font-size: 0.8rem;
  }
}

/* =========================
   11. SMALL MOBILE
========================= */

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}