/* Global Styles and Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 100px;
}

/* Main Container */
main {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Fabric Background */
.fabric-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #f8fafc, #eef2ff);
  overflow: hidden;
}

canvas#fabric {
  width: 100%;
  height: 100%;
  display: block;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Section Titles */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
  color: #1e3a8a;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-weight: 600;
  transition: all .3s ease;
  text-align: center;
  margin-top: auto;
  width: fit-content;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 99, 235, .35);
}

.btn-icon {
  margin-right: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  main {
    padding: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-btn {
    width: 100%;
  }
}