@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: #e0e7ff;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

/* ========== Utilities ========== */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Scroll Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========== Navigation ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #4f46e5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-logo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.nav-logo-text span {
  color: #4f46e5;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

.nav-link {
  transition: color 0.15s;
}

.nav-link:hover {
  color: #4f46e5;
}

.nav-cta {
  display: inline-block;
  background-color: #4f46e5;
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  background-color: #4338ca;
}

.nav-cta:active {
  transform: scale(0.95);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: #eef2ff;
  color: #4338ca;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid #e0e7ff;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-title span {
  color: #4f46e5;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: #0f172a;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.15s;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #1e293b;
}

.btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.15s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.15s;
}

.btn-secondary:hover {
  background-color: #f8fafc;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-blob-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background-color: rgba(199, 210, 254, 0.3);
  border-radius: 50%;
  filter: blur(48px);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-blob-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(191, 219, 254, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 700ms;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========== Benefits Section ========== */
.benefits {
  padding: 6rem 0;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #475569;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background-color: rgba(248, 250, 252, 0.5);
  transition: all 0.2s;
}

.benefit-card:hover {
  background-color: #fff;
  box-shadow: 0 20px 25px -5px rgba(226, 232, 240, 0.5);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-icon.indigo svg { color: #4f46e5; }
.benefit-icon.amber svg { color: #f59e0b; }
.benefit-icon.rose svg { color: #f43f5e; }
.benefit-icon.emerald svg { color: #059669; }
.benefit-icon.blue svg { color: #2563eb; }
.benefit-icon.purple svg { color: #9333ea; }

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.benefit-description {
  color: #475569;
  line-height: 1.75;
  font-size: 0.875rem;
}

/* ========== Features Section ========== */
.features {
  padding: 6rem 0;
  background-color: #0f172a;
  color: #fff;
  overflow: hidden;
}

.features-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.features-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.features-title span {
  color: #818cf8;
}

.features-subtitle {
  color: #94a3b8;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.features-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #818cf8;
  flex-shrink: 0;
}

.features-item span {
  color: #cbd5e1;
}

.features-media {
  position: relative;
}

.features-video-box {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  backdrop-filter: blur(4px);
  position: relative;
}

.features-video-box img {
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.features-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-play-btn {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.features-play-btn svg {
  width: 3rem;
  height: 3rem;
  color: #fff;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-badge {
  display: none;
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background-color: #4f46e5;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
}

.features-badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c7d2fe;
}

.features-badge-value {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ========== Pricing Section ========== */
.pricing {
  padding: 6rem 0;
  background-color: #f8fafc;
}

.pricing-card {
  max-width: 32rem;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e7ff;
  overflow: hidden;
  position: relative;
}

.pricing-header {
  background-color: #4f46e5;
  padding: 0.75rem 1.5rem;
  text-align: center;
}

.pricing-header span {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-body {
  padding: 2.5rem;
  text-align: center;
}

.pricing-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.pricing-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #334155;
}

.pricing-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-cta {
  display: inline-block;
  width: 100%;
  background-color: #4f46e5;
  color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.15s;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
  text-align: center;
}

.pricing-cta:hover {
  background-color: #4338ca;
}

.pricing-cta:active {
  transform: scale(0.98);
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ========== Footer ========== */
.footer {
  background-color: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: #0f172a;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.footer-logo-text span {
  color: #4f46e5;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.footer-links a {
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #4f46e5;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-title {
    font-size: 3rem;
  }

  .features-badge {
    display: block;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
